408249787 2 лет назад
Родитель
Сommit
4a7061c24c

+ 1 - 1
src/views/activiti/History.vue

@@ -170,7 +170,7 @@ export default {
           const images = res.data.images
           this.image1 = 'data:image/png;base64,' + images[0]
           this.image2 = 'data:image/png;base64,' + images[1]
-          this.timer = setInterval(this.showImage(), 1000)
+          this.timer = setInterval(this.showImage, 1000)
         }).catch(() => {
           this.confirmLoading = false
         })

+ 4 - 3
src/views/repair/application-form/RepairForm.vue

@@ -110,13 +110,13 @@
               v-if="DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.NOT_ALLOCATED === record.status && $auth('repair-application-forms-dispatch')"
               @click="handleDispatching(record)" >派工</operation-button>-->
             <operation-button
-              v-show='dispatchFlag'
+              v-show="dispatchFlag"
               v-if="DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.NOT_ALLOCATED === record.status && $auth('repair-application-forms-dispatch')"
               @click="handleAssign(record)" >派工</operation-button>
             <operation-button
-              v-show='!dispatchFlag'
+              v-show="!dispatchFlag"
               v-if="$auth('repair-application-forms-deal') && (DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.NOT_ALLOCATED === record.status)"
-              :type='2'
+              :type="2"
               title="是否要接收?"
               @confirm="handleReceive(record)">接收</operation-button>
           </template>
@@ -345,6 +345,7 @@ export default {
   },
   created () {
     const repairModel = this.DictCache.getConfigValueByType(this.DictCache.TYPE.REPAIR_STRATEGY_MODEL)
+    console.log(repairModel)
     if (repairModel === this.DictCache.VALUE.REPAIR_MODEL_TYPE.BASE_MODEL) {
       this.dispatchFlag = false
     }