From 933f7c55bdf0f84b1c780de715c7d477df8ab052 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Fri, 06 Sep 2024 13:44:17 +0800
Subject: [PATCH] fix: 责任单位修改
---
src/views/toCarryOutLegislativeReforms/components/workOrderInformation.vue | 22 ++++++++++++++++++++--
src/views/toCarryOutLegislativeReforms/summaryPage/index.vue | 3 ++-
2 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/src/views/toCarryOutLegislativeReforms/components/workOrderInformation.vue b/src/views/toCarryOutLegislativeReforms/components/workOrderInformation.vue
index 2ee73ab..9783157 100644
--- a/src/views/toCarryOutLegislativeReforms/components/workOrderInformation.vue
+++ b/src/views/toCarryOutLegislativeReforms/components/workOrderInformation.vue
@@ -150,7 +150,9 @@
class="demo-form-inline"
>
<div style="display: flex;">
- <el-form-item label="������������:">
+ <el-form-item
+ label="������������:"
+ >
<el-radio-group v-model="workForme.isChange">
<el-radio :label="1">
���
@@ -177,7 +179,10 @@
/>
</el-form-item>
<el-row>
- <el-form-item label="������:">
+ <el-form-item
+ label="������:"
+ class="isChangeFile"
+ >
<uploadFile
:upload-url="uploadTermExcelUrl"
:sys-code="dialogData.sysCode"
@@ -795,11 +800,17 @@
})
},
handleSubmit (state) {
+ console.log(state)
+ console.log(this.fileList)
// ������
let api = '/allocation/change'
let data = {}
console.log('this.dialogData.pageType', this.dialogData.pageType)
if (this.dialogData.pageType === 'work') {
+ if (!this.fileList.length) {
+ this.$message.error('���������������������')
+ return false
+ }
api = '/allocation/change'
data = {
allocationId: this.dialogData.parentFormData.allocationId,
@@ -888,4 +899,11 @@
display: inline-block;
margin-right: 10px;
}
+.isChangeFile{
+ /deep/.el-form-item__label:before {
+ content: "*";
+ color: #f56c6c;
+ margin-right: 4px;
+}
+}
</style>
diff --git a/src/views/toCarryOutLegislativeReforms/summaryPage/index.vue b/src/views/toCarryOutLegislativeReforms/summaryPage/index.vue
index a8d8b97..8cbb583 100644
--- a/src/views/toCarryOutLegislativeReforms/summaryPage/index.vue
+++ b/src/views/toCarryOutLegislativeReforms/summaryPage/index.vue
@@ -431,7 +431,8 @@
params: {
startTime: this.timeInterval[0],
endTime: this.timeInterval[1],
- number: Number(this.searchForm.number)
+ number: Number(this.searchForm.number),
+ unitId: this.unitIdlist.join(',')
}
}).then(res => {
this.getOutExcel('������������������.xlsx', res)
--
Gitblit v1.8.0