|
@@ -204,11 +204,11 @@
|
|
|
currentWorkflowStat == '13'
|
|
currentWorkflowStat == '13'
|
|
|
"
|
|
"
|
|
|
style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
|
|
style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
|
|
|
- type="danger"
|
|
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ danger
|
|
|
@click="batchCheck"
|
|
@click="batchCheck"
|
|
|
:loading="batchButtonLoading"
|
|
:loading="batchButtonLoading"
|
|
|
- > 批量审核 </a-button
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ > 批量审核 </a-button>
|
|
|
<a-button
|
|
<a-button
|
|
|
style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
|
|
style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
|
|
|
type="primary"
|
|
type="primary"
|
|
@@ -494,8 +494,7 @@
|
|
|
<a-date-picker
|
|
<a-date-picker
|
|
|
v-model:value="changeSupervision.collTime"
|
|
v-model:value="changeSupervision.collTime"
|
|
|
disabled
|
|
disabled
|
|
|
- type="date"
|
|
|
|
|
- ></a-date-picker>
|
|
|
|
|
|
|
+ />
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
<a-form-item
|
|
<a-form-item
|
|
|
label="整改时限"
|
|
label="整改时限"
|
|
@@ -505,9 +504,8 @@
|
|
|
<a-date-picker
|
|
<a-date-picker
|
|
|
v-model:value="changeSupervision.zgDate"
|
|
v-model:value="changeSupervision.zgDate"
|
|
|
format="YYYY-MM-DD"
|
|
format="YYYY-MM-DD"
|
|
|
- value-format="YYYY-MM-DD"
|
|
|
|
|
- type="date"
|
|
|
|
|
- ></a-date-picker>
|
|
|
|
|
|
|
+ valueFormat="YYYY-MM-DD"
|
|
|
|
|
+ />
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
<a-form-item
|
|
<a-form-item
|
|
|
label="整改要求"
|
|
label="整改要求"
|
|
@@ -593,7 +591,7 @@
|
|
|
<a-button
|
|
<a-button
|
|
|
size="small"
|
|
size="small"
|
|
|
@click="removeFile(record.id, index)"
|
|
@click="removeFile(record.id, index)"
|
|
|
- type="danger"
|
|
|
|
|
|
|
+ type="primary" danger
|
|
|
>删除</a-button
|
|
>删除</a-button
|
|
|
>
|
|
>
|
|
|
</template>
|
|
</template>
|
|
@@ -621,7 +619,7 @@
|
|
|
<a-button
|
|
<a-button
|
|
|
size="small"
|
|
size="small"
|
|
|
@click="removeFile(record.id, index)"
|
|
@click="removeFile(record.id, index)"
|
|
|
- type="danger"
|
|
|
|
|
|
|
+ type="primary" danger
|
|
|
>删除</a-button
|
|
>删除</a-button
|
|
|
>
|
|
>
|
|
|
</template>
|
|
</template>
|
|
@@ -649,7 +647,7 @@
|
|
|
<a-button
|
|
<a-button
|
|
|
size="small"
|
|
size="small"
|
|
|
@click="removeFile(record.id, index)"
|
|
@click="removeFile(record.id, index)"
|
|
|
- type="danger"
|
|
|
|
|
|
|
+ type="primary" danger
|
|
|
>删除</a-button
|
|
>删除</a-button
|
|
|
>
|
|
>
|
|
|
</template>
|
|
</template>
|
|
@@ -721,7 +719,7 @@
|
|
|
</elaudio>
|
|
</elaudio>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else-if="column.dataIndex === 'action'">
|
|
<template v-else-if="column.dataIndex === 'action'">
|
|
|
- <a-button size="small" @click="removeFile(record.id, index)" type="danger">删除</a-button>
|
|
|
|
|
|
|
+ <a-button size="small" @click="removeFile(record.id, index)" type="primary" danger>删除</a-button>
|
|
|
</template>
|
|
</template>
|
|
|
</template>
|
|
</template>
|
|
|
</a-table>
|
|
</a-table>
|
|
@@ -738,7 +736,7 @@
|
|
|
</video-player>
|
|
</video-player>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else-if="column.dataIndex === 'action'">
|
|
<template v-else-if="column.dataIndex === 'action'">
|
|
|
- <a-button size="small" @click="removeFile(record.id, index)" type="danger">删除</a-button>
|
|
|
|
|
|
|
+ <a-button size="small" @click="removeFile(record.id, index)" type="primary" danger>删除</a-button>
|
|
|
</template>
|
|
</template>
|
|
|
</template>
|
|
</template>
|
|
|
</a-table>
|
|
</a-table>
|
|
@@ -756,7 +754,7 @@
|
|
|
</a>
|
|
</a>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else-if="column.dataIndex === 'action'">
|
|
<template v-else-if="column.dataIndex === 'action'">
|
|
|
- <a-button size="small" @click="removeFile(record.id, index)" type="danger">删除</a-button>
|
|
|
|
|
|
|
+ <a-button size="small" @click="removeFile(record.id, index)" type="primary" danger>删除</a-button>
|
|
|
</template>
|
|
</template>
|
|
|
</template>
|
|
</template>
|
|
|
</a-table>
|
|
</a-table>
|
|
@@ -861,12 +859,11 @@
|
|
|
<a-date-picker
|
|
<a-date-picker
|
|
|
v-model:value="changeTm"
|
|
v-model:value="changeTm"
|
|
|
format="YYYY-MM-DD"
|
|
format="YYYY-MM-DD"
|
|
|
- value-format="YYYY-MM-DD"
|
|
|
|
|
|
|
+ valueFormat="YYYY-MM-DD"
|
|
|
allow-clear
|
|
allow-clear
|
|
|
style="width: 300px !important;"
|
|
style="width: 300px !important;"
|
|
|
placeholder="整改时限"
|
|
placeholder="整改时限"
|
|
|
- >
|
|
|
|
|
- </a-date-picker>
|
|
|
|
|
|
|
+ />
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
<a-form-item label="整改要求" prop="changeRequire">
|
|
<a-form-item label="整改要求" prop="changeRequire">
|
|
|
<a-textarea
|
|
<a-textarea
|
|
@@ -3201,6 +3198,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 驱动流程流转到下一步
|
|
// 驱动流程流转到下一步
|
|
|
|
|
+ sessionStorage.setItem('Authorization', '1');
|
|
|
request.post('/dc/insp/pblm/batchSubmit', params).then((res) => {
|
|
request.post('/dc/insp/pblm/batchSubmit', params).then((res) => {
|
|
|
if (res.success) {
|
|
if (res.success) {
|
|
|
this.batchButtonLoading = false;
|
|
this.batchButtonLoading = false;
|
|
@@ -3742,9 +3740,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
// 提交修改信息
|
|
// 提交修改信息
|
|
|
changeSupervisionInfo() {
|
|
changeSupervisionInfo() {
|
|
|
- this.$refs.changeSupFrom.validate((valid) => {
|
|
|
|
|
- if (valid) {
|
|
|
|
|
- this.$nextTick(() => {
|
|
|
|
|
|
|
+ this.$refs.changeSupFrom.validate().then(() => {
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
// this.changeSupervisionVisible = true;
|
|
// this.changeSupervisionVisible = true;
|
|
|
this.buttonLoading = true;
|
|
this.buttonLoading = true;
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
@@ -3777,7 +3774,6 @@ export default {
|
|
|
});
|
|
});
|
|
|
}, 1000);
|
|
}, 1000);
|
|
|
});
|
|
});
|
|
|
- }
|
|
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -4019,9 +4015,8 @@ export default {
|
|
|
this.bisInspPblmAudit.auditidea = '';
|
|
this.bisInspPblmAudit.auditidea = '';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- this.$refs.changeSupFrom.validate((valid) => {
|
|
|
|
|
- if (valid) {
|
|
|
|
|
- this.$nextTick(() => {
|
|
|
|
|
|
|
+ this.$refs.changeSupFrom.validate().then(() => {
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
// this.changeSupervisionVisible = true;
|
|
// this.changeSupervisionVisible = true;
|
|
|
this.buttonLoading = true;
|
|
this.buttonLoading = true;
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
@@ -4077,7 +4072,6 @@ export default {
|
|
|
});
|
|
});
|
|
|
}, 1000);
|
|
}, 1000);
|
|
|
});
|
|
});
|
|
|
- }
|
|
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
submitRectification(row) {
|
|
submitRectification(row) {
|
|
@@ -4096,9 +4090,9 @@ export default {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- this.$refs.changeSupFrom.validate((valid) => {
|
|
|
|
|
- if (valid) {
|
|
|
|
|
- this.$nextTick(() => {
|
|
|
|
|
|
|
+ console.log(this.changeTm);
|
|
|
|
|
+ this.$refs.changeSupFrom.validate().then(() => {
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
// this.changeSupervisionVisible = true;
|
|
// this.changeSupervisionVisible = true;
|
|
|
this.buttonLoading = true;
|
|
this.buttonLoading = true;
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
@@ -4156,7 +4150,6 @@ export default {
|
|
|
});
|
|
});
|
|
|
}, 1000);
|
|
}, 1000);
|
|
|
});
|
|
});
|
|
|
- }
|
|
|
|
|
});
|
|
});
|
|
|
// 先对问题内容进行更新
|
|
// 先对问题内容进行更新
|
|
|
// this.changeSupervisionInfo();
|
|
// this.changeSupervisionInfo();
|
|
@@ -4211,11 +4204,7 @@ export default {
|
|
|
) {
|
|
) {
|
|
|
this.changeRequire = this.changeSupervision.proposeZgZgxx;
|
|
this.changeRequire = this.changeSupervision.proposeZgZgxx;
|
|
|
// this.changeTm = this.changeSupervision.proposeZgDate || nextMonthLastDay()
|
|
// this.changeTm = this.changeSupervision.proposeZgDate || nextMonthLastDay()
|
|
|
- this.changeTm = this.changeSupervision.zgDate
|
|
|
|
|
- ? moment(this.changeSupervision.zgDate).format('YYYY-MM-DD')
|
|
|
|
|
- : this.changeSupervision.proposeZgDate
|
|
|
|
|
- ? moment(this.changeSupervision.proposeZgDate).format('YYYY-MM-DD')
|
|
|
|
|
- : nextMonthLastDay();
|
|
|
|
|
|
|
+ this.changeTm = this.changeSupervision.zgDate ? moment(this.changeSupervision.zgDate).format('YYYY-MM-DD') : '';
|
|
|
if (this.offlineCancellation == 1) {
|
|
if (this.offlineCancellation == 1) {
|
|
|
this.submitRectification(this.offlineCancellation);
|
|
this.submitRectification(this.offlineCancellation);
|
|
|
} else {
|
|
} else {
|