From f7abd9284856f789221221df03f4eaf9e0809243 Mon Sep 17 00:00:00 2001 From: monkeyhouyi Date: Thu, 19 Sep 2024 17:22:13 +0800 Subject: [PATCH] 1.基础信息库-筛选:应用信息、运营主体信息(原公司信息)2个页面,查询条件都新增“所属区(市)县”(仅市级账号新增),列表中的字段“所属区县”也要同步改名。2、基础信息库-新增运营主体/应用:网站要新增“域名”字段;新增应用时,选择运营主体后,已有信息直接同步显示,不再重复录入;新增运营主体的“联系方式”删除,和“联系电话”重复了;新增运营主体中的“社会信用代码”少了“码”,调整一下;“所属外协”删除,没有所属外协。 --- src/views/baseCaseHandling/Form.vue | 1 - src/views/baseCaseHandling/index.vue | 30 ++++++++++++++++++++++++++++++ src/views/baseComapnyInfo/Form.vue | 12 ++++++------ src/views/baseComapnyInfo/index.vue | 20 +++++++++++++++++--- src/views/baseSystemInfo/index.vue | 37 +++++++++++++++++++++++++------------ 5 files changed, 78 insertions(+), 22 deletions(-) diff --git a/src/views/baseCaseHandling/Form.vue b/src/views/baseCaseHandling/Form.vue index 433db27..656c82f 100644 --- a/src/views/baseCaseHandling/Form.vue +++ b/src/views/baseCaseHandling/Form.vue @@ -281,7 +281,6 @@ export default { }) }, selectBlur(e) { - if(!this.isSHILevel) return; let value = e.target.value; if(!value) return; this.dataForm.systemName = e.target.value; diff --git a/src/views/baseCaseHandling/index.vue b/src/views/baseCaseHandling/index.vue index 1a0d677..e2fc9eb 100644 --- a/src/views/baseCaseHandling/index.vue +++ b/src/views/baseCaseHandling/index.vue @@ -48,6 +48,7 @@
新增 + 导出
@@ -157,6 +158,7 @@ export default { stateOptions: [], areaOptions: [], systemOptions: [], + exportBtnLoading: false, }; }, computed: { @@ -256,6 +258,34 @@ export default { }) .catch(() => {}); }, + // 导出 + toExport() { + let _query = { + ...this.query, + }; + let query = {}; + for (let key in _query) { + if (Array.isArray(_query[key])) { + query[key] = _query[key].join(); + } else { + query[key] = _query[key]; + } + } + this.exportBtnLoading = true; + request({ + url: ``, + method: "POST", + data: query, + }).then((res) => { + const url = process.env.VUE_APP_BASE_API + res.data.url; + const link = document.createElement("a"); + link.href = url; + link.download = res.data.name; + link.click(); + this.exportBtnLoading = false; + }).catch(() => this.exportBtnLoading = false); + }, + search() { this.listQuery = { currentPage: 1, diff --git a/src/views/baseComapnyInfo/Form.vue b/src/views/baseComapnyInfo/Form.vue index eb743a3..17c8d0a 100644 --- a/src/views/baseComapnyInfo/Form.vue +++ b/src/views/baseComapnyInfo/Form.vue @@ -18,8 +18,8 @@ - - + @@ -36,13 +36,13 @@ - + @@ -63,8 +63,8 @@ - - + + {{ v.fullName }} diff --git a/src/views/baseComapnyInfo/index.vue b/src/views/baseComapnyInfo/index.vue index 9f2dbf1..7444142 100644 --- a/src/views/baseComapnyInfo/index.vue +++ b/src/views/baseComapnyInfo/index.vue @@ -6,17 +6,24 @@
- + + + + + + + + - + - + @@ -24,6 +31,7 @@ 搜索 + 重置 @@ -53,6 +61,9 @@ + + +