liuzhihui 3 年之前
父節點
當前提交
4f1b5363d0

+ 21 - 10
CallCenterWeb.UI/RMYY/src/components/button/orderList.vue

@@ -506,11 +506,6 @@
506 506
             action: getSureWorkOrder,
507 507
             type: 'confirm'
508 508
           },
509
-          // dialog_ywzx_tuihui: {
510
-          //   text: '确定要退回吗?',
511
-          //   action: getBackWorkOrder,
512
-          //   type: 'confirm'
513
-          // },
514 509
           dialog_shanchu: {
515 510
             text: '确定删除该数据吗?',
516 511
             action: postDelWorkOrder,
@@ -806,11 +801,6 @@
806 801
             this.deptidArr = this.$store.getters.deptmap[parseInt(deptid)].ids
807 802
             this.getClassUser(deptid)
808 803
           }
809
-          // if (deptid) {
810
-          //   this.transferForm.todept = deptid
811
-          //   this.deptidArr = this.$store.getters.deptmap[parseInt(deptid)].ids
812
-          //   this.getClassUser(deptid)
813
-          // }
814 804
         }
815 805
         if (name === 'haocai') {
816 806
           this.getHaocai()
@@ -1163,6 +1153,27 @@
1163 1153
                       type: 'success',
1164 1154
                       message: '操作成功!'
1165 1155
                     })
1156
+                    if(this.optionName == 'fanxiu'){
1157
+                      this.returnWorkForm.key = ''
1158
+                      this.returnWorkForm.value = ''
1159
+                      this.returnWorkForm.returnReason = ''
1160
+                      this.reason1 = ''
1161
+                      this.reasonarr1 = []
1162
+                    }
1163
+                    if(this.optionName == 'dispatch_tuihui'){
1164
+                      this.backWorkForm.BackReason = ''
1165
+                      this.backWorkForm.key = ''
1166
+                      this.backWorkForm.value = ''
1167
+                      this.reason2 = ''
1168
+                      this.reasonarr1 = []
1169
+                    }
1170
+                    if(this.optionName == 'ywzx_tuihui'){
1171
+                      this.ywzxbackWorkForm.key = ''
1172
+                      this.ywzxbackWorkForm.value = ''
1173
+                      this.ywzxbackWorkForm.reason = ''
1174
+                      this.reason3 = ''
1175
+                      this.reasonarr1 = []
1176
+                    }
1166 1177
                     if (this.optionName == 'zhipai') {
1167 1178
                       this.deptidArr = []
1168 1179
                       this.transferForm.todept = ''

+ 20 - 2
CallCenterWeb.UI/RMYY/src/views/faultRepairManagement/repairList/index.vue

@@ -122,7 +122,7 @@
122 122
     <el-dialog :visible.sync="dialogHangUp" title="挂起">
123 123
       <el-form ref="hangupForm" :rules="rules" label-width="100px">
124 124
         <el-form-item label="原因">
125
-          <el-select v-model="reason1" placeholder="请选择原因" @change="handleChange1">
125
+          <el-select v-model="reason1" clearable placeholder="请选择原因" @change="handleChange1">
126 126
             <el-option v-for="item in reasonarr1" :key="item.F_DictionaryValueId" :label="item.F_Name"
127 127
               :value="`${item.F_DictionaryValueId},${item.F_Name}`" />
128 128
           </el-select>
@@ -140,7 +140,7 @@
140 140
     <el-dialog :visible.sync="dialogDelay" title="延期">
141 141
       <el-form ref="delayForm" :rules="rules" label-width="100px">
142 142
         <el-form-item label="原因">
143
-          <el-select v-model="reason1" placeholder="请选择原因" @change="handleChange2">
143
+          <el-select v-model="reason1" clearable placeholder="请选择原因" @change="handleChange2">
144 144
             <el-option v-for="item in reasonarr1" :key="item.F_DictionaryValueId" :label="item.F_Name"
145 145
               :value="`${item.F_DictionaryValueId},${item.F_Name}`" />
146 146
           </el-select>
@@ -789,6 +789,12 @@
789 789
           if (res.state.toLowerCase() === 'success') {
790 790
             this.$message.success('延期成功')
791 791
             this.delayForm = {}
792
+            this.delayForm.key = ''
793
+            this.delayForm.value = ''
794
+            this.delayForm.days = ''
795
+            this.delayForm.delayReason = ''
796
+            this.reason1 = ''
797
+            this.reasonarr1 = []
792 798
             this.dialogDelay = false
793 799
           }
794 800
         })
@@ -1222,6 +1228,12 @@
1222 1228
                   this.dialogBackOrder = false
1223 1229
                   this.$refs['backOrderForm'].resetFields()
1224 1230
                   this.backOrderForm = {}
1231
+                  this.backOrderForm.key = ''
1232
+                  this.backOrderForm.value = ''
1233
+                  this.backOrderForm.BackReason = ''
1234
+                  this.backOrderForm.workordercode = ''
1235
+                  this.reason1 = ''
1236
+                  this.reasonarr1 = []
1225 1237
                   this.getListTask()
1226 1238
                 } else {
1227 1239
                   this.$message({
@@ -1303,6 +1315,12 @@
1303 1315
             })
1304 1316
             this.dialogHangUp = false
1305 1317
             this.hangupForm = {}
1318
+            this.hangupForm.key = ''
1319
+            this.hangupForm.value = ''
1320
+            this.hangupForm.reason = ''
1321
+            this.hangupForm.workordercode = ''
1322
+            this.reason1 = ''
1323
+            this.reasonarr1 = []
1306 1324
             this.getListTask()
1307 1325
           }
1308 1326
         })