Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
59 changed files
with
1581 additions
and
958 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' |
| ... | @@ -12,32 +12,29 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap | ... | @@ -12,32 +12,29 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap |
| 12 | * @author: renchao | 12 | * @author: renchao |
| 13 | */ | 13 | */ |
| 14 | export function getCollectBiz () { | 14 | export function getCollectBiz () { |
| 15 | return request({ | 15 | return request({ |
| 16 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz', | 16 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/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 |
| 25 | */ | 23 | */ |
| 26 | export function getleftMenu () { | 24 | export function getleftMenu () { |
| 27 | return request({ | 25 | return request({ |
| 28 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu', | 26 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/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' |
| 41 | }) | 38 | }) |
| 42 | } | 39 | } |
| 43 | 40 | ||
| ... | @@ -46,11 +43,11 @@ export function getleftMenu () { | ... | @@ -46,11 +43,11 @@ export function getleftMenu () { |
| 46 | * @author: renchao | 43 | * @author: renchao |
| 47 | */ | 44 | */ |
| 48 | export function getTogetherBiz () { | 45 | export function getTogetherBiz () { |
| 49 | return request({ | 46 | return request({ |
| 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: 业务办理-获取下个节点内容 |
| ... | @@ -58,10 +55,10 @@ export function getTogetherBiz () { | ... | @@ -58,10 +55,10 @@ export function getTogetherBiz () { |
| 58 | * @author: renchao | 55 | * @author: renchao |
| 59 | */ | 56 | */ |
| 60 | export function getNextNode (bsmSqyw) { | 57 | export function getNextNode (bsmSqyw) { |
| 61 | return request({ | 58 | return request({ |
| 62 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw, | 59 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw, |
| 63 | method: 'post' | 60 | method: 'post' |
| 64 | }) | 61 | }) |
| 65 | } | 62 | } |
| 66 | 63 | ||
| 67 | /** | 64 | /** | ... | ... |
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 | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:25:58 | 4 | * @LastEditTime: 2023-05-17 10:25:58 |
| 5 | */ | 5 | */ |
| ... | @@ -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")) { | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:32:29 | 4 | * @LastEditTime: 2023-05-17 10:32:29 |
| 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 | // 初始化内容 | 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")) { | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:32:37 | 4 | * @LastEditTime: 2023-05-17 10:32:37 |
| 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', | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:32:41 | 4 | * @LastEditTime: 2023-05-17 10:32:41 |
| 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' |
| ... | @@ -13,11 +13,11 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap | ... | @@ -13,11 +13,11 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap |
| 13 | * @author: renchao | 13 | * @author: renchao |
| 14 | */ | 14 | */ |
| 15 | export function selectScBdcdy (data) { | 15 | export function selectScBdcdy (data) { |
| 16 | return request({ | 16 | return request({ |
| 17 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy', | 17 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy', |
| 18 | method: 'post', | 18 | method: 'post', |
| 19 | data | 19 | data |
| 20 | }) | 20 | }) |
| 21 | } | 21 | } |
| 22 | /** | 22 | /** |
| 23 | * @description: 业务办理-选择权利信息-根据条件进行列表查询 | 23 | * @description: 业务办理-选择权利信息-根据条件进行列表查询 |
| ... | @@ -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) |
| ... | @@ -124,4 +136,4 @@ export default { | ... | @@ -124,4 +136,4 @@ export default { |
| 124 | left: 50% !important; | 136 | left: 50% !important; |
| 125 | transform: translate(-50%, -50%) !important; | 137 | transform: translate(-50%, -50%) !important; |
| 126 | } | 138 | } |
| 127 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 139 | </style> | ... | ... |
| ... | @@ -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; |
| ... | @@ -660,4 +767,4 @@ export default { | ... | @@ -660,4 +767,4 @@ export default { |
| 660 | width: 100%; | 767 | width: 100%; |
| 661 | text-align: center; | 768 | text-align: center; |
| 662 | } | 769 | } |
| 663 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 770 | </style> | ... | ... |
| 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++){ |
| ... | @@ -18,4 +33,4 @@ export default { | ... | @@ -18,4 +33,4 @@ export default { |
| 18 | }, | 33 | }, |
| 19 | 34 | ||
| 20 | } | 35 | } |
| 21 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 36 | } | ... | ... |
| 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"); |
| ... | @@ -521,4 +618,4 @@ export default { | ... | @@ -521,4 +618,4 @@ export default { |
| 521 | } | 618 | } |
| 522 | } | 619 | } |
| 523 | } | 620 | } |
| 524 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 621 | } | ... | ... |
| 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,115 +63,115 @@ | ... | @@ -58,115 +63,115 @@ |
| 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 | ], | ||
| 81 | ruleForm: { | ||
| 82 | interfaceCode: '', | ||
| 83 | interfaceService: '', | ||
| 84 | interfaceDescription: '', | ||
| 85 | interfaceApi: '', | ||
| 86 | interfaceMethod: '', | ||
| 87 | interfaceType: '', | ||
| 88 | interfaceKey: '', | ||
| 89 | }, | ||
| 90 | rules: { | ||
| 91 | interfaceCode: [ | ||
| 92 | { required: true, message: '接口代码不能为空', trigger: 'blur' } | ||
| 93 | ], | ||
| 94 | interfaceService: [ | ||
| 95 | { required: true, message: '接口服务名称不能为空', trigger: 'blur' } | ||
| 96 | ], | ||
| 97 | interfaceApi: [ | ||
| 98 | { required: true, message: '接口api地址不能为空', trigger: 'blur' } | ||
| 99 | ], | ||
| 100 | interfaceMethod: [ | ||
| 101 | { required: true, message: '接口方式不能为空', trigger: 'change' } | ||
| 102 | ], | ||
| 103 | interfaceType: [ | ||
| 104 | { required: true, message: '入库编号不能为空', trigger: 'change' } | ||
| 105 | ], | 85 | ], |
| 106 | }, | 86 | ruleForm: { |
| 107 | } | 87 | interfaceCode: '', |
| 108 | }, | 88 | interfaceService: '', |
| 109 | methods: { | 89 | interfaceDescription: '', |
| 110 | //表单提交 | 90 | interfaceApi: '', |
| 111 | submitForm () { | 91 | interfaceMethod: '', |
| 112 | let that = this; | 92 | interfaceType: '', |
| 113 | that.$refs.ruleForm.validate(valid => { | 93 | interfaceKey: '', |
| 114 | if (valid) { | 94 | }, |
| 115 | if(this.editFlag){ | 95 | rules: { |
| 116 | this.editInterface(); | 96 | interfaceCode: [ |
| 117 | }else{ | 97 | { required: true, message: '接口代码不能为空', trigger: 'blur' } |
| 118 | this.addInterface(); | 98 | ], |
| 119 | } | 99 | interfaceService: [ |
| 120 | } else { | 100 | { required: true, message: '接口服务名称不能为空', trigger: 'blur' } |
| 121 | // console.log('error submit!!'); | 101 | ], |
| 122 | return false; | 102 | interfaceApi: [ |
| 123 | } | 103 | { required: true, message: '接口api地址不能为空', trigger: 'blur' } |
| 124 | }); | 104 | ], |
| 105 | interfaceMethod: [ | ||
| 106 | { required: true, message: '接口方式不能为空', trigger: 'change' } | ||
| 107 | ], | ||
| 108 | interfaceType: [ | ||
| 109 | { required: true, message: '入库编号不能为空', trigger: 'change' } | ||
| 110 | ], | ||
| 111 | }, | ||
| 112 | } | ||
| 125 | }, | 113 | }, |
| 126 | //新增接口 | 114 | methods: { |
| 127 | addInterface(){ | 115 | //表单提交 |
| 128 | addSysInterface(this.ruleForm).then(res => { | 116 | submitForm () { |
| 129 | if(res.code == 200){ | 117 | let that = this; |
| 130 | this.$message.success("保存成功"); | 118 | that.$refs.ruleForm.validate(valid => { |
| 131 | this.closeDialog(); | 119 | if (valid) { |
| 132 | this.$parent.queryClick(); | 120 | if (this.editFlag) { |
| 133 | }else{ | 121 | this.editInterface(); |
| 134 | this.$message.error(res.message) | 122 | } else { |
| 123 | this.addInterface(); | ||
| 135 | } | 124 | } |
| 125 | } else { | ||
| 126 | // console.log('error submit!!'); | ||
| 127 | return false; | ||
| 128 | } | ||
| 129 | }); | ||
| 130 | }, | ||
| 131 | //新增接口 | ||
| 132 | addInterface () { | ||
| 133 | addSysInterface(this.ruleForm).then(res => { | ||
| 134 | if (res.code == 200) { | ||
| 135 | this.$message.success("保存成功"); | ||
| 136 | this.closeDialog(); | ||
| 137 | this.$parent.queryClick(); | ||
| 138 | } else { | ||
| 139 | this.$message.error(res.message) | ||
| 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 | //关闭弹窗 |
| 155 | closeDialog () { | 160 | closeDialog () { |
| 156 | this.$emit("input", false); | 161 | this.$emit("input", false); |
| 157 | this.ruleForm = { | 162 | this.ruleForm = { |
| 158 | interfaceCode: '', | 163 | interfaceCode: '', |
| 159 | interfaceService: '', | 164 | interfaceService: '', |
| 160 | interfaceDescription: '', | 165 | interfaceDescription: '', |
| 161 | interfaceApi: '', | 166 | interfaceApi: '', |
| 162 | interfaceMethod: '', | 167 | interfaceMethod: '', |
| 163 | interfaceType: '', | 168 | interfaceType: '', |
| 164 | interfaceKey: '', | 169 | interfaceKey: '', |
| 170 | } | ||
| 165 | } | 171 | } |
| 166 | } | 172 | } |
| 167 | } | 173 | } |
| 168 | } | ||
| 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,72 +42,72 @@ | ... | @@ -37,72 +42,72 @@ |
| 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], |
| 50 | mounted () { | 55 | mounted () { |
| 51 | sendThis(this); | 56 | sendThis(this); |
| 52 | this.queryClick() | 57 | this.queryClick() |
| 53 | }, | ||
| 54 | computed: { | ||
| 55 | ...mapGetters(['dictData']) | ||
| 56 | }, | ||
| 57 | data () { | ||
| 58 | return { | ||
| 59 | addDialog: false, | ||
| 60 | retrieveDialog: false, | ||
| 61 | editFlag: false, | ||
| 62 | queryForm: { | ||
| 63 | ywly: "", | ||
| 64 | qllx: "", | ||
| 65 | djlx: "", | ||
| 66 | ywh: "", | ||
| 67 | }, | ||
| 68 | tableData: { | ||
| 69 | total: 0, | ||
| 70 | columns: datas.columns(), | ||
| 71 | data: [], | ||
| 72 | }, | ||
| 73 | }; | ||
| 74 | }, | ||
| 75 | methods: { | ||
| 76 | queryClick () { | ||
| 77 | this.$startLoading() | ||
| 78 | getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => { | ||
| 79 | this.$endLoading() | ||
| 80 | if (res.code == 200) { | ||
| 81 | let { total, records } = res.result | ||
| 82 | this.tableData.total = total; | ||
| 83 | this.tableData.data = records ? records : [] | ||
| 84 | } | ||
| 85 | }) | ||
| 86 | }, | 58 | }, |
| 87 | //打开新增 | 59 | computed: { |
| 88 | openDialog () { | 60 | ...mapGetters(['dictData']) |
| 89 | this.editFlag = false; | ||
| 90 | this.addDialog = true; | ||
| 91 | }, | 61 | }, |
| 92 | //打开编辑 | 62 | data () { |
| 93 | editInterface (item) { | 63 | return { |
| 94 | this.editFlag = true; | 64 | addDialog: false, |
| 95 | this.addDialog = true; | 65 | retrieveDialog: false, |
| 96 | this.$refs.addDialog.getDetailInfo(item); | 66 | editFlag: false, |
| 67 | queryForm: { | ||
| 68 | ywly: "", | ||
| 69 | qllx: "", | ||
| 70 | djlx: "", | ||
| 71 | ywh: "", | ||
| 72 | }, | ||
| 73 | tableData: { | ||
| 74 | total: 0, | ||
| 75 | columns: datas.columns(), | ||
| 76 | data: [], | ||
| 77 | }, | ||
| 78 | }; | ||
| 97 | }, | 79 | }, |
| 98 | //打开调试窗口 | 80 | methods: { |
| 99 | tuneInterface (item) { | 81 | queryClick () { |
| 100 | this.retrieveDialog = true; | 82 | this.$startLoading() |
| 101 | this.$refs.retrieveDialog.getDetailInfo(item); | 83 | getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => { |
| 84 | this.$endLoading() | ||
| 85 | if (res.code == 200) { | ||
| 86 | let { total, records } = res.result | ||
| 87 | this.tableData.total = total; | ||
| 88 | this.tableData.data = records ? records : [] | ||
| 89 | } | ||
| 90 | }) | ||
| 91 | }, | ||
| 92 | //打开新增 | ||
| 93 | openDialog () { | ||
| 94 | this.editFlag = false; | ||
| 95 | this.addDialog = true; | ||
| 96 | }, | ||
| 97 | //打开编辑 | ||
| 98 | editInterface (item) { | ||
| 99 | this.editFlag = true; | ||
| 100 | this.addDialog = true; | ||
| 101 | this.$refs.addDialog.getDetailInfo(item); | ||
| 102 | }, | ||
| 103 | //打开调试窗口 | ||
| 104 | tuneInterface (item) { | ||
| 105 | this.retrieveDialog = true; | ||
| 106 | this.$refs.retrieveDialog.getDetailInfo(item); | ||
| 107 | } | ||
| 102 | } | 108 | } |
| 103 | } | 109 | }; |
| 104 | }; | ||
| 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> | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| 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,51 +28,51 @@ | ... | @@ -23,51 +28,51 @@ |
| 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; |
| 49 | overflow-y: scroll; | 54 | overflow-y: scroll; |
| 50 | .mlTable { | 55 | .mlTable { |
| 51 | width: 90%; | 56 | width: 90%; |
| 52 | margin: 0 auto; | 57 | margin: 0 auto; |
| 53 | color: #333; | 58 | color: #333; |
| 54 | border-spacing: 1px; | 59 | border-spacing: 1px; |
| 55 | background-color: #333; | 60 | background-color: #333; |
| 56 | 61 | ||
| 57 | .title { | 62 | .title { |
| 58 | font-size: 20px; | 63 | font-size: 20px; |
| 59 | line-height: 60px; | 64 | line-height: 60px; |
| 60 | font-family: serif; | 65 | font-family: serif; |
| 61 | position: relative; | 66 | position: relative; |
| 62 | } | 67 | } |
| 63 | 68 | ||
| 64 | td, | 69 | td, |
| 65 | th { | 70 | th { |
| 66 | background-color: white; | 71 | background-color: white; |
| 67 | line-height: 30px; | 72 | line-height: 30px; |
| 68 | padding: 0 4px; | 73 | padding: 0 4px; |
| 69 | text-align: center; | 74 | text-align: center; |
| 75 | } | ||
| 70 | } | 76 | } |
| 71 | } | 77 | } |
| 72 | } | ||
| 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,59 +54,59 @@ | ... | @@ -49,59 +54,59 @@ |
| 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, |
| 66 | }).then((res) => { | 71 | }).then((res) => { |
| 67 | if (res.code === 200) { | 72 | if (res.code === 200) { |
| 68 | this.qlxxList = res.result; | 73 | this.qlxxList = res.result; |
| 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%; | ||
| 79 | background: #fff; | ||
| 80 | |||
| 81 | .content { | ||
| 82 | width: 50%; | ||
| 83 | height: 100%; | 83 | height: 100%; |
| 84 | margin: 0 auto; | 84 | background: #fff; |
| 85 | text-align: right; | ||
| 86 | color: #333; | ||
| 87 | font-family: "Arial Negreta", "Arial Normal", "Arial", sans-serif; | ||
| 88 | font-weight: 700; | ||
| 89 | font-size: 18px; | ||
| 90 | line-height: 16px; | ||
| 91 | 85 | ||
| 92 | .title { | 86 | .content { |
| 93 | font-size: 32px; | 87 | width: 50%; |
| 94 | text-align: center; | 88 | height: 100%; |
| 95 | padding: 40px 0; | 89 | margin: 0 auto; |
| 96 | line-height: 34px; | 90 | text-align: right; |
| 97 | } | 91 | color: #333; |
| 92 | font-family: "Arial Negreta", "Arial Normal", "Arial", sans-serif; | ||
| 93 | font-weight: 700; | ||
| 94 | font-size: 18px; | ||
| 95 | line-height: 16px; | ||
| 98 | 96 | ||
| 99 | .underline { | 97 | .title { |
| 100 | font-size: 14px; | 98 | font-size: 32px; |
| 101 | font-weight: normal; | 99 | text-align: center; |
| 102 | text-decoration: underline; | 100 | padding: 40px 0; |
| 103 | display: inline-block; | 101 | line-height: 34px; |
| 102 | } | ||
| 103 | |||
| 104 | .underline { | ||
| 105 | font-size: 14px; | ||
| 106 | font-weight: normal; | ||
| 107 | text-decoration: underline; | ||
| 108 | display: inline-block; | ||
| 109 | } | ||
| 104 | } | 110 | } |
| 105 | } | 111 | } |
| 106 | } | ||
| 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,76 +38,76 @@ | ... | @@ -33,76 +38,76 @@ |
| 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 | //传递参数 |
| 42 | propsParam: this.$attrs, | 47 | propsParam: this.$attrs, |
| 43 | info: {}, | 48 | info: {}, |
| 44 | }; | 49 | }; |
| 45 | }, | ||
| 46 | mounted () { | ||
| 47 | this.loadData(); | ||
| 48 | }, | ||
| 49 | methods: { | ||
| 50 | loadData () { | ||
| 51 | getDjbfm({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
| 52 | if (res.code === 200) { | ||
| 53 | this.info = res.result; | ||
| 54 | } | ||
| 55 | }); | ||
| 56 | }, | 50 | }, |
| 57 | }, | 51 | mounted () { |
| 58 | }; | 52 | this.loadData(); |
| 53 | }, | ||
| 54 | methods: { | ||
| 55 | loadData () { | ||
| 56 | getDjbfm({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
| 57 | if (res.code === 200) { | ||
| 58 | this.info = res.result; | ||
| 59 | } | ||
| 60 | }); | ||
| 61 | }, | ||
| 62 | }, | ||
| 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; |
| 66 | border-right: 1px solid #ccc; | 71 | border-right: 1px solid #ccc; |
| 67 | line-height: 45px; | 72 | line-height: 45px; |
| 68 | text-align: center; | 73 | text-align: center; |
| 69 | font-size: 18px; | 74 | font-size: 18px; |
| 70 | font-family: serif; | 75 | font-family: serif; |
| 71 | position: relative; | 76 | position: relative; |
| 72 | 77 | ||
| 73 | font { | 78 | font { |
| 74 | border-bottom: 1px solid #000; | 79 | border-bottom: 1px solid #000; |
| 75 | display: inline-block; | 80 | display: inline-block; |
| 76 | padding: 0 15px; | 81 | padding: 0 15px; |
| 77 | line-height: 16px; | 82 | line-height: 16px; |
| 78 | } | 83 | } |
| 79 | 84 | ||
| 80 | .title { | 85 | .title { |
| 81 | height: 40%; | 86 | height: 40%; |
| 82 | display: flex; | 87 | display: flex; |
| 83 | font-size: 38px; | 88 | font-size: 38px; |
| 84 | color: #000; | 89 | color: #000; |
| 85 | justify-content: center; | 90 | justify-content: center; |
| 86 | align-items: center; | 91 | align-items: center; |
| 87 | } | 92 | } |
| 88 | 93 | ||
| 89 | .bottom { | 94 | .bottom { |
| 90 | position: absolute; | 95 | position: absolute; |
| 91 | bottom: 0px; | 96 | bottom: 0px; |
| 92 | text-align: center; | 97 | text-align: center; |
| 93 | width: 100%; | 98 | width: 100%; |
| 94 | left: 0; | 99 | left: 0; |
| 95 | height: 100px; | 100 | height: 100px; |
| 96 | line-height: 100px; | 101 | line-height: 100px; |
| 97 | 102 | ||
| 98 | p { | 103 | p { |
| 99 | font-size: 28px; | 104 | font-size: 28px; |
| 100 | } | 105 | } |
| 101 | 106 | ||
| 102 | font { | 107 | font { |
| 103 | font-size: 24px; | 108 | font-size: 24px; |
| 104 | line-height: 24px; | 109 | line-height: 24px; |
| 110 | } | ||
| 105 | } | 111 | } |
| 106 | } | 112 | } |
| 107 | } | ||
| 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 | <!-- 表单部分 --> |
| ... | @@ -6,36 +11,33 @@ | ... | @@ -6,36 +11,33 @@ |
| 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 | 14 | <el-input |
| 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"> |
| 18 | <el-form-item label="调用状态"> | 22 | <el-form-item label="调用状态"> |
| 19 | <el-input | 23 | <el-input |
| 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> |
| 28 | <el-row> | 31 | <el-row> |
| 29 | <el-col :span="5"> | 32 | <el-col :span="5"> |
| 30 | <el-form-item label="访问IP"> | 33 | <el-form-item label="访问IP"> |
| 31 | 34 | ||
| 32 | <el-input | 35 | <el-input |
| 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> | 40 | |
| 38 | |||
| 39 | </el-form-item> | 41 | </el-form-item> |
| 40 | </el-col> | 42 | </el-col> |
| 41 | <el-col :span="5"> | 43 | <el-col :span="5"> |
| ... | @@ -45,47 +47,44 @@ | ... | @@ -45,47 +47,44 @@ |
| 45 | </el-form-item> | 47 | </el-form-item> |
| 46 | </el-col> | 48 | </el-col> |
| 47 | </el-row> | 49 | </el-row> |
| 48 | <el-row> | 50 | <el-row> |
| 49 | <el-col :span="10"> | 51 | <el-col :span="10"> |
| 50 | <el-form-item label="请求地址"> | 52 | <el-form-item label="请求地址"> |
| 51 | 53 | ||
| 52 | <el-input | 54 | <el-input |
| 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> | 59 | |
| 58 | |||
| 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="请求头数据"> |
| 67 | 68 | ||
| 68 | <el-input | 69 | <el-input |
| 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> |
| 77 | </el-row> | 77 | </el-row> |
| 78 | <el-row> | 78 | <el-row> |
| 79 | <el-col :span="20"> | 79 | <el-col :span="20"> |
| 80 | <el-form-item label="入参数据"> | 80 | <el-form-item label="入参数据"> |
| 81 | 81 | ||
| 82 | <el-input | 82 | <el-input |
| 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> | 87 | |
| 88 | |||
| 89 | </el-form-item> | 88 | </el-form-item> |
| 90 | </el-col> | 89 | </el-col> |
| 91 | </el-row> | 90 | </el-row> |
| ... | @@ -93,29 +92,27 @@ | ... | @@ -93,29 +92,27 @@ |
| 93 | <el-row> | 92 | <el-row> |
| 94 | <el-col :span="5"> | 93 | <el-col :span="5"> |
| 95 | <el-form-item label="调用描述"> | 94 | <el-form-item label="调用描述"> |
| 96 | 95 | ||
| 97 | <el-input | 96 | <el-input |
| 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> | 101 | |
| 103 | |||
| 104 | </el-form-item> | 102 | </el-form-item> |
| 105 | </el-col> | 103 | </el-col> |
| 106 | </el-row> | 104 | </el-row> |
| 107 | 105 | ||
| 108 | <el-row> | 106 | <el-row> |
| 109 | <el-col :span="5"> | 107 | <el-col :span="5"> |
| 110 | <el-form-item label="返回数据"> | 108 | <el-form-item label="返回数据"> |
| 111 | 109 | ||
| 112 | <el-input | 110 | <el-input |
| 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> | 115 | |
| 118 | |||
| 119 | </el-form-item> | 116 | </el-form-item> |
| 120 | </el-col> | 117 | </el-col> |
| 121 | </el-row> | 118 | </el-row> |
| ... | @@ -124,39 +121,39 @@ | ... | @@ -124,39 +121,39 @@ |
| 124 | <el-col :span="4" class="btnColRight"> | 121 | <el-col :span="4" class="btnColRight"> |
| 125 | <el-form-item> | 122 | <el-form-item> |
| 126 | <el-button type="primary" @click="queryClick()">发送</el-button> | 123 | <el-button type="primary" @click="queryClick()">发送</el-button> |
| 127 | 124 | ||
| 128 | </el-form-item> | 125 | </el-form-item> |
| 129 | </el-col> | 126 | </el-col> |
| 130 | </el-row> | 127 | </el-row> |
| 131 | </el-form> | 128 | </el-form> |
| 132 | </div> | 129 | </div> |
| 133 | <!-- 表格 --> | 130 | <!-- 表格 --> |
| 134 | 131 | ||
| 135 | </div> | 132 | </div> |
| 136 | </template> | 133 | </template> |
| 137 | <script> | 134 | <script> |
| 138 | 135 | ||
| 139 | 136 | ||
| 140 | export default { | 137 | export default { |
| 141 | 138 | ||
| 142 | data () { | 139 | data () { |
| 143 | return { | 140 | return { |
| 144 | queryForm: { | 141 | queryForm: { |
| 145 | jklx: "", | 142 | jklx: "", |
| 146 | dyzt: "", | 143 | dyzt: "", |
| 147 | fwip: "", | 144 | fwip: "", |
| 148 | fwsj: "", | 145 | fwsj: "", |
| 149 | qqdz: "", | 146 | qqdz: "", |
| 150 | qqtsj: "", | 147 | qqtsj: "", |
| 151 | rcsj: "", | 148 | rcsj: "", |
| 152 | dyms: "", | 149 | dyms: "", |
| 153 | fhsj: "", | 150 | fhsj: "", |
| 154 | }, | 151 | }, |
| 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 | <!-- 表单部分 --> |
| ... | @@ -6,36 +11,33 @@ | ... | @@ -6,36 +11,33 @@ |
| 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 | 14 | <el-input |
| 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"> |
| 18 | <el-form-item label="调用状态"> | 22 | <el-form-item label="调用状态"> |
| 19 | <el-input | 23 | <el-input |
| 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> |
| 28 | <el-row> | 31 | <el-row> |
| 29 | <el-col :span="5"> | 32 | <el-col :span="5"> |
| 30 | <el-form-item label="访问IP"> | 33 | <el-form-item label="访问IP"> |
| 31 | 34 | ||
| 32 | <el-input | 35 | <el-input |
| 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> | 40 | |
| 38 | |||
| 39 | </el-form-item> | 41 | </el-form-item> |
| 40 | </el-col> | 42 | </el-col> |
| 41 | <el-col :span="5"> | 43 | <el-col :span="5"> |
| ... | @@ -45,47 +47,44 @@ | ... | @@ -45,47 +47,44 @@ |
| 45 | </el-form-item> | 47 | </el-form-item> |
| 46 | </el-col> | 48 | </el-col> |
| 47 | </el-row> | 49 | </el-row> |
| 48 | <el-row> | 50 | <el-row> |
| 49 | <el-col :span="10"> | 51 | <el-col :span="10"> |
| 50 | <el-form-item label="请求地址"> | 52 | <el-form-item label="请求地址"> |
| 51 | 53 | ||
| 52 | <el-input | 54 | <el-input |
| 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> | 59 | |
| 58 | |||
| 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="请求头数据"> |
| 67 | 68 | ||
| 68 | <el-input | 69 | <el-input |
| 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> |
| 77 | </el-row> | 77 | </el-row> |
| 78 | <el-row> | 78 | <el-row> |
| 79 | <el-col :span="20"> | 79 | <el-col :span="20"> |
| 80 | <el-form-item label="入参数据"> | 80 | <el-form-item label="入参数据"> |
| 81 | 81 | ||
| 82 | <el-input | 82 | <el-input |
| 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> | 87 | |
| 88 | |||
| 89 | </el-form-item> | 88 | </el-form-item> |
| 90 | </el-col> | 89 | </el-col> |
| 91 | </el-row> | 90 | </el-row> |
| ... | @@ -93,29 +92,27 @@ | ... | @@ -93,29 +92,27 @@ |
| 93 | <el-row> | 92 | <el-row> |
| 94 | <el-col :span="5"> | 93 | <el-col :span="5"> |
| 95 | <el-form-item label="调用描述"> | 94 | <el-form-item label="调用描述"> |
| 96 | 95 | ||
| 97 | <el-input | 96 | <el-input |
| 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> | 101 | |
| 103 | |||
| 104 | </el-form-item> | 102 | </el-form-item> |
| 105 | </el-col> | 103 | </el-col> |
| 106 | </el-row> | 104 | </el-row> |
| 107 | 105 | ||
| 108 | <el-row> | 106 | <el-row> |
| 109 | <el-col :span="5"> | 107 | <el-col :span="5"> |
| 110 | <el-form-item label="返回数据"> | 108 | <el-form-item label="返回数据"> |
| 111 | 109 | ||
| 112 | <el-input | 110 | <el-input |
| 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> | 115 | |
| 118 | |||
| 119 | </el-form-item> | 116 | </el-form-item> |
| 120 | </el-col> | 117 | </el-col> |
| 121 | </el-row> | 118 | </el-row> |
| ... | @@ -124,39 +121,39 @@ | ... | @@ -124,39 +121,39 @@ |
| 124 | <el-col :span="4" class="btnColRight"> | 121 | <el-col :span="4" class="btnColRight"> |
| 125 | <el-form-item> | 122 | <el-form-item> |
| 126 | <el-button type="primary" @click="queryClick()">发送</el-button> | 123 | <el-button type="primary" @click="queryClick()">发送</el-button> |
| 127 | 124 | ||
| 128 | </el-form-item> | 125 | </el-form-item> |
| 129 | </el-col> | 126 | </el-col> |
| 130 | </el-row> | 127 | </el-row> |
| 131 | </el-form> | 128 | </el-form> |
| 132 | </div> | 129 | </div> |
| 133 | <!-- 表格 --> | 130 | <!-- 表格 --> |
| 134 | 131 | ||
| 135 | </div> | 132 | </div> |
| 136 | </template> | 133 | </template> |
| 137 | <script> | 134 | <script> |
| 138 | 135 | ||
| 139 | 136 | ||
| 140 | export default { | 137 | export default { |
| 141 | 138 | ||
| 142 | data () { | 139 | data () { |
| 143 | return { | 140 | return { |
| 144 | queryForm: { | 141 | queryForm: { |
| 145 | jklx: "", | 142 | jklx: "", |
| 146 | dyzt: "", | 143 | dyzt: "", |
| 147 | fwip: "", | 144 | fwip: "", |
| 148 | fwsj: "", | 145 | fwsj: "", |
| 149 | qqdz: "", | 146 | qqdz: "", |
| 150 | qqtsj: "", | 147 | qqtsj: "", |
| 151 | rcsj: "", | 148 | rcsj: "", |
| 152 | dyms: "", | 149 | dyms: "", |
| 153 | fhsj: "", | 150 | fhsj: "", |
| 154 | }, | 151 | }, |
| 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 | <!-- 表单部分 --> |
| 4 | <div class="from-clues-header"> | 9 | <div class="from-clues-header"> |
| 5 | <el-form :model="ruleForm" label-width="80px"> | 10 | <el-form :model="ruleForm" label-width="80px"> |
| 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> |
| 18 | </el-form> | 23 | </el-form> |
| 19 | </div> | ||
| 20 | <!-- 表格 --> | ||
| 21 | </div> | 24 | </div> |
| 22 | </template> | 25 | <!-- 表格 --> |
| 26 | </div> | ||
| 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,50 +36,50 @@ | ... | @@ -31,50 +36,50 @@ |
| 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 () { |
| 42 | sendThis(this); | 47 | sendThis(this); |
| 43 | this.queryClick() | 48 | this.queryClick() |
| 44 | }, | ||
| 45 | computed: { | ||
| 46 | ...mapGetters(['dictData']) | ||
| 47 | }, | ||
| 48 | data () { | ||
| 49 | return { | ||
| 50 | queryForm: { | ||
| 51 | qllx: "" | ||
| 52 | }, | ||
| 53 | tableData: { | ||
| 54 | total: 0, | ||
| 55 | columns: datas.columns(), | ||
| 56 | data: [] | ||
| 57 | }, | ||
| 58 | bsmMb: '' | ||
| 59 | } | ||
| 60 | }, | ||
| 61 | methods: { | ||
| 62 | // 初始化数据 | ||
| 63 | queryClick () { | ||
| 64 | this.$startLoading(); | ||
| 65 | sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => { | ||
| 66 | this.$endLoading(); | ||
| 67 | let { records, total } = res.result | ||
| 68 | this.tableData.data = records ? records : [] | ||
| 69 | this.tableData.total = total ? total : 0 | ||
| 70 | }) | ||
| 71 | }, | 49 | }, |
| 72 | editClick (row) { | 50 | computed: { |
| 73 | this.$popupDialog("其他及附记模板", "system/qtjfjmb/components/editDialog", row, '60%') | 51 | ...mapGetters(['dictData']) |
| 52 | }, | ||
| 53 | data () { | ||
| 54 | return { | ||
| 55 | queryForm: { | ||
| 56 | qllx: "" | ||
| 57 | }, | ||
| 58 | tableData: { | ||
| 59 | total: 0, | ||
| 60 | columns: datas.columns(), | ||
| 61 | data: [] | ||
| 62 | }, | ||
| 63 | bsmMb: '' | ||
| 64 | } | ||
| 65 | }, | ||
| 66 | methods: { | ||
| 67 | // 初始化数据 | ||
| 68 | queryClick () { | ||
| 69 | this.$startLoading(); | ||
| 70 | sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => { | ||
| 71 | this.$endLoading(); | ||
| 72 | let { records, total } = res.result | ||
| 73 | this.tableData.data = records ? records : [] | ||
| 74 | this.tableData.total = total ? total : 0 | ||
| 75 | }) | ||
| 76 | }, | ||
| 77 | editClick (row) { | ||
| 78 | this.$popupDialog("其他及附记模板", "system/qtjfjmb/components/editDialog", row, '60%') | ||
| 79 | } | ||
| 74 | } | 80 | } |
| 75 | } | 81 | } |
| 76 | } | ||
| 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> | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| 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,108 +50,108 @@ | ... | @@ -48,108 +50,108 @@ |
| 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: {} |
| 57 | }, | ||
| 58 | subData: { | ||
| 59 | type: Object, default: () => { | ||
| 60 | return {} | ||
| 61 | } | ||
| 62 | } | ||
| 55 | }, | 63 | }, |
| 56 | subData: { | 64 | data () { |
| 57 | type: Object, default: () => { | 65 | return { |
| 58 | return {} | 66 | dataList: { |
| 67 | sxql: [], | ||
| 68 | sxzt: [] | ||
| 69 | } | ||
| 59 | } | 70 | } |
| 60 | } | 71 | }, |
| 61 | }, | 72 | watch: { |
| 62 | data () { | ||
| 63 | return { | ||
| 64 | dataList: { | 73 | dataList: { |
| 65 | sxql: [], | 74 | handler (newValue, oldValue) { |
| 66 | sxzt: [] | 75 | this.$emit('updateValue', newValue) |
| 67 | } | 76 | }, |
| 68 | } | 77 | deep: true |
| 69 | }, | 78 | }, |
| 70 | watch: { | 79 | subData: { |
| 71 | dataList: { | 80 | handler (newValue, oldValue) { |
| 72 | handler (newValue, oldValue) { | 81 | if (!_.isEqual(newValue.sxql, this.dataList.sxql)) { |
| 73 | this.$emit('updateValue', newValue) | 82 | this.dataList.sxql = _.cloneDeep(newValue.sxql) |
| 83 | } | ||
| 84 | if (!_.isEqual(newValue.sxzt, this.dataList.sxzt)) { | ||
| 85 | this.dataList.sxzt = _.cloneDeep(newValue.sxzt) | ||
| 86 | } | ||
| 87 | }, | ||
| 88 | deep: true | ||
| 74 | }, | 89 | }, |
| 75 | deep: true | ||
| 76 | }, | 90 | }, |
| 77 | subData: { | 91 | methods: { |
| 78 | handler (newValue, oldValue) { | 92 | handleSelect (item) { |
| 79 | if (!_.isEqual(newValue.sxql, this.dataList.sxql)) { | 93 | if (item.checked) { |
| 80 | this.dataList.sxql = _.cloneDeep(newValue.sxql) | 94 | item.selected = '0' |
| 81 | } | ||
| 82 | if (!_.isEqual(newValue.sxzt, this.dataList.sxzt)) { | ||
| 83 | this.dataList.sxzt = _.cloneDeep(newValue.sxzt) | ||
| 84 | } | 95 | } |
| 85 | }, | 96 | }, |
| 86 | deep: true | 97 | handleSelectall () { |
| 87 | }, | 98 | this.dataList.sxql.forEach(item => { |
| 88 | }, | 99 | item.checked = true |
| 89 | methods: { | 100 | }) |
| 90 | handleSelect (item) { | 101 | }, |
| 91 | if (item.checked) { | 102 | handleInvert () { |
| 92 | item.selected = '0' | 103 | this.dataList.sxql.forEach(item => { |
| 104 | item.checked = false | ||
| 105 | }) | ||
| 93 | } | 106 | } |
| 94 | }, | ||
| 95 | handleSelectall () { | ||
| 96 | this.dataList.sxql.forEach(item => { | ||
| 97 | item.checked = true | ||
| 98 | }) | ||
| 99 | }, | ||
| 100 | handleInvert () { | ||
| 101 | this.dataList.sxql.forEach(item => { | ||
| 102 | item.checked = false | ||
| 103 | }) | ||
| 104 | } | 107 | } |
| 105 | } | 108 | } |
| 106 | } | ||
| 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; |
| 122 | 124 | ||
| 123 | li { | 125 | li { |
| 124 | width: 33%; | 126 | width: 33%; |
| 125 | margin-bottom: 15px; | 127 | margin-bottom: 15px; |
| 128 | } | ||
| 126 | } | 129 | } |
| 127 | } | ||
| 128 | |||
| 129 | .screen-list { | ||
| 130 | @include flex; | ||
| 131 | align-items: center; | ||
| 132 | flex-wrap: wrap; | ||
| 133 | border: 1px solid $borderColor; | ||
| 134 | border-bottom: none; | ||
| 135 | 130 | ||
| 136 | li { | 131 | .screen-list { |
| 137 | @include flex; | 132 | @include flex; |
| 138 | align-items: center; | 133 | align-items: center; |
| 139 | width: 50%; | 134 | flex-wrap: wrap; |
| 140 | line-height: 50px; | 135 | border: 1px solid $borderColor; |
| 141 | border-bottom: 1px solid $borderColor; | 136 | border-bottom: none; |
| 142 | padding-left: 20px; | ||
| 143 | } | ||
| 144 | 137 | ||
| 145 | &-left { | 138 | li { |
| 146 | margin-right: 20px; | 139 | @include flex; |
| 147 | width: 160px; | 140 | align-items: center; |
| 148 | white-space: nowrap; | 141 | width: 50%; |
| 149 | } | 142 | line-height: 50px; |
| 143 | border-bottom: 1px solid $borderColor; | ||
| 144 | padding-left: 20px; | ||
| 145 | } | ||
| 150 | 146 | ||
| 151 | li:nth-child(odd) { | 147 | &-left { |
| 152 | border-right: 1px solid $borderColor; | 148 | margin-right: 20px; |
| 149 | width: 160px; | ||
| 150 | white-space: nowrap; | ||
| 151 | } | ||
| 152 | |||
| 153 | li:nth-child(odd) { | ||
| 154 | border-right: 1px solid $borderColor; | ||
| 155 | } | ||
| 153 | } | 156 | } |
| 154 | } | ||
| 155 | </style> | 157 | </style> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff is collapsed.
Click to expand it.
| 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,65 +41,65 @@ | ... | @@ -36,65 +41,65 @@ |
| 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, |
| 48 | componentDialog, | 53 | componentDialog, |
| 49 | }, | 54 | }, |
| 50 | mixins: [table], | 55 | mixins: [table], |
| 51 | mounted () { | 56 | mounted () { |
| 52 | sendThis(this); | 57 | sendThis(this); |
| 53 | this.queryClick(); | 58 | this.queryClick(); |
| 54 | }, | ||
| 55 | data () { | ||
| 56 | return { | ||
| 57 | qllxmc: "", | ||
| 58 | isDialog: false, | ||
| 59 | queryForm: { | ||
| 60 | qllx: "", | ||
| 61 | djywbm: "", | ||
| 62 | }, | ||
| 63 | qllxs: datas.qllxs(), | ||
| 64 | tableData: { | ||
| 65 | total: 0, | ||
| 66 | columns: datas.columns(), | ||
| 67 | data: [], | ||
| 68 | }, | ||
| 69 | detailList: [], | ||
| 70 | bsmSqyw: "", | ||
| 71 | sqqlRule: "", | ||
| 72 | }; | ||
| 73 | }, | ||
| 74 | methods: { | ||
| 75 | // 初始化数据 | ||
| 76 | queryClick () { | ||
| 77 | this.$startLoading(); | ||
| 78 | getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then( | ||
| 79 | (res) => { | ||
| 80 | this.$endLoading(); | ||
| 81 | if (res.code === 200) { | ||
| 82 | let { total, records } = res.result; | ||
| 83 | this.tableData.total = total ? total : 0; | ||
| 84 | this.tableData.data = records ? records : []; | ||
| 85 | } | ||
| 86 | } | ||
| 87 | ); | ||
| 88 | }, | 59 | }, |
| 89 | // 修改 | 60 | data () { |
| 90 | editClick (row) { | 61 | return { |
| 91 | this.sqqlRule = row; | 62 | qllxmc: "", |
| 92 | // this.dialogVisible = true; | 63 | isDialog: false, |
| 93 | this.$popupDialog(row.nodename, "system/sqywgz/sqywDetail", this.sqqlRule, '80%') | 64 | queryForm: { |
| 65 | qllx: "", | ||
| 66 | djywbm: "", | ||
| 67 | }, | ||
| 68 | qllxs: datas.qllxs(), | ||
| 69 | tableData: { | ||
| 70 | total: 0, | ||
| 71 | columns: datas.columns(), | ||
| 72 | data: [], | ||
| 73 | }, | ||
| 74 | detailList: [], | ||
| 75 | bsmSqyw: "", | ||
| 76 | sqqlRule: "", | ||
| 77 | }; | ||
| 78 | }, | ||
| 79 | methods: { | ||
| 80 | // 初始化数据 | ||
| 81 | queryClick () { | ||
| 82 | this.$startLoading(); | ||
| 83 | getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then( | ||
| 84 | (res) => { | ||
| 85 | this.$endLoading(); | ||
| 86 | if (res.code === 200) { | ||
| 87 | let { total, records } = res.result; | ||
| 88 | this.tableData.total = total ? total : 0; | ||
| 89 | this.tableData.data = records ? records : []; | ||
| 90 | } | ||
| 91 | } | ||
| 92 | ); | ||
| 93 | }, | ||
| 94 | // 修改 | ||
| 95 | editClick (row) { | ||
| 96 | this.sqqlRule = row; | ||
| 97 | // this.dialogVisible = true; | ||
| 98 | this.$popupDialog(row.nodename, "system/sqywgz/sqywDetail", this.sqqlRule, '80%') | ||
| 99 | } | ||
| 94 | } | 100 | } |
| 95 | } | 101 | } |
| 96 | } | ||
| 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"> |
| ... | @@ -36,10 +36,4 @@ | ... | @@ -36,10 +36,4 @@ |
| 36 | }) | 36 | }) |
| 37 | } | 37 | } |
| 38 | } | 38 | } |
| 39 | </script> | ||
| 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 |
| 39 | </script> | ||
| ... | \ 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" |
| ... | @@ -9,7 +10,7 @@ | ... | @@ -9,7 +10,7 @@ |
| 9 | <el-row> | 10 | <el-row> |
| 10 | <el-col :span="8"> | 11 | <el-col :span="8"> |
| 11 | <el-form-item label="申请业务名称" prop="sqywmc"> | 12 | <el-form-item label="申请业务名称" prop="sqywmc"> |
| 12 | <el-input v-model="ruleForm.sqywmc" placeholder="请输入申请业务名称"></el-input> | 13 | <el-input v-model="ruleForm.sqywmc" placeholder="请输入申请业务名称"></el-input> |
| 13 | </el-form-item> | 14 | </el-form-item> |
| 14 | </el-col> | 15 | </el-col> |
| 15 | <el-col :span="8"> | 16 | <el-col :span="8"> |
| ... | @@ -42,63 +43,63 @@ | ... | @@ -42,63 +43,63 @@ |
| 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 | data () { | ||
| 51 | return { | ||
| 52 | myValue: this.value, | ||
| 53 | ruleForm: { | ||
| 54 | sqywmc: '', | ||
| 55 | qlrmc: '', | ||
| 56 | ywrmc: '', | ||
| 57 | slsj: '' | ||
| 58 | } | ||
| 59 | } | ||
| 60 | }, | ||
| 61 | watch: { | ||
| 62 | value (val) { | ||
| 63 | this.myValue = val | ||
| 64 | }, | 50 | }, |
| 65 | advancedForm(){ | 51 | data () { |
| 66 | this.ruleForm={...this.advancedForm} | 52 | return { |
| 67 | } | 53 | myValue: this.value, |
| 68 | }, | 54 | ruleForm: { |
| 69 | 55 | sqywmc: '', | |
| 70 | 56 | qlrmc: '', | |
| 71 | methods: { | 57 | ywrmc: '', |
| 72 | closeDialog () { | 58 | slsj: '' |
| 73 | this.$emit('input', false) | 59 | } |
| 60 | } | ||
| 74 | }, | 61 | }, |
| 75 | resetForm () { | 62 | watch: { |
| 76 | this.$refs['ruleForm'].resetFields() | 63 | value (val) { |
| 77 | this.ruleForm={ | 64 | this.myValue = val |
| 78 | sqywmc: '', | 65 | }, |
| 79 | qlrmc: '', | 66 | advancedForm () { |
| 80 | ywrmc: '', | 67 | this.ruleForm = { ...this.advancedForm } |
| 81 | slsj: '' | ||
| 82 | } | 68 | } |
| 83 | }, | 69 | }, |
| 84 | submitForm () { | ||
| 85 | this.$emit('getSearch', _.cloneDeep(this.ruleForm)) | ||
| 86 | this.$emit('input', false) | ||
| 87 | this.$refs['ruleForm'].resetFields() | ||
| 88 | 70 | ||
| 71 | |||
| 72 | methods: { | ||
| 73 | closeDialog () { | ||
| 74 | this.$emit('input', false) | ||
| 75 | }, | ||
| 76 | resetForm () { | ||
| 77 | this.$refs['ruleForm'].resetFields() | ||
| 78 | this.ruleForm = { | ||
| 79 | sqywmc: '', | ||
| 80 | qlrmc: '', | ||
| 81 | ywrmc: '', | ||
| 82 | slsj: '' | ||
| 83 | } | ||
| 84 | }, | ||
| 85 | submitForm () { | ||
| 86 | this.$emit('getSearch', _.cloneDeep(this.ruleForm)) | ||
| 87 | this.$emit('input', false) | ||
| 88 | this.$refs['ruleForm'].resetFields() | ||
| 89 | |||
| 90 | } | ||
| 89 | } | 91 | } |
| 90 | } | 92 | } |
| 91 | } | ||
| 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 | <!-- 表单部分 --> |
| ... | @@ -12,7 +17,7 @@ | ... | @@ -12,7 +17,7 @@ |
| 12 | </el-select> | 17 | </el-select> |
| 13 | </el-form-item> | 18 | </el-form-item> |
| 14 | </el-col> | 19 | </el-col> |
| 15 | <el-col :span="4"> | 20 | <el-col :span="4"> |
| 16 | <el-form-item label="登记类型"> | 21 | <el-form-item label="登记类型"> |
| 17 | <el-select v-model="queryForm.djlx" filterable class="width100" clearable placeholder="请选择登记类型"> | 22 | <el-select v-model="queryForm.djlx" filterable class="width100" clearable placeholder="请选择登记类型"> |
| 18 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 23 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| ... | @@ -23,7 +28,7 @@ | ... | @@ -23,7 +28,7 @@ |
| 23 | <el-col :span="4"> | 28 | <el-col :span="4"> |
| 24 | <el-form-item label="权属状态"> | 29 | <el-form-item label="权属状态"> |
| 25 | <el-select v-model="queryForm.qszt" filterable class="width100" clearable placeholder="请选择登记类型"> | 30 | <el-select v-model="queryForm.qszt" filterable class="width100" clearable placeholder="请选择登记类型"> |
| 26 | <el-option | 31 | <el-option |
| 27 | v-for="item in qsztlist" | 32 | v-for="item in qsztlist" |
| 28 | :key="item.dcode" | 33 | :key="item.dcode" |
| 29 | :label="item.dname" | 34 | :label="item.dname" |
| ... | @@ -44,7 +49,7 @@ | ... | @@ -44,7 +49,7 @@ |
| 44 | </el-form-item> | 49 | </el-form-item> |
| 45 | </el-col> | 50 | </el-col> |
| 46 | </el-row> | 51 | </el-row> |
| 47 | <el-row> | 52 | <el-row> |
| 48 | <el-col :span="5"> | 53 | <el-col :span="5"> |
| 49 | <el-form-item label="业务号:"> | 54 | <el-form-item label="业务号:"> |
| 50 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100"> | 55 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100"> |
| ... | @@ -89,22 +94,22 @@ | ... | @@ -89,22 +94,22 @@ |
| 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 () { |
| 101 | sendThis(this); | 106 | sendThis(this); |
| 102 | this.queryClick() | 107 | this.queryClick() |
| 103 | }, | 108 | }, |
| 104 | data () { | 109 | data () { |
| 105 | return { | 110 | return { |
| 106 | // 权属状态 | 111 | // 权属状态 |
| 107 | qsztlist: [ | 112 | qsztlist: [ |
| 108 | { | 113 | { |
| 109 | dcode: "1", | 114 | dcode: "1", |
| 110 | dname: "现势", | 115 | dname: "现势", |
| ... | @@ -113,90 +118,90 @@ export default { | ... | @@ -113,90 +118,90 @@ export default { |
| 113 | dcode: "2", | 118 | dcode: "2", |
| 114 | dname: "历史", | 119 | dname: "历史", |
| 115 | }, | 120 | }, |
| 116 | ], | 121 | ], |
| 117 | queryForm: { | 122 | queryForm: { |
| 118 | qszt: "1", | 123 | qszt: "1", |
| 119 | qllx: "", | 124 | qllx: "", |
| 120 | bdcdyh: "", | 125 | bdcdyh: "", |
| 121 | bdcqzh: "", | 126 | bdcqzh: "", |
| 122 | ywh: "", | 127 | ywh: "", |
| 128 | }, | ||
| 129 | pageData: { | ||
| 130 | current: 1, | ||
| 131 | size: 10, | ||
| 132 | total: 0, | ||
| 133 | }, | ||
| 134 | tableData: { | ||
| 135 | columns: datas.columns(), | ||
| 136 | data: [], | ||
| 137 | }, | ||
| 138 | qllxs: [], | ||
| 139 | isDialog: false, | ||
| 140 | djbxxData: {}, | ||
| 141 | }; | ||
| 142 | }, | ||
| 143 | computed: { | ||
| 144 | ...mapGetters(["dictData"]), | ||
| 145 | }, | ||
| 146 | methods: { | ||
| 147 | // 初始化数据 | ||
| 148 | queryClick () { | ||
| 149 | this.$startLoading() | ||
| 150 | getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 151 | this.$endLoading() | ||
| 152 | if (res.code === 200) { | ||
| 153 | let { total, records } = res.result; | ||
| 154 | this.tableData.data = records; | ||
| 155 | this.tableData.total = total; | ||
| 156 | } | ||
| 157 | }); | ||
| 123 | }, | 158 | }, |
| 124 | pageData: { | 159 | handleSort (name, sort) { |
| 125 | current: 1, | 160 | console.log(name, sort); |
| 126 | size: 10, | ||
| 127 | total: 0, | ||
| 128 | }, | 161 | }, |
| 129 | tableData: { | 162 | // 高级查询 |
| 130 | columns: datas.columns(), | 163 | moreQueryClick () { }, |
| 131 | data: [], | 164 | openDialog (scroll) { |
| 165 | this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); | ||
| 132 | }, | 166 | }, |
| 133 | qllxs: [], | 167 | handleLpbClick (item) { |
| 134 | isDialog: false, | 168 | this.$popupDialog('楼盘表', 'lpb/index', { |
| 135 | djbxxData: {}, | 169 | bsm: '' |
| 136 | }; | 170 | }, '85%') |
| 137 | }, | 171 | }, |
| 138 | computed: { | 172 | // ywhClick (item) { |
| 139 | ...mapGetters(["dictData"]), | 173 | // const { href } = this.$router.resolve( |
| 140 | }, | 174 | // "/djbworkFrame?bdcdyid=" + |
| 141 | methods: { | 175 | // item.bdcdyid+ |
| 142 | // 初始化数据 | 176 | // "&bdcdyh=" + |
| 143 | queryClick () { | 177 | // item.bdcdyh+ |
| 144 | this.$startLoading() | 178 | // "&qllx="+ |
| 145 | getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { | 179 | // item.qllx+ |
| 146 | this.$endLoading() | 180 | // "&bsmQlxx="+ |
| 147 | if (res.code === 200) { | 181 | // item.bsmQlxx+ |
| 148 | let { total, records } = res.result; | 182 | // "&viewtype=1" |
| 149 | this.tableData.data = records; | 183 | // ); |
| 150 | this.tableData.total = total; | 184 | // localStorage.setItem('ywbl', JSON.stringify(item)); |
| 151 | } | 185 | // window.open(href, `urlname${item.bdcdyid}`); |
| 152 | }); | ||
| 153 | }, | ||
| 154 | handleSort (name, sort) { | ||
| 155 | console.log(name, sort); | ||
| 156 | }, | ||
| 157 | // 高级查询 | ||
| 158 | moreQueryClick () { }, | ||
| 159 | openDialog (scroll) { | ||
| 160 | this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); | ||
| 161 | }, | ||
| 162 | handleLpbClick (item) { | ||
| 163 | this.$popupDialog('楼盘表', 'lpb/index', { | ||
| 164 | bsm: '' | ||
| 165 | }, '85%') | ||
| 166 | }, | ||
| 167 | // ywhClick (item) { | ||
| 168 | // const { href } = this.$router.resolve( | ||
| 169 | // "/djbworkFrame?bdcdyid=" + | ||
| 170 | // item.bdcdyid+ | ||
| 171 | // "&bdcdyh=" + | ||
| 172 | // item.bdcdyh+ | ||
| 173 | // "&qllx="+ | ||
| 174 | // item.qllx+ | ||
| 175 | // "&bsmQlxx="+ | ||
| 176 | // item.bsmQlxx+ | ||
| 177 | // "&viewtype=1" | ||
| 178 | // ); | ||
| 179 | // localStorage.setItem('ywbl', JSON.stringify(item)); | ||
| 180 | // window.open(href, `urlname${item.bdcdyid}`); | ||
| 181 | 186 | ||
| 182 | // }, | 187 | // }, |
| 188 | } | ||
| 183 | } | 189 | } |
| 184 | } | ||
| 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; |
| 197 | border-radius: 50%; | 202 | border-radius: 50%; |
| 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