diff --git a/src/views/dev/deptDeviceUpkeep.vue b/src/views/dev/deptDeviceUpkeep.vue
index dc35317c..7d67fe72 100644
--- a/src/views/dev/deptDeviceUpkeep.vue
+++ b/src/views/dev/deptDeviceUpkeep.vue
@@ -268,7 +268,7 @@
取消
- 提交
+ 提交
@@ -546,6 +546,7 @@ export default {
maxFiles: 3,
fileSizeLimit: 5,
uploadedFileNames: '',
+ commitRepairLoading: false,
}
},
created() {
@@ -598,7 +599,9 @@ watch: {
})
pData.applyUserPhone = this.repairRow.repairUserPhone
pData.taskId = this.repairRow.taskId
+ this.commitRepairLoading = true
deviceRepairApplyAdd(pData).then(res => {
+ this.commitRepairLoading = false
load.close()
if (res.code != 20000) {
this.$message.error(res.message)
@@ -609,12 +612,12 @@ watch: {
this.getList()
this.repairRow = null
}).catch(() => {
+ this.commitRepairLoading = false
load.close()
})
})
},
createRepair(row) {
- console.log("hhhhhhhhhh")
let data = copyProperties(row, {...repairData});
this.uploadedFileNames = ""
this.repairRow = _.extend({}, row, data)
diff --git a/src/views/dev/deviceChangeOrder.vue b/src/views/dev/deviceChangeOrder.vue
index e4ada109..aa6678f6 100644
--- a/src/views/dev/deviceChangeOrder.vue
+++ b/src/views/dev/deviceChangeOrder.vue
@@ -191,8 +191,8 @@
- 草稿保存
- 立即提交
+ 草稿保存
+ 立即提交
diff --git a/src/views/dev/deviceCheckItemDict.vue b/src/views/dev/deviceCheckItemDict.vue
index a32ff2f9..2631cdb1 100644
--- a/src/views/dev/deviceCheckItemDict.vue
+++ b/src/views/dev/deviceCheckItemDict.vue
@@ -78,7 +78,7 @@
diff --git a/src/views/dev/devicePlan.vue b/src/views/dev/devicePlan.vue
index fd79e1f5..ec4253fb 100644
--- a/src/views/dev/devicePlan.vue
+++ b/src/views/dev/devicePlan.vue
@@ -35,7 +35,8 @@
+ highlight-current-row
+ >
@@ -95,7 +96,8 @@
+ highlight-current-row
+ >
@@ -135,7 +137,8 @@
>
+ :createFlag="createFlag"
+ />
@@ -150,7 +153,8 @@
:planId="detailQuery.planId"
:projectItem="projectItem"
:pullData="planData"
- :closeAddDevice="closeAddDevice"/>
+ :closeAddDevice="closeAddDevice"
+ />
@@ -160,50 +164,49 @@