浏览代码

关闭代码,建议改成处理结果

seimin 10 月之前
父节点
当前提交
c9f4dd2df6
共有 2 个文件被更改,包括 16 次插入16 次删除
  1. 8 8
      pages/assign/assign.vue
  2. 8 8
      pages/handler/handler.vue

+ 8 - 8
pages/assign/assign.vue

@@ -24,8 +24,8 @@
24
           <uni-data-select class="value" v-model="dataInfo.handleCategory" :localdata="dataInfo.handleCategoryList" :clear="false" placeholder="请选择处理方式" :class="{formRed: isSubmit && !dataInfo.handleCategory}"></uni-data-select>
24
           <uni-data-select class="value" v-model="dataInfo.handleCategory" :localdata="dataInfo.handleCategoryList" :clear="false" placeholder="请选择处理方式" :class="{formRed: isSubmit && !dataInfo.handleCategory}"></uni-data-select>
25
         </view>
25
         </view>
26
         <view class="form_item" v-if="dataInfo.category.hasSimple != 1">
26
         <view class="form_item" v-if="dataInfo.category.hasSimple != 1">
27
-          <view class="title select"><text class="required newicon newicon-bitian"></text>关闭代码:</view>
28
-          <uni-data-select class="value" v-model="dataInfo.closecode" :localdata="dataInfo.closecodeList" :clear="false" placeholder="请选择关闭代码" :class="{formRed: isSubmit && !dataInfo.closecode}"></uni-data-select>
27
+          <view class="title select"><text class="required newicon newicon-bitian"></text>处理结果:</view>
28
+          <uni-data-select class="value" v-model="dataInfo.closecode" :localdata="dataInfo.closecodeList" :clear="false" placeholder="请选择处理结果" :class="{formRed: isSubmit && !dataInfo.closecode}"></uni-data-select>
29
         </view>
29
         </view>
30
         <view class="form_item">
30
         <view class="form_item">
31
           <view class="title"><text class="required newicon newicon-bitian transparent"></text>协同人员:</view>
31
           <view class="title"><text class="required newicon newicon-bitian transparent"></text>协同人员:</view>
@@ -136,8 +136,8 @@
136
     handleDescription: '',//解决方案
136
     handleDescription: '',//解决方案
137
     handleCategory: undefined,//处理方式
137
     handleCategory: undefined,//处理方式
138
     handleCategoryList: [],//处理方式列表
138
     handleCategoryList: [],//处理方式列表
139
-    closecode: undefined,//关闭代码
140
-    closecodeList: [],//关闭代码列表
139
+    closecode: undefined,//处理结果
140
+    closecodeList: [],//处理结果列表
141
     handlerImgList: [],//处理图片列表
141
     handlerImgList: [],//处理图片列表
142
     category: {},//故障现象
142
     category: {},//故障现象
143
     synergetic: [],//协同人员
143
     synergetic: [],//协同人员
@@ -391,8 +391,8 @@
391
     dataInfo.handleDescription = '';//解决方案
391
     dataInfo.handleDescription = '';//解决方案
392
     dataInfo.handleCategory = undefined;//处理方式
392
     dataInfo.handleCategory = undefined;//处理方式
393
     dataInfo.handleCategoryList = [];//处理方式列表
393
     dataInfo.handleCategoryList = [];//处理方式列表
394
-    dataInfo.closecode = undefined;//关闭代码
395
-    dataInfo.closecodeList = [];//关闭代码列表
394
+    dataInfo.closecode = undefined;//处理结果
395
+    dataInfo.closecodeList = [];//处理结果列表
396
     dataInfo.handlerImgList = [];//处理图片列表
396
     dataInfo.handlerImgList = [];//处理图片列表
397
     dataInfo.category = {};//故障现象
397
     dataInfo.category = {};//故障现象
398
     dataInfo.synergetic = [];//协同人员
398
     dataInfo.synergetic = [];//协同人员
@@ -530,7 +530,7 @@
530
     })
530
     })
531
   }
531
   }
532
   
532
   
