From 51ff8a482d0db73415bb2e279de7cd9f671d88a7 Mon Sep 17 00:00:00 2001 From: “wangming” <“wangming@antissoft.com”> Date: Wed, 24 Jul 2024 14:17:04 +0800 Subject: [PATCH] 1 --- src/.DS_Store | Bin 0 -> 6148 bytes src/views/baseSpecialAction/FormPage.vue | 194 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------- 2 files changed, 88 insertions(+), 106 deletions(-) create mode 100644 src/.DS_Store diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 0000000..ba59e94 Binary files /dev/null and b/src/.DS_Store differ diff --git a/src/views/baseSpecialAction/FormPage.vue b/src/views/baseSpecialAction/FormPage.vue index d0ab101..f3cfc42 100644 --- a/src/views/baseSpecialAction/FormPage.vue +++ b/src/views/baseSpecialAction/FormPage.vue @@ -2,167 +2,116 @@
安排部署
-
+ "> - + - + - - + + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + - + - - {{ item.fullName }} + + {{ + item.fullName }} +
+ 全选 + 反选 +
- + - + - + - + - + @@ -170,9 +119,7 @@
取 消 - 确 定 + 确 定
@@ -191,12 +138,11 @@ export default { visible: false, isDetail: false, dataForm: { - id: "", id: undefined, specialActionType: undefined, title: undefined, content: undefined, - releaseTime: undefined, + releaseTime: null, annex: [], communicationArea: [], state: undefined, @@ -204,6 +150,7 @@ export default { creatorTime: undefined, lastModifyUserId: undefined, lastModifyTime: undefined, + isOpenRelease:false, }, rules: { specialActionType: [ @@ -221,6 +168,23 @@ export default { }, ], }, + CycleOptions: [ + { + value: '天', + label: '天' + }, { + value: '月', + label: '月' + }, + { + value: '季', + label: '季' + }, + { + value: '年', + label: '年' + }, + ], specialActionTypeOptions: [], communicationAreaOptions: [], }; @@ -229,14 +193,32 @@ export default { watch: {}, created() { this.getspecialActionTypeOptions(); + this.getcommunicationAreaOptions(); }, - mounted() {}, + mounted() { }, methods: { + //查询所有区县 + getcommunicationAreaOptions() { + request({ + url: "/extend/systeminformation/GetRegionList", + method: "get", + }).then((res) => { + this.communicationAreaOptions = res.data; + }); + }, getspecialActionTypeOptions() { getDictionaryDataSelector("576310654982423813").then((res) => { this.specialActionTypeOptions = res.data.list; }); }, + selectAll() { + this.dataForm.communicationArea = this.communicationAreaOptions.map(option => option.id); + }, + invertSelection() { + this.dataForm.communicationArea = this.communicationAreaOptions + .filter(option => !this.dataForm.communicationArea.includes(option.id)) + .map(option => option.id); + }, goBack() { this.$emit("refresh"); }, -- libgit2 0.21.4