diff --git a/src/views/draftingGroup/DraftingGroupManagement.vue b/src/views/draftingGroup/DraftingGroupManagement.vue
index 34afffa..675e6e1 100644
--- a/src/views/draftingGroup/DraftingGroupManagement.vue
+++ b/src/views/draftingGroup/DraftingGroupManagement.vue
@@ -267,9 +267,9 @@ export default {
goFilesMaintenance(record) {
console.log(record)
this.$router.push({
- path: '/draftingGroup/DraftingGroupProjectDataMaintenance',
+ path: '/projectManagement/WorkingGroupProjectDataMaintenance',
query: {
- workingGroupId: record.id,
+ draftingGroupId: record.id,
canOperate: record.checkoutOperation === 1
}
})
@@ -334,7 +334,7 @@ export default {
this.$router.push({
path: '/draftingGroup/DraftingGroupUnderStudyProject',
query: {
- title: record.workingGroupProject,
+ title: record.draftingGroupProject,
id: record.id
}
})
diff --git a/src/views/draftingGroup/DraftingGroupProjectDataMaintenance.vue b/src/views/draftingGroup/DraftingGroupProjectDataMaintenance.vue
deleted file mode 100644
index 7f65f78..0000000
--- a/src/views/draftingGroup/DraftingGroupProjectDataMaintenance.vue
+++ /dev/null
@@ -1,235 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 重置
-
-
-
-
-
-
-
-
-
上传
-
批量删除
-
批量分发
-
导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 分发
- 下载
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/draftingGroup/DraftingGroupUnderStudyProject.vue b/src/views/draftingGroup/DraftingGroupUnderStudyProject.vue
index e2d68bc..1302a1f 100644
--- a/src/views/draftingGroup/DraftingGroupUnderStudyProject.vue
+++ b/src/views/draftingGroup/DraftingGroupUnderStudyProject.vue
@@ -116,9 +116,9 @@ export default {
}
],
url: {
- list: '/payResearchProject/payResearchProject/list',
- delete: '/payResearchProject/payResearchProject/delete',
- deleteBatch: '/payResearchProject/payResearchProject/deleteBatch'
+ list: '/drafting/payDraftingGroupResearchProject/list',
+ delete: '/drafting/payDraftingGroupResearchProject/delete',
+ deleteBatch: '/drafting/payDraftingGroupResearchProject/deleteBatch'
}
}
},
@@ -133,7 +133,7 @@ export default {
this.ipagination.current = 1
}
let params = this.getQueryParams()//查询条件
- params.workingGroupId = this.$route.query.id
+ params.draftingGroupId = this.$route.query.id
this.loading = true
getAction(this.url.list, params).then((res) => {
if (res.success) {
@@ -157,13 +157,13 @@ export default {
})
},
handleEdit: function (record) {
- this.$refs.modalForm.workingGroupId = this.$route.query.id
+ this.$refs.modalForm.draftingGroupId = this.$route.query.id
this.$refs.modalForm.edit(record)
this.$refs.modalForm.title = '编辑'
this.$refs.modalForm.disableSubmit = false
},
handleAdd: function () {
- this.$refs.modalForm.workingGroupId = this.$route.query.id
+ this.$refs.modalForm.draftingGroupId = this.$route.query.id
this.$refs.modalForm.add()
this.$refs.modalForm.title = '新增'
this.$refs.modalForm.disableSubmit = false
diff --git a/src/views/draftingGroup/modules/DraftingGroupDistributeModule.vue b/src/views/draftingGroup/modules/DraftingGroupDistributeModule.vue
deleted file mode 100644
index 037f060..0000000
--- a/src/views/draftingGroup/modules/DraftingGroupDistributeModule.vue
+++ /dev/null
@@ -1,508 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 重置
-
-
-
-
-
-
-
-
-
-
-
- {{ text }}
- {{ text }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/draftingGroup/modules/DraftingGroupFileUploadModal.vue b/src/views/draftingGroup/modules/DraftingGroupFileUploadModal.vue
deleted file mode 100644
index 6e513a3..0000000
--- a/src/views/draftingGroup/modules/DraftingGroupFileUploadModal.vue
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/draftingGroup/modules/DraftingGroupUnderStudyProjectModal.vue b/src/views/draftingGroup/modules/DraftingGroupUnderStudyProjectModal.vue
index 919102f..d4efd9a 100644
--- a/src/views/draftingGroup/modules/DraftingGroupUnderStudyProjectModal.vue
+++ b/src/views/draftingGroup/modules/DraftingGroupUnderStudyProjectModal.vue
@@ -74,8 +74,8 @@ export default {
confirmLoading: false,
form: this.$form.createForm(this),
model: {},
- // 工作组id
- workingGroupId: '',
+ // 起草组id
+ draftingGroupId: '',
labelCol: {
xs: { span: 24 },
sm: { span: 8 }
@@ -111,8 +111,8 @@ export default {
}
},
url: {
- add: '/payResearchProject/payResearchProject/add',
- edit: '/payResearchProject/payResearchProject/edit'
+ add: '/drafting/payDraftingGroupResearchProject/add',
+ edit: '/drafting/payDraftingGroupResearchProject/edit'
}
}
},
@@ -147,7 +147,7 @@ export default {
} else {
httpurl += this.url.edit
}
- values.workingGroupId = this.workingGroupId
+ values.draftingGroupId = this.draftingGroupId
const formData = Object.assign(this.model, values)
console.log('表单提交数据', formData)
postAction(httpurl, formData).then((res) => {
diff --git a/src/views/projectManagement/WorkingGroupProjectDataMaintenance.vue b/src/views/projectManagement/WorkingGroupProjectDataMaintenance.vue
index 081a56b..518697f 100644
--- a/src/views/projectManagement/WorkingGroupProjectDataMaintenance.vue
+++ b/src/views/projectManagement/WorkingGroupProjectDataMaintenance.vue
@@ -154,7 +154,7 @@ export default {
],
disableMixinCreated: true,
projectId: null, // 项目id
- projectType: null, // 1--工作组;2--分标委
+ projectType: null, // 1--工作组;2--分标委;4--起草组
distributeModalVisible: false,
isBatchDistribute: false,
dataId: '', // 资料id,传给分发
@@ -178,6 +178,12 @@ export default {
this.filters.projectId = this.$route.query.councilId
this.projectType = 3
this.filters.projectType = 3
+ } else if (this.$route.query.hasOwnProperty.call(this.$route.query, 'draftingGroupId')) {
+ // 起草组
+ this.filters.projectId = this.$route.query.draftingGroupId
+ this.canOperate = this.$route.query.canOperate === 'true'
+ this.projectType = 4
+ this.filters.projectType = 4
}
this.projectId = this.filters.projectId
this.loadData()