Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
59 changed files
with
1037 additions
and
430 deletions
1 | /* | 1 | /* |
2 | * @Description: 业务办理 | 2 | * @Description: 业务办理 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:13:24 | 4 | * @LastEditTime: 2023-07-19 14:53:41 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
... | @@ -17,8 +17,6 @@ export function getCollectBiz () { | ... | @@ -17,8 +17,6 @@ export function getCollectBiz () { |
17 | method: 'post' | 17 | method: 'post' |
18 | }) | 18 | }) |
19 | } | 19 | } |
20 | |||
21 | |||
22 | /** | 20 | /** |
23 | * @description: 业务办理-获取左侧菜单 | 21 | * @description: 业务办理-获取左侧菜单 |
24 | * @author: renchao | 22 | * @author: renchao |
... | @@ -29,12 +27,11 @@ export function getleftMenu () { | ... | @@ -29,12 +27,11 @@ export function getleftMenu () { |
29 | method: 'post' | 27 | method: 'post' |
30 | }) | 28 | }) |
31 | } | 29 | } |
32 | |||
33 | /** | 30 | /** |
34 | * @description: 登记簿补录 | 31 | * @description: 登记簿补录 |
35 | * @author: renchao | 32 | * @author: renchao |
36 | */ | 33 | */ |
37 | export function getRepairBiz () { | 34 | export function getRepairBiz () { |
38 | return request({ | 35 | return request({ |
39 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getRepairBiz', | 36 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getRepairBiz', |
40 | method: 'post' | 37 | method: 'post' |
... | @@ -50,7 +47,7 @@ export function getTogetherBiz () { | ... | @@ -50,7 +47,7 @@ export function getTogetherBiz () { |
50 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getTogetherBiz', | 47 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getTogetherBiz', |
51 | method: 'post' | 48 | method: 'post' |
52 | }) | 49 | }) |
53 | } | 50 | } |
54 | 51 | ||
55 | /** | 52 | /** |
56 | * @description: 业务办理-获取下个节点内容 | 53 | * @description: 业务办理-获取下个节点内容 | ... | ... |
src/api/getusername.js
deleted
100644 → 0
1 | // 封装axios请求 | ||
2 | import axios from "axios"; | ||
3 | // 创建axios的对象 | ||
4 | const instance = axios.create({ | ||
5 | baseURL: "http://192.168.2.235/management/rest/users", | ||
6 | }) | ||
7 | |||
8 | |||
9 | |||
10 | export const getusername = (data) => instance({ | ||
11 | |||
12 | url: '', // 请求地址 | ||
13 | method: 'get', | ||
14 | params:{ | ||
15 | queryOptions: { | ||
16 | conditionGroup: { | ||
17 | conditions: [ | ||
18 | { | ||
19 | property: "loginName", | ||
20 | value:data, | ||
21 | operator: "IN", | ||
22 | }, | ||
23 | ], | ||
24 | queryRelation: "AND", | ||
25 | }, | ||
26 | orderBys:[{"property":"sort","direction":"desc"}] | ||
27 | }, | ||
28 | }, | ||
29 | |||
30 | }) |
1 | /* | 1 | /* |
2 | * @Description: 楼盘表查询 | 2 | * @Description: 楼盘表查询 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-12 13:26:37 | 4 | * @LastEditTime: 2023-07-19 15:00:43 |
5 | */ | 5 | */ |
6 | import request from "@/utils/request"; | 6 | import request from "@/utils/request"; |
7 | let SERVER = window.config | 7 | let SERVER = window.config |
8 | ? window.config | 8 | ? window.config |
9 | : JSON.parse(localStorage.getItem("ApiUrl")); | 9 | : JSON.parse(localStorage.getItem("ApiUrl")); |
10 | const url = SERVER.SERVERAPI + "/rest/zhcx/lpcx/"; | 10 | const url = SERVER.SERVERAPI + "/rest/zhcx/lpcx/"; |
11 | // | ||
12 | /** | 11 | /** |
13 | * @description:楼盘查询- 根据条件进行列表查询 | 12 | * @description:楼盘查询- 根据条件进行列表查询 |
14 | * @param {*} data | 13 | * @param {*} data |
15 | * @author: renchao | 14 | * @author: renchao |
16 | */ | 15 | */ |
17 | export function getLpZrz(data) { | 16 | export function getLpZrz (data) { |
18 | return request({ | 17 | return request({ |
19 | url: "service-lpb/rest/zhcx/lpcx/getLpZrz", | 18 | url: "service-lpb/rest/zhcx/lpcx/getLpZrz", |
20 | method: "post", | 19 | method: "post", |
... | @@ -27,7 +26,7 @@ export function getLpZrz(data) { | ... | @@ -27,7 +26,7 @@ export function getLpZrz(data) { |
27 | * @param {*} zrzbsm | 26 | * @param {*} zrzbsm |
28 | * @author: renchao | 27 | * @author: renchao |
29 | */ | 28 | */ |
30 | export function getLpb(zrzbsm) { | 29 | export function getLpb (zrzbsm) { |
31 | return request({ | 30 | return request({ |
32 | url: "service-lpb/rest/zhcx/lpcx/getLpb?scyclx=0&zrzbsm=" + zrzbsm, | 31 | url: "service-lpb/rest/zhcx/lpcx/getLpb?scyclx=0&zrzbsm=" + zrzbsm, |
33 | method: "get", | 32 | method: "get", |
... | @@ -38,7 +37,7 @@ export function getLpb(zrzbsm) { | ... | @@ -38,7 +37,7 @@ export function getLpb(zrzbsm) { |
38 | * @param {*} zrzbsm | 37 | * @param {*} zrzbsm |
39 | * @author: renchao | 38 | * @author: renchao |
40 | */ | 39 | */ |
41 | export function getLpbFwytAndQlxz(zrzbsm) { | 40 | export function getLpbFwytAndQlxz (zrzbsm) { |
42 | return request({ | 41 | return request({ |
43 | url: | 42 | url: |
44 | "service-lpb/rest/zhcx/lpcx/getLpbFwytAndQlxz?scyclx=0&zrzbsm=" + | 43 | "service-lpb/rest/zhcx/lpcx/getLpbFwytAndQlxz?scyclx=0&zrzbsm=" + |
... | @@ -51,7 +50,7 @@ export function getLpbFwytAndQlxz(zrzbsm) { | ... | @@ -51,7 +50,7 @@ export function getLpbFwytAndQlxz(zrzbsm) { |
51 | * @param {*} zrzbsm | 50 | * @param {*} zrzbsm |
52 | * @author: renchao | 51 | * @author: renchao |
53 | */ | 52 | */ |
54 | export function getLpbQsxtj(zrzbsm) { | 53 | export function getLpbQsxtj (zrzbsm) { |
55 | return request({ | 54 | return request({ |
56 | url: "service-lpb/rest/zhcx/lpcx/getLpbQsxtj?scyclx=0&zrzbsm=" + zrzbsm, | 55 | url: "service-lpb/rest/zhcx/lpcx/getLpbQsxtj?scyclx=0&zrzbsm=" + zrzbsm, |
57 | method: "get", | 56 | method: "get", |
... | @@ -65,7 +64,7 @@ export function getLpbQsxtj(zrzbsm) { | ... | @@ -65,7 +64,7 @@ export function getLpbQsxtj(zrzbsm) { |
65 | * scyclx 实测预测类型 0预测,1实测 | 64 | * scyclx 实测预测类型 0预测,1实测 |
66 | * @return {*} | 65 | * @return {*} |
67 | */ | 66 | */ |
68 | export function getLpbTj(zrzbsm) { | 67 | export function getLpbTj (zrzbsm) { |
69 | return request({ | 68 | return request({ |
70 | url: "service-lpb/rest/zhcx/lpcx/getLpbTj?scyclx=0&zrzbsm=" + zrzbsm, | 69 | url: "service-lpb/rest/zhcx/lpcx/getLpbTj?scyclx=0&zrzbsm=" + zrzbsm, |
71 | method: "get", | 70 | method: "get", | ... | ... |
... | @@ -6,8 +6,11 @@ | ... | @@ -6,8 +6,11 @@ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | 8 | ||
9 | 9 | /** | |
10 | // 数据上报推送查询 | 10 | * @description: 数据上报推送查询 |
11 | * @param {*} data | ||
12 | * @author: renchao | ||
13 | */ | ||
11 | export function list (data) { | 14 | export function list (data) { |
12 | return request({ | 15 | return request({ |
13 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/list', | 16 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/list', |
... | @@ -16,7 +19,11 @@ export function list (data) { | ... | @@ -16,7 +19,11 @@ export function list (data) { |
16 | }) | 19 | }) |
17 | } | 20 | } |
18 | 21 | ||
19 | // 数据上报推送 | 22 | /** |
23 | * @description: 数据上报推送 | ||
24 | * @param {*} data | ||
25 | * @author: renchao | ||
26 | */ | ||
20 | export function push (data) { | 27 | export function push (data) { |
21 | return request({ | 28 | return request({ |
22 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/push', | 29 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/push', |
... | @@ -25,7 +32,11 @@ export function push (data) { | ... | @@ -25,7 +32,11 @@ export function push (data) { |
25 | }) | 32 | }) |
26 | } | 33 | } |
27 | 34 | ||
28 | // 数据上报推送 | 35 | /** |
36 | * @description: 数据上报推送 | ||
37 | * @param {*} bsm | ||
38 | * @author: renchao | ||
39 | */ | ||
29 | export function detail (bsm) { | 40 | export function detail (bsm) { |
30 | return request({ | 41 | return request({ |
31 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/detail?bsm=' + bsm, | 42 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/detail?bsm=' + bsm, | ... | ... |
... | @@ -17,8 +17,6 @@ export function getErrorLogList (data) { | ... | @@ -17,8 +17,6 @@ export function getErrorLogList (data) { |
17 | data | 17 | data |
18 | }) | 18 | }) |
19 | } | 19 | } |
20 | |||
21 | |||
22 | /** | 20 | /** |
23 | * @description: 系统监控 -获取操作日志列表 | 21 | * @description: 系统监控 -获取操作日志列表 |
24 | * @param {*} data | 22 | * @param {*} data |
... | @@ -31,7 +29,6 @@ export function getOperationLogList (data) { | ... | @@ -31,7 +29,6 @@ export function getOperationLogList (data) { |
31 | data | 29 | data |
32 | }) | 30 | }) |
33 | } | 31 | } |
34 | |||
35 | /** | 32 | /** |
36 | * @description: 系统监控 -主机监控 | 33 | * @description: 系统监控 -主机监控 |
37 | * @author: renchao | 34 | * @author: renchao | ... | ... |
... | @@ -31,6 +31,11 @@ export function BatchInit (data) { | ... | @@ -31,6 +31,11 @@ export function BatchInit (data) { |
31 | }) | 31 | }) |
32 | } | 32 | } |
33 | 33 | ||
34 | /** | ||
35 | * @description: 初始化 | ||
36 | * @param {*} data | ||
37 | * @author: renchao | ||
38 | */ | ||
34 | export function Init (data) { | 39 | export function Init (data) { |
35 | let apiUrl = ""; | 40 | let apiUrl = ""; |
36 | switch (data.get("djlx")) { | 41 | switch (data.get("djlx")) { | ... | ... |
... | @@ -6,7 +6,11 @@ | ... | @@ -6,7 +6,11 @@ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | 8 | ||
9 | // 初始化内容 | 9 | /** |
10 | * @description: 初始化 | ||
11 | * @param {*} data | ||
12 | * @author: renchao | ||
13 | */ | ||
10 | export function Init (data) { | 14 | export function Init (data) { |
11 | let apiUrl = ""; | 15 | let apiUrl = ""; |
12 | switch (data.get("djlx")) { | 16 | switch (data.get("djlx")) { | ... | ... |
... | @@ -6,7 +6,11 @@ | ... | @@ -6,7 +6,11 @@ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | 8 | ||
9 | // 初始化内容 | 9 | /** |
10 | * @description: 初始化 | ||
11 | * @param {*} data | ||
12 | * @author: renchao | ||
13 | */ | ||
10 | export function Init (data) { | 14 | export function Init (data) { |
11 | let apiUrl = ""; | 15 | let apiUrl = ""; |
12 | switch (data.get("djlx")) { | 16 | switch (data.get("djlx")) { |
... | @@ -39,7 +43,11 @@ export function Init (data) { | ... | @@ -39,7 +43,11 @@ export function Init (data) { |
39 | }) | 43 | }) |
40 | } | 44 | } |
41 | 45 | ||
42 | // 初始化内容 | 46 | /** |
47 | * @description: 保存数据 | ||
48 | * @param {*} data | ||
49 | * @author: renchao | ||
50 | */ | ||
43 | export function saveData (data) { | 51 | export function saveData (data) { |
44 | return request({ | 52 | return request({ |
45 | url: SERVER.SERVERAPI + '/rest/ywbl/nydsyqlr/saveData', | 53 | url: SERVER.SERVERAPI + '/rest/ywbl/nydsyqlr/saveData', | ... | ... |
... | @@ -6,7 +6,11 @@ | ... | @@ -6,7 +6,11 @@ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | 8 | ||
9 | // 初始化内容 | 9 | /** |
10 | * @description: 初始化 | ||
11 | * @param {*} data | ||
12 | * @author: renchao | ||
13 | */ | ||
10 | export function Init (data) { | 14 | export function Init (data) { |
11 | let apiUrl = ""; | 15 | let apiUrl = ""; |
12 | switch (data.get("djlx")) { | 16 | switch (data.get("djlx")) { | ... | ... |
... | @@ -5,7 +5,11 @@ | ... | @@ -5,7 +5,11 @@ |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | // 初始化内容 | 8 | /** |
9 | * @description: 初始化 | ||
10 | * @param {*} data | ||
11 | * @author: renchao | ||
12 | */ | ||
9 | export function Init (data) { | 13 | export function Init (data) { |
10 | let apiUrl = ""; | 14 | let apiUrl = ""; |
11 | switch (data.get("djlx")) { | 15 | switch (data.get("djlx")) { |
... | @@ -37,7 +41,11 @@ export function Init (data) { | ... | @@ -37,7 +41,11 @@ export function Init (data) { |
37 | data | 41 | data |
38 | }) | 42 | }) |
39 | } | 43 | } |
40 | // 初始化内容 | 44 | /** |
45 | * @description: 保存数据 | ||
46 | * @param {*} data | ||
47 | * @author: renchao | ||
48 | */ | ||
41 | export function saveData (data) { | 49 | export function saveData (data) { |
42 | return request({ | 50 | return request({ |
43 | url: SERVER.SERVERAPI + '/rest/ywbl/ygmmdj/saveData', | 51 | url: SERVER.SERVERAPI + '/rest/ywbl/ygmmdj/saveData', | ... | ... |
... | @@ -5,7 +5,11 @@ | ... | @@ -5,7 +5,11 @@ |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | // 初始化内容 | 8 | /** |
9 | * @description: 初始化 | ||
10 | * @param {*} data | ||
11 | * @author: renchao | ||
12 | */ | ||
9 | export function Init (data) { | 13 | export function Init (data) { |
10 | let apiUrl = ""; | 14 | let apiUrl = ""; |
11 | switch (data.get("djlx")) { | 15 | switch (data.get("djlx")) { |
... | @@ -37,7 +41,11 @@ export function Init (data) { | ... | @@ -37,7 +41,11 @@ export function Init (data) { |
37 | data | 41 | data |
38 | }) | 42 | }) |
39 | } | 43 | } |
40 | // 初始化内容 | 44 | /** |
45 | * @description: 保存数据 | ||
46 | * @param {*} data | ||
47 | * @author: renchao | ||
48 | */ | ||
41 | export function saveData (data) { | 49 | export function saveData (data) { |
42 | return request({ | 50 | return request({ |
43 | url: SERVER.SERVERAPI + '/rest/ywbl/ygdydj/saveData', | 51 | url: SERVER.SERVERAPI + '/rest/ywbl/ygdydj/saveData', | ... | ... |
... | @@ -6,7 +6,11 @@ | ... | @@ -6,7 +6,11 @@ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | 8 | ||
9 | // 初始化内容 | 9 | /** |
10 | * @description: 初始化 | ||
11 | * @param {*} data | ||
12 | * @author: renchao | ||
13 | */ | ||
10 | export function Init (data) { | 14 | export function Init (data) { |
11 | return request({ | 15 | return request({ |
12 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init", | 16 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init", |
... | @@ -14,7 +18,11 @@ export function Init (data) { | ... | @@ -14,7 +18,11 @@ export function Init (data) { |
14 | data | 18 | data |
15 | }) | 19 | }) |
16 | } | 20 | } |
17 | // 批量初始化内容 | 21 | /** |
22 | * @description: 批量初始化 | ||
23 | * @param {*} data | ||
24 | * @author: renchao | ||
25 | */ | ||
18 | export function bacthInit (data) { | 26 | export function bacthInit (data) { |
19 | let apiUrl = ""; | 27 | let apiUrl = ""; |
20 | switch (data.get("djlx")) { | 28 | switch (data.get("djlx")) { |
... | @@ -46,7 +54,11 @@ export function bacthInit (data) { | ... | @@ -46,7 +54,11 @@ export function bacthInit (data) { |
46 | data | 54 | data |
47 | }) | 55 | }) |
48 | } | 56 | } |
49 | // 受理信息保存 | 57 | /** |
58 | * @description: 保存数据 | ||
59 | * @param {*} data | ||
60 | * @author: renchao | ||
61 | */ | ||
50 | export function saveData (data, djlx) { | 62 | export function saveData (data, djlx) { |
51 | let apiUrl = "/rest/ywbl/zjgcdy/saveData"; | 63 | let apiUrl = "/rest/ywbl/zjgcdy/saveData"; |
52 | if (djlx == "400") { | 64 | if (djlx == "400") { |
... | @@ -59,7 +71,11 @@ export function saveData (data, djlx) { | ... | @@ -59,7 +71,11 @@ export function saveData (data, djlx) { |
59 | }) | 71 | }) |
60 | } | 72 | } |
61 | 73 | ||
62 | // 受理信息保存 | 74 | /** |
75 | * @description: 批量保存 | ||
76 | * @param {*} data | ||
77 | * @author: renchao | ||
78 | */ | ||
63 | export function saveBatchData (data, djlx) { | 79 | export function saveBatchData (data, djlx) { |
64 | return request({ | 80 | return request({ |
65 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData", | 81 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData", |
... | @@ -67,7 +83,12 @@ export function saveBatchData (data, djlx) { | ... | @@ -67,7 +83,12 @@ export function saveBatchData (data, djlx) { |
67 | data | 83 | data |
68 | }) | 84 | }) |
69 | } | 85 | } |
70 | // 上传单个文件 | 86 | |
87 | /** | ||
88 | * @description: 上传当个文件 | ||
89 | * @param {*} data | ||
90 | * @author: renchao | ||
91 | */ | ||
71 | export function sjClmxUpload (data) { | 92 | export function sjClmxUpload (data) { |
72 | return request({ | 93 | return request({ |
73 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', | 94 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', |
... | @@ -75,7 +96,12 @@ export function sjClmxUpload (data) { | ... | @@ -75,7 +96,12 @@ export function sjClmxUpload (data) { |
75 | data | 96 | data |
76 | }) | 97 | }) |
77 | } | 98 | } |
78 | // 删除上传文件 | 99 | |
100 | /** | ||
101 | * @description: 删除多个文件 | ||
102 | * @param {*} data | ||
103 | * @author: renchao | ||
104 | */ | ||
79 | export function sjClmxDelete (bsmClmx) { | 105 | export function sjClmxDelete (bsmClmx) { |
80 | return request({ | 106 | return request({ |
81 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, | 107 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 业务申请 | 2 | * @Description: 业务申请 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:13:24 | 4 | * @LastEditTime: 2023-07-19 14:52:03 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
... | @@ -132,11 +132,11 @@ export function selectDz (data) { | ... | @@ -132,11 +132,11 @@ export function selectDz (data) { |
132 | data | 132 | data |
133 | }) | 133 | }) |
134 | } | 134 | } |
135 | /** | ||
136 | * @description: 业务办理-选择单元-查询户信息 | ||
137 | * @author: renchao | ||
138 | */ | ||
135 | 139 | ||
136 | |||
137 | /* | ||
138 | 业务办理-选择单元-查询户信息 | ||
139 | */ | ||
140 | export function selectH (data) { | 140 | export function selectH (data) { |
141 | return request({ | 141 | return request({ |
142 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectH', | 142 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectH', | ... | ... |
... | @@ -54,12 +54,20 @@ export default { | ... | @@ -54,12 +54,20 @@ export default { |
54 | 54 | ||
55 | computed: { | 55 | computed: { |
56 | model: { | 56 | model: { |
57 | /** | ||
58 | * @description: get | ||
59 | * @author: renchao | ||
60 | */ | ||
57 | get () { | 61 | get () { |
58 | return this.isGroup | 62 | return this.isGroup |
59 | ? this.store : this.value !== undefined | 63 | ? this.store : this.value !== undefined |
60 | ? this.value : this.selfModel; | 64 | ? this.value : this.selfModel; |
61 | }, | 65 | }, |
62 | 66 | /** | |
67 | * @description: set | ||
68 | * @param {*} val | ||
69 | * @author: renchao | ||
70 | */ | ||
63 | set (val) { | 71 | set (val) { |
64 | if (this.isGroup) { | 72 | if (this.isGroup) { |
65 | this.isLimitExceeded = false; | 73 | this.isLimitExceeded = false; |
... | @@ -80,6 +88,10 @@ export default { | ... | @@ -80,6 +88,10 @@ export default { |
80 | } | 88 | } |
81 | }, | 89 | }, |
82 | 90 | ||
91 | /** | ||
92 | * @description: isChecked | ||
93 | * @author: renchao | ||
94 | */ | ||
83 | isChecked () { | 95 | isChecked () { |
84 | if ({}.toString.call(this.model) === '[object Boolean]') { | 96 | if ({}.toString.call(this.model) === '[object Boolean]') { |
85 | return this.model; | 97 | return this.model; |
... | @@ -89,7 +101,10 @@ export default { | ... | @@ -89,7 +101,10 @@ export default { |
89 | return this.model === this.trueLabel; | 101 | return this.model === this.trueLabel; |
90 | } | 102 | } |
91 | }, | 103 | }, |
92 | 104 | /** | |
105 | * @description: isGroup | ||
106 | * @author: renchao | ||
107 | */ | ||
93 | isGroup () { | 108 | isGroup () { |
94 | let parent = this.$parent; | 109 | let parent = this.$parent; |
95 | while (parent) { | 110 | while (parent) { |
... | @@ -102,29 +117,44 @@ export default { | ... | @@ -102,29 +117,44 @@ export default { |
102 | } | 117 | } |
103 | return false; | 118 | return false; |
104 | }, | 119 | }, |
105 | 120 | /** | |
121 | * @description: store | ||
122 | * @author: renchao | ||
123 | */ | ||
106 | store () { | 124 | store () { |
107 | return this._checkboxGroup ? this._checkboxGroup.value : this.value; | 125 | return this._checkboxGroup ? this._checkboxGroup.value : this.value; |
108 | }, | 126 | }, |
109 | 127 | ||
110 | /* used to make the isDisabled judgment under max/min props */ | 128 | /** |
129 | * @description: isLimitDisabled | ||
130 | * @author: renchao | ||
131 | */ | ||
111 | isLimitDisabled () { | 132 | isLimitDisabled () { |
112 | const { max, min } = this._checkboxGroup; | 133 | const { max, min } = this._checkboxGroup; |
113 | return !!(max || min) && | 134 | return !!(max || min) && |
114 | (this.model.length >= max && !this.isChecked) || | 135 | (this.model.length >= max && !this.isChecked) || |
115 | (this.model.length <= min && this.isChecked); | 136 | (this.model.length <= min && this.isChecked); |
116 | }, | 137 | }, |
117 | 138 | /** | |
139 | * @description: isDisabled | ||
140 | * @author: renchao | ||
141 | */ | ||
118 | isDisabled () { | 142 | isDisabled () { |
119 | return this.isGroup | 143 | return this.isGroup |
120 | ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled | 144 | ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled |
121 | : this.disabled || (this.elForm || {}).disabled; | 145 | : this.disabled || (this.elForm || {}).disabled; |
122 | }, | 146 | }, |
123 | 147 | /** | |
148 | * @description: _elFormItemSize | ||
149 | * @author: renchao | ||
150 | */ | ||
124 | _elFormItemSize () { | 151 | _elFormItemSize () { |
125 | return (this.elFormItem || {}).elFormItemSize; | 152 | return (this.elFormItem || {}).elFormItemSize; |
126 | }, | 153 | }, |
127 | 154 | /** | |
155 | * @description: checkboxSize | ||
156 | * @author: renchao | ||
157 | */ | ||
128 | checkboxSize () { | 158 | checkboxSize () { |
129 | const temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; | 159 | const temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; |
130 | return this.isGroup | 160 | return this.isGroup |
... | @@ -149,6 +179,10 @@ export default { | ... | @@ -149,6 +179,10 @@ export default { |
149 | }, | 179 | }, |
150 | 180 | ||
151 | methods: { | 181 | methods: { |
182 | /** | ||
183 | * @description: addToStore | ||
184 | * @author: renchao | ||
185 | */ | ||
152 | addToStore () { | 186 | addToStore () { |
153 | if ( | 187 | if ( |
154 | Array.isArray(this.model) && | 188 | Array.isArray(this.model) && |
... | @@ -159,6 +193,10 @@ export default { | ... | @@ -159,6 +193,10 @@ export default { |
159 | this.model = this.trueLabel || true; | 193 | this.model = this.trueLabel || true; |
160 | } | 194 | } |
161 | }, | 195 | }, |
196 | /** | ||
197 | * @description: handleChange | ||
198 | * @author: renchao | ||
199 | */ | ||
162 | handleChange (ev) { | 200 | handleChange (ev) { |
163 | if (this.isLimitExceeded) return; | 201 | if (this.isLimitExceeded) return; |
164 | let value; | 202 | let value; |
... | @@ -175,16 +213,26 @@ export default { | ... | @@ -175,16 +213,26 @@ export default { |
175 | }); | 213 | }); |
176 | } | 214 | } |
177 | }, | 215 | }, |
178 | 216 | /** | |
217 | * @description: created | ||
218 | * @author: renchao | ||
219 | */ | ||
179 | created () { | 220 | created () { |
180 | this.checked && this.addToStore(); | 221 | this.checked && this.addToStore(); |
181 | }, | 222 | }, |
223 | /** | ||
224 | * @description: mounted | ||
225 | * @author: renchao | ||
226 | */ | ||
182 | mounted () { // 为indeterminate元素 添加aria-controls 属性 | 227 | mounted () { // 为indeterminate元素 添加aria-controls 属性 |
183 | if (this.indeterminate) { | 228 | if (this.indeterminate) { |
184 | this.$el.setAttribute('aria-controls', this.controls); | 229 | this.$el.setAttribute('aria-controls', this.controls); |
185 | } | 230 | } |
186 | }, | 231 | }, |
187 | 232 | /** | |
233 | * @description: watch | ||
234 | * @author: renchao | ||
235 | */ | ||
188 | watch: { | 236 | watch: { |
189 | value (value) { | 237 | value (value) { |
190 | this.dispatch('ElFormItem', 'el.form.change', value); | 238 | this.dispatch('ElFormItem', 'el.form.change', value); | ... | ... |
... | @@ -92,6 +92,10 @@ export default { | ... | @@ -92,6 +92,10 @@ export default { |
92 | } | 92 | } |
93 | }, | 93 | }, |
94 | methods: { | 94 | methods: { |
95 | /** | ||
96 | * @description: handleFullscreen | ||
97 | * @author: renchao | ||
98 | */ | ||
95 | handleFullscreen () { | 99 | handleFullscreen () { |
96 | this.fullscreen = !this.fullscreen | 100 | this.fullscreen = !this.fullscreen |
97 | if (!this.fullscreen) { | 101 | if (!this.fullscreen) { |
... | @@ -100,11 +104,19 @@ export default { | ... | @@ -100,11 +104,19 @@ export default { |
100 | this.scrollerHeight = (window.innerHeight - 120) + 'px' | 104 | this.scrollerHeight = (window.innerHeight - 120) + 'px' |
101 | } | 105 | } |
102 | }, | 106 | }, |
107 | /** | ||
108 | * @description: submitForm | ||
109 | * @author: renchao | ||
110 | */ | ||
103 | submitForm () { | 111 | submitForm () { |
104 | if (this.isButton) { | 112 | if (this.isButton) { |
105 | this.$emit('submitForm'); | 113 | this.$emit('submitForm'); |
106 | } | 114 | } |
107 | }, | 115 | }, |
116 | /** | ||
117 | * @description: closeDialog | ||
118 | * @author: renchao | ||
119 | */ | ||
108 | closeDialog () { | 120 | closeDialog () { |
109 | this.key++ | 121 | this.key++ |
110 | this.$emit('input', false) | 122 | this.$emit('input', false) | ... | ... |
... | @@ -106,6 +106,11 @@ | ... | @@ -106,6 +106,11 @@ |
106 | components: { | 106 | components: { |
107 | LbColumn, | 107 | LbColumn, |
108 | }, | 108 | }, |
109 | |||
110 | /** | ||
111 | * @description: data | ||
112 | * @author: renchao | ||
113 | */ | ||
109 | data () { | 114 | data () { |
110 | return { | 115 | return { |
111 | tableHeight: 'auto', | 116 | tableHeight: 'auto', |
... | @@ -114,6 +119,10 @@ | ... | @@ -114,6 +119,10 @@ |
114 | selected: '' | 119 | selected: '' |
115 | } | 120 | } |
116 | }, | 121 | }, |
122 | /** | ||
123 | * @description: created | ||
124 | * @author: renchao | ||
125 | */ | ||
117 | created () { | 126 | created () { |
118 | this.getMergeArr(this.data, this.merge) | 127 | this.getMergeArr(this.data, this.merge) |
119 | this.getHeight() | 128 | this.getHeight() |
... | @@ -124,17 +133,29 @@ | ... | @@ -124,17 +133,29 @@ |
124 | }, | 133 | }, |
125 | }, | 134 | }, |
126 | methods: { | 135 | methods: { |
127 | // 单选 | 136 | /** |
137 | * @description: 单选 | ||
138 | * @param {*} row | ||
139 | * @author: renchao | ||
140 | */ | ||
128 | singleElection (row) { | 141 | singleElection (row) { |
129 | this.selected = this.data.indexOf(row); | 142 | this.selected = this.data.indexOf(row); |
130 | // this.$emit('row-click', row) | 143 | // this.$emit('row-click', row) |
131 | }, | 144 | }, |
132 | 145 | ||
146 | /** | ||
147 | * @description: tableRowClassName | ||
148 | * @author: renchao | ||
149 | */ | ||
133 | tableRowClassName ({ row, rowIndex }) { | 150 | tableRowClassName ({ row, rowIndex }) { |
134 | if (rowIndex % 2 === 1) { | 151 | if (rowIndex % 2 === 1) { |
135 | return 'interlaced'; | 152 | return 'interlaced'; |
136 | } | 153 | } |
137 | }, | 154 | }, |
155 | /** | ||
156 | * @description: getHeight | ||
157 | * @author: renchao | ||
158 | */ | ||
138 | getHeight () { | 159 | getHeight () { |
139 | if (!this.heightNumSetting) { | 160 | if (!this.heightNumSetting) { |
140 | let _this = this | 161 | let _this = this |
... | @@ -170,6 +191,12 @@ | ... | @@ -170,6 +191,12 @@ |
170 | }) | 191 | }) |
171 | } | 192 | } |
172 | }, | 193 | }, |
194 | /** | ||
195 | * @description: calcHeightx | ||
196 | * @param {*} value | ||
197 | * @param {*} wappered | ||
198 | * @author: renchao | ||
199 | */ | ||
173 | calcHeightx (value, wappered = true) { | 200 | calcHeightx (value, wappered = true) { |
174 | //项目自定义的公共header部分的高度,可忽略 | 201 | //项目自定义的公共header部分的高度,可忽略 |
175 | let header = document.querySelector(".from-clues-header").offsetHeight; | 202 | let header = document.querySelector(".from-clues-header").offsetHeight; |
... | @@ -195,36 +222,89 @@ | ... | @@ -195,36 +222,89 @@ |
195 | } | 222 | } |
196 | return res; | 223 | return res; |
197 | }, | 224 | }, |
225 | /** | ||
226 | * @description: clearSelection | ||
227 | * @author: renchao | ||
228 | */ | ||
198 | clearSelection () { | 229 | clearSelection () { |
199 | this.$refs.elTable.clearSelection() | 230 | this.$refs.elTable.clearSelection() |
200 | }, | 231 | }, |
232 | /** | ||
233 | * @description: toggleRowSelection | ||
234 | * @author: renchao | ||
235 | */ | ||
201 | toggleRowSelection (row, selected) { | 236 | toggleRowSelection (row, selected) { |
202 | this.$refs.elTable.toggleRowSelection(row, selected) | 237 | this.$refs.elTable.toggleRowSelection(row, selected) |
203 | }, | 238 | }, |
239 | /** | ||
240 | * @description: toggleAllSelection | ||
241 | * @author: renchao | ||
242 | */ | ||
204 | toggleAllSelection () { | 243 | toggleAllSelection () { |
205 | this.$refs.elTable.toggleAllSelection() | 244 | this.$refs.elTable.toggleAllSelection() |
206 | }, | 245 | }, |
246 | /** | ||
247 | * @description: toggleRowExpansion | ||
248 | * @param {*} row | ||
249 | * @param {*} bsm | ||
250 | * @author: renchao | ||
251 | */ | ||
207 | toggleRowExpansion (row, expanded) { | 252 | toggleRowExpansion (row, expanded) { |
208 | this.$refs.elTable.toggleRowExpansion(row, expanded) | 253 | this.$refs.elTable.toggleRowExpansion(row, expanded) |
209 | }, | 254 | }, |
255 | /** | ||
256 | * @description: setCurrentRow | ||
257 | * @param {*} row | ||
258 | * @author: renchao | ||
259 | */ | ||
210 | setCurrentRow (row) { | 260 | setCurrentRow (row) { |
211 | this.$refs.elTable.setCurrentRow(row) | 261 | this.$refs.elTable.setCurrentRow(row) |
212 | }, | 262 | }, |
263 | /** | ||
264 | * @description: setCurrentRow | ||
265 | * @author: renchao | ||
266 | */ | ||
213 | clearSort () { | 267 | clearSort () { |
214 | this.$refs.elTable.clearSort() | 268 | this.$refs.elTable.clearSort() |
215 | }, | 269 | }, |
270 | /** | ||
271 | * @description: clearFilter | ||
272 | * @param {*} columnKey | ||
273 | * @author: renchao | ||
274 | */ | ||
216 | clearFilter (columnKey) { | 275 | clearFilter (columnKey) { |
217 | this.$refs.elTable.clearFilter(columnKey) | 276 | this.$refs.elTable.clearFilter(columnKey) |
218 | }, | 277 | }, |
278 | /** | ||
279 | * @description: doLayout | ||
280 | * @author: renchao | ||
281 | */ | ||
219 | doLayout () { | 282 | doLayout () { |
220 | this.$refs.elTable.doLayout() | 283 | this.$refs.elTable.doLayout() |
221 | }, | 284 | }, |
285 | /** | ||
286 | * @description: sort | ||
287 | * @param {*} prop | ||
288 | * @param {*} order | ||
289 | * @author: renchao | ||
290 | */ | ||
222 | sort (prop, order) { | 291 | sort (prop, order) { |
223 | this.$refs.elTable.sort(prop, order) | 292 | this.$refs.elTable.sort(prop, order) |
224 | }, | 293 | }, |
294 | /** | ||
295 | * @description: paginationCurrentChange | ||
296 | * @param {*} val | ||
297 | * @author: renchao | ||
298 | */ | ||
225 | paginationCurrentChange (val) { | 299 | paginationCurrentChange (val) { |
226 | this.$emit('p-current-change', val) | 300 | this.$emit('p-current-change', val) |
227 | }, | 301 | }, |
302 | /** | ||
303 | * @description: getMergeArr | ||
304 | * @param {*} tableData | ||
305 | * @param {*} merge | ||
306 | * @author: renchao | ||
307 | */ | ||
228 | getMergeArr (tableData, merge) { | 308 | getMergeArr (tableData, merge) { |
229 | if (!merge) return | 309 | if (!merge) return |
230 | this.mergeLine = {} | 310 | this.mergeLine = {} |
... | @@ -247,6 +327,10 @@ | ... | @@ -247,6 +327,10 @@ |
247 | }) | 327 | }) |
248 | }) | 328 | }) |
249 | }, | 329 | }, |
330 | /** | ||
331 | * @description: mergeMethod | ||
332 | * @author: renchao | ||
333 | */ | ||
250 | mergeMethod ({ row, column, rowIndex, columnIndex }) { | 334 | mergeMethod ({ row, column, rowIndex, columnIndex }) { |
251 | const index = this.merge.indexOf(column.property) | 335 | const index = this.merge.indexOf(column.property) |
252 | if (index > -1) { | 336 | if (index > -1) { |
... | @@ -260,9 +344,17 @@ | ... | @@ -260,9 +344,17 @@ |
260 | }, | 344 | }, |
261 | }, | 345 | }, |
262 | watch: { | 346 | watch: { |
347 | /** | ||
348 | * @description: merge | ||
349 | * @author: renchao | ||
350 | */ | ||
263 | merge () { | 351 | merge () { |
264 | this.getMergeArr(this.data, this.merge) | 352 | this.getMergeArr(this.data, this.merge) |
265 | }, | 353 | }, |
354 | /** | ||
355 | * @description: dataLength | ||
356 | * @author: renchao | ||
357 | */ | ||
266 | dataLength () { | 358 | dataLength () { |
267 | this.getMergeArr(this.data, this.merge) | 359 | this.getMergeArr(this.data, this.merge) |
268 | } | 360 | } | ... | ... |
... | @@ -345,6 +345,10 @@ export default { | ... | @@ -345,6 +345,10 @@ export default { |
345 | }; | 345 | }; |
346 | }, | 346 | }, |
347 | methods: { | 347 | methods: { |
348 | /** | ||
349 | * @description: inputBlur | ||
350 | * @author: renchao | ||
351 | */ | ||
348 | inputBlur (e) { | 352 | inputBlur (e) { |
349 | if (e.target.value != '') { | 353 | if (e.target.value != '') { |
350 | e.target.style.border = "" | 354 | e.target.style.border = "" |
... | @@ -353,8 +357,10 @@ export default { | ... | @@ -353,8 +357,10 @@ export default { |
353 | e.target.style.boxSizing = 'border-box'; | 357 | e.target.style.boxSizing = 'border-box'; |
354 | } | 358 | } |
355 | }, | 359 | }, |
356 | 360 | /** | |
357 | //新增行数据 | 361 | * @description: 新增行数据 |
362 | * @author: renchao | ||
363 | */ | ||
358 | addRow () { | 364 | addRow () { |
359 | 365 | ||
360 | console.log(this.gyfs, '共有方式') | 366 | console.log(this.gyfs, '共有方式') |
... | @@ -382,7 +388,10 @@ export default { | ... | @@ -382,7 +388,10 @@ export default { |
382 | this.dialogVisible = true; | 388 | this.dialogVisible = true; |
383 | } | 389 | } |
384 | }, | 390 | }, |
385 | //确认权利人信息按钮;可以进行新增;可以进行更新; | 391 | /** |
392 | * @description: 确认权利人信息按钮;可以进行新增;可以进行更新; | ||
393 | * @author: renchao | ||
394 | */ | ||
386 | addNewQlrInfo () { | 395 | addNewQlrInfo () { |
387 | 396 | ||
388 | this.rules = [ | 397 | this.rules = [ |
... | @@ -482,7 +491,10 @@ export default { | ... | @@ -482,7 +491,10 @@ export default { |
482 | 491 | ||
483 | 492 | ||
484 | }, | 493 | }, |
485 | //修改行数据 | 494 | /** |
495 | * @description: 修改行数据 | ||
496 | * @author: renchao | ||
497 | */ | ||
486 | changeRow () { | 498 | changeRow () { |
487 | if (this.multipleSelection.length === 1) { | 499 | if (this.multipleSelection.length === 1) { |
488 | this.dialogVisible = true; | 500 | this.dialogVisible = true; |
... | @@ -498,7 +510,10 @@ export default { | ... | @@ -498,7 +510,10 @@ export default { |
498 | }); | 510 | }); |
499 | } | 511 | } |
500 | }, | 512 | }, |
501 | 513 | /** | |
514 | * @description: updateGyfs | ||
515 | * @author: renchao | ||
516 | */ | ||
502 | updateGyfs (val) { | 517 | updateGyfs (val) { |
503 | console.log(val, this.type) | 518 | console.log(val, this.type) |
504 | updateGyGyQlrQk(this.bsm, this.type, val).then((res) => { | 519 | updateGyGyQlrQk(this.bsm, this.type, val).then((res) => { |
... | @@ -509,12 +524,18 @@ export default { | ... | @@ -509,12 +524,18 @@ export default { |
509 | }) | 524 | }) |
510 | }, | 525 | }, |
511 | 526 | ||
512 | //父组件改变子组件的共有方式 | 527 | /** |
528 | * @description: 父组件改变子组件的共有方式 | ||
529 | * @author: renchao | ||
530 | */ | ||
513 | changeGyfs (val) { | 531 | changeGyfs (val) { |
514 | this.gyfs = val; | 532 | this.gyfs = val; |
515 | }, | 533 | }, |
516 | 534 | ||
517 | //行双击事件 | 535 | /** |
536 | * @description: 行双击事件 | ||
537 | * @author: renchao | ||
538 | */ | ||
518 | rowDbclick (row) { | 539 | rowDbclick (row) { |
519 | if (+this.qszt == 0) { | 540 | if (+this.qszt == 0) { |
520 | this.dialogVisible = true; | 541 | this.dialogVisible = true; |
... | @@ -542,7 +563,10 @@ export default { | ... | @@ -542,7 +563,10 @@ export default { |
542 | // } | 563 | // } |
543 | // }, | 564 | // }, |
544 | 565 | ||
545 | //删除行数据 | 566 | /** |
567 | * @description: 删除行数据 | ||
568 | * @author: renchao | ||
569 | */ | ||
546 | delRow () { | 570 | delRow () { |
547 | if (this.multipleSelection.length > 0) { | 571 | if (this.multipleSelection.length > 0) { |
548 | let qlrbsms = []; | 572 | let qlrbsms = []; |
... | @@ -563,20 +587,35 @@ export default { | ... | @@ -563,20 +587,35 @@ export default { |
563 | }); | 587 | }); |
564 | } | 588 | } |
565 | }, | 589 | }, |
566 | //选中表格某一项 | 590 | /** |
591 | * @description: 选中表格某一项 | ||
592 | * @author: renchao | ||
593 | */ | ||
567 | handleSelectionChange (val) { | 594 | handleSelectionChange (val) { |
568 | this.multipleSelection = val; | 595 | this.multipleSelection = val; |
569 | }, | 596 | }, |
570 | 597 | ||
571 | //供父组件调用来获取共有方式 | 598 | /** |
599 | * @description: 供父组件调用来获取共有方式 | ||
600 | * @author: renchao | ||
601 | */ | ||
572 | getQlgyfsData () { | 602 | getQlgyfsData () { |
573 | return this.gyfs; | 603 | return this.gyfs; |
574 | }, | 604 | }, |
575 | //供父组件调用来获取权利人表格数据 | 605 | /** |
606 | * @description: 供父组件调用来获取权利人表格数据 | ||
607 | * @author: renchao | ||
608 | */ | ||
576 | getQlrxxData () { | 609 | getQlrxxData () { |
577 | return this.tableData; | 610 | return this.tableData; |
578 | }, | 611 | }, |
579 | //增删代理人 | 612 | /** |
613 | * @description: 增删代理人 | ||
614 | * @param {*} obj | ||
615 | * @param {*} ind | ||
616 | * @param {*} type | ||
617 | * @author: renchao | ||
618 | */ | ||
580 | handleClick (obj, ind, type) { | 619 | handleClick (obj, ind, type) { |
581 | if (type === "add") { | 620 | if (type === "add") { |
582 | this.formData.dlrList.push({ | 621 | this.formData.dlrList.push({ |
... | @@ -595,6 +634,11 @@ export default { | ... | @@ -595,6 +634,11 @@ export default { |
595 | }); | 634 | }); |
596 | } | 635 | } |
597 | }, | 636 | }, |
637 | /** | ||
638 | * @description: getQlrInfo | ||
639 | * @param {*} bsm | ||
640 | * @author: renchao | ||
641 | */ | ||
598 | getQlrInfo (bsm) { | 642 | getQlrInfo (bsm) { |
599 | if (this.lq == "") { | 643 | if (this.lq == "") { |
600 | getQlrInfoByGlbsm(bsm).then((res) => { | 644 | getQlrInfoByGlbsm(bsm).then((res) => { | ... | ... |
... | @@ -257,6 +257,12 @@ export default { | ... | @@ -257,6 +257,12 @@ export default { |
257 | mounted () { | 257 | mounted () { |
258 | }, | 258 | }, |
259 | methods: { | 259 | methods: { |
260 | /** | ||
261 | * @description: startTime | ||
262 | * @param {*} index | ||
263 | * @param {*} childIndex | ||
264 | * @author: renchao | ||
265 | */ | ||
260 | startTime (index, childIndex) { | 266 | startTime (index, childIndex) { |
261 | let startTime = this.countList[index].list[childIndex].tdsyqssj; | 267 | let startTime = this.countList[index].list[childIndex].tdsyqssj; |
262 | let endTime = this.countList[index].list[childIndex].tdsyjssj; | 268 | let endTime = this.countList[index].list[childIndex].tdsyjssj; |
... | @@ -276,6 +282,13 @@ export default { | ... | @@ -276,6 +282,13 @@ export default { |
276 | // this.countList[index].list[childIndex].syqx=endYear-startYear; | 282 | // this.countList[index].list[childIndex].syqx=endYear-startYear; |
277 | } | 283 | } |
278 | }, | 284 | }, |
285 | /** | ||
286 | * @description: sumTime | ||
287 | * @param {*} index | ||
288 | * @param {*} childIndex | ||
289 | * @param {*} syqx | ||
290 | * @author: renchao | ||
291 | */ | ||
279 | sumTime (index, childIndex, syqx, e) { | 292 | sumTime (index, childIndex, syqx, e) { |
280 | this.$refs.syqx.forEach((item, index) => { | 293 | this.$refs.syqx.forEach((item, index) => { |
281 | if (item.value == syqx) { | 294 | if (item.value == syqx) { |
... | @@ -285,6 +298,12 @@ export default { | ... | @@ -285,6 +298,12 @@ export default { |
285 | let startTime = this.countList[index].list[childIndex].tdsyqssj; | 298 | let startTime = this.countList[index].list[childIndex].tdsyqssj; |
286 | this.countList[index].list[childIndex].tdsyjssj = Number(startTime.substring(0, 4)) + Number(syqx) + startTime.slice(4, 10); | 299 | this.countList[index].list[childIndex].tdsyjssj = Number(startTime.substring(0, 4)) + Number(syqx) + startTime.slice(4, 10); |
287 | }, | 300 | }, |
301 | /** | ||
302 | * @description: endTime | ||
303 | * @param {*} index | ||
304 | * @param {*} childIndex | ||
305 | * @author: renchao | ||
306 | */ | ||
288 | endTime (index, childIndex, e) { | 307 | endTime (index, childIndex, e) { |
289 | let startTime = this.countList[index].list[childIndex].tdsyqssj; | 308 | let startTime = this.countList[index].list[childIndex].tdsyqssj; |
290 | let endTime = this.countList[index].list[childIndex].tdsyjssj; | 309 | let endTime = this.countList[index].list[childIndex].tdsyjssj; |
... | @@ -303,7 +322,12 @@ export default { | ... | @@ -303,7 +322,12 @@ export default { |
303 | // this.countList[index].list[childIndex].syqx=endYear-startYear; | 322 | // this.countList[index].list[childIndex].syqx=endYear-startYear; |
304 | } | 323 | } |
305 | }, | 324 | }, |
306 | //外层操作 | 325 | /** |
326 | * @description: 外层操作 | ||
327 | * @param {*} ind | ||
328 | * @param {*} type | ||
329 | * @author: renchao | ||
330 | */ | ||
307 | handleClick (ind, type) { | 331 | handleClick (ind, type) { |
308 | let outsideObj = { | 332 | let outsideObj = { |
309 | id: Math.random(), | 333 | id: Math.random(), |
... | @@ -348,6 +372,10 @@ export default { | ... | @@ -348,6 +372,10 @@ export default { |
348 | this.outNum--; | 372 | this.outNum--; |
349 | } | 373 | } |
350 | }, | 374 | }, |
375 | /** | ||
376 | * @description: reset | ||
377 | * @author: renchao | ||
378 | */ | ||
351 | reset () { | 379 | reset () { |
352 | this.countList = [ | 380 | this.countList = [ |
353 | { | 381 | { |
... | @@ -383,7 +411,13 @@ export default { | ... | @@ -383,7 +411,13 @@ export default { |
383 | }, | 411 | }, |
384 | ]; | 412 | ]; |
385 | }, | 413 | }, |
386 | //内层操作 | 414 | /** |
415 | * @description: 内层操作 | ||
416 | * @param {*} index | ||
417 | * @param {*} childIndex | ||
418 | * @param {*} type | ||
419 | * @author: renchao | ||
420 | */ | ||
387 | handleInClick (index, childIndex, type) { | 421 | handleInClick (index, childIndex, type) { |
388 | let insideObj = { | 422 | let insideObj = { |
389 | pzdjbsm: "", | 423 | pzdjbsm: "", |
... | @@ -415,7 +449,10 @@ export default { | ... | @@ -415,7 +449,10 @@ export default { |
415 | } | 449 | } |
416 | this.hasBorderOrNot(); | 450 | this.hasBorderOrNot(); |
417 | }, | 451 | }, |
418 | //判断是否显示边框 | 452 | /** |
453 | * @description: 判断是否显示边框 | ||
454 | * @author: renchao | ||
455 | */ | ||
419 | hasBorderOrNot () { | 456 | hasBorderOrNot () { |
420 | this.countList.forEach((item, index) => { | 457 | this.countList.forEach((item, index) => { |
421 | if (index == this.countList.length - 1) { | 458 | if (index == this.countList.length - 1) { |
... | @@ -426,9 +463,17 @@ export default { | ... | @@ -426,9 +463,17 @@ export default { |
426 | } | 463 | } |
427 | }); | 464 | }); |
428 | }, | 465 | }, |
466 | /** | ||
467 | * @description: getQlxzDataList | ||
468 | * @author: renchao | ||
469 | */ | ||
429 | getQlxzDataList () { | 470 | getQlxzDataList () { |
430 | return this.countList; | 471 | return this.countList; |
431 | }, | 472 | }, |
473 | /** | ||
474 | * @description: getRules | ||
475 | * @author: renchao | ||
476 | */ | ||
432 | getRules () { | 477 | getRules () { |
433 | let rules = []; | 478 | let rules = []; |
434 | let temp = 0; | 479 | let temp = 0; |
... | @@ -507,9 +552,17 @@ export default { | ... | @@ -507,9 +552,17 @@ export default { |
507 | }) | 552 | }) |
508 | // console.log(rules,'rules'); | 553 | // console.log(rules,'rules'); |
509 | }, | 554 | }, |
555 | /** | ||
556 | * @description: getRulesResult | ||
557 | * @author: renchao | ||
558 | */ | ||
510 | getRulesResult () { | 559 | getRulesResult () { |
511 | return this.rulesResult | 560 | return this.rulesResult |
512 | }, | 561 | }, |
562 | /** | ||
563 | * @description: inputBlur | ||
564 | * @author: renchao | ||
565 | */ | ||
513 | inputBlur (e, flag) { | 566 | inputBlur (e, flag) { |
514 | if (flag) { | 567 | if (flag) { |
515 | if (e.value != '') { | 568 | if (e.value != '') { | ... | ... |
... | @@ -157,6 +157,12 @@ export default { | ... | @@ -157,6 +157,12 @@ export default { |
157 | } | 157 | } |
158 | }, | 158 | }, |
159 | methods: { | 159 | methods: { |
160 | /** | ||
161 | * @description: txtFileChange | ||
162 | * @param {*} file | ||
163 | * @param {*} fileList | ||
164 | * @author: renchao | ||
165 | */ | ||
160 | txtFileChange (file, fileList) { | 166 | txtFileChange (file, fileList) { |
161 | var self = this; | 167 | var self = this; |
162 | var fileReader = new FileReader(); | 168 | var fileReader = new FileReader(); |
... | @@ -170,6 +176,11 @@ export default { | ... | @@ -170,6 +176,11 @@ export default { |
170 | self.analysisTextFile(content); | 176 | self.analysisTextFile(content); |
171 | } | 177 | } |
172 | }, | 178 | }, |
179 | /** | ||
180 | * @description: analysisTextFile | ||
181 | * @param {*} content | ||
182 | * @author: renchao | ||
183 | */ | ||
173 | analysisTextFile (content) { | 184 | analysisTextFile (content) { |
174 | var index = content.indexOf("[地块坐标]"), | 185 | var index = content.indexOf("[地块坐标]"), |
175 | geoInfos = content.substr(index), | 186 | geoInfos = content.substr(index), |
... | @@ -225,6 +236,13 @@ export default { | ... | @@ -225,6 +236,13 @@ export default { |
225 | this.txtZd.name = ""; | 236 | this.txtZd.name = ""; |
226 | this.txtResultDialog = true; | 237 | this.txtResultDialog = true; |
227 | }, | 238 | }, |
239 | /** | ||
240 | * @description: shpFileSuccess | ||
241 | * @param {*} response | ||
242 | * @param {*} file | ||
243 | * @param {*} fileList | ||
244 | * @author: renchao | ||
245 | */ | ||
228 | shpFileSuccess (response, file, fileList) { | 246 | shpFileSuccess (response, file, fileList) { |
229 | var self = this; | 247 | var self = this; |
230 | if (response.success) { | 248 | if (response.success) { |
... | @@ -234,9 +252,23 @@ export default { | ... | @@ -234,9 +252,23 @@ export default { |
234 | this.$message.warning(response.message); | 252 | this.$message.warning(response.message); |
235 | } | 253 | } |
236 | }, | 254 | }, |
255 | /** | ||
256 | * @description: cadFileSuccess | ||
257 | * @param {*} response | ||
258 | * @param {*} file | ||
259 | * @param {*} fileList | ||
260 | * @author: renchao | ||
261 | */ | ||
237 | cadFileSuccess (response, file, fileList) { | 262 | cadFileSuccess (response, file, fileList) { |
238 | 263 | ||
239 | }, | 264 | }, |
265 | /** | ||
266 | * @description: excelFileSuccess | ||
267 | * @param {*} response | ||
268 | * @param {*} file | ||
269 | * @param {*} fileList | ||
270 | * @author: renchao | ||
271 | */ | ||
240 | excelFileSuccess (response, file, fileList) { | 272 | excelFileSuccess (response, file, fileList) { |
241 | var self = this; | 273 | var self = this; |
242 | if (response.success) { | 274 | if (response.success) { |
... | @@ -265,7 +297,11 @@ export default { | ... | @@ -265,7 +297,11 @@ export default { |
265 | this.$message.warning(response.message); | 297 | this.$message.warning(response.message); |
266 | } | 298 | } |
267 | }, | 299 | }, |
268 | //文本文档导入 | 300 | /** |
301 | * @description: 文本文档导入 | ||
302 | * @param {*} formName | ||
303 | * @author: renchao | ||
304 | */ | ||
269 | submitTxtForm (formName) { | 305 | submitTxtForm (formName) { |
270 | var self = this; | 306 | var self = this; |
271 | this.$refs[formName].validate((valid) => { | 307 | this.$refs[formName].validate((valid) => { |
... | @@ -286,6 +322,11 @@ export default { | ... | @@ -286,6 +322,11 @@ export default { |
286 | } | 322 | } |
287 | }) | 323 | }) |
288 | }, | 324 | }, |
325 | /** | ||
326 | * @description: txtChange | ||
327 | * @param {*} value | ||
328 | * @author: renchao | ||
329 | */ | ||
289 | txtChange (value) { | 330 | txtChange (value) { |
290 | var wkt = "PROJCS[\"XADFZBX\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",0.0],PARAMETER[\"Scale_Factor\",1.0],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]"; | 331 | var wkt = "PROJCS[\"XADFZBX\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",0.0],PARAMETER[\"Scale_Factor\",1.0],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]"; |
291 | var graphics = this.txtResult.filter(item => { | 332 | var graphics = this.txtResult.filter(item => { |
... | @@ -298,7 +339,11 @@ export default { | ... | @@ -298,7 +339,11 @@ export default { |
298 | } | 339 | } |
299 | this.addOverLayer(graphic.geometry, []); | 340 | this.addOverLayer(graphic.geometry, []); |
300 | }, | 341 | }, |
301 | //校验空间完整性 | 342 | /** |
343 | * @description: 校验空间完整性 | ||
344 | * @param {*} graphic | ||
345 | * @author: renchao | ||
346 | */ | ||
302 | checkGeo (graphic) { | 347 | checkGeo (graphic) { |
303 | var self = this; | 348 | var self = this; |
304 | //校验完整性 直接调用空间方法 提交空间表 | 349 | //校验完整性 直接调用空间方法 提交空间表 |
... | @@ -331,7 +376,11 @@ export default { | ... | @@ -331,7 +376,11 @@ export default { |
331 | } | 376 | } |
332 | }); | 377 | }); |
333 | }, | 378 | }, |
334 | //选择处理方式 | 379 | /** |
380 | * @description: 选择处理方式 | ||
381 | * @param {*} formName | ||
382 | * @author: renchao | ||
383 | */ | ||
335 | submitDealForm (formName) { | 384 | submitDealForm (formName) { |
336 | var self = this; | 385 | var self = this; |
337 | this.$refs[formName].validate((valid) => { | 386 | this.$refs[formName].validate((valid) => { |
... | @@ -351,7 +400,11 @@ export default { | ... | @@ -351,7 +400,11 @@ export default { |
351 | } | 400 | } |
352 | }) | 401 | }) |
353 | }, | 402 | }, |
354 | //裁剪自己在保存 | 403 | /** |
404 | * @description: 裁剪自己在保存 | ||
405 | * @param {*} geometry | ||
406 | * @author: renchao | ||
407 | */ | ||
355 | delOverGeo (geometry) { | 408 | delOverGeo (geometry) { |
356 | if (!this.currntDealGraphic.attributes) { | 409 | if (!this.currntDealGraphic.attributes) { |
357 | this.currntDealGraphic.attributes = {}; | 410 | this.currntDealGraphic.attributes = {}; |
... | @@ -363,7 +416,11 @@ export default { | ... | @@ -363,7 +416,11 @@ export default { |
363 | } | 416 | } |
364 | this.saveZd(this.currntDealGraphic); | 417 | this.saveZd(this.currntDealGraphic); |
365 | }, | 418 | }, |
366 | //裁剪别的在保存 | 419 | /** |
420 | * @description: 裁剪别的在保存 | ||
421 | * @param {*} results | ||
422 | * @author: renchao | ||
423 | */ | ||
367 | delOtherGeo (results) { | 424 | delOtherGeo (results) { |
368 | //执行编辑操作 | 425 | //执行编辑操作 |
369 | var layer = this.getLayerByName("ZDJBXX"); | 426 | var layer = this.getLayerByName("ZDJBXX"); |
... | @@ -372,7 +429,12 @@ export default { | ... | @@ -372,7 +429,12 @@ export default { |
372 | this.updateGraphic(featureUrl, results); | 429 | this.updateGraphic(featureUrl, results); |
373 | this.saveZd(this.currntDealGraphic); | 430 | this.saveZd(this.currntDealGraphic); |
374 | }, | 431 | }, |
375 | //下载文档模板 | 432 | /** |
433 | * @description: 下载文档模板 | ||
434 | * @param {*} url | ||
435 | * @param {*} fileName | ||
436 | * @author: renchao | ||
437 | */ | ||
376 | downloadFile (url, fileName) { | 438 | downloadFile (url, fileName) { |
377 | let link = document.createElement("a"); | 439 | let link = document.createElement("a"); |
378 | link.style.display = "none"; | 440 | link.style.display = "none"; |
... | @@ -382,7 +444,11 @@ export default { | ... | @@ -382,7 +444,11 @@ export default { |
382 | link.click(); | 444 | link.click(); |
383 | document.body.removeChild(link); | 445 | document.body.removeChild(link); |
384 | }, | 446 | }, |
385 | //导入 | 447 | /** |
448 | * @description: 导入 | ||
449 | * @param {*} fileName | ||
450 | * @author: renchao | ||
451 | */ | ||
386 | submitForm (formName) { | 452 | submitForm (formName) { |
387 | //校验完整性 直接调用空间方法 提交空间表 | 453 | //校验完整性 直接调用空间方法 提交空间表 |
388 | var self = this; | 454 | var self = this; |
... | @@ -405,6 +471,12 @@ export default { | ... | @@ -405,6 +471,12 @@ export default { |
405 | } | 471 | } |
406 | }); | 472 | }); |
407 | }, | 473 | }, |
474 | /** | ||
475 | * @description: dealOverData | ||
476 | * @param {*} results | ||
477 | * @param {*} graphic | ||
478 | * @author: renchao | ||
479 | */ | ||
408 | dealOverData (results, graphic) { | 480 | dealOverData (results, graphic) { |
409 | this.overResults = results; | 481 | this.overResults = results; |
410 | this.currntDealGraphic = graphic; | 482 | this.currntDealGraphic = graphic; |
... | @@ -412,6 +484,11 @@ export default { | ... | @@ -412,6 +484,11 @@ export default { |
412 | this.txtResultDialog = false; | 484 | this.txtResultDialog = false; |
413 | this.dealDialog = true; | 485 | this.dealDialog = true; |
414 | }, | 486 | }, |
487 | /** | ||
488 | * @description: saveZd | ||
489 | * @param {*} graphic | ||
490 | * @author: renchao | ||
491 | */ | ||
415 | saveZd (graphic) { | 492 | saveZd (graphic) { |
416 | var self = this; | 493 | var self = this; |
417 | var points = null, lines = null, | 494 | var points = null, lines = null, |
... | @@ -477,6 +554,11 @@ export default { | ... | @@ -477,6 +554,11 @@ export default { |
477 | }); | 554 | }); |
478 | } | 555 | } |
479 | }, | 556 | }, |
557 | /** | ||
558 | * @description: savejzd | ||
559 | * @param {*} points | ||
560 | * @author: renchao | ||
561 | */ | ||
480 | savejzd (points) { | 562 | savejzd (points) { |
481 | var savePoints = [] | 563 | var savePoints = [] |
482 | for (var i = 0; i < points.length; i++) { | 564 | for (var i = 0; i < points.length; i++) { |
... | @@ -500,6 +582,11 @@ export default { | ... | @@ -500,6 +582,11 @@ export default { |
500 | //保存空间数据 | 582 | //保存空间数据 |
501 | 583 | ||
502 | }, | 584 | }, |
585 | /** | ||
586 | * @description: saveJzx | ||
587 | * @param {*} lines | ||
588 | * @author: renchao | ||
589 | */ | ||
503 | saveJzx (lines) { | 590 | saveJzx (lines) { |
504 | var jzxLines = []; | 591 | var jzxLines = []; |
505 | for (var i = 0; i < lines.length; i++) { | 592 | for (var i = 0; i < lines.length; i++) { |
... | @@ -526,6 +613,11 @@ export default { | ... | @@ -526,6 +613,11 @@ export default { |
526 | // }); | 613 | // }); |
527 | //保存空间数据表 | 614 | //保存空间数据表 |
528 | }, | 615 | }, |
616 | /** | ||
617 | * @description: saveZRZ | ||
618 | * @param {*} graphic | ||
619 | * @author: renchao | ||
620 | */ | ||
529 | saveZRZ (graphic) { | 621 | saveZRZ (graphic) { |
530 | var self = this; | 622 | var self = this; |
531 | var layer = null; | 623 | var layer = null; |
... | @@ -559,7 +651,10 @@ export default { | ... | @@ -559,7 +651,10 @@ export default { |
559 | }); | 651 | }); |
560 | } | 652 | } |
561 | }, | 653 | }, |
562 | //操作成功不需要跳转地图 (直接定位新导入的图形) | 654 | /** |
655 | * @description: 操作成功不需要跳转地图 (直接定位新导入的图形) | ||
656 | * @author: renchao | ||
657 | */ | ||
563 | goMap () { | 658 | goMap () { |
564 | var bsm = "", type = this.propertyInfo.type; | 659 | var bsm = "", type = this.propertyInfo.type; |
565 | if (type == "zd") { | 660 | if (type == "zd") { |
... | @@ -574,7 +669,10 @@ export default { | ... | @@ -574,7 +669,10 @@ export default { |
574 | //TODO 定位当前新导入的图形 | 669 | //TODO 定位当前新导入的图形 |
575 | this.addGeoByBsm(bsm, type, "testMap"); | 670 | this.addGeoByBsm(bsm, type, "testMap"); |
576 | }, | 671 | }, |
577 | //取消 | 672 | /** |
673 | * @description: 取消 | ||
674 | * @author: renchao | ||
675 | */ | ||
578 | cancel () { | 676 | cancel () { |
579 | this.zdForm.zdBsm = ""; | 677 | this.zdForm.zdBsm = ""; |
580 | this.currentClickZd = null; | 678 | this.currentClickZd = null; |
... | @@ -582,14 +680,20 @@ export default { | ... | @@ -582,14 +680,20 @@ export default { |
582 | // 清空当前图层上显示的图形 | 680 | // 清空当前图层上显示的图形 |
583 | this.clearOverLayer(); | 681 | this.clearOverLayer(); |
584 | }, | 682 | }, |
585 | //取消文本选择的弹出框 | 683 | /** |
684 | * @description: 取消文本选择的弹出框 | ||
685 | * @author: renchao | ||
686 | */ | ||
586 | cancelTxtForm () { | 687 | cancelTxtForm () { |
587 | this.txtZd.name = ""; | 688 | this.txtZd.name = ""; |
588 | this.txtResultDialog = false; | 689 | this.txtResultDialog = false; |
589 | // 清空当前图层上显示的图形 | 690 | // 清空当前图层上显示的图形 |
590 | this.clearOverLayer(); | 691 | this.clearOverLayer(); |
591 | }, | 692 | }, |
592 | //取消导入处理的结果 | 693 | /** |
694 | * @description: 取消导入处理的结果 | ||
695 | * @author: renchao | ||
696 | */ | ||
593 | cancelDealForm () { | 697 | cancelDealForm () { |
594 | this.dealForm.method = ""; | 698 | this.dealForm.method = ""; |
595 | this.dealDialog = false; | 699 | this.dealDialog = false; |
... | @@ -597,7 +701,10 @@ export default { | ... | @@ -597,7 +701,10 @@ export default { |
597 | // 清空当前图层上显示的图形 | 701 | // 清空当前图层上显示的图形 |
598 | this.clearOverLayer(); | 702 | this.clearOverLayer(); |
599 | }, | 703 | }, |
600 | //宗地选择发生改变 | 704 | /** |
705 | * @description: 宗地选择发生改变 | ||
706 | * @author: renchao | ||
707 | */ | ||
601 | zdChange (value) { | 708 | zdChange (value) { |
602 | this.zdForm.zdBsm = value.XMMC; | 709 | this.zdForm.zdBsm = value.XMMC; |
603 | this.currentClickZd = value; | 710 | this.currentClickZd = value; | ... | ... |
1 | | 1 | /* |
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-17 10:24:24 | ||
5 | */ | ||
2 | export default { | 6 | export default { |
3 | methods:{ | 7 | methods:{ |
8 | /** | ||
9 | * @description: downloadTxt | ||
10 | * @param {*} text | ||
11 | * @param {*} fileName | ||
12 | * @author: renchao | ||
13 | */ | ||
4 | downloadTxt(text, fileName){ | 14 | downloadTxt(text, fileName){ |
5 | let element = document.createElement('a') | 15 | let element = document.createElement('a') |
6 | element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text)) | 16 | element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text)) |
... | @@ -8,6 +18,11 @@ export default { | ... | @@ -8,6 +18,11 @@ export default { |
8 | element.style.display = 'none' | 18 | element.style.display = 'none' |
9 | element.click() | 19 | element.click() |
10 | }, | 20 | }, |
21 | /** | ||
22 | * @description: createTextContent | ||
23 | * @param {*} jzdInfo | ||
24 | * @author: renchao | ||
25 | */ | ||
11 | createTextContent(jzdInfo){ | 26 | createTextContent(jzdInfo){ |
12 | var textContent = ""; | 27 | var textContent = ""; |
13 | for(var i = 0;i < jzdInfo.length;i++){ | 28 | for(var i = 0;i < jzdInfo.length;i++){ | ... | ... |
1 | /* | 1 | /* |
2 | * 图形相关的操作 js | 2 | * @Description: 图形相关的操作 js |
3 | * */ | 3 | * @Autor: renchao |
4 | 4 | * @LastEditTime: 2023-05-17 10:24:24 | |
5 | */ | ||
5 | import layers from '@/api/json/layers.json' | 6 | import layers from '@/api/json/layers.json' |
6 | import queryUtils from "@/utils/map/queryUtils"; | 7 | import queryUtils from "@/utils/map/queryUtils"; |
7 | import identifyUtils from '@/utils/map/IdentifyUtils' | 8 | import identifyUtils from '@/utils/map/IdentifyUtils' |
... | @@ -19,6 +20,11 @@ export default { | ... | @@ -19,6 +20,11 @@ export default { |
19 | } | 20 | } |
20 | }, | 21 | }, |
21 | methods: { | 22 | methods: { |
23 | /** | ||
24 | * @description: getLayerByName | ||
25 | * @param {*} name | ||
26 | * @author: renchao | ||
27 | */ | ||
22 | getLayerByName (name) { | 28 | getLayerByName (name) { |
23 | for (var i = 0; i < layers.length; i++) { | 29 | for (var i = 0; i < layers.length; i++) { |
24 | if (layers[i].layerName == name) { | 30 | if (layers[i].layerName == name) { |
... | @@ -27,6 +33,14 @@ export default { | ... | @@ -27,6 +33,14 @@ export default { |
27 | } | 33 | } |
28 | return null; | 34 | return null; |
29 | }, | 35 | }, |
36 | /** | ||
37 | * @description: queryGeoByBsm | ||
38 | * @param {*} name | ||
39 | * @param {*} type | ||
40 | * @param {*} callBackFunction | ||
41 | * @param {*} outSpatialReference | ||
42 | * @author: renchao | ||
43 | */ | ||
30 | queryGeoByBsm (bsm, type, callBackFunction, outSpatialReference) { | 44 | queryGeoByBsm (bsm, type, callBackFunction, outSpatialReference) { |
31 | var layer = null; | 45 | var layer = null; |
32 | if (type == 'zd') { | 46 | if (type == 'zd') { |
... | @@ -48,13 +62,23 @@ export default { | ... | @@ -48,13 +62,23 @@ export default { |
48 | } | 62 | } |
49 | }); | 63 | }); |
50 | }, | 64 | }, |
51 | //生成介质点 | 65 | /** |
66 | * @description: 生成介质点 | ||
67 | * @param {*} graphic | ||
68 | * @author: renchao | ||
69 | */ | ||
52 | craetJZPoint (graphic) { | 70 | craetJZPoint (graphic) { |
53 | var geomtry = graphic.geometry, rings = geomtry.rings[0]; | 71 | var geomtry = graphic.geometry, rings = geomtry.rings[0]; |
54 | var pointInfos = []; | 72 | var pointInfos = []; |
55 | this.getPointByRings(rings, pointInfos); | 73 | this.getPointByRings(rings, pointInfos); |
56 | return pointInfos; | 74 | return pointInfos; |
57 | }, | 75 | }, |
76 | /** | ||
77 | * @description: getPointByRings | ||
78 | * @param {*} rings | ||
79 | * @param {*} pointInfos | ||
80 | * @author: renchao | ||
81 | */ | ||
58 | getPointByRings (rings, pointInfos) { | 82 | getPointByRings (rings, pointInfos) { |
59 | for (var i = 0; i < rings.length; i++) { | 83 | for (var i = 0; i < rings.length; i++) { |
60 | var children = rings[i]; | 84 | var children = rings[i]; |
... | @@ -70,7 +94,12 @@ export default { | ... | @@ -70,7 +94,12 @@ export default { |
70 | } | 94 | } |
71 | } | 95 | } |
72 | }, | 96 | }, |
73 | //生成介质线 | 97 | /** |
98 | * @description: 生成介质线 | ||
99 | * @param {*} graphic | ||
100 | * @param {*} callBackFunction | ||
101 | * @author: renchao | ||
102 | */ | ||
74 | createJZLine (graphic, callBackFunction) { | 103 | createJZLine (graphic, callBackFunction) { |
75 | var self = this; | 104 | var self = this; |
76 | loadModules([ | 105 | loadModules([ |
... | @@ -151,7 +180,11 @@ export default { | ... | @@ -151,7 +180,11 @@ export default { |
151 | throw (err); | 180 | throw (err); |
152 | }) | 181 | }) |
153 | }, | 182 | }, |
154 | //wkt转换成arcgis | 183 | /** |
184 | * @description: wkt转换成arcgis | ||
185 | * @param {*} wkt | ||
186 | * @author: renchao | ||
187 | */ | ||
155 | parseWktToArc (wkt) { | 188 | parseWktToArc (wkt) { |
156 | var primitive = wktParse.parse(wkt); | 189 | var primitive = wktParse.parse(wkt); |
157 | /*if(primitive.type == "MultiPolygon"){ | 190 | /*if(primitive.type == "MultiPolygon"){ |
... | @@ -159,6 +192,12 @@ export default { | ... | @@ -159,6 +192,12 @@ export default { |
159 | }*/ | 192 | }*/ |
160 | return arcgisParser.convert(primitive) | 193 | return arcgisParser.convert(primitive) |
161 | }, | 194 | }, |
195 | /** | ||
196 | * @description: postionToThisGeo | ||
197 | * @param {*} bsm | ||
198 | * @param {*} type | ||
199 | * @author: renchao | ||
200 | */ | ||
162 | postionToThisGeo (bsm, type) { | 201 | postionToThisGeo (bsm, type) { |
163 | var view = maps["testMap"]; | 202 | var view = maps["testMap"]; |
164 | var layer = view.map.findLayerById("highlightLayer"); | 203 | var layer = view.map.findLayerById("highlightLayer"); |
... | @@ -173,7 +212,12 @@ export default { | ... | @@ -173,7 +212,12 @@ export default { |
173 | this.$message.success("暂无图形信息!!!"); | 212 | this.$message.success("暂无图形信息!!!"); |
174 | } | 213 | } |
175 | }, | 214 | }, |
176 | //导入空间图形是 先判断数据是否跨界 | 215 | /** |
216 | * @description: 导入空间图形是 先判断数据是否跨界 | ||
217 | * @param {*} geometry | ||
218 | * @param {*} callBacFunction | ||
219 | * @author: renchao | ||
220 | */ | ||
177 | geoJoint (geometry, callBacFunction) { | 221 | geoJoint (geometry, callBacFunction) { |
178 | var self = this; | 222 | var self = this; |
179 | loadModules([ | 223 | loadModules([ |
... | @@ -222,7 +266,15 @@ export default { | ... | @@ -222,7 +266,15 @@ export default { |
222 | throw (err); | 266 | throw (err); |
223 | }) | 267 | }) |
224 | }, | 268 | }, |
225 | //保存或者编辑属性信息 | 269 | /** |
270 | * @description: 保存或者编辑属性信息 | ||
271 | * @param {*} bsm | ||
272 | * @param {*} type | ||
273 | * @param {*} attributes | ||
274 | * @param {*} callBackFunction | ||
275 | * @param {*} ydybsm | ||
276 | * @author: renchao | ||
277 | */ | ||
226 | updAttributes (bsm, type, attributes, callBackFunction, ydybsm) { | 278 | updAttributes (bsm, type, attributes, callBackFunction, ydybsm) { |
227 | var layer = null; | 279 | var layer = null; |
228 | if (type == 'zd') { | 280 | if (type == 'zd') { |
... | @@ -252,7 +304,13 @@ export default { | ... | @@ -252,7 +304,13 @@ export default { |
252 | } | 304 | } |
253 | }); | 305 | }); |
254 | }, | 306 | }, |
255 | //叠加分析 同一个图层的叠加分析 | 307 | /** |
308 | * @description: 叠加分析 同一个图层的叠加分析 | ||
309 | * @param {*} bsm | ||
310 | * @param {*} graphic | ||
311 | * @param {*} callBacFunction | ||
312 | * @author: renchao | ||
313 | */ | ||
256 | zdOverAnalys (bsm, graphic, callBacFunction) { | 314 | zdOverAnalys (bsm, graphic, callBacFunction) { |
257 | var self = this; | 315 | var self = this; |
258 | loadModules([ | 316 | loadModules([ |
... | @@ -281,7 +339,12 @@ export default { | ... | @@ -281,7 +339,12 @@ export default { |
281 | throw (err); | 339 | throw (err); |
282 | }) | 340 | }) |
283 | }, | 341 | }, |
284 | //添加添加元素和覆盖的元素到地图上 | 342 | /** |
343 | * @description: addOverLayer | ||
344 | * @param {*} geometry | ||
345 | * @param {*} results | ||
346 | * @author: renchao | ||
347 | */ | ||
285 | addOverLayer (geometry, results) { | 348 | addOverLayer (geometry, results) { |
286 | var view = maps["testMap"]; | 349 | var view = maps["testMap"]; |
287 | loadModules([ | 350 | loadModules([ |
... | @@ -336,6 +399,10 @@ export default { | ... | @@ -336,6 +399,10 @@ export default { |
336 | 399 | ||
337 | }) | 400 | }) |
338 | }, | 401 | }, |
402 | /** | ||
403 | * @description: clearOverLayer | ||
404 | * @author: renchao | ||
405 | */ | ||
339 | clearOverLayer () { | 406 | clearOverLayer () { |
340 | var view = maps["testMap"]; | 407 | var view = maps["testMap"]; |
341 | var layer = view.map.findLayerById("overLayer"); | 408 | var layer = view.map.findLayerById("overLayer"); |
... | @@ -343,7 +410,13 @@ export default { | ... | @@ -343,7 +410,13 @@ export default { |
343 | layer.removeAll(); | 410 | layer.removeAll(); |
344 | } | 411 | } |
345 | }, | 412 | }, |
346 | //自然幢叠加分析 不能跨宗地 图层本身的叠加分析 | 413 | /** |
414 | * @description: 自然幢叠加分析 不能跨宗地 图层本身的叠加分析 | ||
415 | * @param {*} bsm | ||
416 | * @param {*} graphic | ||
417 | * @param {*} callBacFunction | ||
418 | * @author: renchao | ||
419 | */ | ||
347 | zrzOverAnalys (bsm, graphic, callBacFunction) { | 420 | zrzOverAnalys (bsm, graphic, callBacFunction) { |
348 | var self = this; | 421 | var self = this; |
349 | loadModules([ | 422 | loadModules([ |
... | @@ -396,7 +469,13 @@ export default { | ... | @@ -396,7 +469,13 @@ export default { |
396 | console.log(err); | 469 | console.log(err); |
397 | }) | 470 | }) |
398 | }, | 471 | }, |
399 | //去除重叠部分 | 472 | /** |
473 | * @description: 去除重叠部分 | ||
474 | * @param {*} inputGraphic | ||
475 | * @param {*} subGraphic | ||
476 | * @param {*} callBackFuncton | ||
477 | * @author: renchao | ||
478 | */ | ||
400 | getDifference (inputGraphic, subGraphic, callBackFuncton) { | 479 | getDifference (inputGraphic, subGraphic, callBackFuncton) { |
401 | loadModules([ | 480 | loadModules([ |
402 | "esri/geometry/Polygon", | 481 | "esri/geometry/Polygon", |
... | @@ -420,7 +499,14 @@ export default { | ... | @@ -420,7 +499,14 @@ export default { |
420 | console.log(err); | 499 | console.log(err); |
421 | }) | 500 | }) |
422 | }, | 501 | }, |
423 | //业务处理 先用query方法 查询将所有属性查询 在做空间裁剪 | 502 | /** |
503 | * @description: 业务处理 先用query方法 查询将所有属性查询 在做空间裁剪 | ||
504 | * @param {*} subGraphics | ||
505 | * @param {*} currntGraphic | ||
506 | * @param {*} callBackFunction | ||
507 | * @param {*} flag | ||
508 | * @author: renchao | ||
509 | */ | ||
424 | getResultsDif (subGraphics, currntGraphic, callBackFunction, flag) { | 510 | getResultsDif (subGraphics, currntGraphic, callBackFunction, flag) { |
425 | var self = this; | 511 | var self = this; |
426 | loadModules([ | 512 | loadModules([ |
... | @@ -459,6 +545,13 @@ export default { | ... | @@ -459,6 +545,13 @@ export default { |
459 | }) | 545 | }) |
460 | 546 | ||
461 | }, | 547 | }, |
548 | /** | ||
549 | * @description: addGeoByBsm | ||
550 | * @param {*} bsm | ||
551 | * @param {*} type | ||
552 | * @param {*} viewId | ||
553 | * @author: renchao | ||
554 | */ | ||
462 | addGeoByBsm (bsm, type, viewId) { | 555 | addGeoByBsm (bsm, type, viewId) { |
463 | var self = this; | 556 | var self = this; |
464 | var layer = null; | 557 | var layer = null; |
... | @@ -512,7 +605,11 @@ export default { | ... | @@ -512,7 +605,11 @@ export default { |
512 | } | 605 | } |
513 | }); | 606 | }); |
514 | }, | 607 | }, |
515 | //清空当前图层 | 608 | /** |
609 | * @description: 清空当前图层 | ||
610 | * @param {*} viewId | ||
611 | * @author: renchao | ||
612 | */ | ||
516 | clearHighlightLayer (viewId) { | 613 | clearHighlightLayer (viewId) { |
517 | var view = maps[viewId]; | 614 | var view = maps[viewId]; |
518 | var layer = view.map.findLayerById("highlightLayer"); | 615 | var layer = view.map.findLayerById("highlightLayer"); | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:50:23 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <dialogBox :title="editFlag ? '编辑接口信息' : '新增接口信息'" @submitForm="submitForm" saveButton="保存" width="50%" :isFullscreen="false" | 7 | <dialogBox :title="editFlag ? '编辑接口信息' : '新增接口信息'" @submitForm="submitForm" saveButton="保存" width="50%" :isFullscreen="false" |
3 | @closeDialog="closeDialog" v-model="value"> | 8 | @closeDialog="closeDialog" v-model="value"> |
... | @@ -26,7 +31,7 @@ | ... | @@ -26,7 +31,7 @@ |
26 | <el-col :span="12"> | 31 | <el-col :span="12"> |
27 | <el-form-item label="接口方式:" prop="interfaceMethod"> | 32 | <el-form-item label="接口方式:" prop="interfaceMethod"> |
28 | <el-select v-model="ruleForm.interfaceMethod" class="width100" placeholder="请选择"> | 33 | <el-select v-model="ruleForm.interfaceMethod" class="width100" placeholder="请选择"> |
29 | <el-option v-for="item in interfaceMethods" :key="item" :label="item" :value="item" ></el-option> | 34 | <el-option v-for="item in interfaceMethods" :key="item" :label="item" :value="item"></el-option> |
30 | </el-select> | 35 | </el-select> |
31 | </el-form-item> | 36 | </el-form-item> |
32 | </el-col> | 37 | </el-col> |
... | @@ -58,25 +63,25 @@ | ... | @@ -58,25 +63,25 @@ |
58 | </template> | 63 | </template> |
59 | 64 | ||
60 | <script> | 65 | <script> |
61 | import { addSysInterface, editSysInterface} from "@/api/ptjk.js" | 66 | import { addSysInterface, editSysInterface } from "@/api/ptjk.js" |
62 | export default { | 67 | export default { |
63 | components: { | 68 | components: { |
64 | }, | 69 | }, |
65 | computed: { | 70 | computed: { |
66 | }, | 71 | }, |
67 | props: { | 72 | props: { |
68 | value: { type: Boolean, default: false }, | 73 | value: { type: Boolean, default: false }, |
69 | editFlag: {type: Boolean,default:false} | 74 | editFlag: { type: Boolean, default: false } |
70 | }, | 75 | }, |
71 | data () { | 76 | data () { |
72 | return { | 77 | return { |
73 | //表单提交数据 | 78 | //表单提交数据 |
74 | interfaceMethods: ['webapi','webservice'], | 79 | interfaceMethods: ['webapi', 'webservice'], |
75 | interfaceTypes: [ | 80 | interfaceTypes: [ |
76 | {'label': '工作流服务平台','value':'1'}, | 81 | { 'label': '工作流服务平台', 'value': '1' }, |
77 | {'label': '权限平台','value':'2'}, | 82 | { 'label': '权限平台', 'value': '2' }, |
78 | {'label': '定时器服务','value':'3'}, | 83 | { 'label': '定时器服务', 'value': '3' }, |
79 | {'label': '其他第三方平台','value':'4'}, | 84 | { 'label': '其他第三方平台', 'value': '4' }, |
80 | ], | 85 | ], |
81 | ruleForm: { | 86 | ruleForm: { |
82 | interfaceCode: '', | 87 | interfaceCode: '', |
... | @@ -112,9 +117,9 @@ export default { | ... | @@ -112,9 +117,9 @@ export default { |
112 | let that = this; | 117 | let that = this; |
113 | that.$refs.ruleForm.validate(valid => { | 118 | that.$refs.ruleForm.validate(valid => { |
114 | if (valid) { | 119 | if (valid) { |
115 | if(this.editFlag){ | 120 | if (this.editFlag) { |
116 | this.editInterface(); | 121 | this.editInterface(); |
117 | }else{ | 122 | } else { |
118 | this.addInterface(); | 123 | this.addInterface(); |
119 | } | 124 | } |
120 | } else { | 125 | } else { |
... | @@ -124,31 +129,31 @@ export default { | ... | @@ -124,31 +129,31 @@ export default { |
124 | }); | 129 | }); |
125 | }, | 130 | }, |
126 | //新增接口 | 131 | //新增接口 |
127 | addInterface(){ | 132 | addInterface () { |
128 | addSysInterface(this.ruleForm).then(res => { | 133 | addSysInterface(this.ruleForm).then(res => { |
129 | if(res.code == 200){ | 134 | if (res.code == 200) { |
130 | this.$message.success("保存成功"); | 135 | this.$message.success("保存成功"); |
131 | this.closeDialog(); | 136 | this.closeDialog(); |
132 | this.$parent.queryClick(); | 137 | this.$parent.queryClick(); |
133 | }else{ | 138 | } else { |
134 | this.$message.error(res.message) | 139 | this.$message.error(res.message) |
135 | } | 140 | } |
136 | }) | 141 | }) |
137 | }, | 142 | }, |
138 | //编辑接口 | 143 | //编辑接口 |
139 | editInterface(){ | 144 | editInterface () { |
140 | editSysInterface(this.ruleForm).then(res => { | 145 | editSysInterface(this.ruleForm).then(res => { |
141 | if(res.code == 200){ | 146 | if (res.code == 200) { |
142 | this.$message.success("编辑成功"); | 147 | this.$message.success("编辑成功"); |
143 | this.closeDialog(); | 148 | this.closeDialog(); |
144 | this.$parent.queryClick(); | 149 | this.$parent.queryClick(); |
145 | }else{ | 150 | } else { |
146 | this.$message.error(res.message) | 151 | this.$message.error(res.message) |
147 | } | 152 | } |
148 | }) | 153 | }) |
149 | }, | 154 | }, |
150 | //获取详情 | 155 | //获取详情 |
151 | getDetailInfo(item){ | 156 | getDetailInfo (item) { |
152 | this.ruleForm = item | 157 | this.ruleForm = item |
153 | }, | 158 | }, |
154 | //关闭弹窗 | 159 | //关闭弹窗 |
... | @@ -165,8 +170,8 @@ export default { | ... | @@ -165,8 +170,8 @@ export default { |
165 | } | 170 | } |
166 | } | 171 | } |
167 | } | 172 | } |
168 | } | 173 | } |
169 | </script> | 174 | </script> |
170 | <style scoped lang="scss"> | 175 | <style scoped lang="scss"> |
171 | @import "~@/styles/mixin.scss"; | 176 | @import "~@/styles/mixin.scss"; |
172 | </style> | 177 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:50:36 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="from-clues"> | 7 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
... | @@ -37,13 +42,13 @@ | ... | @@ -37,13 +42,13 @@ |
37 | </div> | 42 | </div> |
38 | </template> | 43 | </template> |
39 | <script> | 44 | <script> |
40 | import { mapGetters } from 'vuex' | 45 | import { mapGetters } from 'vuex' |
41 | import table from "@/utils/mixin/table" | 46 | import table from "@/utils/mixin/table" |
42 | import { datas, sendThis } from "./ptjkdata" | 47 | import { datas, sendThis } from "./ptjkdata" |
43 | import { getSysInterfaceList } from '@/api/ptjk.js' | 48 | import { getSysInterfaceList } from '@/api/ptjk.js' |
44 | import addDialog from "./components/addDialog.vue" | 49 | import addDialog from "./components/addDialog.vue" |
45 | import retrieveDialog from "./components/retrieveDialog.vue" | 50 | import retrieveDialog from "./components/retrieveDialog.vue" |
46 | export default { | 51 | export default { |
47 | name: "ptjk", | 52 | name: "ptjk", |
48 | components: { addDialog, retrieveDialog }, | 53 | components: { addDialog, retrieveDialog }, |
49 | mixins: [table], | 54 | mixins: [table], |
... | @@ -101,8 +106,8 @@ export default { | ... | @@ -101,8 +106,8 @@ export default { |
101 | this.$refs.retrieveDialog.getDetailInfo(item); | 106 | this.$refs.retrieveDialog.getDetailInfo(item); |
102 | } | 107 | } |
103 | } | 108 | } |
104 | }; | 109 | }; |
105 | </script> | 110 | </script> |
106 | <style scoped lang="scss"> | 111 | <style scoped lang="scss"> |
107 | @import "~@/styles/public.scss"; | 112 | @import "~@/styles/public.scss"; |
108 | </style> | 113 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:50:45 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div id="login"> | 7 | <div id="login"> |
3 | <div class="login-content-wrap"> | 8 | <div class="login-content-wrap"> |
... | @@ -16,14 +21,12 @@ | ... | @@ -16,14 +21,12 @@ |
16 | placeholder="请输入账号" | 21 | placeholder="请输入账号" |
17 | v-model="userInfo.username" | 22 | v-model="userInfo.username" |
18 | @focus="reduceBorder('user')" | 23 | @focus="reduceBorder('user')" |
19 | @blur="addBorder('user')" | 24 | @blur="addBorder('user')" /> |
20 | /> | ||
21 | <span class="warning" v-show="warning.user">账号不能为空</span> | 25 | <span class="warning" v-show="warning.user">账号不能为空</span> |
22 | </div> | 26 | </div> |
23 | <div | 27 | <div |
24 | class="login-user user-mt" | 28 | class="login-user user-mt" |
25 | :class="{ 'select-border': change.pass }" | 29 | :class="{ 'select-border': change.pass }"> |
26 | > | ||
27 | <img class="user-icon" src="./images/password.svg" /> | 30 | <img class="user-icon" src="./images/password.svg" /> |
28 | <input | 31 | <input |
29 | type="password" | 32 | type="password" |
... | @@ -32,8 +35,7 @@ | ... | @@ -32,8 +35,7 @@ |
32 | v-model="userInfo.password" | 35 | v-model="userInfo.password" |
33 | v-show="!selectEye" | 36 | v-show="!selectEye" |
34 | @focus="reduceBorder('pass')" | 37 | @focus="reduceBorder('pass')" |
35 | @blur="addBorder('pass')" | 38 | @blur="addBorder('pass')" /> |
36 | /> | ||
37 | <input | 39 | <input |
38 | type="text" | 40 | type="text" |
39 | class="user-input" | 41 | class="user-input" |
... | @@ -41,26 +43,22 @@ | ... | @@ -41,26 +43,22 @@ |
41 | v-model="userInfo.password" | 43 | v-model="userInfo.password" |
42 | v-show="selectEye" | 44 | v-show="selectEye" |
43 | @focus="reduceBorder('pass')" | 45 | @focus="reduceBorder('pass')" |
44 | @blur="addBorder('pass')" | 46 | @blur="addBorder('pass')" /> |
45 | /> | ||
46 | <img | 47 | <img |
47 | class="password-eye" | 48 | class="password-eye" |
48 | src="./images/open.svg" | 49 | src="./images/open.svg" |
49 | @click="selectEyes" | 50 | @click="selectEyes" |
50 | v-show="selectEye" | 51 | v-show="selectEye" /> |
51 | /> | ||
52 | <img | 52 | <img |
53 | class="password-eye" | 53 | class="password-eye" |
54 | src="./images/close.svg" | 54 | src="./images/close.svg" |
55 | @click="selectEyes" | 55 | @click="selectEyes" |
56 | v-show="!selectEye" | 56 | v-show="!selectEye" /> |
57 | /> | ||
58 | <span class="warning" v-show="warning.pass">密码不能为空</span> | 57 | <span class="warning" v-show="warning.pass">密码不能为空</span> |
59 | </div> | 58 | </div> |
60 | <div | 59 | <div |
61 | class="login-user login-valid" | 60 | class="login-user login-valid" |
62 | :class="{ 'select-border': change.valid }" | 61 | :class="{ 'select-border': change.valid }"> |
63 | > | ||
64 | <img class="user-icon" src="./images/valid.svg" /> | 62 | <img class="user-icon" src="./images/valid.svg" /> |
65 | <input | 63 | <input |
66 | type="text" | 64 | type="text" |
... | @@ -68,14 +66,12 @@ | ... | @@ -68,14 +66,12 @@ |
68 | placeholder="请输入验证码" | 66 | placeholder="请输入验证码" |
69 | v-model="userInfo.captchaCode" | 67 | v-model="userInfo.captchaCode" |
70 | @focus="reduceBorder('valid')" | 68 | @focus="reduceBorder('valid')" |
71 | @blur="addBorder('valid')" | 69 | @blur="addBorder('valid')" /> |
72 | /> | ||
73 | <img | 70 | <img |
74 | class="valid-img" | 71 | class="valid-img" |
75 | :src="codeSrc" | 72 | :src="codeSrc" |
76 | alt="暂无验证码" | 73 | alt="暂无验证码" |
77 | @click="reloadCaptcha" | 74 | @click="reloadCaptcha" /> |
78 | /> | ||
79 | <span class="warning" v-show="warning.valid">验证码不能为空</span> | 75 | <span class="warning" v-show="warning.valid">验证码不能为空</span> |
80 | </div> | 76 | </div> |
81 | <div id="loginBtn" class="login-btn" @click="goHome">登录</div> | 77 | <div id="loginBtn" class="login-btn" @click="goHome">登录</div> |
... | @@ -85,9 +81,9 @@ | ... | @@ -85,9 +81,9 @@ |
85 | </div> | 81 | </div> |
86 | </template> | 82 | </template> |
87 | <script> | 83 | <script> |
88 | import axios from "axios"; | 84 | import axios from "axios"; |
89 | export default { | 85 | export default { |
90 | data() { | 86 | data () { |
91 | return { | 87 | return { |
92 | // 用户名 | 88 | // 用户名 |
93 | selectIcon: true, | 89 | selectIcon: true, |
... | @@ -109,7 +105,7 @@ export default { | ... | @@ -109,7 +105,7 @@ export default { |
109 | change: { | 105 | change: { |
110 | user: false, | 106 | user: false, |
111 | pass: false, | 107 | pass: false, |
112 | valid:false | 108 | valid: false |
113 | }, | 109 | }, |
114 | // 提示语 | 110 | // 提示语 |
115 | warning: { | 111 | warning: { |
... | @@ -118,10 +114,10 @@ export default { | ... | @@ -118,10 +114,10 @@ export default { |
118 | valid: false, | 114 | valid: false, |
119 | }, | 115 | }, |
120 | // 验证码图片地址 | 116 | // 验证码图片地址 |
121 | codeSrc:"" | 117 | codeSrc: "" |
122 | }; | 118 | }; |
123 | }, | 119 | }, |
124 | mounted() { | 120 | mounted () { |
125 | this.initPage(); | 121 | this.initPage(); |
126 | this.userInfo.redirectUrl = localStorage.getItem("dj-location"); | 122 | this.userInfo.redirectUrl = localStorage.getItem("dj-location"); |
127 | this.reloadCaptcha() | 123 | this.reloadCaptcha() |
... | @@ -137,7 +133,7 @@ export default { | ... | @@ -137,7 +133,7 @@ export default { |
137 | }, | 133 | }, |
138 | methods: { | 134 | methods: { |
139 | // 更新验证码 | 135 | // 更新验证码 |
140 | reloadCaptcha(){ | 136 | reloadCaptcha () { |
141 | axios.get(window._config.services.management + "/management/captcha?format=json").then(res => { | 137 | axios.get(window._config.services.management + "/management/captcha?format=json").then(res => { |
142 | if (res.data.status === 1) { | 138 | if (res.data.status === 1) { |
143 | this.userInfo.captchaKey = res.data.content['dubhe.captcha'] | 139 | this.userInfo.captchaKey = res.data.content['dubhe.captcha'] |
... | @@ -146,7 +142,7 @@ export default { | ... | @@ -146,7 +142,7 @@ export default { |
146 | }) | 142 | }) |
147 | }, | 143 | }, |
148 | // 初始化 | 144 | // 初始化 |
149 | initPage() { | 145 | initPage () { |
150 | let userInfo = | 146 | let userInfo = |
151 | localStorage.getItem("userInfo") && | 147 | localStorage.getItem("userInfo") && |
152 | JSON.parse(localStorage.getItem("userInfo")); | 148 | JSON.parse(localStorage.getItem("userInfo")); |
... | @@ -155,7 +151,7 @@ export default { | ... | @@ -155,7 +151,7 @@ export default { |
155 | this.userInfo.password = userInfo.password; | 151 | this.userInfo.password = userInfo.password; |
156 | } | 152 | } |
157 | }, | 153 | }, |
158 | goHome() { | 154 | goHome () { |
159 | if (this.userInfo.username && this.userInfo.password) { | 155 | if (this.userInfo.username && this.userInfo.password) { |
160 | axios | 156 | axios |
161 | .post( | 157 | .post( |
... | @@ -179,15 +175,15 @@ export default { | ... | @@ -179,15 +175,15 @@ export default { |
179 | return | 175 | return |
180 | } | 176 | } |
181 | }, | 177 | }, |
182 | selectEyes() { | 178 | selectEyes () { |
183 | this.selectEye = !this.selectEye; | 179 | this.selectEye = !this.selectEye; |
184 | }, | 180 | }, |
185 | 181 | ||
186 | //获取焦点 | 182 | //获取焦点 |
187 | reduceBorder(type) { | 183 | reduceBorder (type) { |
188 | this.change[type] = true | 184 | this.change[type] = true |
189 | }, | 185 | }, |
190 | addBorder(type) { | 186 | addBorder (type) { |
191 | //失去焦点 | 187 | //失去焦点 |
192 | switch (type) { | 188 | switch (type) { |
193 | case "user": | 189 | case "user": |
... | @@ -219,22 +215,22 @@ export default { | ... | @@ -219,22 +215,22 @@ export default { |
219 | } | 215 | } |
220 | } | 216 | } |
221 | }, | 217 | }, |
222 | }; | 218 | }; |
223 | </script> | 219 | </script> |
224 | <style lang="scss" scoped> | 220 | <style lang="scss" scoped> |
225 | input::placeholder{ | 221 | input::placeholder { |
226 | color: #878787; | 222 | color: #878787; |
227 | font-size: 14px; | 223 | font-size: 14px; |
228 | font-family:Arial, Helvetica, sans-serif | 224 | font-family: Arial, Helvetica, sans-serif; |
229 | } | 225 | } |
230 | #login { | 226 | #login { |
231 | width: 100vw; | 227 | width: 100vw; |
232 | height: 100vh; | 228 | height: 100vh; |
233 | background: url("./images/login-bg.png") no-repeat; | 229 | background: url("./images/login-bg.png") no-repeat; |
234 | background-size: 100%; | 230 | background-size: 100%; |
235 | overflow: hidden; | 231 | overflow: hidden; |
236 | position: relative; | 232 | position: relative; |
237 | .login-content-wrap{ | 233 | .login-content-wrap { |
238 | position: absolute; | 234 | position: absolute; |
239 | left: 50%; | 235 | left: 50%; |
240 | top: calc(50% + 10px); | 236 | top: calc(50% + 10px); |
... | @@ -254,7 +250,7 @@ input::placeholder{ | ... | @@ -254,7 +250,7 @@ input::placeholder{ |
254 | margin: 0 auto; | 250 | margin: 0 auto; |
255 | width: 936px; | 251 | width: 936px; |
256 | height: 450px; | 252 | height: 450px; |
257 | .login-img{ | 253 | .login-img { |
258 | width: 456px; | 254 | width: 456px; |
259 | height: 450px; | 255 | height: 450px; |
260 | float: left; | 256 | float: left; |
... | @@ -262,42 +258,42 @@ input::placeholder{ | ... | @@ -262,42 +258,42 @@ input::placeholder{ |
262 | padding: 126px 86px; | 258 | padding: 126px 86px; |
263 | background-color: #fff; | 259 | background-color: #fff; |
264 | position: relative; | 260 | position: relative; |
265 | &:after{ | 261 | &:after { |
266 | content: ""; | 262 | content: ""; |
267 | display: inline-block; | 263 | display: inline-block; |
268 | width: 1px; | 264 | width: 1px; |
269 | height: calc(100% - 96px); | 265 | height: calc(100% - 96px); |
270 | background-image: linear-gradient(#fff,#9AA4C8,#fff); | 266 | background-image: linear-gradient(#fff, #9aa4c8, #fff); |
271 | position: absolute; | 267 | position: absolute; |
272 | right: 0; | 268 | right: 0; |
273 | top: 48px; | 269 | top: 48px; |
274 | } | 270 | } |
275 | .content{ | 271 | .content { |
276 | width: 100%; | 272 | width: 100%; |
277 | height: 100%; | 273 | height: 100%; |
278 | background: url("./images/login-img.svg") no-repeat; | 274 | background: url("./images/login-img.svg") no-repeat; |
279 | } | 275 | } |
280 | } | 276 | } |
281 | .login-wrap{ | 277 | .login-wrap { |
282 | width: 480px; | 278 | width: 480px; |
283 | height: 450px; | 279 | height: 450px; |
284 | float: left; | 280 | float: left; |
285 | box-sizing: border-box; | 281 | box-sizing: border-box; |
286 | padding: 48px 56px; | 282 | padding: 48px 56px; |
287 | background: #FFFFFF; | 283 | background: #ffffff; |
288 | p{ | 284 | p { |
289 | width: 80px; | 285 | width: 80px; |
290 | font-size: 20px; | 286 | font-size: 20px; |
291 | font-weight: 500; | 287 | font-weight: 500; |
292 | color: #333333; | 288 | color: #333333; |
293 | line-height: 26px; | 289 | line-height: 26px; |
294 | position: relative; | 290 | position: relative; |
295 | &:after{ | 291 | &:after { |
296 | content: ""; | 292 | content: ""; |
297 | display: inline-block; | 293 | display: inline-block; |
298 | height: 2px; | 294 | height: 2px; |
299 | width: 74px; | 295 | width: 74px; |
300 | background-color: #CF8933; | 296 | background-color: #cf8933; |
301 | position: absolute; | 297 | position: absolute; |
302 | bottom: -4px; | 298 | bottom: -4px; |
303 | left: 2px; | 299 | left: 2px; |
... | @@ -308,7 +304,7 @@ input::placeholder{ | ... | @@ -308,7 +304,7 @@ input::placeholder{ |
308 | .login-user { | 304 | .login-user { |
309 | width: 100%; | 305 | width: 100%; |
310 | height: 40px; | 306 | height: 40px; |
311 | border: 1px solid #E5E5E5; | 307 | border: 1px solid #e5e5e5; |
312 | box-sizing: border-box; | 308 | box-sizing: border-box; |
313 | margin-top: 34px; | 309 | margin-top: 34px; |
314 | border-radius: 2px; | 310 | border-radius: 2px; |
... | @@ -345,9 +341,9 @@ input::placeholder{ | ... | @@ -345,9 +341,9 @@ input::placeholder{ |
345 | bottom: -18px; | 341 | bottom: -18px; |
346 | } | 342 | } |
347 | } | 343 | } |
348 | .login-valid{ | 344 | .login-valid { |
349 | width: 60%; | 345 | width: 60%; |
350 | .valid-img{ | 346 | .valid-img { |
351 | width: 50%; | 347 | width: 50%; |
352 | position: absolute; | 348 | position: absolute; |
353 | right: -66%; | 349 | right: -66%; |
... | @@ -364,7 +360,7 @@ input::placeholder{ | ... | @@ -364,7 +360,7 @@ input::placeholder{ |
364 | .login-btn { | 360 | .login-btn { |
365 | width: 100%; | 361 | width: 100%; |
366 | height: 48px; | 362 | height: 48px; |
367 | background: #74A3F5; | 363 | background: #74a3f5; |
368 | border-radius: 2px; | 364 | border-radius: 2px; |
369 | margin: 0 auto; | 365 | margin: 0 auto; |
370 | margin-top: 40px; | 366 | margin-top: 40px; |
... | @@ -382,5 +378,5 @@ input::placeholder{ | ... | @@ -382,5 +378,5 @@ input::placeholder{ |
382 | height: 18px; | 378 | height: 18px; |
383 | background-color: #4971ca; | 379 | background-color: #4971ca; |
384 | } | 380 | } |
385 | } | 381 | } |
386 | </style> | 382 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:50:51 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="edit"> | 7 | <div class="edit"> |
3 | <el-tabs type="card" v-model="activeName"> | 8 | <el-tabs type="card" v-model="activeName"> |
... | @@ -9,15 +14,13 @@ | ... | @@ -9,15 +14,13 @@ |
9 | v-if="activeName == 'first'" | 14 | v-if="activeName == 'first'" |
10 | ref="tabContent" | 15 | ref="tabContent" |
11 | :style="{ height: lpbContentHight + 'px' }" | 16 | :style="{ height: lpbContentHight + 'px' }" |
12 | v-show="bjztFlag" | 17 | v-show="bjztFlag"> |
13 | > | ||
14 | <!-- 楼盘表主体 --> | 18 | <!-- 楼盘表主体 --> |
15 | <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }"> | 19 | <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }"> |
16 | <lpbContent | 20 | <lpbContent |
17 | ref="lpbContent" | 21 | ref="lpbContent" |
18 | :zrzbsm="formData.bsm" | 22 | :zrzbsm="formData.bsm" |
19 | :key="time" | 23 | :key="time"></lpbContent> |
20 | ></lpbContent> | ||
21 | </div> | 24 | </div> |
22 | <!-- 右侧图例 --> | 25 | <!-- 右侧图例 --> |
23 | <div class="lp-legend"> | 26 | <div class="lp-legend"> |
... | @@ -28,40 +31,34 @@ | ... | @@ -28,40 +31,34 @@ |
28 | </div> | 31 | </div> |
29 | <div | 32 | <div |
30 | :class="selectedZt == 'dyzt' ? 'dyzt selectedZt' : 'dyzt'" | 33 | :class="selectedZt == 'dyzt' ? 'dyzt selectedZt' : 'dyzt'" |
31 | @click="selectedZt = 'dyzt'" | 34 | @click="selectedZt = 'dyzt'"> |
32 | > | ||
33 | <span>单元状态</span> | 35 | <span>单元状态</span> |
34 | </div> | 36 | </div> |
35 | <div | 37 | <div |
36 | :class="selectedZt == 'fwxz' ? 'fwxz selectedZt' : 'fwxz'" | 38 | :class="selectedZt == 'fwxz' ? 'fwxz selectedZt' : 'fwxz'" |
37 | @click="selectedZt = 'fwxz'" | 39 | @click="selectedZt = 'fwxz'"> |
38 | > | ||
39 | <span>房屋性质</span> | 40 | <span>房屋性质</span> |
40 | </div> | 41 | </div> |
41 | <div | 42 | <div |
42 | :class="selectedZt == 'fwyt' ? 'fwyt selectedZt' : 'fwyt'" | 43 | :class="selectedZt == 'fwyt' ? 'fwyt selectedZt' : 'fwyt'" |
43 | @click="selectedZt = 'fwyt'" | 44 | @click="selectedZt = 'fwyt'"> |
44 | > | ||
45 | <span>房屋用途</span> | 45 | <span>房屋用途</span> |
46 | </div> | 46 | </div> |
47 | <div | 47 | <div |
48 | :class="selectedZt == 'qsx' ? 'qsx selectedZt' : 'qsx'" | 48 | :class="selectedZt == 'qsx' ? 'qsx selectedZt' : 'qsx'" |
49 | @click="selectedZt = 'qsx'" | 49 | @click="selectedZt = 'qsx'"> |
50 | > | ||
51 | <span>缺失项</span> | 50 | <span>缺失项</span> |
52 | </div> | 51 | </div> |
53 | </div> | 52 | </div> |
54 | <div | 53 | <div |
55 | class="legendTable-wrap" | 54 | class="legendTable-wrap" |
56 | :style="{ width: legendToggleFlag ? '200px' : '0' }" | 55 | :style="{ width: legendToggleFlag ? '200px' : '0' }"> |
57 | > | ||
58 | <table | 56 | <table |
59 | class="legendTable" | 57 | class="legendTable" |
60 | v-show="selectedZt == 'dyzt'" | 58 | v-show="selectedZt == 'dyzt'" |
61 | cellspacing="1" | 59 | cellspacing="1" |
62 | cellpadding="1" | 60 | cellpadding="1" |
63 | border="1" | 61 | border="1"> |
64 | > | ||
65 | <tr> | 62 | <tr> |
66 | <th>状态</th> | 63 | <th>状态</th> |
67 | <th>套数</th> | 64 | <th>套数</th> |
... | @@ -71,14 +68,11 @@ | ... | @@ -71,14 +68,11 @@ |
71 | v-for="(item, index) in dyztList" | 68 | v-for="(item, index) in dyztList" |
72 | :key="index" | 69 | :key="index" |
73 | class="cp" | 70 | class="cp" |
74 | @click="handleChoosedH(item.bsms, item.color)" | 71 | @click="handleChoosedH(item.bsms, item.color)"> |
75 | > | ||
76 | <td> | 72 | <td> |
77 | <i | 73 | <i |
78 | class="fa fa-circle" | 74 | class="fa fa-circle" |
79 | :style="{ backgroundColor: item.color }" | 75 | :style="{ backgroundColor: item.color }"></i>{{ item.name }} |
80 | ></i | ||
81 | >{{ item.name }} | ||
82 | </td> | 76 | </td> |
83 | <td>{{ item.ts }}</td> | 77 | <td>{{ item.ts }}</td> |
84 | <td>{{ item.mj }}</td> | 78 | <td>{{ item.mj }}</td> |
... | @@ -90,8 +84,7 @@ | ... | @@ -90,8 +84,7 @@ |
90 | v-show="selectedZt == 'fwxz'" | 84 | v-show="selectedZt == 'fwxz'" |
91 | cellspacing="1" | 85 | cellspacing="1" |
92 | cellpadding="1" | 86 | cellpadding="1" |
93 | border="1" | 87 | border="1"> |
94 | > | ||
95 | <tr> | 88 | <tr> |
96 | <th>性质</th> | 89 | <th>性质</th> |
97 | <th>套数</th> | 90 | <th>套数</th> |
... | @@ -101,14 +94,11 @@ | ... | @@ -101,14 +94,11 @@ |
101 | v-for="(item, index) in fwxzList" | 94 | v-for="(item, index) in fwxzList" |
102 | :key="index" | 95 | :key="index" |
103 | class="cp" | 96 | class="cp" |
104 | @click="handleChoosedH(item.bsms, item.color)" | 97 | @click="handleChoosedH(item.bsms, item.color)"> |
105 | > | ||
106 | <td> | 98 | <td> |
107 | <i | 99 | <i |
108 | class="fa fa-circle" | 100 | class="fa fa-circle" |
109 | :style="{ backgroundColor: item.color }" | 101 | :style="{ backgroundColor: item.color }"></i>{{ item.name }} |
110 | ></i | ||
111 | >{{ item.name }} | ||
112 | </td> | 102 | </td> |
113 | <td>{{ item.ts }}</td> | 103 | <td>{{ item.ts }}</td> |
114 | <td>{{ item.mj }}</td> | 104 | <td>{{ item.mj }}</td> |
... | @@ -123,8 +113,7 @@ | ... | @@ -123,8 +113,7 @@ |
123 | v-show="selectedZt == 'fwyt'" | 113 | v-show="selectedZt == 'fwyt'" |
124 | cellspacing="1" | 114 | cellspacing="1" |
125 | cellpadding="1" | 115 | cellpadding="1" |
126 | border="1" | 116 | border="1"> |
127 | > | ||
128 | <tr> | 117 | <tr> |
129 | <th>用途</th> | 118 | <th>用途</th> |
130 | <th>套数</th> | 119 | <th>套数</th> |
... | @@ -134,14 +123,11 @@ | ... | @@ -134,14 +123,11 @@ |
134 | v-for="(item, index) in fwytList" | 123 | v-for="(item, index) in fwytList" |
135 | :key="index" | 124 | :key="index" |
136 | class="cp" | 125 | class="cp" |
137 | @click="handleChoosedH(item.bsms, item.color)" | 126 | @click="handleChoosedH(item.bsms, item.color)"> |
138 | > | ||
139 | <td> | 127 | <td> |
140 | <i | 128 | <i |
141 | class="fa fa-circle" | 129 | class="fa fa-circle" |
142 | :style="{ backgroundColor: item.color }" | 130 | :style="{ backgroundColor: item.color }"></i>{{ item.name }} |
143 | ></i | ||
144 | >{{ item.name }} | ||
145 | </td> | 131 | </td> |
146 | <td>{{ item.ts }}</td> | 132 | <td>{{ item.ts }}</td> |
147 | <td>{{ item.mj }}</td> | 133 | <td>{{ item.mj }}</td> |
... | @@ -156,8 +142,7 @@ | ... | @@ -156,8 +142,7 @@ |
156 | v-show="selectedZt == 'qsx'" | 142 | v-show="selectedZt == 'qsx'" |
157 | cellspacing="1" | 143 | cellspacing="1" |
158 | cellpadding="1" | 144 | cellpadding="1" |
159 | border="1" | 145 | border="1"> |
160 | > | ||
161 | <tr> | 146 | <tr> |
162 | <th>数据缺失项</th> | 147 | <th>数据缺失项</th> |
163 | <th>套数</th> | 148 | <th>套数</th> |
... | @@ -167,14 +152,11 @@ | ... | @@ -167,14 +152,11 @@ |
167 | v-for="(item, index) in qsxList" | 152 | v-for="(item, index) in qsxList" |
168 | :key="index" | 153 | :key="index" |
169 | class="cp" | 154 | class="cp" |
170 | @click="handleChoosedH(item.bsms, item.color)" | 155 | @click="handleChoosedH(item.bsms, item.color)"> |
171 | > | ||
172 | <td> | 156 | <td> |
173 | <i | 157 | <i |
174 | class="fa fa-circle" | 158 | class="fa fa-circle" |
175 | :style="{ backgroundColor: item.color }" | 159 | :style="{ backgroundColor: item.color }"></i>{{ item.name }} |
176 | ></i | ||
177 | >{{ item.name }} | ||
178 | </td> | 160 | </td> |
179 | <td>{{ item.ts }}</td> | 161 | <td>{{ item.ts }}</td> |
180 | <td>0</td> | 162 | <td>0</td> |
... | @@ -192,10 +174,10 @@ | ... | @@ -192,10 +174,10 @@ |
192 | </template> | 174 | </template> |
193 | 175 | ||
194 | <script> | 176 | <script> |
195 | import lpbContent from "./lpbContent/index"; | 177 | import lpbContent from "./lpbContent/index"; |
196 | import selectZrzH from "../ywbl/ywsq/components/selectZrzH"; | 178 | import selectZrzH from "../ywbl/ywsq/components/selectZrzH"; |
197 | import { getLpbFwytAndQlxz, getLpbQsxtj, getLpbTj } from "@/api/lpcx.js"; | 179 | import { getLpbFwytAndQlxz, getLpbQsxtj, getLpbTj } from "@/api/lpcx.js"; |
198 | export default { | 180 | export default { |
199 | name: "lpb", | 181 | name: "lpb", |
200 | props: { | 182 | props: { |
201 | formData: { | 183 | formData: { |
... | @@ -207,7 +189,7 @@ export default { | ... | @@ -207,7 +189,7 @@ export default { |
207 | lpbContent, | 189 | lpbContent, |
208 | selectZrzH, | 190 | selectZrzH, |
209 | }, | 191 | }, |
210 | data() { | 192 | data () { |
211 | return { | 193 | return { |
212 | activeName: "first", | 194 | activeName: "first", |
213 | bsms: [], | 195 | bsms: [], |
... | @@ -283,12 +265,12 @@ export default { | ... | @@ -283,12 +265,12 @@ export default { |
283 | qsztList: [], | 265 | qsztList: [], |
284 | }; | 266 | }; |
285 | }, | 267 | }, |
286 | created() { | 268 | created () { |
287 | window.addEventListener("resize", this.getHeight); | 269 | window.addEventListener("resize", this.getHeight); |
288 | console.log(this.formData); | 270 | console.log(this.formData); |
289 | this.getHeight(); | 271 | this.getHeight(); |
290 | }, | 272 | }, |
291 | mounted() { | 273 | mounted () { |
292 | //获取各项单元状态的户bsm | 274 | //获取各项单元状态的户bsm |
293 | this.getDyztBsmList(); | 275 | this.getDyztBsmList(); |
294 | //获取房屋用途统计数据 | 276 | //获取房屋用途统计数据 |
... | @@ -315,19 +297,19 @@ export default { | ... | @@ -315,19 +297,19 @@ export default { |
315 | } | 297 | } |
316 | },*/ | 298 | },*/ |
317 | //获取高度计算lpb内容区高度 | 299 | //获取高度计算lpb内容区高度 |
318 | getHeight() { | 300 | getHeight () { |
319 | this.lpbContentHight = window.innerHeight - 190; | 301 | this.lpbContentHight = window.innerHeight - 190; |
320 | }, | 302 | }, |
321 | //图例的展开收起 | 303 | //图例的展开收起 |
322 | legendToggle() { | 304 | legendToggle () { |
323 | this.legendToggleFlag = !this.legendToggleFlag; | 305 | this.legendToggleFlag = !this.legendToggleFlag; |
324 | }, | 306 | }, |
325 | //切换房屋状态 | 307 | //切换房屋状态 |
326 | handleChoosedH(bsms, color) { | 308 | handleChoosedH (bsms, color) { |
327 | this.$refs.lpbContent.changeChoosed(bsms, color); | 309 | this.$refs.lpbContent.changeChoosed(bsms, color); |
328 | }, | 310 | }, |
329 | //获取各项单元状态统计数据 | 311 | //获取各项单元状态统计数据 |
330 | getDyztBsmList() { | 312 | getDyztBsmList () { |
331 | getLpbTj(this.formData.bsm).then((res) => { | 313 | getLpbTj(this.formData.bsm).then((res) => { |
332 | if (res.code === 200) { | 314 | if (res.code === 200) { |
333 | this.dyztList = res.result; | 315 | this.dyztList = res.result; |
... | @@ -380,7 +362,7 @@ export default { | ... | @@ -380,7 +362,7 @@ export default { |
380 | }); | 362 | }); |
381 | }, | 363 | }, |
382 | // 获取房屋用途和房屋性质及缺失项统计数据 | 364 | // 获取房屋用途和房屋性质及缺失项统计数据 |
383 | getLpbFwytAndQlxz() { | 365 | getLpbFwytAndQlxz () { |
384 | getLpbFwytAndQlxz(this.formData.bsm).then((res) => { | 366 | getLpbFwytAndQlxz(this.formData.bsm).then((res) => { |
385 | if (res.code === 200) { | 367 | if (res.code === 200) { |
386 | // this.fwytList = res.result | 368 | // this.fwytList = res.result |
... | @@ -427,31 +409,31 @@ export default { | ... | @@ -427,31 +409,31 @@ export default { |
427 | }, | 409 | }, |
428 | }, | 410 | }, |
429 | computed: {}, | 411 | computed: {}, |
430 | destroyed() { | 412 | destroyed () { |
431 | window.removeEventListener("resize", this.getHeight); | 413 | window.removeEventListener("resize", this.getHeight); |
432 | }, | 414 | }, |
433 | watch: { | 415 | watch: { |
434 | //树结构和图例伸缩时修改楼盘表主要内容区宽度 | 416 | //树结构和图例伸缩时修改楼盘表主要内容区宽度 |
435 | legendToggleFlag(n) { | 417 | legendToggleFlag (n) { |
436 | if (n) { | 418 | if (n) { |
437 | this.lpbContentwidth -= 204; | 419 | this.lpbContentwidth -= 204; |
438 | } else { | 420 | } else { |
439 | this.lpbContentwidth += 204; | 421 | this.lpbContentwidth += 204; |
440 | } | 422 | } |
441 | }, | 423 | }, |
442 | selectedZt(n) { | 424 | selectedZt (n) { |
443 | this.legendToggleFlag = true; | 425 | this.legendToggleFlag = true; |
444 | }, | 426 | }, |
445 | }, | 427 | }, |
446 | }; | 428 | }; |
447 | </script> | 429 | </script> |
448 | <style scoped lang="scss"> | 430 | <style scoped lang="scss"> |
449 | table { | 431 | table { |
450 | border-width: 0; | 432 | border-width: 0; |
451 | border-collapse: collapse; | 433 | border-collapse: collapse; |
452 | border-spacing: 0; | 434 | border-spacing: 0; |
453 | } | 435 | } |
454 | .edit { | 436 | .edit { |
455 | height: 100%; | 437 | height: 100%; |
456 | background-color: #f4f9ff; | 438 | background-color: #f4f9ff; |
457 | .tab-content { | 439 | .tab-content { |
... | @@ -573,5 +555,5 @@ table { | ... | @@ -573,5 +555,5 @@ table { |
573 | } | 555 | } |
574 | } | 556 | } |
575 | } | 557 | } |
576 | } | 558 | } |
577 | </style> | 559 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:51:37 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="bdcqldjml"> | 7 | <div class="bdcqldjml"> |
3 | <table class="mlTable"> | 8 | <table class="mlTable"> |
... | @@ -23,26 +28,26 @@ | ... | @@ -23,26 +28,26 @@ |
23 | </template> | 28 | </template> |
24 | 29 | ||
25 | <script> | 30 | <script> |
26 | import { getBdcqldjmlByBdcdyid } from "@/api/djbDetail.js"; | 31 | import { getBdcqldjmlByBdcdyid } from "@/api/djbDetail.js"; |
27 | export default { | 32 | export default { |
28 | data() { | 33 | data () { |
29 | return { | 34 | return { |
30 | bdcqlml: [], | 35 | bdcqlml: [], |
31 | propsParam: this.$attrs, | 36 | propsParam: this.$attrs, |
32 | }; | 37 | }; |
33 | }, | 38 | }, |
34 | mounted() { | 39 | mounted () { |
35 | getBdcqldjmlByBdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 40 | getBdcqldjmlByBdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
36 | if (res.code === 200) { | 41 | if (res.code === 200) { |
37 | this.bdcqlml = res.result; | 42 | this.bdcqlml = res.result; |
38 | } | 43 | } |
39 | }); | 44 | }); |
40 | }, | 45 | }, |
41 | }; | 46 | }; |
42 | </script> | 47 | </script> |
43 | 48 | ||
44 | <style lang="scss" scoped> | 49 | <style lang="scss" scoped> |
45 | .bdcqldjml { | 50 | .bdcqldjml { |
46 | width: 100%; | 51 | width: 100%; |
47 | height: 100%; | 52 | height: 100%; |
48 | background: #fff; | 53 | background: #fff; |
... | @@ -69,5 +74,5 @@ export default { | ... | @@ -69,5 +74,5 @@ export default { |
69 | text-align: center; | 74 | text-align: center; |
70 | } | 75 | } |
71 | } | 76 | } |
72 | } | 77 | } |
73 | </style> | 78 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:52:07 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="bdcqljqtsx"> | 7 | <div class="bdcqljqtsx"> |
3 | <div class="content"> | 8 | <div class="content"> |
... | @@ -49,17 +54,17 @@ | ... | @@ -49,17 +54,17 @@ |
49 | </template> | 54 | </template> |
50 | 55 | ||
51 | <script> | 56 | <script> |
52 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 57 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
53 | export default { | 58 | export default { |
54 | name: "bdcqljqtsx", | 59 | name: "bdcqljqtsx", |
55 | data() { | 60 | data () { |
56 | return { | 61 | return { |
57 | //传递参数 | 62 | //传递参数 |
58 | propsParam: this.$attrs, | 63 | propsParam: this.$attrs, |
59 | qlxxList: "", | 64 | qlxxList: "", |
60 | }; | 65 | }; |
61 | }, | 66 | }, |
62 | mounted() { | 67 | mounted () { |
63 | getBdcqljqtsx({ | 68 | getBdcqljqtsx({ |
64 | bdcdyid: this.propsParam.bdcdyid, | 69 | bdcdyid: this.propsParam.bdcdyid, |
65 | bdcdyh: this.propsParam.bdcdyh, | 70 | bdcdyh: this.propsParam.bdcdyh, |
... | @@ -69,11 +74,11 @@ export default { | ... | @@ -69,11 +74,11 @@ export default { |
69 | } | 74 | } |
70 | }); | 75 | }); |
71 | }, | 76 | }, |
72 | }; | 77 | }; |
73 | </script> | 78 | </script> |
74 | 79 | ||
75 | <style lang="scss" scoped> | 80 | <style lang="scss" scoped> |
76 | .bdcqljqtsx { | 81 | .bdcqljqtsx { |
77 | width: 100%; | 82 | width: 100%; |
78 | height: 100%; | 83 | height: 100%; |
79 | background: #fff; | 84 | background: #fff; |
... | @@ -103,5 +108,5 @@ export default { | ... | @@ -103,5 +108,5 @@ export default { |
103 | display: inline-block; | 108 | display: inline-block; |
104 | } | 109 | } |
105 | } | 110 | } |
106 | } | 111 | } |
107 | </style> | 112 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:52:46 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="content"> | 7 | <div class="content"> |
3 | <div class="left"> | 8 | <div class="left"> |
... | @@ -69,7 +74,7 @@ | ... | @@ -69,7 +74,7 @@ |
69 | this.componentTag = (r) => | 74 | this.componentTag = (r) => |
70 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 75 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
71 | }, | 76 | }, |
72 | }, | 77 | } |
73 | }; | 78 | }; |
74 | </script> | 79 | </script> |
75 | <style scoped lang="scss"> | 80 | <style scoped lang="scss"> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:52:42 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="djbfm"> | 7 | <div class="djbfm"> |
3 | <br /><br /> | 8 | <br /><br /> |
... | @@ -33,9 +38,9 @@ | ... | @@ -33,9 +38,9 @@ |
33 | </template> | 38 | </template> |
34 | 39 | ||
35 | <script> | 40 | <script> |
36 | import { getDjbfm } from "@/api/djbDetail.js"; | 41 | import { getDjbfm } from "@/api/djbDetail.js"; |
37 | 42 | ||
38 | export default { | 43 | export default { |
39 | data () { | 44 | data () { |
40 | return { | 45 | return { |
41 | //传递参数 | 46 | //传递参数 |
... | @@ -55,11 +60,11 @@ export default { | ... | @@ -55,11 +60,11 @@ export default { |
55 | }); | 60 | }); |
56 | }, | 61 | }, |
57 | }, | 62 | }, |
58 | }; | 63 | }; |
59 | </script> | 64 | </script> |
60 | 65 | ||
61 | <style lang="scss" scoped> | 66 | <style lang="scss" scoped> |
62 | .djbfm { | 67 | .djbfm { |
63 | width: 100%; | 68 | width: 100%; |
64 | height: 100%; | 69 | height: 100%; |
65 | background: #fff; | 70 | background: #fff; |
... | @@ -104,5 +109,5 @@ export default { | ... | @@ -104,5 +109,5 @@ export default { |
104 | line-height: 24px; | 109 | line-height: 24px; |
105 | } | 110 | } |
106 | } | 111 | } |
107 | } | 112 | } |
108 | </style> | 113 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 15:04:26 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="from-clues"> | 7 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
... | @@ -10,8 +15,7 @@ | ... | @@ -10,8 +15,7 @@ |
10 | placeholder="请输入编号" | 15 | placeholder="请输入编号" |
11 | v-model="queryForm.jklx" | 16 | v-model="queryForm.jklx" |
12 | class="width200px" | 17 | class="width200px" |
13 | clearable | 18 | clearable></el-input> |
14 | ></el-input> | ||
15 | </el-form-item> | 19 | </el-form-item> |
16 | </el-col> | 20 | </el-col> |
17 | <el-col :span="5"> | 21 | <el-col :span="5"> |
... | @@ -20,8 +24,7 @@ | ... | @@ -20,8 +24,7 @@ |
20 | placeholder="请输入编号" | 24 | placeholder="请输入编号" |
21 | v-model="queryForm.dyzt" | 25 | v-model="queryForm.dyzt" |
22 | class="width200px" | 26 | class="width200px" |
23 | clearable | 27 | clearable></el-input> |
24 | ></el-input> | ||
25 | </el-form-item> | 28 | </el-form-item> |
26 | </el-col> | 29 | </el-col> |
27 | </el-row> | 30 | </el-row> |
... | @@ -33,8 +36,7 @@ | ... | @@ -33,8 +36,7 @@ |
33 | placeholder="请输入IP" | 36 | placeholder="请输入IP" |
34 | v-model="queryForm.fwip" | 37 | v-model="queryForm.fwip" |
35 | class="width200px" | 38 | class="width200px" |
36 | clearable | 39 | clearable></el-input> |
37 | ></el-input> | ||
38 | 40 | ||
39 | </el-form-item> | 41 | </el-form-item> |
40 | </el-col> | 42 | </el-col> |
... | @@ -53,14 +55,13 @@ | ... | @@ -53,14 +55,13 @@ |
53 | placeholder="请输入url" | 55 | placeholder="请输入url" |
54 | v-model="queryForm.qqdz" | 56 | v-model="queryForm.qqdz" |
55 | class="width500px" | 57 | class="width500px" |
56 | clearable | 58 | clearable></el-input> |
57 | ></el-input> | ||
58 | 59 | ||
59 | </el-form-item> | 60 | </el-form-item> |
60 | </el-col> | 61 | </el-col> |
61 | </el-row> | 62 | </el-row> |
62 | 63 | ||
63 | </el-row> | 64 | </el-row> |
64 | <el-row> | 65 | <el-row> |
65 | <el-col :span="20"> | 66 | <el-col :span="20"> |
66 | <el-form-item label="请求头数据"> | 67 | <el-form-item label="请求头数据"> |
... | @@ -69,8 +70,7 @@ | ... | @@ -69,8 +70,7 @@ |
69 | placeholder="请输入请求头数据" | 70 | placeholder="请输入请求头数据" |
70 | v-model="queryForm.qqtsj" | 71 | v-model="queryForm.qqtsj" |
71 | class="width500px" | 72 | class="width500px" |
72 | clearable | 73 | clearable></el-input> |
73 | ></el-input> | ||
74 | 74 | ||
75 | </el-form-item> | 75 | </el-form-item> |
76 | </el-col> | 76 | </el-col> |
... | @@ -83,8 +83,7 @@ | ... | @@ -83,8 +83,7 @@ |
83 | placeholder="请输入参数" | 83 | placeholder="请输入参数" |
84 | v-model="queryForm.rcsj" | 84 | v-model="queryForm.rcsj" |
85 | class="width500px" | 85 | class="width500px" |
86 | clearable | 86 | clearable></el-input> |
87 | ></el-input> | ||
88 | 87 | ||
89 | </el-form-item> | 88 | </el-form-item> |
90 | </el-col> | 89 | </el-col> |
... | @@ -98,8 +97,7 @@ | ... | @@ -98,8 +97,7 @@ |
98 | placeholder="调用描述" | 97 | placeholder="调用描述" |
99 | v-model="queryForm.dyms" | 98 | v-model="queryForm.dyms" |
100 | class="width200px" | 99 | class="width200px" |
101 | clearable | 100 | clearable></el-input> |
102 | ></el-input> | ||
103 | 101 | ||
104 | </el-form-item> | 102 | </el-form-item> |
105 | </el-col> | 103 | </el-col> |
... | @@ -113,8 +111,7 @@ | ... | @@ -113,8 +111,7 @@ |
113 | placeholder="返回数据" | 111 | placeholder="返回数据" |
114 | v-model="queryForm.fhsj" | 112 | v-model="queryForm.fhsj" |
115 | class="width200px" | 113 | class="width200px" |
116 | clearable | 114 | clearable></el-input> |
117 | ></el-input> | ||
118 | 115 | ||
119 | </el-form-item> | 116 | </el-form-item> |
120 | </el-col> | 117 | </el-col> |
... | @@ -137,7 +134,7 @@ | ... | @@ -137,7 +134,7 @@ |
137 | <script> | 134 | <script> |
138 | 135 | ||
139 | 136 | ||
140 | export default { | 137 | export default { |
141 | 138 | ||
142 | data () { | 139 | data () { |
143 | return { | 140 | return { |
... | @@ -155,8 +152,8 @@ export default { | ... | @@ -155,8 +152,8 @@ export default { |
155 | } | 152 | } |
156 | }, | 153 | }, |
157 | 154 | ||
158 | } | 155 | } |
159 | </script> | 156 | </script> |
160 | <style scoped lang="scss"> | 157 | <style scoped lang="scss"> |
161 | @import "~@/styles/public.scss"; | 158 | @import "~@/styles/public.scss"; |
162 | </style> | 159 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 15:04:38 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="from-clues"> | 7 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
... | @@ -10,8 +15,7 @@ | ... | @@ -10,8 +15,7 @@ |
10 | placeholder="请输入编号" | 15 | placeholder="请输入编号" |
11 | v-model="queryForm.jklx" | 16 | v-model="queryForm.jklx" |
12 | class="width200px" | 17 | class="width200px" |
13 | clearable | 18 | clearable></el-input> |
14 | ></el-input> | ||
15 | </el-form-item> | 19 | </el-form-item> |
16 | </el-col> | 20 | </el-col> |
17 | <el-col :span="5"> | 21 | <el-col :span="5"> |
... | @@ -20,8 +24,7 @@ | ... | @@ -20,8 +24,7 @@ |
20 | placeholder="请输入编号" | 24 | placeholder="请输入编号" |
21 | v-model="queryForm.dyzt" | 25 | v-model="queryForm.dyzt" |
22 | class="width200px" | 26 | class="width200px" |
23 | clearable | 27 | clearable></el-input> |
24 | ></el-input> | ||
25 | </el-form-item> | 28 | </el-form-item> |
26 | </el-col> | 29 | </el-col> |
27 | </el-row> | 30 | </el-row> |
... | @@ -33,8 +36,7 @@ | ... | @@ -33,8 +36,7 @@ |
33 | placeholder="请输入IP" | 36 | placeholder="请输入IP" |
34 | v-model="queryForm.fwip" | 37 | v-model="queryForm.fwip" |
35 | class="width200px" | 38 | class="width200px" |
36 | clearable | 39 | clearable></el-input> |
37 | ></el-input> | ||
38 | 40 | ||
39 | </el-form-item> | 41 | </el-form-item> |
40 | </el-col> | 42 | </el-col> |
... | @@ -53,14 +55,13 @@ | ... | @@ -53,14 +55,13 @@ |
53 | placeholder="请输入url" | 55 | placeholder="请输入url" |
54 | v-model="queryForm.qqdz" | 56 | v-model="queryForm.qqdz" |
55 | class="width500px" | 57 | class="width500px" |
56 | clearable | 58 | clearable></el-input> |
57 | ></el-input> | ||
58 | 59 | ||
59 | </el-form-item> | 60 | </el-form-item> |
60 | </el-col> | 61 | </el-col> |
61 | </el-row> | 62 | </el-row> |
62 | 63 | ||
63 | </el-row> | 64 | </el-row> |
64 | <el-row> | 65 | <el-row> |
65 | <el-col :span="20"> | 66 | <el-col :span="20"> |
66 | <el-form-item label="请求头数据"> | 67 | <el-form-item label="请求头数据"> |
... | @@ -69,8 +70,7 @@ | ... | @@ -69,8 +70,7 @@ |
69 | placeholder="请输入请求头数据" | 70 | placeholder="请输入请求头数据" |
70 | v-model="queryForm.qqtsj" | 71 | v-model="queryForm.qqtsj" |
71 | class="width500px" | 72 | class="width500px" |
72 | clearable | 73 | clearable></el-input> |
73 | ></el-input> | ||
74 | 74 | ||
75 | </el-form-item> | 75 | </el-form-item> |
76 | </el-col> | 76 | </el-col> |
... | @@ -83,8 +83,7 @@ | ... | @@ -83,8 +83,7 @@ |
83 | placeholder="请输入参数" | 83 | placeholder="请输入参数" |
84 | v-model="queryForm.rcsj" | 84 | v-model="queryForm.rcsj" |
85 | class="width500px" | 85 | class="width500px" |
86 | clearable | 86 | clearable></el-input> |
87 | ></el-input> | ||
88 | 87 | ||
89 | </el-form-item> | 88 | </el-form-item> |
90 | </el-col> | 89 | </el-col> |
... | @@ -98,8 +97,7 @@ | ... | @@ -98,8 +97,7 @@ |
98 | placeholder="调用描述" | 97 | placeholder="调用描述" |
99 | v-model="queryForm.dyms" | 98 | v-model="queryForm.dyms" |
100 | class="width200px" | 99 | class="width200px" |
101 | clearable | 100 | clearable></el-input> |
102 | ></el-input> | ||
103 | 101 | ||
104 | </el-form-item> | 102 | </el-form-item> |
105 | </el-col> | 103 | </el-col> |
... | @@ -113,8 +111,7 @@ | ... | @@ -113,8 +111,7 @@ |
113 | placeholder="返回数据" | 111 | placeholder="返回数据" |
114 | v-model="queryForm.fhsj" | 112 | v-model="queryForm.fhsj" |
115 | class="width200px" | 113 | class="width200px" |
116 | clearable | 114 | clearable></el-input> |
117 | ></el-input> | ||
118 | 115 | ||
119 | </el-form-item> | 116 | </el-form-item> |
120 | </el-col> | 117 | </el-col> |
... | @@ -137,7 +134,7 @@ | ... | @@ -137,7 +134,7 @@ |
137 | <script> | 134 | <script> |
138 | 135 | ||
139 | 136 | ||
140 | export default { | 137 | export default { |
141 | 138 | ||
142 | data () { | 139 | data () { |
143 | return { | 140 | return { |
... | @@ -155,8 +152,8 @@ export default { | ... | @@ -155,8 +152,8 @@ export default { |
155 | } | 152 | } |
156 | }, | 153 | }, |
157 | 154 | ||
158 | } | 155 | } |
159 | </script> | 156 | </script> |
160 | <style scoped lang="scss"> | 157 | <style scoped lang="scss"> |
161 | @import "~@/styles/public.scss"; | 158 | @import "~@/styles/public.scss"; |
162 | </style> | 159 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 16:42:17 | 4 | * @LastEditTime: 2023-07-19 10:23:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -69,19 +69,19 @@ | ... | @@ -69,19 +69,19 @@ |
69 | }, | 69 | }, |
70 | { | 70 | { |
71 | prop: 'dcode', | 71 | prop: 'dcode', |
72 | width: '100', | 72 | width: '150', |
73 | label: '字典项编码', | 73 | label: '字典项编码', |
74 | render: (h, scope) => { | 74 | render: (h, scope) => { |
75 | return ( | 75 | return ( |
76 | <div> | 76 | <div> |
77 | <el-input placeholder="字典项编码" disabled={this.formData.isenable == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]} | 77 | <el-input placeholder="字典项编码" disabled={this.formData.isenable == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]} |
78 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} | 78 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} |
79 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 79 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='20'></el-input> |
80 | 80 | ||
81 | 81 | ||
82 | <el-input placeholder="字典项编码" disabled={this.formData.isenable == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]} | 82 | <el-input placeholder="字典项编码" disabled={this.formData.isenable == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]} |
83 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} | 83 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} |
84 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 84 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='20'></el-input> |
85 | </div> | 85 | </div> |
86 | ) | 86 | ) |
87 | } | 87 | } |
... | @@ -106,17 +106,17 @@ | ... | @@ -106,17 +106,17 @@ |
106 | { | 106 | { |
107 | prop: 'normcode', | 107 | prop: 'normcode', |
108 | label: '部标编码', | 108 | label: '部标编码', |
109 | width: '100', | 109 | width: '150', |
110 | render: (h, scope) => { | 110 | render: (h, scope) => { |
111 | return ( | 111 | return ( |
112 | <div> | 112 | <div> |
113 | <el-input placeholder="部标编码" disabled={this.formData.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} | 113 | <el-input placeholder="部标编码" disabled={this.formData.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} |
114 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | 114 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} |
115 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 115 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='20'></el-input> |
116 | 116 | ||
117 | <el-input placeholder="部标编码" disabled={this.formData.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} | 117 | <el-input placeholder="部标编码" disabled={this.formData.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} |
118 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | 118 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} |
119 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 119 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='20'></el-input> |
120 | </div> | 120 | </div> |
121 | ) | 121 | ) |
122 | } | 122 | } |
... | @@ -152,7 +152,7 @@ | ... | @@ -152,7 +152,7 @@ |
152 | } | 152 | } |
153 | }, | 153 | }, |
154 | { | 154 | { |
155 | width: '130', | 155 | width: '100', |
156 | label: '移动', | 156 | label: '移动', |
157 | render: (h, scope) => { | 157 | render: (h, scope) => { |
158 | return ( | 158 | return ( |
... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
164 | } | 164 | } |
165 | }, | 165 | }, |
166 | { | 166 | { |
167 | width: '150', | 167 | width: '130', |
168 | label: '操作', | 168 | label: '操作', |
169 | render: (h, scope) => { | 169 | render: (h, scope) => { |
170 | return ( | 170 | return ( |
... | @@ -324,9 +324,16 @@ | ... | @@ -324,9 +324,16 @@ |
324 | </script> | 324 | </script> |
325 | <style rel="stylesheet/scss" lang="scss" scoped> | 325 | <style rel="stylesheet/scss" lang="scss" scoped> |
326 | @import "~@/styles/dialogBoxheader.scss"; | 326 | @import "~@/styles/dialogBoxheader.scss"; |
327 | 327 | /deep/.el-radio-group { | |
328 | display: flex; | ||
329 | justify-content: center; | ||
330 | } | ||
328 | /deep/.el-radio { | 331 | /deep/.el-radio { |
329 | margin-right: 5px !important; | 332 | margin-right: 5px !important; |
333 | display: flex; | ||
334 | } | ||
335 | /deep/.el-radio__label { | ||
336 | display: block !important; | ||
330 | } | 337 | } |
331 | </style> | 338 | </style> |
332 | 339 | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 14:09:11 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="from-clues"> | 7 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
... | @@ -6,12 +11,12 @@ | ... | @@ -6,12 +11,12 @@ |
6 | <el-row> | 11 | <el-row> |
7 | <el-col :span="5"> | 12 | <el-col :span="5"> |
8 | <el-form-item label="个性化配置"> | 13 | <el-form-item label="个性化配置"> |
9 | <el-input ></el-input> | 14 | <el-input></el-input> |
10 | </el-form-item> | 15 | </el-form-item> |
11 | </el-col> | 16 | </el-col> |
12 | <el-col :span="19" class="btnColRight"> | 17 | <el-col :span="19" class="btnColRight"> |
13 | <el-form-item> | 18 | <el-form-item> |
14 | <el-button type="primary" native-type="submit" >查询</el-button> | 19 | <el-button type="primary" native-type="submit">查询</el-button> |
15 | </el-form-item> | 20 | </el-form-item> |
16 | </el-col> | 21 | </el-col> |
17 | </el-row> | 22 | </el-row> |
... | @@ -19,12 +24,12 @@ | ... | @@ -19,12 +24,12 @@ |
19 | </div> | 24 | </div> |
20 | <!-- 表格 --> | 25 | <!-- 表格 --> |
21 | </div> | 26 | </div> |
22 | </template> | 27 | </template> |
23 | <script> | 28 | <script> |
24 | import table from "@/utils/mixin/table"; | 29 | import table from "@/utils/mixin/table"; |
25 | export default { | 30 | export default { |
26 | name: "gxhpz", | 31 | name: "gxhpz", |
27 | components: { }, | 32 | components: {}, |
28 | mixins: [table], | 33 | mixins: [table], |
29 | mounted () { | 34 | mounted () { |
30 | }, | 35 | }, |
... | @@ -40,5 +45,5 @@ | ... | @@ -40,5 +45,5 @@ |
40 | </script> | 45 | </script> |
41 | <style scoped lang="scss"> | 46 | <style scoped lang="scss"> |
42 | @import "~@/styles/public.scss"; | 47 | @import "~@/styles/public.scss"; |
43 | </style> | 48 | </style> |
44 | 49 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 14:09:29 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="from-clues"> | 7 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
... | @@ -31,11 +36,11 @@ | ... | @@ -31,11 +36,11 @@ |
31 | </div> | 36 | </div> |
32 | </template> | 37 | </template> |
33 | <script> | 38 | <script> |
34 | import { mapGetters } from 'vuex' | 39 | import { mapGetters } from 'vuex' |
35 | import { sysSqywmbszSearch } from '@/api/sysSqywmbsz' | 40 | import { sysSqywmbszSearch } from '@/api/sysSqywmbsz' |
36 | import table from "@/utils/mixin/table" | 41 | import table from "@/utils/mixin/table" |
37 | import { datas, sendThis } from "./qtjfjmb" | 42 | import { datas, sendThis } from "./qtjfjmb" |
38 | export default { | 43 | export default { |
39 | name: "qtjfjmb", | 44 | name: "qtjfjmb", |
40 | mixins: [table], | 45 | mixins: [table], |
41 | mounted () { | 46 | mounted () { |
... | @@ -73,8 +78,8 @@ export default { | ... | @@ -73,8 +78,8 @@ export default { |
73 | this.$popupDialog("其他及附记模板", "system/qtjfjmb/components/editDialog", row, '60%') | 78 | this.$popupDialog("其他及附记模板", "system/qtjfjmb/components/editDialog", row, '60%') |
74 | } | 79 | } |
75 | } | 80 | } |
76 | } | 81 | } |
77 | </script> | 82 | </script> |
78 | <style scoped lang="scss"> | 83 | <style scoped lang="scss"> |
79 | @import "~@/styles/public.scss"; | 84 | @import "~@/styles/public.scss"; |
80 | </style> | 85 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | 功能:登记情形设定 | 2 | * @Description: 登记情形设定 |
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 14:09:47 | ||
3 | --> | 5 | --> |
4 | <template> | 6 | <template> |
5 | <div> | 7 | <div> |
... | @@ -22,9 +24,9 @@ | ... | @@ -22,9 +24,9 @@ |
22 | </div> | 24 | </div> |
23 | </template> | 25 | </template> |
24 | <script> | 26 | <script> |
25 | import { mapGetters } from 'vuex' | 27 | import { mapGetters } from 'vuex' |
26 | import { upward, down } from '@/utils/operation' | 28 | import { upward, down } from '@/utils/operation' |
27 | export default { | 29 | export default { |
28 | props: { | 30 | props: { |
29 | ruleForm: { | 31 | ruleForm: { |
30 | type: Object, default: {} | 32 | type: Object, default: {} |
... | @@ -223,8 +225,7 @@ export default { | ... | @@ -223,8 +225,7 @@ export default { |
223 | down(index, this.tableData) | 225 | down(index, this.tableData) |
224 | }, | 226 | }, |
225 | } | 227 | } |
226 | } | 228 | } |
227 | </script> | 229 | </script> |
228 | <style scoped lang='scss'> | 230 | <style scoped lang='scss'> |
229 | |||
230 | </style> | 231 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | 1 | <!-- |
2 | 功能:登记情形设定 | 2 | * @Description: 功能:登记情形设定 |
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 14:10:04 | ||
3 | --> | 5 | --> |
4 | <template> | 6 | <template> |
5 | <div class='djqxsd'> | 7 | <div class='djqxsd'> |
... | @@ -22,8 +24,8 @@ | ... | @@ -22,8 +24,8 @@ |
22 | </div> | 24 | </div> |
23 | </template> | 25 | </template> |
24 | <script> | 26 | <script> |
25 | import { upward, down } from '@/utils/operation' | 27 | import { upward, down } from '@/utils/operation' |
26 | export default { | 28 | export default { |
27 | props: { | 29 | props: { |
28 | ruleForm: { | 30 | ruleForm: { |
29 | type: Object, default: () => { | 31 | type: Object, default: () => { |
... | @@ -241,14 +243,14 @@ export default { | ... | @@ -241,14 +243,14 @@ export default { |
241 | this.key++ | 243 | this.key++ |
242 | } | 244 | } |
243 | } | 245 | } |
244 | } | 246 | } |
245 | </script> | 247 | </script> |
246 | <style lang='scss' scoped> | 248 | <style lang='scss' scoped> |
247 | .djqxsd { | 249 | .djqxsd { |
248 | .repeat { | 250 | .repeat { |
249 | .el-input__inner { | 251 | .el-input__inner { |
250 | border-color: red !important; | 252 | border-color: red !important; |
251 | } | 253 | } |
252 | } | 254 | } |
253 | } | 255 | } |
254 | </style> | 256 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | 1 | <!-- |
2 | 功能:单元状态设定 | 2 | * @Description: 单元状态设定 |
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 14:10:44 | ||
3 | --> | 5 | --> |
4 | <template> | 6 | <template> |
5 | <div class='该组件名称'> | 7 | <div class='该组件名称'> |
... | @@ -48,7 +50,7 @@ | ... | @@ -48,7 +50,7 @@ |
48 | </div> | 50 | </div> |
49 | </template> | 51 | </template> |
50 | <script> | 52 | <script> |
51 | export default { | 53 | export default { |
52 | props: { | 54 | props: { |
53 | ruleForm: { | 55 | ruleForm: { |
54 | type: Object, default: {} | 56 | type: Object, default: {} |
... | @@ -103,19 +105,19 @@ export default { | ... | @@ -103,19 +105,19 @@ export default { |
103 | }) | 105 | }) |
104 | } | 106 | } |
105 | } | 107 | } |
106 | } | 108 | } |
107 | </script> | 109 | </script> |
108 | <style scoped lang='scss'> | 110 | <style scoped lang='scss'> |
109 | @import "~@/styles/mixin.scss"; | 111 | @import "~@/styles/mixin.scss"; |
110 | 112 | ||
111 | .dyztsd-title { | 113 | .dyztsd-title { |
112 | @include flex; | 114 | @include flex; |
113 | align-items: center; | 115 | align-items: center; |
114 | justify-content: space-between; | 116 | justify-content: space-between; |
115 | padding-left: 20px; | 117 | padding-left: 20px; |
116 | } | 118 | } |
117 | 119 | ||
118 | .qlxx-list { | 120 | .qlxx-list { |
119 | @include flex; | 121 | @include flex; |
120 | flex-wrap: wrap; | 122 | flex-wrap: wrap; |
121 | padding-left: 20px; | 123 | padding-left: 20px; |
... | @@ -124,9 +126,9 @@ export default { | ... | @@ -124,9 +126,9 @@ export default { |
124 | width: 33%; | 126 | width: 33%; |
125 | margin-bottom: 15px; | 127 | margin-bottom: 15px; |
126 | } | 128 | } |
127 | } | 129 | } |
128 | 130 | ||
129 | .screen-list { | 131 | .screen-list { |
130 | @include flex; | 132 | @include flex; |
131 | align-items: center; | 133 | align-items: center; |
132 | flex-wrap: wrap; | 134 | flex-wrap: wrap; |
... | @@ -151,5 +153,5 @@ export default { | ... | @@ -151,5 +153,5 @@ export default { |
151 | li:nth-child(odd) { | 153 | li:nth-child(odd) { |
152 | border-right: 1px solid $borderColor; | 154 | border-right: 1px solid $borderColor; |
153 | } | 155 | } |
154 | } | 156 | } |
155 | </style> | 157 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 14:10:56 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <dialogBox title="申请业务规则配置" @submitForm="submitForm" @closeDialog="closeDialog" v-model="myValue" | 7 | <dialogBox title="申请业务规则配置" @submitForm="submitForm" @closeDialog="closeDialog" v-model="myValue" |
3 | :btnDisabled="btnDisabled"> | 8 | :btnDisabled="btnDisabled"> |
... | @@ -123,12 +128,12 @@ | ... | @@ -123,12 +128,12 @@ |
123 | </dialogBox> | 128 | </dialogBox> |
124 | </template> | 129 | </template> |
125 | <script> | 130 | <script> |
126 | import { uploadUrl } from '@/api/file' | 131 | import { uploadUrl } from '@/api/file' |
127 | import djqxsd from './djqxsd.vue' | 132 | import djqxsd from './djqxsd.vue' |
128 | import clgzsd from './clgzsd.vue' | 133 | import clgzsd from './clgzsd.vue' |
129 | import dyztsd from './dyztsd.vue' | 134 | import dyztsd from './dyztsd.vue' |
130 | import { getSqdjywDetail, saveSqdjyw } from '@/api/sysSqdjyw' | 135 | import { getSqdjywDetail, saveSqdjyw } from '@/api/sysSqdjyw' |
131 | export default { | 136 | export default { |
132 | components: { | 137 | components: { |
133 | djqxsd, | 138 | djqxsd, |
134 | clgzsd, | 139 | clgzsd, |
... | @@ -314,25 +319,25 @@ export default { | ... | @@ -314,25 +319,25 @@ export default { |
314 | } | 319 | } |
315 | } | 320 | } |
316 | } | 321 | } |
317 | }; | 322 | }; |
318 | </script> | 323 | </script> |
319 | <style scoped lang="scss"> | 324 | <style scoped lang="scss"> |
320 | @import "~@/styles/mixin.scss"; | 325 | @import "~@/styles/mixin.scss"; |
321 | 326 | ||
322 | /deep/.el-radio { | 327 | /deep/.el-radio { |
323 | margin-right: 0; | 328 | margin-right: 0; |
324 | } | 329 | } |
325 | 330 | ||
326 | /deep/.el-radio__label { | 331 | /deep/.el-radio__label { |
327 | padding-left: 2px; | 332 | padding-left: 2px; |
328 | } | 333 | } |
329 | 334 | ||
330 | .active { | 335 | .active { |
331 | background: $light-blue !important; | 336 | background: $light-blue !important; |
332 | color: #fff; | 337 | color: #fff; |
333 | } | 338 | } |
334 | 339 | ||
335 | .edit-title-list { | 340 | .edit-title-list { |
336 | @include flex; | 341 | @include flex; |
337 | 342 | ||
338 | li { | 343 | li { |
... | @@ -348,9 +353,9 @@ export default { | ... | @@ -348,9 +353,9 @@ export default { |
348 | @extend .active; | 353 | @extend .active; |
349 | } | 354 | } |
350 | } | 355 | } |
351 | } | 356 | } |
352 | 357 | ||
353 | .sqywgz-edit { | 358 | .sqywgz-edit { |
354 | @include flex; | 359 | @include flex; |
355 | width: 100%; | 360 | width: 100%; |
356 | height: 563px; | 361 | height: 563px; |
... | @@ -358,11 +363,9 @@ export default { | ... | @@ -358,11 +363,9 @@ export default { |
358 | &-left { | 363 | &-left { |
359 | width: 26px; | 364 | width: 26px; |
360 | 365 | ||
361 | |||
362 | |||
363 | li { | 366 | li { |
364 | @include flex-center; | 367 | @include flex-center; |
365 | background-color: #E4E7ED; | 368 | background-color: #e4e7ed; |
366 | border-bottom-right-radius: 5px; | 369 | border-bottom-right-radius: 5px; |
367 | padding: 15px; | 370 | padding: 15px; |
368 | cursor: pointer; | 371 | cursor: pointer; |
... | @@ -383,5 +386,5 @@ export default { | ... | @@ -383,5 +386,5 @@ export default { |
383 | flex: 1; | 386 | flex: 1; |
384 | width: 100%; | 387 | width: 100%; |
385 | } | 388 | } |
386 | } | 389 | } |
387 | </style> | 390 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 14:11:20 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="from-clues"> | 7 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
... | @@ -36,12 +41,12 @@ | ... | @@ -36,12 +41,12 @@ |
36 | </div> | 41 | </div> |
37 | </template> | 42 | </template> |
38 | <script> | 43 | <script> |
39 | import table from "@/utils/mixin/table"; | 44 | import table from "@/utils/mixin/table"; |
40 | import editDialog from "./components/editDialog.vue"; | 45 | import editDialog from "./components/editDialog.vue"; |
41 | import componentDialog from "./sqywDetail.vue"; | 46 | import componentDialog from "./sqywDetail.vue"; |
42 | import { datas, sendThis } from "./sqywgzdata"; | 47 | import { datas, sendThis } from "./sqywgzdata"; |
43 | import { getSysSqdjywBysearch, getDjlxInfo } from "@/api/sysSqdjyw.js"; | 48 | import { getSysSqdjywBysearch, getDjlxInfo } from "@/api/sysSqdjyw.js"; |
44 | export default { | 49 | export default { |
45 | name: "djbcx", | 50 | name: "djbcx", |
46 | components: { | 51 | components: { |
47 | editDialog, | 52 | editDialog, |
... | @@ -93,8 +98,8 @@ export default { | ... | @@ -93,8 +98,8 @@ export default { |
93 | this.$popupDialog(row.nodename, "system/sqywgz/sqywDetail", this.sqqlRule, '80%') | 98 | this.$popupDialog(row.nodename, "system/sqywgz/sqywDetail", this.sqqlRule, '80%') |
94 | } | 99 | } |
95 | } | 100 | } |
96 | } | 101 | } |
97 | </script> | 102 | </script> |
98 | <style scoped lang="scss"> | 103 | <style scoped lang="scss"> |
99 | @import "~@/styles/public.scss"; | 104 | @import "~@/styles/public.scss"; |
100 | </style> | 105 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-14 16:01:33 | 4 | * @LastEditTime: 2023-07-18 14:26:54 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <canvas id="mxcad"> | 7 | <canvas id="mxcad"> |
... | @@ -37,9 +37,3 @@ | ... | @@ -37,9 +37,3 @@ |
37 | } | 37 | } |
38 | } | 38 | } |
39 | </script> | 39 | </script> |
... | \ No newline at end of file | ... | \ No newline at end of file |
40 | <style scoped lang='scss'> | ||
41 | #cad-container { | ||
42 | width: 100%; | ||
43 | height: 100%; | ||
44 | } | ||
45 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -34,6 +34,7 @@ export default { | ... | @@ -34,6 +34,7 @@ export default { |
34 | }, | 34 | }, |
35 | //切换选项卡内容组件 | 35 | //切换选项卡内容组件 |
36 | getFromRouter (tabname) { | 36 | getFromRouter (tabname) { |
37 | console.log(tabname, 'tabnametabnametabnametabnametabname'); | ||
37 | //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 | 38 | //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 |
38 | for (let item of this.tabList) { | 39 | for (let item of this.tabList) { |
39 | if (item.value === tabname) { | 40 | if (item.value === tabname) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | 功能:高级搜索 | 2 | * @Description: |
3 | 作者:calliope | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 14:08:17 | ||
4 | --> | 5 | --> |
5 | <template> | 6 | <template> |
6 | <dialogBox :isButton="false" :isFullscreen="false" width="50%" @closeDialog="closeDialog" v-model="myValue" | 7 | <dialogBox :isButton="false" :isFullscreen="false" width="50%" @closeDialog="closeDialog" v-model="myValue" |
... | @@ -42,10 +43,10 @@ | ... | @@ -42,10 +43,10 @@ |
42 | </template> | 43 | </template> |
43 | <script> | 44 | <script> |
44 | 45 | ||
45 | export default { | 46 | export default { |
46 | props: { | 47 | props: { |
47 | value: { type: Boolean, default: false }, | 48 | value: { type: Boolean, default: false }, |
48 | advancedForm:{type: Object, default: "" } | 49 | advancedForm: { type: Object, default: "" } |
49 | }, | 50 | }, |
50 | data () { | 51 | data () { |
51 | return { | 52 | return { |
... | @@ -62,8 +63,8 @@ export default { | ... | @@ -62,8 +63,8 @@ export default { |
62 | value (val) { | 63 | value (val) { |
63 | this.myValue = val | 64 | this.myValue = val |
64 | }, | 65 | }, |
65 | advancedForm(){ | 66 | advancedForm () { |
66 | this.ruleForm={...this.advancedForm} | 67 | this.ruleForm = { ...this.advancedForm } |
67 | } | 68 | } |
68 | }, | 69 | }, |
69 | 70 | ||
... | @@ -74,7 +75,7 @@ export default { | ... | @@ -74,7 +75,7 @@ export default { |
74 | }, | 75 | }, |
75 | resetForm () { | 76 | resetForm () { |
76 | this.$refs['ruleForm'].resetFields() | 77 | this.$refs['ruleForm'].resetFields() |
77 | this.ruleForm={ | 78 | this.ruleForm = { |
78 | sqywmc: '', | 79 | sqywmc: '', |
79 | qlrmc: '', | 80 | qlrmc: '', |
80 | ywrmc: '', | 81 | ywrmc: '', |
... | @@ -88,17 +89,17 @@ export default { | ... | @@ -88,17 +89,17 @@ export default { |
88 | 89 | ||
89 | } | 90 | } |
90 | } | 91 | } |
91 | } | 92 | } |
92 | </script> | 93 | </script> |
93 | <style scoped lang='scss'> | 94 | <style scoped lang='scss'> |
94 | @import '~@/styles/public.scss'; | 95 | @import "~@/styles/public.scss"; |
95 | 96 | ||
96 | .search-btn { | 97 | .search-btn { |
97 | padding: 0 20px 20px 20px; | 98 | padding: 0 20px 20px 20px; |
98 | text-align: right; | 99 | text-align: right; |
99 | } | 100 | } |
100 | 101 | ||
101 | /deep/.el-icon-date { | 102 | /deep/.el-icon-date { |
102 | display: none; | 103 | display: none; |
103 | } | 104 | } |
104 | </style> | 105 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-14 11:16:12 | 4 | * @LastEditTime: 2023-07-19 14:43:59 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -268,7 +268,6 @@ | ... | @@ -268,7 +268,6 @@ |
268 | this.ruleForm.ywrList = _.cloneDeep(val); | 268 | this.ruleForm.ywrList = _.cloneDeep(val); |
269 | }, | 269 | }, |
270 | onSubmit () { | 270 | onSubmit () { |
271 | console.log("this.ruleForm",); | ||
272 | saveData(this.ruleForm).then((res) => { | 271 | saveData(this.ruleForm).then((res) => { |
273 | if (res.code === 200) { | 272 | if (res.code === 200) { |
274 | this.$message({ | 273 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 16:31:05 | 4 | * @LastEditTime: 2023-07-19 14:38:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -114,7 +114,7 @@ | ... | @@ -114,7 +114,7 @@ |
114 | class="loadingtext" | 114 | class="loadingtext" |
115 | @sort-change="handleSort" | 115 | @sort-change="handleSort" |
116 | :current-page.sync="pageData.currentPage" | 116 | :current-page.sync="pageData.currentPage" |
117 | :heightNum="295" | 117 | :heightNum="305" |
118 | :total="tableData.total" | 118 | :total="tableData.total" |
119 | @size-change="handleSizeChange" | 119 | @size-change="handleSizeChange" |
120 | @p-current-change="handleCurrentChange" | 120 | @p-current-change="handleCurrentChange" | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 13:59:35 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="from-clues"> | 7 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
... | @@ -89,12 +94,12 @@ | ... | @@ -89,12 +94,12 @@ |
89 | </div> | 94 | </div> |
90 | </template> | 95 | </template> |
91 | <script> | 96 | <script> |
92 | import { mapGetters } from "vuex"; | 97 | import { mapGetters } from "vuex"; |
93 | import table from "@/utils/mixin/table"; | 98 | import table from "@/utils/mixin/table"; |
94 | import { datas, sendThis } from "./djbcxdata"; | 99 | import { datas, sendThis } from "./djbcxdata"; |
95 | import { getDjbBysearch } from "@/api/search.js"; | 100 | import { getDjbBysearch } from "@/api/search.js"; |
96 | 101 | ||
97 | export default { | 102 | export default { |
98 | name: "djbcx", | 103 | name: "djbcx", |
99 | mixins: [table], | 104 | mixins: [table], |
100 | mounted () { | 105 | mounted () { |
... | @@ -181,16 +186,16 @@ export default { | ... | @@ -181,16 +186,16 @@ export default { |
181 | 186 | ||
182 | // }, | 187 | // }, |
183 | } | 188 | } |
184 | } | 189 | } |
185 | </script> | 190 | </script> |
186 | <style scoped lang="scss"> | 191 | <style scoped lang="scss"> |
187 | @import "~@/styles/public.scss"; | 192 | @import "~@/styles/public.scss"; |
188 | 193 | ||
189 | .icon-circle { | 194 | .icon-circle { |
190 | position: relative; | 195 | position: relative; |
191 | } | 196 | } |
192 | 197 | ||
193 | .icon-circle::before { | 198 | .icon-circle::before { |
194 | content: ""; | 199 | content: ""; |
195 | width: 4px; | 200 | width: 4px; |
196 | height: 4px; | 201 | height: 4px; |
... | @@ -198,5 +203,5 @@ export default { | ... | @@ -198,5 +203,5 @@ export default { |
198 | background: #000; | 203 | background: #000; |
199 | top: 0px; | 204 | top: 0px; |
200 | left: 0px; | 205 | left: 0px; |
201 | } | 206 | } |
202 | </style> | 207 | </style> | ... | ... |
-
Please register or sign in to post a comment