From 5019ed6016b47221321bf395cd102dc4b51b4724 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 05 二月 2024 09:40:43 +0800
Subject: [PATCH] Mr.Shi

---
 company/src/components/business/dispatchReview.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/company/src/components/business/dispatchReview.vue b/company/src/components/business/dispatchReview.vue
index 6a3dfad..635f4a9 100644
--- a/company/src/components/business/dispatchReview.vue
+++ b/company/src/components/business/dispatchReview.vue
@@ -10,7 +10,7 @@
         <div class="form_item">
           <div class="form_item_label"><span>*</span>瀹℃牳璇存槑锛�</div>
           <div class="form_item_val">
-            <el-input type="textarea" v-model="form.checkInfo" :rows="2" placeholder="璇疯緭鍏�"></el-input>
+            <el-input type="textarea" v-model="checkInfo" :rows="2" placeholder="璇疯緭鍏�"></el-input>
           </div>
         </div>
       </div>
@@ -41,9 +41,9 @@
               <el-table-column
                   label="鐘舵��">
                 <template slot-scope="{row}">
-                  <span v-if="row.status === 0">寰呭鏍�</span>
-                  <span v-if="row.status === 1">瀹℃牳閫氳繃</span>
-                  <span v-if="row.status === 2">瀹℃牳涓嶉�氳繃</span>
+                  <span :class="'du-status'+row.status" v-if="row.unitStatus === 0">寰呭鏍�</span>
+                  <span :class="'du-status'+row.status"  v-if="row.unitStatus === 1">瀹℃牳閫氳繃</span>
+                  <span :class="'du-status'+row.status"  v-if="row.unitStatus === 2">瀹℃牳涓嶉�氳繃</span>
                 </template>
               </el-table-column>
             </el-table>
@@ -67,8 +67,8 @@
         data () {
             return {
                 // 琛ㄥ崟鏁版嵁
+              checkInfo:'',
                 form: {
-                  checkInfo:'',
                   duSolutionList:[]
                 },
               duSolutionList:[],
@@ -90,7 +90,8 @@
             this.title=title
             this.visible=true
             this.form ={}
-            this.form = target;
+            this.checkInfo=''
+            this.form = target
             this.duSolutionList=[]
             var duSolutionList = this.form.duSolutionList;
             duSolutionList.forEach(item => {
@@ -115,7 +116,7 @@
             this.$dialog.messageConfirm('纭杩涜璇ユ搷浣滃悧锛�')
                 .then(() => {
                   this.isWorking = true
-                  checkWorktype({id:this.form.id,checkInfo:this.form.checkInfo,worktypeStatus:type})
+                  checkWorktype({id:this.form.id,checkInfo:this.checkInfo,worktypeStatus:type})
                       .then(response => {
                         this.visible = false
                         this.$emit('success')

--
Gitblit v1.9.3