diff --git a/src/.DS_Store b/src/.DS_Store
new file mode 100644
index 0000000..ba59e94
--- /dev/null
+++ b/src/.DS_Store
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");
},