|
@@ -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
|
|
|
}
|