533
-  // 获取关闭代码列表
533
+  // 获取处理结果列表
534
   function getClosecodes(){
534
   function getClosecodes(){
535
     uni.showLoading({
535
     uni.showLoading({
536
       title: "加载中",
536
       title: "加载中",
@@ -690,7 +690,7 @@
690
     if(!dataInfo.closecode && dataInfo.category.hasSimple != 1){
690
     if(!dataInfo.closecode && dataInfo.category.hasSimple != 1){
691
       uni.showToast({
691
       uni.showToast({
692
       	icon: 'none',
692
       	icon: 'none',
693
-        title: '请选择关闭代码'
693
+        title: '请选择处理结果'
694
       });
694
       });
695
       return;
695
       return;
696
     }
696
     }

+ 8 - 8
pages/handler/handler.vue

@@ -90,8 +90,8 @@
90
           <uni-data-select class="value" v-model="dataInfo.handleCategory" :localdata="dataInfo.handleCategoryList" :clear="false" placeholder="请选择处理方式" :class="{formRed: isSubmit && !dataInfo.handleCategory}"></uni-data-select>
90
           <uni-data-select class="value" v-model="dataInfo.handleCategory" :localdata="dataInfo.handleCategoryList" :clear="false" placeholder="请选择处理方式" :class="{formRed: isSubmit && !dataInfo.handleCategory}"></uni-data-select>
91
         </view>
91
         </view>
92
         <view class="form_item" v-if="dataInfo.category.hasSimple != 1">
92
         <view class="form_item" v-if="dataInfo.category.hasSimple != 1">
93
-          <view class="title select"><text class="required newicon newicon-bitian"></text>关闭代码:</view>
94
-          <uni-data-select class="value" v-model="dataInfo.closecode" :localdata="dataInfo.closecodeList" :clear="false" placeholder="请选择关闭代码" :class="{formRed: isSubmit && !dataInfo.closecode}"></uni-data-select>
93
+          <view class="title select"><text class="required newicon newicon-bitian"></text>处理结果:</view>
94
+          <uni-data-select class="value" v-model="dataInfo.closecode" :localdata="dataInfo.closecodeList" :clear="false" placeholder="请选择处理结果" :class="{formRed: isSubmit && !dataInfo.closecode}"></uni-data-select>
95
         </view>
95
         </view>
96
         <view class="form_item">
96
         <view class="form_item">
97
           <view class="title"><text class="required newicon newicon-bitian transparent"></text>协同人员:</view>
97
           <view class="title"><text class="required newicon newicon-bitian transparent"></text>协同人员:</view>
@@ -188,8 +188,8 @@
188
     handleDescription: '',//解决方案
188
     handleDescription: '',//解决方案
189
     handleCategory: undefined,//处理方式
189
     handleCategory: undefined,//处理方式
190
     handleCategoryList: [],//处理方式列表
190
     handleCategoryList: [],//处理方式列表
191
-    closecode: undefined,//关闭代码
192
-    closecodeList: [],//关闭代码列表
191
+    closecode: undefined,//处理结果
192
+    closecodeList: [],//处理结果列表
193
     handlerImgList: [],//处理图片列表
193
     handlerImgList: [],//处理图片列表
194
     category: {},//故障现象
194
     category: {},//故障现象
195
     synergetic: [],//协同人员
195
     synergetic: [],//协同人员
@@ -427,8 +427,8 @@
427
     dataInfo.handleDescription = '';//解决方案
427
     dataInfo.handleDescription = '';//解决方案
428
     dataInfo.handleCategory = undefined;//处理方式
428
     dataInfo.handleCategory = undefined;//处理方式
429
     dataInfo.handleCategoryList = [];//处理方式列表
429
     dataInfo.handleCategoryList = [];//处理方式列表
430
-    dataInfo.closecode = undefined;//关闭代码
431
-    dataInfo.closecodeList = [];//关闭代码列表
430
+    dataInfo.closecode = undefined;//处理结果
431
+    dataInfo.closecodeList = [];//处理结果列表
432
     dataInfo.handlerImgList = [];//处理图片列表
432
     dataInfo.handlerImgList = [];//处理图片列表
433
     dataInfo.category = {};//故障现象
433
     dataInfo.category = {};//故障现象
434
     dataInfo.synergetic = [];//协同人员
434
     dataInfo.synergetic = [];//协同人员
@@ -565,7 +565,7 @@
565
     })
565
     })
566
   }
566
   }
567
   
567
   
568
-  // 获取关闭代码列表
568
+  // 获取处理结果列表
569
   function getClosecodes(){
569
   function getClosecodes(){
570
     uni.showLoading({
570
     uni.showLoading({
571
       title: "加载中",
571
       title: "加载中",
@@ -703,7 +703,7 @@
703
     if(!dataInfo.closecode && dataInfo.category.hasSimple != 1){
703
     if(!dataInfo.closecode && dataInfo.category.hasSimple != 1){
704
       uni.showToast({
704
       uni.showToast({
705
       	icon: 'none',
705
       	icon: 'none',
706
-        title: '请选择关闭代码'
706
+        title: '请选择处理结果'
707
       });
707
       });
708
       return;
708
       return;
709
     }
709
     }