telephone-clients 3.0.76 → 3.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/pc/WorkCenterList.vue +13 -3
- package/src/filiale/qianneng/android/AppInstallationMaterial.vue +843 -580
- package/src/filiale/qianneng/android/MaterIialOne.vue +122 -0
- package/src/filiale/qianneng/pc/RepairsWork.vue +8 -4
- package/src/filiale/qianneng/telephoneAndroid.js +1 -0
package/package.json
CHANGED
|
@@ -116,15 +116,15 @@
|
|
|
116
116
|
<button type="button" class="btn btn-link"
|
|
117
117
|
@click.stop="$parent.$parent.$parent.$emit('do', 'resendinstall', row)" style="min-width: 30px;">重派</button>
|
|
118
118
|
</div>
|
|
119
|
-
<div v-show="
|
|
119
|
+
<div v-show="$parent.$parent.$parent.canRemindChange(row) && row.f_workorder_type == '报修单' && row.f_state!='完成' ">
|
|
120
120
|
<button type="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.$emit('do', 'remind', row)" style="min-width: 30px;">催单</button>
|
|
121
121
|
<button type="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.$emit('do', 'modify', row)" style="min-width: 30px;">修改</button>
|
|
122
122
|
</div>
|
|
123
|
-
<div v-show="
|
|
123
|
+
<div v-show="$parent.$parent.$parent.canRemindChange(row) && row.f_workorder_type == '置换通气单' && row.f_state!='完成' ">
|
|
124
124
|
<button type="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.$emit('do', 'remind', row)" style="min-width: 30px;">催单</button>
|
|
125
125
|
<button type="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.$emit('do', 'modifyzhihuan', row)" style="min-width: 30px;">修改</button>
|
|
126
126
|
</div>
|
|
127
|
-
<div v-show="
|
|
127
|
+
<div v-show="$parent.$parent.$parent.canRemindChange(row) && row.f_workorder_type == '安装单' && row.f_state!='完成' ">
|
|
128
128
|
<button type="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.$emit('do', 'remind', row)" style="min-width: 30px;">催单</button>
|
|
129
129
|
<button type="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.$emit('do', 'modifyinstall', row)" style="min-width: 30px;">修改</button>
|
|
130
130
|
</div>
|
|
@@ -230,6 +230,16 @@ export default {
|
|
|
230
230
|
}
|
|
231
231
|
return false
|
|
232
232
|
},
|
|
233
|
+
// 是否可以修改、催单 完成后是不能催单或者修改的
|
|
234
|
+
canRemindChange(row) {
|
|
235
|
+
if (row.processins && row.processins.activities && row.processins.activities[0] && row.processins.activities[0].defname.indexOf('完成') != -1){
|
|
236
|
+
return false
|
|
237
|
+
}
|
|
238
|
+
if(row.processins && row.processins.activities && row.processins.activities[0] && row.processins.activities[0].defname === '话务员派单'){
|
|
239
|
+
return false
|
|
240
|
+
}
|
|
241
|
+
return true
|
|
242
|
+
},
|
|
233
243
|
// 工单重派
|
|
234
244
|
resend (row) {
|
|
235
245
|
this.$emit('resend', row)
|