bug second
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2021-11-18 14:16:25
|
||||
* @LastEditors: DY
|
||||
* @LastEditTime: 2024-02-29 14:59:28
|
||||
* @LastEditTime: 2024-03-01 18:57:31
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -78,7 +78,7 @@
|
||||
v-for="opt in inspectorOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value" />
|
||||
:value="opt.label" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -418,7 +418,7 @@ export default {
|
||||
});
|
||||
},
|
||||
getConfirmed() {
|
||||
return this.$confirm('是否直接确认巡检记录', '提示', {
|
||||
return this.$confirm('是否直接确认巡检单', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
@@ -431,10 +431,16 @@ export default {
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.getConfirmed().then(confirm => {
|
||||
let checkPersonParam = '';
|
||||
if (!this.dataForm.checkPerson || this.dataForm.checkPerson.trim() == '') {
|
||||
/** 如有必要,更新巡检人 */
|
||||
checkPersonParam = `&checkPerson=${this.$store.getters.nickname}`;
|
||||
} else {
|
||||
checkPersonParam = `&checkPerson=${this.dataForm.checkPerson}`
|
||||
}
|
||||
this.$axios({
|
||||
url:
|
||||
'/base/equipment-check-order/confirm?confirmPerson=' +
|
||||
this.$store.getters.userId,
|
||||
`/base/equipment-check-order/confirm?confirmPerson=${this.$store.getters.nickname}` + checkPersonParam,
|
||||
method: 'put',
|
||||
data: [this.dataForm.id],
|
||||
}).then(res =>{
|
||||
|
||||
Reference in New Issue
Block a user