diff --git a/src/assets/styles/variables.scss b/src/assets/styles/variables.scss
index 34484d4..0a61909 100644
--- a/src/assets/styles/variables.scss
+++ b/src/assets/styles/variables.scss
@@ -36,7 +36,7 @@ $base-sub-menu-background:#000c17;
$base-sub-menu-hover:#001528;
*/
-$base-sidebar-width: 200px;
+$base-sidebar-width: 220px;
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
diff --git a/src/views/login.vue b/src/views/login.vue
index 69b2a1b..de588b3 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -73,7 +73,7 @@ export default {
codeUrl: "",
loginForm: {
username: "admin",
- password: "admin123",
+ password: "Taicang@2023",
rememberMe: false,
code: "",
uuid: ""
diff --git a/src/views/tcZz/netManage/gzdt/index.vue b/src/views/tcZz/netManage/gzdt/index.vue
index 1d96058..ed77cf8 100644
--- a/src/views/tcZz/netManage/gzdt/index.vue
+++ b/src/views/tcZz/netManage/gzdt/index.vue
@@ -311,19 +311,19 @@
{{ infoTitle }}
- {{ selectDictLabel(dict.type.tc_area,form.areaId) }}
+ {{ selectDictLabel(dict.type.tc_area,form.areaId) }}
- {{ selectDictLabel(dict.type.tc_start,form.isStatus) }}
+ {{ selectDictLabel(dict.type.tc_start,form.isStatus) }}
- {{ form.title }}
+ {{ form.title }}
- {{ form.type }}
+ {{ form.type }}
- {{ form.fileName }}
+ {{ item.name }}
- {{ form.fileUrl }}
+
- {{ form.remark }}
+ {{ form.remark }}
@@ -429,6 +429,7 @@
},
// fileNameS:[],
fileList:[],
+ files:[],
};
},
created() {
@@ -540,9 +541,22 @@
/**查看按钮操作 */
handleInfo(row){
this.reset();
+ this.files = [];
const id = row.id || this.ids
getGzdt(id).then(response => {
this.form = response.data;
+ let arr1 = this.form.fileName.split(',');
+ let arr2 = this.form.fileUrl.split(',');
+ if(arr1[0] !== '' && arr1.length > 1 && arr2.length > 1) {
+ arr1.forEach((item,index)=>{
+ let obj = {};
+ obj.name = item;
+ obj.url = arr2[index];
+ this.files.push(obj);
+ })
+ } else {
+ this.files = [];
+ }
this.infoOpen = true;
this.infoTitle = "查看工作动态详情"
});
@@ -723,6 +737,10 @@
}
}
}
+ a {
+ color: #0072c6;
+ margin: 0 5px;
+ }
}
}
\ No newline at end of file
diff --git a/src/views/tcZz/netManage/qlzxxddt/index.vue b/src/views/tcZz/netManage/qlzxxddt/index.vue
index c9b2278..bb58a0b 100644
--- a/src/views/tcZz/netManage/qlzxxddt/index.vue
+++ b/src/views/tcZz/netManage/qlzxxddt/index.vue
@@ -281,17 +281,17 @@
{{ infoTitle }}
-
+
- {{ selectDictLabel(dict.type.tc_start,form.isStatus) }}
+ {{ selectDictLabel(dict.type.tc_start,form.isStatus) }}
- {{ form.title }}
+ {{ form.title }}
-
+
- {{ form.imageUrl }}
+ 查看图片
- {{ form.remark }}
+ {{ form.remark }}
@@ -391,6 +391,7 @@
],
},
fileList:[],
+ images:[],
};
},
created() {
@@ -402,15 +403,15 @@
/** 查询清朗专项行动动态列表 */
getList() {
this.loading = true;
- this.queryParams.params = {};
- if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) {
- this.queryParams.params["beginCreateTime"] = this.daterangeCreateTime[0];
- this.queryParams.params["endCreateTime"] = this.daterangeCreateTime[1];
- }
- if (null != this.daterangeUpdateTime && '' != this.daterangeUpdateTime) {
- this.queryParams.params["beginUpdateTime"] = this.daterangeUpdateTime[0];
- this.queryParams.params["endUpdateTime"] = this.daterangeUpdateTime[1];
- }
+ this.queryParams.params = {};
+ if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) {
+ this.queryParams.params["beginCreateTime"] = this.daterangeCreateTime[0];
+ this.queryParams.params["endCreateTime"] = this.daterangeCreateTime[1];
+ }
+ if (null != this.daterangeUpdateTime && '' != this.daterangeUpdateTime) {
+ this.queryParams.params["beginUpdateTime"] = this.daterangeUpdateTime[0];
+ this.queryParams.params["endUpdateTime"] = this.daterangeUpdateTime[1];
+ }
listQlzxxddt(this.queryParams).then(response => {
this.qlzxxddtList = response.rows;
this.total = response.total;
@@ -501,9 +502,11 @@
/**查看按钮操作 */
handleInfo(row){
this.reset();
+ this.images = [];
const id = row.id || this.ids
getQlzxxddt(id).then(response => {
this.form = response.data;
+ this.images = this.form.imageUrl.split(',');
this.infoOpen = true;
this.infoTitle = "查看清朗专项行动动态详情"
});
@@ -669,6 +672,10 @@
}
}
}
+ a {
+ color: #0072c6;
+ margin: 0 5px;
+ }
}
}
\ No newline at end of file
diff --git a/src/views/tcZz/networkSecurity/cybersecurity/index.vue b/src/views/tcZz/networkSecurity/cybersecurity/index.vue
index d6cec46..9f7fc0e 100644
--- a/src/views/tcZz/networkSecurity/cybersecurity/index.vue
+++ b/src/views/tcZz/networkSecurity/cybersecurity/index.vue
@@ -114,7 +114,7 @@
-
+
@@ -226,12 +226,12 @@
placeholder="请输入攻击源IP区域"
/>
-
-
+
+
-
+
@@ -305,11 +305,11 @@
}}
{{
- form.sAttackIp
+ form.sattackIp
}}
{{
- form.sAttackIpArea
+ form.sattackIpArea
}}
{{
@@ -447,9 +447,9 @@ export default {
type: null,
- sAttackIp: null,
+ sattackIp: null,
- sAttackIpArea: null,
+ sattackIpArea: null,
netLevel: null,
@@ -622,9 +622,9 @@ export default {
type: null,
- sAttackIp: null,
+ sattackIp: null,
- sAttackIpArea: null,
+ sattackIpArea: null,
netLevel: null,
diff --git a/src/views/tcZz/networkSecurity/tbwc/index.vue b/src/views/tcZz/networkSecurity/tbwc/index.vue
index 4bb62dd..a353a9b 100644
--- a/src/views/tcZz/networkSecurity/tbwc/index.vue
+++ b/src/views/tcZz/networkSecurity/tbwc/index.vue
@@ -31,8 +31,9 @@
clearable
size="small"
v-model="queryParams.year"
- type="date"
- value-format="yyyy-MM-dd"
+ type="year"
+ format="yyyy"
+ value-format="yyyy"
placeholder="选择年份"
>
@@ -178,8 +179,9 @@
clearable
size="small"
v-model="form.year"
- type="date"
- value-format="yyyy-MM-dd"
+ type="year"
+ format="yyyy"
+ value-format="yyyy"
placeholder="选择年份"
>
diff --git a/vue.config.js b/vue.config.js
index 5151f3a..655e4d4 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -56,9 +56,9 @@ module.exports = {
sassOptions: { outputStyle: "expanded" },
},
// px to rem
- postcss: {
- plugins: [postcss],
- },
+ // postcss: {
+ // plugins: [postcss],
+ // },
},
},
configureWebpack: {