瀏覽代碼

积分全部都是待审核

seimin 2 年之前
父節點
當前提交
0be7aef30f
共有 3 個文件被更改,包括 14 次插入12 次删除
  1. 3 2
      src/custom/seiminModel.vue
  2. 1 1
      src/main.js
  3. 10 9
      src/views/processing.vue

+ 3 - 2
src/custom/seiminModel.vue

@@ -17,10 +17,11 @@
17 17
           >
18 18
           </cube-select>
19 19
         </div>
20
-        <div
20
+        <!-- <div
21 21
           class="seiminModel_item"
22 22
           v-if="(type === 'handler' && complexity != complexitySource) || type == 'now'"
23
-        >
23
+        > -->
24
+        <div class="seiminModel_item">
24 25
           <label>升级原因<span class="red">*</span>:</label>
25 26
           <cube-textarea
26 27
             v-model="updateReason"

+ 1 - 1
src/main.js

@@ -12,7 +12,7 @@ import "./filters";
12 12
 // import {get,post} from './service/http'
13 13
 // new VConsole();
14 14
 Vue.use(Cube);
15
-console.info('v1.0.1');
15
+console.info('v1.0.2');
16 16
 // 修改请求接口(删掉地址栏中的app2)
17 17
 let domainName = document.domain; //域名
18 18
 let protocolName = document.location.protocol; //http协议

+ 10 - 9
src/views/processing.vue

@@ -171,7 +171,7 @@
171 171
                       v-model="order"
172 172
                       :options="handleTypes"
173 173
                       position="right"
174
-                      :hollow-style="true" 
174
+                      :hollow-style="true"
175 175
                       @input="changeHandleTypes"
176 176
                     />
177 177
                   </div>
@@ -769,7 +769,7 @@ export default {
769 769
       let reverseArr = this.model.category.filter(Boolean).reverse(); //数组翻转,取第一项不为空的
770 770
       let sjId = reverseArr[0]; //事件Id baba
771 771
       let sj = this.initSjList.filter(v => v.id == sjId)[0];
772
-      console.log(this.order,sj);
772
+      console.log(this.order, sj);
773 773
       this.isShowDes = !(this.order == 1 && sj && sj.hasSimple == 1);
774 774
     },
775 775
     // 获取耗材列表
@@ -1255,7 +1255,7 @@ export default {
1255 1255
       // );
1256 1256
       if (this.order == 1 && sj.hasSimple == 1) {
1257 1257
         this.isShowDes = false;
1258
-      }else{
1258
+      } else {
1259 1259
         this.isShowDes = true;
1260 1260
       }
1261 1261
     },
@@ -1678,7 +1678,7 @@ export default {
1678 1678
       // console.log(this.selectedPlaceId,this.selectedAreaId,8888);//2020年4月25日16:12:55
1679 1679
       that.model.fileUrl = "url";
1680 1680
       that.loadShow = true;
1681
-      //积分处理中状态
1681
+      //处理中,积分机制
1682 1682
       if (
1683 1683
         this.order == 1 &&
1684 1684
         (this.integralMechanism == 1 ||
@@ -1731,11 +1731,12 @@ export default {
1731 1731
                   })
1732 1732
                   .then(result => {
1733 1733
                     result = result.data;
1734
-                    let auditState =
1735
-                      this.$refs.seiminModel.complexitySource ==
1736
-                      this.$refs.seiminModel.complexity
1737
-                        ? result.find(v => v.value == 1)
1738
-                        : result.find(v => v.value == 0);
1734
+                    // let auditState =
1735
+                    //   this.$refs.seiminModel.complexitySource ==
1736
+                    //   this.$refs.seiminModel.complexity
1737
+                    //     ? result.find(v => v.value == 1)
1738
+                    //     : result.find(v => v.value == 0);
1739
+                    let auditState = result.find(v => v.value == 0);
1739 1740
                     let postData = {
1740 1741
                       incidentIntegral: {
1741 1742
                         incidentId: this.modelData.incident.id,