commit
This commit is contained in:
@@ -4,7 +4,7 @@ layout("/layouts/platform.html"){
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.el-table .warning-row {
|
.el-table .warning-row {
|
||||||
background: oldlace;
|
background: #CCE5FF;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
layout("/layouts/platform.html"){
|
layout("/layouts/platform.html"){
|
||||||
#-->
|
#-->
|
||||||
<style>
|
<style>
|
||||||
|
.el-table .warning-row {
|
||||||
|
background: #CCE5FF;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<div id="app" v-cloak>
|
<div id="app" v-cloak>
|
||||||
<guava ref="guava">
|
<guava ref="guava">
|
||||||
@@ -166,6 +168,16 @@ layout("/layouts/platform.html"){
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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-table>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -190,7 +202,8 @@ layout("/layouts/platform.html"){
|
|||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row style="margin-top: 20px">
|
<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 align="center" header-align="center" label="序号" type="index" width="80">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
@@ -365,6 +378,12 @@ layout("/layouts/platform.html"){
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
tableRowClassName({row, rowIndex}) {
|
||||||
|
if(row.zp?.updateStatus === true) {
|
||||||
|
return 'warning-row';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
},
|
||||||
goBack() {
|
goBack() {
|
||||||
this.pageData()
|
this.pageData()
|
||||||
this.$refs.guava.index()
|
this.$refs.guava.index()
|
||||||
@@ -453,9 +472,14 @@ layout("/layouts/platform.html"){
|
|||||||
for (let j = 0; j < n.bzs.length; j++) {
|
for (let j = 0; j < n.bzs.length; j++) {
|
||||||
const b = n.bzs[j]
|
const b = n.bzs[j]
|
||||||
params.push({
|
params.push({
|
||||||
"zb_id": this.formData.id, "nr_id": n.id,
|
"zb_id": this.formData.id,
|
||||||
"bz_id": b.id, "clnr": b.zp?.clnr, "zpf": b.zp?.zpf, "files": b.zp?.files,
|
"nr_id": n.id,
|
||||||
"id": b.zp?.id ? b.zp?.id : null
|
"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(v === 'submit' && valid === true) {
|
||||||
if(b.isEvidence === true && !b.zp?.files) {
|
if(b.isEvidence === true && !b.zp?.files) {
|
||||||
@@ -675,8 +699,13 @@ layout("/layouts/platform.html"){
|
|||||||
n.bzs.forEach(b => {
|
n.bzs.forEach(b => {
|
||||||
if (b.zp) {
|
if (b.zp) {
|
||||||
zp = {
|
zp = {
|
||||||
"zb_id": this.formData.id, "nr_id": n.id,
|
"zb_id": this.formData.id,
|
||||||
"bz_id": b.id, "clnr": b.zp.clnr, "zpf": b.zpf, "files": b.zp.files
|
"nr_id": n.id,
|
||||||
|
"bz_id": b.id,
|
||||||
|
"clnr": b.zp.clnr,
|
||||||
|
"zpf": b.zpf,
|
||||||
|
"files": b.zp.files,
|
||||||
|
"updateStatus": b.zp?.updateStatus
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
zp = {"zb_id": this.formData.id, "nr_id": n.id, "bz_id": b.id, "zpf": b.zpf}
|
zp = {"zb_id": this.formData.id, "nr_id": n.id, "bz_id": b.id, "zpf": b.zpf}
|
||||||
|
|||||||
Reference in New Issue
Block a user