commit
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 356 KiB After Width: | Height: | Size: 697 KiB |
@@ -4,7 +4,7 @@ layout("/layouts/platform.html"){
|
||||
|
||||
<style>
|
||||
.el-table .warning-row {
|
||||
background: oldlace;
|
||||
background: #CCE5FF;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
layout("/layouts/platform.html"){
|
||||
#-->
|
||||
<style>
|
||||
|
||||
.el-table .warning-row {
|
||||
background: #CCE5FF;
|
||||
}
|
||||
</style>
|
||||
<div id="app" v-cloak>
|
||||
<guava ref="guava">
|
||||
@@ -166,6 +168,16 @@ layout("/layouts/platform.html"){
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="是否申诉" header-align="center" align="center" prop="updateStatus" width="150"
|
||||
v-if="$moment().isAfter($moment(formData.startApplyTime)) && $moment().isBefore($moment(formData.endApplyTime))">
|
||||
<template scope="{row}">
|
||||
<el-radio-group v-model="row.zp.updateStatus" size="small">
|
||||
<el-radio-button :label="true">申诉</el-radio-button>
|
||||
<el-radio-button :label="false">不申诉</el-radio-button>
|
||||
</el-radio-group>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-row>
|
||||
</el-form-item>
|
||||
@@ -190,7 +202,8 @@ layout("/layouts/platform.html"){
|
||||
</el-row>
|
||||
|
||||
<el-row style="margin-top: 20px">
|
||||
<el-table :data="nr.bzs" style="width: 100%" border show-summary size="small" :summary-method="getSummaries">
|
||||
<el-table :data="nr.bzs" style="width: 100%" border show-summary size="small" :summary-method="getSummaries"
|
||||
:row-class-name="tableRowClassName">
|
||||
<el-table-column align="center" header-align="center" label="序号" type="index" width="80">
|
||||
</el-table-column>
|
||||
|
||||
@@ -365,6 +378,12 @@ layout("/layouts/platform.html"){
|
||||
},
|
||||
|
||||
methods: {
|
||||
tableRowClassName({row, rowIndex}) {
|
||||
if(row.zp?.updateStatus === true) {
|
||||
return 'warning-row';
|
||||
}
|
||||
return '';
|
||||
},
|
||||
goBack() {
|
||||
this.pageData()
|
||||
this.$refs.guava.index()
|
||||
@@ -453,9 +472,14 @@ layout("/layouts/platform.html"){
|
||||
for (let j = 0; j < n.bzs.length; j++) {
|
||||
const b = n.bzs[j]
|
||||
params.push({
|
||||
"zb_id": this.formData.id, "nr_id": n.id,
|
||||
"bz_id": b.id, "clnr": b.zp?.clnr, "zpf": b.zp?.zpf, "files": b.zp?.files,
|
||||
"id": b.zp?.id ? b.zp?.id : null
|
||||
"zb_id": this.formData.id,
|
||||
"nr_id": n.id,
|
||||
"bz_id": b.id,
|
||||
"clnr": b.zp?.clnr,
|
||||
"zpf": b.zp?.zpf,
|
||||
"files": b.zp?.files,
|
||||
"id": b.zp?.id ? b.zp?.id : null,
|
||||
"updateStatus": b.zp?.updateStatus
|
||||
})
|
||||
if(v === 'submit' && valid === true) {
|
||||
if(b.isEvidence === true && !b.zp?.files) {
|
||||
@@ -675,8 +699,13 @@ layout("/layouts/platform.html"){
|
||||
n.bzs.forEach(b => {
|
||||
if (b.zp) {
|
||||
zp = {
|
||||
"zb_id": this.formData.id, "nr_id": n.id,
|
||||
"bz_id": b.id, "clnr": b.zp.clnr, "zpf": b.zpf, "files": b.zp.files
|
||||
"zb_id": this.formData.id,
|
||||
"nr_id": n.id,
|
||||
"bz_id": b.id,
|
||||
"clnr": b.zp.clnr,
|
||||
"zpf": b.zpf,
|
||||
"files": b.zp.files,
|
||||
"updateStatus": b.zp?.updateStatus
|
||||
}
|
||||
} else {
|
||||
zp = {"zb_id": this.formData.id, "nr_id": n.id, "bz_id": b.id, "zpf": b.zpf}
|
||||
|
||||
Reference in New Issue
Block a user