0882129c by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents f71a090c ec6ac939
Showing 47 changed files with 1102 additions and 23 deletions
...@@ -3,6 +3,10 @@ import { MessageBox } from 'element-ui'; ...@@ -3,6 +3,10 @@ import { MessageBox } from 'element-ui';
3 var CreatedOKLodopObject, CLodopIsLocal, CLodopJsState; 3 var CreatedOKLodopObject, CLodopIsLocal, CLodopJsState;
4 4
5 //==判断是否需要CLodop(那些不支持插件的浏览器):== 5 //==判断是否需要CLodop(那些不支持插件的浏览器):==
6 /**
7 * @description: 判断是否需要CLodop
8 * @author: renchao
9 */
6 function needCLodop () { 10 function needCLodop () {
7 try { 11 try {
8 var ua = navigator.userAgent; 12 var ua = navigator.userAgent;
...@@ -45,6 +49,10 @@ function needCLodop () { ...@@ -45,6 +49,10 @@ function needCLodop () {
45 } 49 }
46 50
47 //==加载引用CLodop的主JS,用双端口8000和18000(以防其中一个被占):== 51 //==加载引用CLodop的主JS,用双端口8000和18000(以防其中一个被占):==
52 /**
53 * @description: 加载引用CLodop的主JS,用双端口8000和18000
54 * @author: renchao
55 */
48 function loadCLodop () { 56 function loadCLodop () {
49 if (CLodopJsState == "loading" || CLodopJsState == "complete") return; 57 if (CLodopJsState == "loading" || CLodopJsState == "complete") return;
50 CLodopJsState = "loading"; 58 CLodopJsState = "loading";
...@@ -63,7 +71,12 @@ function loadCLodop () { ...@@ -63,7 +71,12 @@ function loadCLodop () {
63 if (needCLodop()) { loadCLodop(); }//加载 71 if (needCLodop()) { loadCLodop(); }//加载
64 72
65 //==获取LODOP对象主过程,判断是否安装、需否升级:== 73 //==获取LODOP对象主过程,判断是否安装、需否升级:==
66 74 /**
75 * @description: 获取LODOP对象主过程,判断是否安装、需否升级
76 * @param {*} oOBJECT
77 * @param {*} oEMBED
78 * @author: renchao
79 */
67 export function getLodop (oOBJECT, oEMBED) { 80 export function getLodop (oOBJECT, oEMBED) {
68 var strHtmInstall = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop32.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>"; 81 var strHtmInstall = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop32.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>";
69 var strHtmUpdate = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop32.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>"; 82 var strHtmUpdate = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop32.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>";
......
...@@ -4,6 +4,12 @@ ...@@ -4,6 +4,12 @@
4 * @LastEditTime: 2023-07-03 08:59:06 4 * @LastEditTime: 2023-07-03 08:59:06
5 */ 5 */
6 import store from '@/store' 6 import store from '@/store'
7
8 /**
9 * @description: getSjlx
10 * @param {*} level
11 * @author: renchao
12 */
7 export function getSjlx (level) { 13 export function getSjlx (level) {
8 const resultMap = { 14 const resultMap = {
9 1: '系统数据', 15 1: '系统数据',
...@@ -13,6 +19,12 @@ export function getSjlx (level) { ...@@ -13,6 +19,12 @@ export function getSjlx (level) {
13 return resultMap[level] || resultMap.default; 19 return resultMap[level] || resultMap.default;
14 } 20 }
15 21
22 /**
23 * @description: getDictLeabel
24 * @param {*} level
25 * @param {*} code
26 * @author: renchao
27 */
16 export function getDictLeabel (level, code) { 28 export function getDictLeabel (level, code) {
17 const resultMap = store.getters.dictData[code] 29 const resultMap = store.getters.dictData[code]
18 const desiredObject = resultMap.find(obj => obj.dcode === level); 30 const desiredObject = resultMap.find(obj => obj.dcode === level);
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
6 import store from '@/store' 6 import store from '@/store'
7 // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 7 // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
8 export default class filter { 8 export default class filter {
9 /**
10 * @description: selected
11 * @param {*} row
12 * @author: renchao
13 */
9 selected (row) { 14 selected (row) {
10 // if (row.sfbl == 0) { // 正在办理不能申请 15 // if (row.sfbl == 0) { // 正在办理不能申请
11 // return false 16 // return false
...@@ -15,17 +20,33 @@ export default class filter { ...@@ -15,17 +20,33 @@ export default class filter {
15 return true 20 return true
16 } 21 }
17 // 业务来源 22 // 业务来源
23 /**
24 * @description: 业务来源
25 * @param {*} val
26 * @author: renchao
27 */
18 busSource (val) { 28 busSource (val) {
19 let status = { 1: '办事大厅', 2: '微信小程序' } 29 let status = { 1: '办事大厅', 2: '微信小程序' }
20 return status[val] 30 return status[val]
21 } 31 }
22 32
23 //申请分类(1:正常申请,2:一并申请,3:补录申请) 33 //申请分类(1:正常申请,2:一并申请,3:补录申请)
34 /**
35 * @description: 申请分类
36 * @param {*} val
37 * @author: renchao
38 */
24 sqfls (val) { 39 sqfls (val) {
25 let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' } 40 let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' }
26 return status[val] 41 return status[val]
27 } 42 }
28 // 字典 43 // 字典
44 /**
45 * @description: 字典
46 * @param {*} val
47 * @param {*} code
48 * @author: renchao
49 */
29 dicStatus (val, code) { 50 dicStatus (val, code) {
30 let data = store.getters.dictData[code], 51 let data = store.getters.dictData[code],
31 name = '暂无' 52 name = '暂无'
...@@ -38,12 +59,27 @@ export default class filter { ...@@ -38,12 +59,27 @@ export default class filter {
38 return name 59 return name
39 } 60 }
40 } 61 }
62 /**
63 * @description: filterHtml
64 * @param {*} content
65 * @author: renchao
66 */
41 filterHtml (content) { 67 filterHtml (content) {
42 return content.replace(/<[^>]+>/g, ''); 68 return content.replace(/<[^>]+>/g, '');
43 } 69 }
70 /**
71 * @description: getDictData
72 * @param {*} val
73 * @author: renchao
74 */
44 getDictData (val) { 75 getDictData (val) {
45 return store.getters.dictData[val] 76 return store.getters.dictData[val]
46 } 77 }
78 /**
79 * @description: yWstatus
80 * @param {*} row
81 * @author: renchao
82 */
47 yWstatus (row) { 83 yWstatus (row) {
48 let text = ""; 84 let text = "";
49 let keys = 0; 85 let keys = 0;
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
6 import Vue from 'vue' 6 import Vue from 'vue'
7 const title = Vue.prototype.BASE_API.TITLE 7 const title = Vue.prototype.BASE_API.TITLE
8 8
9 /**
10 * @description: getPageTitle
11 * @param {*} pageTitle
12 * @author: renchao
13 */
9 export default function getPageTitle (pageTitle) { 14 export default function getPageTitle (pageTitle) {
10 if (pageTitle) { 15 if (pageTitle) {
11 return `${pageTitle} - ${title}` 16 return `${pageTitle} - ${title}`
......
...@@ -2,6 +2,13 @@ import Vue from 'vue' ...@@ -2,6 +2,13 @@ import Vue from 'vue'
2 import axios from 'axios' 2 import axios from 'axios'
3 import request from '@/utils/request'; 3 import request from '@/utils/request';
4 import { Message } from "element-ui"; 4 import { Message } from "element-ui";
5 /**
6 * @description: removeTreeListItem
7 * @param {*} treeList
8 * @param {*} dictId
9 * @param {*} idName
10 * @author: renchao
11 */
5 export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') { 12 export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') {
6 if (!treeList || !treeList.length) { 13 if (!treeList || !treeList.length) {
7 return 14 return
...@@ -15,6 +22,12 @@ export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') { ...@@ -15,6 +22,12 @@ export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') {
15 } 22 }
16 } 23 }
17 // 创造id 24 // 创造id
25 /**
26 * @description: 创造id
27 * @param {*} len
28 * @param {*} radix
29 * @author: renchao
30 */
18 export function getUuid (len, radix) { 31 export function getUuid (len, radix) {
19 var chars = "0123456789abcdefghijklmnopqrstuvwxyz".split( 32 var chars = "0123456789abcdefghijklmnopqrstuvwxyz".split(
20 "" 33 ""
...@@ -37,6 +50,11 @@ export function getUuid (len, radix) { ...@@ -37,6 +50,11 @@ export function getUuid (len, radix) {
37 } 50 }
38 return uuid.join(""); 51 return uuid.join("");
39 } 52 }
53 /**
54 * @description: judgeSort
55 * @param {*} arr
56 * @author: renchao
57 */
40 export function judgeSort (arr) { 58 export function judgeSort (arr) {
41 if (arr.length) { 59 if (arr.length) {
42 for (let i in arr) { 60 for (let i in arr) {
...@@ -50,6 +68,13 @@ export function judgeSort (arr) { ...@@ -50,6 +68,13 @@ export function judgeSort (arr) {
50 return arr 68 return arr
51 } 69 }
52 // 上下移动 70 // 上下移动
71 /**
72 * @description: 上下移动
73 * @param {*} bsmDict
74 * @param {*} operate
75 * @param {*} data
76 * @author: renchao
77 */
53 export function realMove (bsmDict, operate, data) { 78 export function realMove (bsmDict, operate, data) {
54 function changeSort (arr, bsmDict) { 79 function changeSort (arr, bsmDict) {
55 if (arr.length) { 80 if (arr.length) {
...@@ -75,6 +100,12 @@ export function realMove (bsmDict, operate, data) { ...@@ -75,6 +100,12 @@ export function realMove (bsmDict, operate, data) {
75 data = judgeSort(changeSort(data, bsmDict)); 100 data = judgeSort(changeSort(data, bsmDict));
76 } 101 }
77 // 获取所有父节点 102 // 获取所有父节点
103 /**
104 * @description: 获取所有父节点
105 * @param {*} treeData
106 * @param {*} bsmDict
107 * @author: renchao
108 */
78 export function findParents (treeData, bsmDict) { 109 export function findParents (treeData, bsmDict) {
79 if (treeData.length == 0) return 110 if (treeData.length == 0) return
80 for (let i = 0; i < treeData.length; i++) { 111 for (let i = 0; i < treeData.length; i++) {
...@@ -91,6 +122,12 @@ export function findParents (treeData, bsmDict) { ...@@ -91,6 +122,12 @@ export function findParents (treeData, bsmDict) {
91 } 122 }
92 } 123 }
93 // 上移下移 124 // 上移下移
125 /**
126 * @description: 上移下移
127 * @param {*} index
128 * @param {*} data
129 * @author: renchao
130 */
94 export function upward (index, data) { 131 export function upward (index, data) {
95 if (index > 0) { 132 if (index > 0) {
96 let upData = data[index - 1]; 133 let upData = data[index - 1];
...@@ -102,6 +139,12 @@ export function upward (index, data) { ...@@ -102,6 +139,12 @@ export function upward (index, data) {
102 }); 139 });
103 } 140 }
104 } 141 }
142 /**
143 * @description: down
144 * @param {*} index
145 * @param {*} data
146 * @author: renchao
147 */
105 export function down (index, data) { 148 export function down (index, data) {
106 if ((index + 1) == data.length) { 149 if ((index + 1) == data.length) {
107 Message({ 150 Message({
......
...@@ -5,6 +5,19 @@ ...@@ -5,6 +5,19 @@
5 */ 5 */
6 import ywPopup from '@/components/ywPopup/index' 6 import ywPopup from '@/components/ywPopup/index'
7 import Popup1 from '@/components/Popup1/index' 7 import Popup1 from '@/components/Popup1/index'
8 /**
9 * @description: popupDialog
10 * @param {*} title
11 * @param {*} url
12 * @param {*} params
13 * @param {*} width
14 * @param {*} isMain
15 * @param {*} height
16 * @param {*} btnShow
17 * @param {*} callback
18 * @param {*} cancel
19 * @author: renchao
20 */
8 export function popupDialog (title, url, params, width = '75%', isMain, height, btnShow = false, callback, cancel) { 21 export function popupDialog (title, url, params, width = '75%', isMain, height, btnShow = false, callback, cancel) {
9 // Popup.install 22 // Popup.install
10 Popup1(title, url, { 23 Popup1(title, url, {
...@@ -23,6 +36,19 @@ export function popupDialog (title, url, params, width = '75%', isMain, height, ...@@ -23,6 +36,19 @@ export function popupDialog (title, url, params, width = '75%', isMain, height,
23 }) 36 })
24 } 37 }
25 38
39 /**
40 * @description: ywPopupDialog
41 * @param {*} title
42 * @param {*} url
43 * @param {*} params
44 * @param {*} width
45 * @param {*} isMain
46 * @param {*} height
47 * @param {*} btnShow
48 * @param {*} callback
49 * @param {*} cancel
50 * @author: renchao
51 */
26 export function ywPopupDialog (title, url, params, width = '75%', isMain, height, btnShow = true, callback, cancel) { 52 export function ywPopupDialog (title, url, params, width = '75%', isMain, height, btnShow = true, callback, cancel) {
27 // Popup.install 53 // Popup.install
28 ywPopup(title, url, { 54 ywPopup(title, url, {
...@@ -41,9 +67,18 @@ export function ywPopupDialog (title, url, params, width = '75%', isMain, height ...@@ -41,9 +67,18 @@ export function ywPopupDialog (title, url, params, width = '75%', isMain, height
41 }) 67 })
42 } 68 }
43 69
70 /**
71 * @description: popupCacel
72 * @author: renchao
73 */
44 export function popupCacel () { 74 export function popupCacel () {
45 Popup1().close() 75 Popup1().close()
46 } 76 }
77
78 /**
79 * @description: ywPopupCacel
80 * @author: renchao
81 */
47 export function ywPopupCacel () { 82 export function ywPopupCacel () {
48 ywPopupDialog().close() 83 ywPopupDialog().close()
49 } 84 }
......
...@@ -9,6 +9,11 @@ import Loading from '@/components/Loading/index.js'; ...@@ -9,6 +9,11 @@ import Loading from '@/components/Loading/index.js';
9 let loading 9 let loading
10 10
11 // loading开始 方法 11 // loading开始 方法
12 /**
13 * @description: loading开始 方法
14 * @param {*} loadingText
15 * @author: renchao
16 */
12 function startLoading (loadingText = '正在加载中...') { 17 function startLoading (loadingText = '正在加载中...') {
13 loading = Loading.service({ 18 loading = Loading.service({
14 text: loadingText, 19 text: loadingText,
...@@ -18,6 +23,10 @@ function startLoading (loadingText = '正在加载中...') { ...@@ -18,6 +23,10 @@ function startLoading (loadingText = '正在加载中...') {
18 }) 23 })
19 } 24 }
20 // loading结束 方法 25 // loading结束 方法
26 /**
27 * @description: loading结束 方法
28 * @author: renchao
29 */
21 function endLoading () { 30 function endLoading () {
22 loading.close() 31 loading.close()
23 } 32 }
...@@ -34,7 +43,10 @@ export function startLoadingAddCount (LoadingText, target) { ...@@ -34,7 +43,10 @@ export function startLoadingAddCount (LoadingText, target) {
34 } 43 }
35 loadingCount++ 44 loadingCount++
36 } 45 }
37 46 /**
47 * @description: endLoadingSubCount
48 * @author: renchao
49 */
38 export function endLoadingSubCount () { 50 export function endLoadingSubCount () {
39 loadingCount-- 51 loadingCount--
40 if (loadingCount === 0) { 52 if (loadingCount === 0) {
......
1 import cookies from './util.cookies' 1 import cookies from './util.cookies'
2 /**
3 * @description: getUrlParam
4 * @param {*} paraName
5 * @author: renchao
6 */
2 export function getUrlParam (paraName) { 7 export function getUrlParam (paraName) {
3 let url = document.location.toString(); 8 let url = document.location.toString();
4 let arrObj = url.split('?'); 9 let arrObj = url.split('?');
...@@ -21,7 +26,11 @@ export function getUrlParam (paraName) { ...@@ -21,7 +26,11 @@ export function getUrlParam (paraName) {
21 return ''; 26 return '';
22 } 27 }
23 } 28 }
24 29 /**
30 * @description: setToken
31 * @param {*} token
32 * @author: renchao
33 */
25 export function setToken (token) { 34 export function setToken (token) {
26 if (token === undefined) { 35 if (token === undefined) {
27 if (process.env.NODE_ENV === 'development') { 36 if (process.env.NODE_ENV === 'development') {
...@@ -37,7 +46,10 @@ export function setToken (token) { ...@@ -37,7 +46,10 @@ export function setToken (token) {
37 } 46 }
38 } 47 }
39 } 48 }
40 49 /**
50 * @description: getToken
51 * @author: renchao
52 */
41 export function getToken () { 53 export function getToken () {
42 if (process.env.NODE_ENV === 'development') { 54 if (process.env.NODE_ENV === 'development') {
43 return sessionStorage.getItem('token') 55 return sessionStorage.getItem('token')
...@@ -46,7 +58,11 @@ export function getToken () { ...@@ -46,7 +58,11 @@ export function getToken () {
46 } 58 }
47 59
48 // 获取当前时间 60 // 获取当前时间
49 61 /**
62 * @description: 获取当前时间
63 * @param {*} type
64 * @author: renchao
65 */
50 export function getNewDate (type = 1) { 66 export function getNewDate (type = 1) {
51 const now = new Date(); 67 const now = new Date();
52 const year = now.getFullYear(); 68 const year = now.getFullYear();
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-07-20 13:40:27
5 -->
6 <template> 1 <template>
7 <dialogBox title="配置常办项目" @submitForm="submitForm" saveButton="保存" :isFullscreen="false" width="50%" 2 <dialogBox title="配置常办项目" @submitForm="submitForm" saveButton="保存" :isFullscreen="false" width="50%"
8 @closeDialog="closeDialog" v-model="myValue"> 3 @closeDialog="closeDialog" v-model="myValue">
...@@ -11,10 +6,10 @@ ...@@ -11,10 +6,10 @@
11 </dialogBox> 6 </dialogBox>
12 </template> 7 </template>
13 <script> 8 <script>
14 import { getMenuInfo } from "@/api/user.js"; 9 import { getMenuInfo } from "@/api/user.js";
15 import Tree from "@/components/Tree/src/tree.vue" 10 import Tree from "@/components/Tree/src/tree.vue"
16 import { saveFrequentProjectsList, getHomeFrequentProjects } from "@/api/home.js"; 11 import { saveFrequentProjectsList, getHomeFrequentProjects } from "@/api/home.js";
17 export default { 12 export default {
18 components: { 13 components: {
19 Tree 14 Tree
20 }, 15 },
...@@ -103,11 +98,11 @@ ...@@ -103,11 +98,11 @@
103 } 98 }
104 } 99 }
105 } 100 }
106 } 101 }
107 </script> 102 </script>
108 <style scoped lang='scss'> 103 <style scoped lang='scss'>
109 /deep/.el-tree-node.is-expanded > .el-tree-node__children { 104 /deep/.el-tree-node.is-expanded>.el-tree-node__children {
110 display: flex; 105 display: flex;
111 flex-wrap: wrap; 106 flex-wrap: wrap;
112 } 107 }
113 </style> 108 </style>
......
...@@ -177,6 +177,10 @@ ...@@ -177,6 +177,10 @@
177 }) 177 })
178 }) 178 })
179 }, 179 },
180 /**
181 * @description: prev
182 * @author: renchao
183 */
180 prev () { 184 prev () {
181 let len = this.previewImg.imgList.length 185 let len = this.previewImg.imgList.length
182 if (this.isFirst || len == 0) { 186 if (this.isFirst || len == 0) {
...@@ -185,6 +189,10 @@ ...@@ -185,6 +189,10 @@
185 this.$parent.previewImg.index = (this.$parent.previewImg.index - 1 + len) % len 189 this.$parent.previewImg.index = (this.$parent.previewImg.index - 1 + len) % len
186 } 190 }
187 }, 191 },
192 /**
193 * @description: next
194 * @author: renchao
195 */
188 next () { 196 next () {
189 let len = this.previewImg.imgList.length 197 let len = this.previewImg.imgList.length
190 if (this.isLast || len == 0) { 198 if (this.isLast || len == 0) {
...@@ -193,16 +201,34 @@ ...@@ -193,16 +201,34 @@
193 this.$parent.previewImg.index = (this.$parent.previewImg.index + 1) % len 201 this.$parent.previewImg.index = (this.$parent.previewImg.index + 1) % len
194 } 202 }
195 }, 203 },
204 /**
205 * @description: showCurrent
206 * @param {*} index
207 * @author: renchao
208 */
196 showCurrent (index) { 209 showCurrent (index) {
197 this.previewImg.index = index 210 this.previewImg.index = index
198 }, 211 },
212 /**
213 * @description: closeViewer
214 * @author: renchao
215 */
199 closeViewer () { 216 closeViewer () {
200 this.showViewer = false 217 this.showViewer = false
201 }, 218 },
219 /**
220 * @description: clickImage
221 * @author: renchao
222 */
202 clickImage () { 223 clickImage () {
203 this.showViewer = true 224 this.showViewer = true
204 }, 225 },
205 // 上传 226 // 上传
227 /**
228 * @description: 上传
229 * @param {*} file
230 * @author: renchao
231 */
206 beforeUpload (file) { 232 beforeUpload (file) {
207 const isJPEG = file.type === 'image/jpeg' 233 const isJPEG = file.type === 'image/jpeg'
208 const isPNG = file.type === 'image/png' 234 const isPNG = file.type === 'image/png'
...@@ -220,6 +246,12 @@ ...@@ -220,6 +246,12 @@
220 this.imgHidden = (isJPG || isJPEG || isPNG || isGIF) && isLt5M 246 this.imgHidden = (isJPG || isJPEG || isPNG || isGIF) && isLt5M
221 return this.imgHidden 247 return this.imgHidden
222 }, 248 },
249 /**
250 * @description: handleChange
251 * @param {*} file
252 * @param {*} files
253 * @author: renchao
254 */
223 async handleChange (file, files) { 255 async handleChange (file, files) {
224 // 清空 fileList 数组 256 // 清空 fileList 数组
225 let length = files.length; 257 let length = files.length;
...@@ -244,6 +276,10 @@ ...@@ -244,6 +276,10 @@
244 }) 276 })
245 }, 0) 277 }, 0)
246 }, 278 },
279 /**
280 * @description: handleDelete
281 * @author: renchao
282 */
247 handleDelete () { 283 handleDelete () {
248 let that = this 284 let that = this
249 this.$confirm('此操作将永久删除, 是否继续?', '提示', { 285 this.$confirm('此操作将永久删除, 是否继续?', '提示', {
......
...@@ -178,10 +178,18 @@ ...@@ -178,10 +178,18 @@
178 } 178 }
179 }, 179 },
180 methods: { 180 methods: {
181 /**
182 * @description: closeDialog
183 * @author: renchao
184 */
181 closeDialog () { 185 closeDialog () {
182 this.$emit("input", false); 186 this.$emit("input", false);
183 this.$refs['ruleForm'].resetFields(); 187 this.$refs['ruleForm'].resetFields();
184 }, 188 },
189 /**
190 * @description: submitForm
191 * @author: renchao
192 */
185 submitForm () { 193 submitForm () {
186 this.$emit("input", false); 194 this.$emit("input", false);
187 this.$emit("updateDetail", _.cloneDeep(this.ruleForm)); 195 this.$emit("updateDetail", _.cloneDeep(this.ruleForm));
......
...@@ -53,6 +53,10 @@ ...@@ -53,6 +53,10 @@
53 }, 53 },
54 methods: { 54 methods: {
55 // 批量删除确定按钮 55 // 批量删除确定按钮
56 /**
57 * @description: 批量删除确定按钮
58 * @author: renchao
59 */
56 submitdelclick () { 60 submitdelclick () {
57 var formdata = new FormData(); 61 var formdata = new FormData();
58 formdata.append("bsmSldyList", this.selectBdcdy); 62 formdata.append("bsmSldyList", this.selectBdcdy);
...@@ -68,6 +72,11 @@ ...@@ -68,6 +72,11 @@
68 }) 72 })
69 }, 73 },
70 // 批量删除勾选事件 74 // 批量删除勾选事件
75 /**
76 * @description: 批量删除勾选事件
77 * @param {*} e
78 * @author: renchao
79 */
71 handleSelectionChange (e) { 80 handleSelectionChange (e) {
72 this.selectBdcdy = []; 81 this.selectBdcdy = [];
73 e.forEach((item, index) => { 82 e.forEach((item, index) => {
......
...@@ -274,10 +274,18 @@ export default { ...@@ -274,10 +274,18 @@ export default {
274 }, 274 },
275 methods: { 275 methods: {
276 276
277 /**
278 * @description: closeDialog
279 * @author: renchao
280 */
277 closeDialog() { 281 closeDialog() {
278 this.$emit("input", false); 282 this.$emit("input", false);
279 this.$refs["ruleForm"].resetFields(); 283 this.$refs["ruleForm"].resetFields();
280 }, 284 },
285 /**
286 * @description: submitForm
287 * @author: renchao
288 */
281 submitForm() { 289 submitForm() {
282 this.$refs.ruleForm.validate((valid) => { 290 this.$refs.ruleForm.validate((valid) => {
283 if (valid) { 291 if (valid) {
......
...@@ -197,10 +197,18 @@ ...@@ -197,10 +197,18 @@
197 }, 197 },
198 }, 198 },
199 methods: { 199 methods: {
200 /**
201 * @description: closeDialog
202 * @author: renchao
203 */
200 closeDialog () { 204 closeDialog () {
201 this.$emit("input", false); 205 this.$emit("input", false);
202 this.$refs["ruleForm"].resetFields(); 206 this.$refs["ruleForm"].resetFields();
203 }, 207 },
208 /**
209 * @description: submitForm
210 * @author: renchao
211 */
204 submitForm () { 212 submitForm () {
205 this.$refs.ruleForm.validate((valid) => { 213 this.$refs.ruleForm.validate((valid) => {
206 if (valid) { 214 if (valid) {
......
...@@ -152,6 +152,10 @@ ...@@ -152,6 +152,10 @@
152 }, 152 },
153 methods: { 153 methods: {
154 // 材料目录明细初始化 154 // 材料目录明细初始化
155 /**
156 * @description: 材料目录明细初始化
157 * @author: renchao
158 */
155 clmlInitList () { 159 clmlInitList () {
156 return new Promise(resolve => { 160 return new Promise(resolve => {
157 this.unitData = this.$parent.unitData; 161 this.unitData = this.$parent.unitData;
...@@ -173,6 +177,12 @@ ...@@ -173,6 +177,12 @@
173 }) 177 })
174 }, 178 },
175 // 上移 179 // 上移
180 /**
181 * @description: 上移
182 * @param {*} index
183 * @param {*} row
184 * @author: renchao
185 */
176 moveUpward (index, row) { 186 moveUpward (index, row) {
177 let obj = { 187 let obj = {
178 xh: row.xh, 188 xh: row.xh,
...@@ -180,6 +190,11 @@ ...@@ -180,6 +190,11 @@
180 moveDirection: "UP", 190 moveDirection: "UP",
181 }; 191 };
182 // 接口待调 192 // 接口待调
193 /**
194 * @description: 接口待调
195 * @param {*} obj
196 * @author: renchao
197 */
183 moveClml(obj).then(async (res) => { 198 moveClml(obj).then(async (res) => {
184 if (res.code == 200) { 199 if (res.code == 200) {
185 let res = await this.clmlInitList() 200 let res = await this.clmlInitList()
...@@ -196,6 +211,12 @@ ...@@ -196,6 +211,12 @@
196 }) 211 })
197 }, 212 },
198 // 下移 213 // 下移
214 /**
215 * @description: 下移
216 * @param {*} index
217 * @param {*} row
218 * @author: renchao
219 */
199 moveDown (index, row) { 220 moveDown (index, row) {
200 let obj = { 221 let obj = {
201 xh: row.xh, 222 xh: row.xh,
...@@ -203,6 +224,11 @@ ...@@ -203,6 +224,11 @@
203 moveDirection: "DOWN", 224 moveDirection: "DOWN",
204 } 225 }
205 // 接口待调 226 // 接口待调
227 /**
228 * @description: 接口待调
229 * @param {*} obj
230 * @author: renchao
231 */
206 moveClml(obj).then(async (res) => { 232 moveClml(obj).then(async (res) => {
207 if (res.code == 200) { 233 if (res.code == 200) {
208 let res = await this.clmlInitList() 234 let res = await this.clmlInitList()
...@@ -218,6 +244,12 @@ ...@@ -218,6 +244,12 @@
218 }) 244 })
219 }, 245 },
220 // 材料目录删除 246 // 材料目录删除
247 /**
248 * @description: 材料目录删除
249 * @param {*} index
250 * @param {*} row
251 * @author: renchao
252 */
221 handleDelete (index, row) { 253 handleDelete (index, row) {
222 let that = this 254 let that = this
223 this.$confirm('此操作将永久删除该 是否继续?', '提示', { 255 this.$confirm('此操作将永久删除该 是否继续?', '提示', {
...@@ -245,6 +277,12 @@ ...@@ -245,6 +277,12 @@
245 }) 277 })
246 }, 278 },
247 // 字典 279 // 字典
280 /**
281 * @description: 字典
282 * @param {*} val
283 * @param {*} code
284 * @author: renchao
285 */
248 dicStatus (val, code) { 286 dicStatus (val, code) {
249 let data = store.getters.dictData[code], 287 let data = store.getters.dictData[code],
250 name = "暂无"; 288 name = "暂无";
......
...@@ -67,6 +67,13 @@ export function loadTreeData(qlxxData) { ...@@ -67,6 +67,13 @@ export function loadTreeData(qlxxData) {
67 } 67 }
68 68
69 //获取权利类型、不动产单元类型对应的树形节点信息 69 //获取权利类型、不动产单元类型对应的树形节点信息
70 /**
71 * @description: 获取权利类型、不动产单元类型对应的树形节点信息
72 * @param {*} qllx
73 * @param {*} qlxx
74 * @param {*} bdcdylx
75 * @author: renchao
76 */
70 export function getNode(qllx, qlxx, bdcdylx) { 77 export function getNode(qllx, qlxx, bdcdylx) {
71 let node; 78 let node;
72 for (var i = 0; i < qlxxPage.length; i++) { 79 for (var i = 0; i < qlxxPage.length; i++) {
......
...@@ -112,6 +112,10 @@ ...@@ -112,6 +112,10 @@
112 }, 112 },
113 methods: { 113 methods: {
114 //读取申请单元信息 114 //读取申请单元信息
115 /**
116 * @description: 读取申请单元信息
117 * @author: renchao
118 */
115 loadBdcdylist () { 119 loadBdcdylist () {
116 var formdata = new FormData(); 120 var formdata = new FormData();
117 if (this.bsmSlsq) { 121 if (this.bsmSlsq) {
...@@ -128,6 +132,11 @@ ...@@ -128,6 +132,11 @@
128 132
129 }, 133 },
130 // 获取右侧菜单 134 // 获取右侧菜单
135 /**
136 * @description: 获取右侧菜单
137 * @param {*} row
138 * @author: renchao
139 */
131 getleftMenubl (row) { 140 getleftMenubl (row) {
132 141
133 leftMenubl(this.bsmSlsq).then((res) => { 142 leftMenubl(this.bsmSlsq).then((res) => {
...@@ -152,20 +161,41 @@ ...@@ -152,20 +161,41 @@
152 } 161 }
153 }); 162 });
154 }, 163 },
164 /**
165 * @description: handleNodeClick
166 * @param {*} data
167 * @param {*} node
168 * @param {*} elem
169 * @author: renchao
170 */
155 handleNodeClick (data, node, elem) { 171 handleNodeClick (data, node, elem) {
156 this.$parent.loadComponent(this.currentSelectProps, data); 172 this.$parent.loadComponent(this.currentSelectProps, data);
157 this.$parent.tabset(); 173 this.$parent.tabset();
158 }, 174 },
159 //申请单元点击事件 175 //申请单元点击事件
176 /**
177 * @description: 申请单元点击事件
178 * @param {*} index
179 * @author: renchao
180 */
160 unitClick (index) { 181 unitClick (index) {
161 this.currentSelectProps = this.supplementarylist[index]; 182 this.currentSelectProps = this.supplementarylist[index];
162 this.$emit("getCurrentSelectProps", this.currentSelectProps); 183 this.$emit("getCurrentSelectProps", this.currentSelectProps);
163 }, 184 },
164 //登记簿点击事件 185 //登记簿点击事件
186 /**
187 * @description: 登记簿点击事件
188 * @author: renchao
189 */
165 djbClick () { 190 djbClick () {
166 this.loadBdcdylist(); 191 this.loadBdcdylist();
167 }, 192 },
168 // 删除补录记录 193 // 删除补录记录
194 /**
195 * @description: 删除补录记录
196 * @param {*} row
197 * @author: renchao
198 */
169 handleDel (row) { 199 handleDel (row) {
170 this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", { 200 this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", {
171 confirmButtonText: "确定", 201 confirmButtonText: "确定",
...@@ -195,6 +225,10 @@ ...@@ -195,6 +225,10 @@
195 }); 225 });
196 }, 226 },
197 //补录信息点击事件默认展示第一条补录记录 227 //补录信息点击事件默认展示第一条补录记录
228 /**
229 * @description: 补录信息点击事件默认展示第一条补录记录
230 * @author: renchao
231 */
198 blxxClick () { 232 blxxClick () {
199 if (this.supplementarylist.length) { 233 if (this.supplementarylist.length) {
200 this.unitClick(0); 234 this.unitClick(0);
......
...@@ -217,6 +217,11 @@ export default { ...@@ -217,6 +217,11 @@ export default {
217 }, 217 },
218 }, 218 },
219 methods: { 219 methods: {
220 /**
221 * @handleupdateDetail: 删除
222 * @param {*} value
223 * @author: renchao
224 */
220 handleupdateDetail(value) { 225 handleupdateDetail(value) {
221 if (this.isaddupdate) { 226 if (this.isaddupdate) {
222 if (!_.isEqual(value, this.tableData)) { 227 if (!_.isEqual(value, this.tableData)) {
...@@ -232,6 +237,10 @@ export default { ...@@ -232,6 +237,10 @@ export default {
232 this.key++; 237 this.key++;
233 }, 238 },
234 // 新增 239 // 新增
240 /**
241 * @description: 新增
242 * @author: renchao
243 */
235 addClick() { 244 addClick() {
236 if (this.gyfs == "0" && this.tableDataList.length > 0) { 245 if (this.gyfs == "0" && this.tableDataList.length > 0) {
237 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人"); 246 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人");
...@@ -242,6 +251,12 @@ export default { ...@@ -242,6 +251,12 @@ export default {
242 }, 251 },
243 252
244 // 删除 253 // 删除
254 /**
255 * @description: 删除
256 * @param {*} index
257 * @param {*} row
258 * @author: renchao
259 */
245 deleClick(index, row) { 260 deleClick(index, row) {
246 this.$confirm("确定要删除吗, 是否继续?", "提示", { 261 this.$confirm("确定要删除吗, 是否继续?", "提示", {
247 confirmButtonText: "确定", 262 confirmButtonText: "确定",
...@@ -255,19 +270,39 @@ export default { ...@@ -255,19 +270,39 @@ export default {
255 }, 270 },
256 271
257 // 身份证读取 272 // 身份证读取
273 /**
274 * @description: 身份证读取
275 * @author: renchao
276 */
258 readClick() {}, 277 readClick() {},
259 278
260 // 身份证读取按钮禁用 279 // 身份证读取按钮禁用
280 /**
281 * @description: 身份证读取按钮禁用
282 * @author: renchao
283 */
261 onreadClick() { 284 onreadClick() {
262 this.$message.error("此阶段不可编辑"); 285 this.$message.error("此阶段不可编辑");
263 }, 286 },
264 // 修改 287 // 修改
288 /**
289 * @description: 修改
290 * @param {*} index
291 * @param {*} row
292 * @author: renchao
293 */
265 editClick(index, row) { 294 editClick(index, row) {
266 this.dataIndex = index; 295 this.dataIndex = index;
267 this.dialog = true; 296 this.dialog = true;
268 this.details = row; 297 this.details = row;
269 this.isaddupdate = false; 298 this.isaddupdate = false;
270 }, 299 },
300 /**
301 * @description: queryViewClick
302 * @param {*} index
303 * @param {*} row
304 * @author: renchao
305 */
271 queryViewClick(index, row) { 306 queryViewClick(index, row) {
272 this.dialog = true; 307 this.dialog = true;
273 this.details = row; 308 this.details = row;
......
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
35 }; 35 };
36 }, 36 },
37 methods: { 37 methods: {
38 /**
39 * @description: onSubmit
40 * @author: renchao
41 */
38 onSubmit () { 42 onSubmit () {
39 stopTask({ 43 stopTask({
40 bsmSlsq: this.formData.bsmSlsq, 44 bsmSlsq: this.formData.bsmSlsq,
......
...@@ -68,6 +68,10 @@ ...@@ -68,6 +68,10 @@
68 this.getBackNode(); 68 this.getBackNode();
69 }, 69 },
70 methods: { 70 methods: {
71 /**
72 * @description: onSubmit
73 * @author: renchao
74 */
71 onSubmit () { 75 onSubmit () {
72 this.selectItem.outstepopinion = this.outstepopinion; 76 this.selectItem.outstepopinion = this.outstepopinion;
73 sendBackTask({ 77 sendBackTask({
...@@ -87,11 +91,20 @@ ...@@ -87,11 +91,20 @@
87 }, 1000); 91 }, 1000);
88 }); 92 });
89 }, 93 },
94 /**
95 * @description: changeSelectItem
96 * @param {*} item
97 * @author: renchao
98 */
90 changeSelectItem (item) { 99 changeSelectItem (item) {
91 this.selectItem = item; 100 this.selectItem = item;
92 this.selectActivity = item.activityId; 101 this.selectActivity = item.activityId;
93 }, 102 },
94 //获取可回退环节信息 103 //获取可回退环节信息
104 /**
105 * @description: 获取可回退环节信息
106 * @author: renchao
107 */
95 getBackNode () { 108 getBackNode () {
96 getTaskBackNode(this.formData).then((res) => { 109 getTaskBackNode(this.formData).then((res) => {
97 if (res.code == 200) { 110 if (res.code == 200) {
...@@ -104,6 +117,10 @@ ...@@ -104,6 +117,10 @@
104 }); 117 });
105 }, 118 },
106 119
120 /**
121 * @description: cancelBack
122 * @author: renchao
123 */
107 cancelBack () { 124 cancelBack () {
108 popupCacel(); 125 popupCacel();
109 } 126 }
......
...@@ -217,6 +217,11 @@ export default { ...@@ -217,6 +217,11 @@ export default {
217 }, 217 },
218 }, 218 },
219 methods: { 219 methods: {
220 /**
221 * @description: handleupdateDetail
222 * @param {*} value
223 * @author: renchao
224 */
220 handleupdateDetail(value) { 225 handleupdateDetail(value) {
221 if (this.isaddupdate) { 226 if (this.isaddupdate) {
222 if (!_.isEqual(value, this.tableData)) { 227 if (!_.isEqual(value, this.tableData)) {
...@@ -232,6 +237,10 @@ export default { ...@@ -232,6 +237,10 @@ export default {
232 this.key++; 237 this.key++;
233 }, 238 },
234 // 新增 239 // 新增
240 /**
241 * @description: 新增
242 * @author: renchao
243 */
235 addClick() { 244 addClick() {
236 if (this.gyfs == "0" && this.tableDataList.length > 0) { 245 if (this.gyfs == "0" && this.tableDataList.length > 0) {
237 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人"); 246 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人");
...@@ -242,6 +251,12 @@ export default { ...@@ -242,6 +251,12 @@ export default {
242 }, 251 },
243 252
244 // 删除 253 // 删除
254 /**
255 * @description: 删除
256 * @param {*} index
257 * @param {*} row
258 * @author: renchao
259 */
245 deleClick(index, row) { 260 deleClick(index, row) {
246 this.$confirm("确定要删除吗, 是否继续?", "提示", { 261 this.$confirm("确定要删除吗, 是否继续?", "提示", {
247 confirmButtonText: "确定", 262 confirmButtonText: "确定",
...@@ -255,15 +270,31 @@ export default { ...@@ -255,15 +270,31 @@ export default {
255 }, 270 },
256 271
257 // 身份证读取 272 // 身份证读取
273 /**
274 * @description: 身份证读取
275 * @author: renchao
276 */
258 readClick() {}, 277 readClick() {},
259 278
260 // 修改 279 // 修改
280 /**
281 * @description: 修改
282 * @param {*} index
283 * @param {*} row
284 * @author: renchao
285 */
261 editClick(index, row) { 286 editClick(index, row) {
262 this.dataIndex = index; 287 this.dataIndex = index;
263 this.dialog = true; 288 this.dialog = true;
264 this.details = row; 289 this.details = row;
265 this.isaddupdate = false; 290 this.isaddupdate = false;
266 }, 291 },
292 /**
293 * @description: queryViewClick
294 * @param {*} index
295 * @param {*} row
296 * @author: renchao
297 */
267 queryViewClick(index, row) { 298 queryViewClick(index, row) {
268 this.dialog = true; 299 this.dialog = true;
269 this.details = row; 300 this.details = row;
......
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
39 } 39 }
40 }, 40 },
41 methods: { 41 methods: {
42 /**
43 * @description: tablelistFn
44 * @author: renchao
45 */
42 tablelistFn () { 46 tablelistFn () {
43 getNextLinkInfo(this.queryForm).then(res => { 47 getNextLinkInfo(this.queryForm).then(res => {
44 if (res.code === 200) { 48 if (res.code === 200) {
...@@ -49,6 +53,10 @@ ...@@ -49,6 +53,10 @@
49 } 53 }
50 }) 54 })
51 }, 55 },
56 /**
57 * @description: submitForm
58 * @author: renchao
59 */
52 submitForm () { 60 submitForm () {
53 completeTask(this.queryForm).then(res => { 61 completeTask(this.queryForm).then(res => {
54 if (res.code === 200) { 62 if (res.code === 200) {
...@@ -62,6 +70,10 @@ ...@@ -62,6 +70,10 @@
62 } 70 }
63 }) 71 })
64 }, 72 },
73 /**
74 * @description: closeDialog
75 * @author: renchao
76 */
65 closeDialog () { 77 closeDialog () {
66 this.$emit("input", false); 78 this.$emit("input", false);
67 }, 79 },
......
...@@ -461,13 +461,28 @@ export default { ...@@ -461,13 +461,28 @@ export default {
461 this.ableOperation=this.$parent.ableOperation 461 this.ableOperation=this.$parent.ableOperation
462 }, 462 },
463 methods: { 463 methods: {
464 /**
465 * @description: ztQlxxchange
466 * @param {*} val
467 * @author: renchao
468 */
464 ztQlxxchange(val) { 469 ztQlxxchange(val) {
465 this.ruleForm.ztQlxx = val; 470 this.ruleForm.ztQlxx = val;
466 }, 471 },
472 /**
473 * @description: ssQlxxchange
474 * @param {*} val
475 * @author: renchao
476 */
467 ssQlxxchange(val) { 477 ssQlxxchange(val) {
468 this.ruleForm.ssQlxx = val; 478 this.ruleForm.ssQlxx = val;
469 this.ruleForm.qlxx.ssywh = val.ssywh; 479 this.ruleForm.qlxx.ssywh = val.ssywh;
470 }, 480 },
481 /**
482 * @description: djlxchange
483 * @param {*} val
484 * @author: renchao
485 */
471 djlxchange(val) { 486 djlxchange(val) {
472 if (val == null || val == 100) { 487 if (val == null || val == 100) {
473 this.ssqlxxshow = false; 488 this.ssqlxxshow = false;
...@@ -475,6 +490,10 @@ export default { ...@@ -475,6 +490,10 @@ export default {
475 this.ssqlxxshow = true; 490 this.ssqlxxshow = true;
476 } 491 }
477 }, 492 },
493 /**
494 * @description: loadData
495 * @author: renchao
496 */
478 loadData() { 497 loadData() {
479 this.$startLoading(); 498 this.$startLoading();
480 this.propsParam.isEdit = this.$parent.isEdit; 499 this.propsParam.isEdit = this.$parent.isEdit;
...@@ -521,6 +540,10 @@ export default { ...@@ -521,6 +540,10 @@ export default {
521 // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 540 // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
522 // this.key++; 541 // this.key++;
523 // }, 542 // },
543 /**
544 * @description: onSubmit
545 * @author: renchao
546 */
524 onSubmit() { 547 onSubmit() {
525 this.$refs.ruleForm.validate((valid) => { 548 this.$refs.ruleForm.validate((valid) => {
526 console.log("valid", valid); 549 console.log("valid", valid);
......
...@@ -639,9 +639,19 @@ export default { ...@@ -639,9 +639,19 @@ export default {
639 this.ableOperation = this.$parent.ableOperation; 639 this.ableOperation = this.$parent.ableOperation;
640 }, 640 },
641 methods: { 641 methods: {
642 /**
643 * @description: ztQlxxchange
644 * @param {*} val
645 * @author: renchao
646 */
642 ztQlxxchange(val) { 647 ztQlxxchange(val) {
643 this.ruleForm.ztQlxx = val; 648 this.ruleForm.ztQlxx = val;
644 }, 649 },
650 /**
651 * @description: ssQlxxchange
652 * @param {*} val
653 * @author: renchao
654 */
645 ssQlxxchange(val) { 655 ssQlxxchange(val) {
646 this.ruleForm.ssQlxx = val; 656 this.ruleForm.ssQlxx = val;
647 this.ruleForm.qlxx.ssywh = val.ssywh; 657 this.ruleForm.qlxx.ssywh = val.ssywh;
...@@ -653,6 +663,10 @@ export default { ...@@ -653,6 +663,10 @@ export default {
653 this.ssqlxxshow = true; 663 this.ssqlxxshow = true;
654 } 664 }
655 }, 665 },
666 /**
667 * @description: loadData
668 * @author: renchao
669 */
656 loadData() { 670 loadData() {
657 this.$startLoading(); 671 this.$startLoading();
658 this.propsParam.isEdit = this.$parent.isEdit; 672 this.propsParam.isEdit = this.$parent.isEdit;
...@@ -684,21 +698,40 @@ export default { ...@@ -684,21 +698,40 @@ export default {
684 }); 698 });
685 }, 699 },
686 // 更新土地用途信息 700 // 更新土地用途信息
701 /**
702 * @description: 更新土地用途信息
703 * @param {*} val
704 * @author: renchao
705 */
687 upDateTdytxxList(val) { 706 upDateTdytxxList(val) {
688 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 707 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
689 this.key++; 708 this.key++;
690 }, 709 },
691 // 更新权利人信息 710 // 更新权利人信息
711 /**
712 * @description: 更新权利人信息
713 * @param {*} val
714 * @author: renchao
715 */
692 upDateQlrxxList(val) { 716 upDateQlrxxList(val) {
693 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 717 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
694 this.czrOptions = this.ruleForm.qlrData; 718 this.czrOptions = this.ruleForm.qlrData;
695 this.key++; 719 this.key++;
696 }, 720 },
697 // 更新义务人信息 721 // 更新义务人信息
722 /**
723 * @description: 更新义务人信息
724 * @param {*} val
725 * @author: renchao
726 */
698 upDateYwrxxList(val) { 727 upDateYwrxxList(val) {
699 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 728 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
700 this.key++; 729 this.key++;
701 }, 730 },
731 /**
732 * @description: onSubmit
733 * @author: renchao
734 */
702 onSubmit() { 735 onSubmit() {
703 this.$refs.ruleForm.validate((valid) => { 736 this.$refs.ruleForm.validate((valid) => {
704 if (valid) { 737 if (valid) {
......
...@@ -398,10 +398,20 @@ export default { ...@@ -398,10 +398,20 @@ export default {
398 this.ableOperation=this.$parent.ableOperation 398 this.ableOperation=this.$parent.ableOperation
399 }, 399 },
400 methods: { 400 methods: {
401 /**
402 * @description: ssQlxxchange
403 * @param {*} val
404 * @author: renchao
405 */
401 ssQlxxchange(val) { 406 ssQlxxchange(val) {
402 this.ruleForm.ssQlxx = val; 407 this.ruleForm.ssQlxx = val;
403 this.ruleForm.qlxx.ssywh = val.ssywh; 408 this.ruleForm.qlxx.ssywh = val.ssywh;
404 }, 409 },
410 /**
411 * @description: djlxchange
412 * @param {*} val
413 * @author: renchao
414 */
405 djlxchange(val) { 415 djlxchange(val) {
406 console.log("val",val); 416 console.log("val",val);
407 if (val == null || val == 100) { 417 if (val == null || val == 100) {
...@@ -410,6 +420,10 @@ export default { ...@@ -410,6 +420,10 @@ export default {
410 this.ssqlxxshow = true; 420 this.ssqlxxshow = true;
411 } 421 }
412 }, 422 },
423 /**
424 * @description: loadData
425 * @author: renchao
426 */
413 loadData() { 427 loadData() {
414 this.$startLoading(); 428 this.$startLoading();
415 this.propsParam.isEdit = this.$parent.isEdit; 429 this.propsParam.isEdit = this.$parent.isEdit;
...@@ -435,21 +449,40 @@ export default { ...@@ -435,21 +449,40 @@ export default {
435 }); 449 });
436 }, 450 },
437 // 更新土地用途信息 451 // 更新土地用途信息
452 /**
453 * @description: 更新土地用途信息
454 * @param {*} val
455 * @author: renchao
456 */
438 upDateTdytxxList(val) { 457 upDateTdytxxList(val) {
439 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 458 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
440 this.key++; 459 this.key++;
441 }, 460 },
442 // 更新权利人信息 461 // 更新权利人信息
462 /**
463 * @description: 更新权利人信息
464 * @param {*} val
465 * @author: renchao
466 */
443 upDateQlrxxList(val) { 467 upDateQlrxxList(val) {
444 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 468 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
445 this.czrOptions = this.ruleForm.qlrData; 469 this.czrOptions = this.ruleForm.qlrData;
446 this.key++; 470 this.key++;
447 }, 471 },
448 // 更新义务人信息 472 // 更新义务人信息
473 /**
474 * @description: 更新义务人信息
475 * @param {*} val
476 * @author: renchao
477 */
449 upDateYwrxxList(val) { 478 upDateYwrxxList(val) {
450 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 479 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
451 this.key++; 480 this.key++;
452 }, 481 },
482 /**
483 * @description: onSubmit
484 * @author: renchao
485 */
453 onSubmit() { 486 onSubmit() {
454 this.$refs.ruleForm.validate((valid) => { 487 this.$refs.ruleForm.validate((valid) => {
455 if (valid) { 488 if (valid) {
......
...@@ -458,10 +458,20 @@ ...@@ -458,10 +458,20 @@
458 this.ableOperation = this.$parent.ableOperation; 458 this.ableOperation = this.$parent.ableOperation;
459 }, 459 },
460 methods: { 460 methods: {
461 /**
462 * @description: ssQlxxchange
463 * @param {*} val
464 * @author: renchao
465 */
461 ssQlxxchange (val) { 466 ssQlxxchange (val) {
462 this.ruleForm.ssQlxx = val; 467 this.ruleForm.ssQlxx = val;
463 this.ruleForm.qlxx.ssywh = val.ssywh; 468 this.ruleForm.qlxx.ssywh = val.ssywh;
464 }, 469 },
470 /**
471 * @description: djlxchange
472 * @param {*} val
473 * @author: renchao
474 */
465 djlxchange (val) { 475 djlxchange (val) {
466 console.log("val", val); 476 console.log("val", val);
467 if (val == null || val == 100) { 477 if (val == null || val == 100) {
...@@ -471,6 +481,10 @@ ...@@ -471,6 +481,10 @@
471 } 481 }
472 }, 482 },
473 483
484 /**
485 * @description: loadData
486 * @author: renchao
487 */
474 loadData () { 488 loadData () {
475 this.$startLoading(); 489 this.$startLoading();
476 this.propsParam.isEdit = this.$parent.isEdit; 490 this.propsParam.isEdit = this.$parent.isEdit;
...@@ -502,21 +516,40 @@ ...@@ -502,21 +516,40 @@
502 }); 516 });
503 }, 517 },
504 // 更新土地用途信息 518 // 更新土地用途信息
519 /**
520 * @description: 更新土地用途信息
521 * @param {*} val
522 * @author: renchao
523 */
505 upDateTdytxxList (val) { 524 upDateTdytxxList (val) {
506 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 525 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
507 this.key++; 526 this.key++;
508 }, 527 },
509 // 更新权利人信息 528 // 更新权利人信息
529 /**
530 * @description: 更新权利人信息
531 * @param {*} val
532 * @author: renchao
533 */
510 upDateQlrxxList (val) { 534 upDateQlrxxList (val) {
511 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 535 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
512 this.czrOptions = this.ruleForm.qlrData; 536 this.czrOptions = this.ruleForm.qlrData;
513 this.key++; 537 this.key++;
514 }, 538 },
515 // 更新义务人信息 539 // 更新义务人信息
540 /**
541 * @description: 更新义务人信息
542 * @param {*} val
543 * @author: renchao
544 */
516 upDateYwrxxList (val) { 545 upDateYwrxxList (val) {
517 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 546 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
518 this.key++; 547 this.key++;
519 }, 548 },
549 /**
550 * @description: onSubmit
551 * @author: renchao
552 */
520 onSubmit () { 553 onSubmit () {
521 this.$refs.ruleForm.validate((valid) => { 554 this.$refs.ruleForm.validate((valid) => {
522 if (valid) { 555 if (valid) {
......
...@@ -360,10 +360,20 @@ export default { ...@@ -360,10 +360,20 @@ export default {
360 this.ableOperation=this.$parent.ableOperation 360 this.ableOperation=this.$parent.ableOperation
361 }, 361 },
362 methods: { 362 methods: {
363 /**
364 * @description: ssQlxxchange
365 * @param {*} val
366 * @author: renchao
367 */
363 ssQlxxchange(val) { 368 ssQlxxchange(val) {
364 this.ruleForm.ssQlxx = val; 369 this.ruleForm.ssQlxx = val;
365 this.ruleForm.qlxx.ssywh = val.ssywh; 370 this.ruleForm.qlxx.ssywh = val.ssywh;
366 }, 371 },
372 /**
373 * @description: djlxchange
374 * @param {*} val
375 * @author: renchao
376 */
367 djlxchange(val) { 377 djlxchange(val) {
368 console.log("val",val); 378 console.log("val",val);
369 if (val == null || val == 100) { 379 if (val == null || val == 100) {
...@@ -373,9 +383,18 @@ export default { ...@@ -373,9 +383,18 @@ export default {
373 } 383 }
374 }, 384 },
375 // 字典 385 // 字典
386 /**
387 * @description: 字典
388 * @param {*} val
389 * @author: renchao
390 */
376 getDictData(val) { 391 getDictData(val) {
377 return store.getters.dictData[val]; 392 return store.getters.dictData[val];
378 }, 393 },
394 /**
395 * @description: loadData
396 * @author: renchao
397 */
379 loadData() { 398 loadData() {
380 this.$startLoading(); 399 this.$startLoading();
381 this.propsParam.isEdit = this.$parent.isEdit; 400 this.propsParam.isEdit = this.$parent.isEdit;
...@@ -402,21 +421,40 @@ export default { ...@@ -402,21 +421,40 @@ export default {
402 }); 421 });
403 }, 422 },
404 // 更新土地用途信息 423 // 更新土地用途信息
424 /**
425 * @description: 更新土地用途信息
426 * @param {*} val
427 * @author: renchao
428 */
405 upDateTdytxxList(val) { 429 upDateTdytxxList(val) {
406 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 430 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
407 this.key++; 431 this.key++;
408 }, 432 },
409 // 更新权利人信息 433 // 更新权利人信息
434 /**
435 * @description: 更新权利人信息
436 * @param {*} val
437 * @author: renchao
438 */
410 upDateQlrxxList(val) { 439 upDateQlrxxList(val) {
411 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 440 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
412 this.czrOptions = this.ruleForm.qlrData; 441 this.czrOptions = this.ruleForm.qlrData;
413 this.key++; 442 this.key++;
414 }, 443 },
415 // 更新义务人信息 444 // 更新义务人信息
445 /**
446 * @description: 更新义务人信息
447 * @param {*} val
448 * @author: renchao
449 */
416 upDateYwrxxList(val) { 450 upDateYwrxxList(val) {
417 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 451 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
418 this.key++; 452 this.key++;
419 }, 453 },
454 /**
455 * @description: onSubmit
456 * @author: renchao
457 */
420 onSubmit() { 458 onSubmit() {
421 this.$refs.ruleForm.validate((valid) => { 459 this.$refs.ruleForm.validate((valid) => {
422 if (valid) { 460 if (valid) {
......
...@@ -415,10 +415,20 @@ export default { ...@@ -415,10 +415,20 @@ export default {
415 this.ableOperation=this.$parent.ableOperation 415 this.ableOperation=this.$parent.ableOperation
416 }, 416 },
417 methods: { 417 methods: {
418 /**
419 * @description: ssQlxxchange
420 * @param {*} val
421 * @author: renchao
422 */
418 ssQlxxchange(val) { 423 ssQlxxchange(val) {
419 this.ruleForm.ssQlxx = val; 424 this.ruleForm.ssQlxx = val;
420 this.ruleForm.qlxx.ssywh = val.ssywh; 425 this.ruleForm.qlxx.ssywh = val.ssywh;
421 }, 426 },
427 /**
428 * @description: djlxchange
429 * @param {*} val
430 * @author: renchao
431 */
422 djlxchange(val) { 432 djlxchange(val) {
423 console.log("val",val); 433 console.log("val",val);
424 if (val == null || val == 100) { 434 if (val == null || val == 100) {
...@@ -429,9 +439,18 @@ export default { ...@@ -429,9 +439,18 @@ export default {
429 }, 439 },
430 440
431 // 字典 441 // 字典
442 /**
443 * @description: 字典
444 * @param {*} val
445 * @author: renchao
446 */
432 getDictData(val) { 447 getDictData(val) {
433 return store.getters.dictData[val]; 448 return store.getters.dictData[val];
434 }, 449 },
450 /**
451 * @description: loadData
452 * @author: renchao
453 */
435 loadData() { 454 loadData() {
436 this.$startLoading(); 455 this.$startLoading();
437 this.propsParam.isEdit = this.$parent.isEdit; 456 this.propsParam.isEdit = this.$parent.isEdit;
...@@ -462,11 +481,21 @@ export default { ...@@ -462,11 +481,21 @@ export default {
462 }); 481 });
463 }, 482 },
464 // 更新土地用途信息 483 // 更新土地用途信息
484 /**
485 * @description: 更新土地用途信息
486 * @param {*} val
487 * @author: renchao
488 */
465 upDateTdytxxList(val) { 489 upDateTdytxxList(val) {
466 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 490 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
467 this.key++; 491 this.key++;
468 }, 492 },
469 // 更新权利人信息 493 // 更新权利人信息
494 /**
495 * @description: 更新权利人信息
496 * @param {*} val
497 * @author: renchao
498 */
470 upDateQlrxxList(val) { 499 upDateQlrxxList(val) {
471 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 500 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
472 this.czrOptions = this.ruleForm.qlrData; 501 this.czrOptions = this.ruleForm.qlrData;
...@@ -477,6 +506,10 @@ export default { ...@@ -477,6 +506,10 @@ export default {
477 // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 506 // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
478 // this.key++; 507 // this.key++;
479 // }, 508 // },
509 /**
510 * @description: onSubmit
511 * @author: renchao
512 */
480 onSubmit() { 513 onSubmit() {
481 this.$refs.ruleForm.validate((valid) => { 514 this.$refs.ruleForm.validate((valid) => {
482 if (valid) { 515 if (valid) {
......
...@@ -438,10 +438,20 @@ export default { ...@@ -438,10 +438,20 @@ export default {
438 this.ableOperation=this.$parent.ableOperation 438 this.ableOperation=this.$parent.ableOperation
439 }, 439 },
440 methods: { 440 methods: {
441 /**
442 * @description: ssQlxxchange
443 * @param {*} val
444 * @author: renchao
445 */
441 ssQlxxchange(val) { 446 ssQlxxchange(val) {
442 this.ruleForm.ssQlxx = val; 447 this.ruleForm.ssQlxx = val;
443 this.ruleForm.qlxx.ssywh = val.ssywh; 448 this.ruleForm.qlxx.ssywh = val.ssywh;
444 }, 449 },
450 /**
451 * @description: djlxchange
452 * @param {*} val
453 * @author: renchao
454 */
445 djlxchange(val) { 455 djlxchange(val) {
446 console.log("val",val); 456 console.log("val",val);
447 if (val == null || val == 100) { 457 if (val == null || val == 100) {
...@@ -450,6 +460,10 @@ export default { ...@@ -450,6 +460,10 @@ export default {
450 this.ssqlxxshow = true; 460 this.ssqlxxshow = true;
451 } 461 }
452 }, 462 },
463 /**
464 * @description: loadData
465 * @author: renchao
466 */
453 loadData() { 467 loadData() {
454 this.$startLoading(); 468 this.$startLoading();
455 this.propsParam.isEdit=this.$parent.isEdit 469 this.propsParam.isEdit=this.$parent.isEdit
...@@ -475,21 +489,40 @@ export default { ...@@ -475,21 +489,40 @@ export default {
475 }); 489 });
476 }, 490 },
477 // 更新土地用途信息 491 // 更新土地用途信息
492 /**
493 * @description: 更新土地用途信息
494 * @param {*} val
495 * @author: renchao
496 */
478 upDateTdytxxList(val) { 497 upDateTdytxxList(val) {
479 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 498 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
480 this.key++; 499 this.key++;
481 }, 500 },
482 // 更新权利人信息 501 // 更新权利人信息
502 /**
503 * @description: 更新权利人信息
504 * @param {*} val
505 * @author: renchao
506 */
483 upDateQlrxxList(val) { 507 upDateQlrxxList(val) {
484 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 508 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
485 this.czrOptions = this.ruleForm.qlrData; 509 this.czrOptions = this.ruleForm.qlrData;
486 this.key++; 510 this.key++;
487 }, 511 },
488 // 更新义务人信息 512 // 更新义务人信息
513 /**
514 * @description: 更新义务人信息
515 * @param {*} val
516 * @author: renchao
517 */
489 upDateYwrxxList(val) { 518 upDateYwrxxList(val) {
490 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 519 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
491 this.key++; 520 this.key++;
492 }, 521 },
522 /**
523 * @description: onSubmit
524 * @author: renchao
525 */
493 onSubmit() { 526 onSubmit() {
494 this.$refs.ruleForm.validate((valid) => { 527 this.$refs.ruleForm.validate((valid) => {
495 if (valid) { 528 if (valid) {
......
...@@ -319,6 +319,10 @@ export default { ...@@ -319,6 +319,10 @@ export default {
319 this.ableOperation =this.$parent.ableOperation 319 this.ableOperation =this.$parent.ableOperation
320 }, 320 },
321 methods: { 321 methods: {
322 /**
323 * @description: loadData
324 * @author: renchao
325 */
322 loadData() { 326 loadData() {
323 this.$startLoading(); 327 this.$startLoading();
324 this.propsParam.isEdit=this.$parent.isEdit 328 this.propsParam.isEdit=this.$parent.isEdit
...@@ -331,21 +335,40 @@ export default { ...@@ -331,21 +335,40 @@ export default {
331 }); 335 });
332 }, 336 },
333 // 更新土地用途信息 337 // 更新土地用途信息
338 /**
339 * @description: 更新土地用途信息
340 * @param {*} val
341 * @author: renchao
342 */
334 upDateTdytxxList(val) { 343 upDateTdytxxList(val) {
335 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 344 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
336 this.key++; 345 this.key++;
337 }, 346 },
338 // 更新权利人信息 347 // 更新权利人信息
348 /**
349 * @description: 更新权利人信息
350 * @param {*} val
351 * @author: renchao
352 */
339 upDateQlrxxList(val) { 353 upDateQlrxxList(val) {
340 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 354 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
341 this.czrOptions = this.ruleForm.qlrData; 355 this.czrOptions = this.ruleForm.qlrData;
342 this.key++; 356 this.key++;
343 }, 357 },
344 // 更新义务人信息 358 // 更新义务人信息
359 /**
360 * @description: 更新义务人信息
361 * @param {*} val
362 * @author: renchao
363 */
345 upDateYwrxxList(val) { 364 upDateYwrxxList(val) {
346 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 365 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
347 this.key++; 366 this.key++;
348 }, 367 },
368 /**
369 * @description: onSubmit
370 * @author: renchao
371 */
349 onSubmit() { 372 onSubmit() {
350 this.$refs.ruleForm.validate((valid) => { 373 this.$refs.ruleForm.validate((valid) => {
351 if (valid) { 374 if (valid) {
......
...@@ -109,6 +109,9 @@ export default { ...@@ -109,6 +109,9 @@ export default {
109 this.getShList(); 109 this.getShList();
110 }, 110 },
111 methods: { 111 methods: {
112 /**
113 * @description: getShList
114 * @a
112 getShList() { 115 getShList() {
113 this.$startLoading(); 116 this.$startLoading();
114 var formdata = { 117 var formdata = {
...@@ -125,7 +128,16 @@ export default { ...@@ -125,7 +128,16 @@ export default {
125 } 128 }
126 }); 129 });
127 }, 130 },
131 /**
132 * @description: judgment
133 * @param {*} obj
134 * @author: renchao
135 */
128 judgment(obj) {}, 136 judgment(obj) {},
137 /**
138 * @description: onSubmit
139 * @author: renchao
140 */
129 onSubmit() { 141 onSubmit() {
130 if ( 142 if (
131 this.tableData[2].shyj == null || 143 this.tableData[2].shyj == null ||
...@@ -188,6 +200,11 @@ export default { ...@@ -188,6 +200,11 @@ export default {
188 } 200 }
189 }, 201 },
190 //打开常用意见列表弹窗 202 //打开常用意见列表弹窗
203 /**
204 * @description: 打开常用意见列表弹窗
205 * @param {*} index
206 * @author: renchao
207 */
191 commonOpinion(index) { 208 commonOpinion(index) {
192 this.currentindex = index; 209 this.currentindex = index;
193 this.$popupDialog( 210 this.$popupDialog(
...@@ -198,6 +215,11 @@ export default { ...@@ -198,6 +215,11 @@ export default {
198 true 215 true
199 ); 216 );
200 }, 217 },
218 /**
219 * @description: add
220 * @param {*} val
221 * @author: renchao
222 */
201 add(val) { 223 add(val) {
202 if (val != "") { 224 if (val != "") {
203 this.$set(this.tableData[this.currentindex], "shyj", val); 225 this.$set(this.tableData[this.currentindex], "shyj", val);
......
...@@ -43,6 +43,10 @@ export default { ...@@ -43,6 +43,10 @@ export default {
43 }, 43 },
44 methods: { 44 methods: {
45 //加载流程初始参数 45 //加载流程初始参数
46 /**
47 * @description: 加载流程初始参数
48 * @author: renchao
49 */
46 flowInitParam () { 50 flowInitParam () {
47 var formdata = new FormData(); 51 var formdata = new FormData();
48 52
...@@ -70,6 +74,11 @@ export default { ...@@ -70,6 +74,11 @@ export default {
70 74
71 }, 75 },
72 //流程环节操作按钮 76 //流程环节操作按钮
77 /**
78 * @description: 流程环节操作按钮
79 * @param {*} item
80 * @author: renchao
81 */
73 operation (item) { 82 operation (item) {
74 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 83 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
75 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 84 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
...@@ -276,6 +285,10 @@ export default { ...@@ -276,6 +285,10 @@ export default {
276 break; 285 break;
277 } 286 }
278 }, 287 },
288 /**
289 * @description: del
290 * @author: renchao
291 */
279 del () { 292 del () {
280 let formdata = new FormData(); 293 let formdata = new FormData();
281 formdata.append("bsmSlsq", this.bsmSlsq); 294 formdata.append("bsmSlsq", this.bsmSlsq);
...@@ -306,6 +319,11 @@ export default { ...@@ -306,6 +319,11 @@ export default {
306 }); 319 });
307 }, 320 },
308 //发送下一个环节 321 //发送下一个环节
322 /**
323 * @description: 发送下一个环节
324 * @param {*} obj
325 * @author: renchao
326 */
309 sendToNext (obj) { 327 sendToNext (obj) {
310 const h = this.$createElement; 328 const h = this.$createElement;
311 this.$msgbox({ 329 this.$msgbox({
...@@ -355,6 +373,10 @@ export default { ...@@ -355,6 +373,10 @@ export default {
355 }); 373 });
356 }); 374 });
357 }, 375 },
376 /**
377 * @description: sendToEnd
378 * @author: renchao
379 */
358 sendToEnd () { 380 sendToEnd () {
359 let that = this 381 let that = this
360 const h = this.$createElement; 382 const h = this.$createElement;
...@@ -401,6 +423,10 @@ export default { ...@@ -401,6 +423,10 @@ export default {
401 }) 423 })
402 }, 424 },
403 //批量操作 425 //批量操作
426 /**
427 * @description: 批量操作
428 * @author: renchao
429 */
404 handleBatchDel () { 430 handleBatchDel () {
405 this.$popupDialog("批量删除", "workflow/components/batchDel", { 431 this.$popupDialog("批量删除", "workflow/components/batchDel", {
406 width: "50%", 432 width: "50%",
...@@ -410,6 +436,11 @@ export default { ...@@ -410,6 +436,11 @@ export default {
410 436
411 }) 437 })
412 }, 438 },
439 /**
440 * @description: handleChange
441 * @param {*} file
442 * @author: renchao
443 */
413 handleChange (file) { 444 handleChange (file) {
414 var formdata = new FormData(); 445 var formdata = new FormData();
415 formdata.append("file", file.raw); 446 formdata.append("file", file.raw);
...@@ -424,6 +455,11 @@ export default { ...@@ -424,6 +455,11 @@ export default {
424 }) 455 })
425 }, 456 },
426 // 上传 457 // 上传
458 /**
459 * @description: 上传
460 * @param {*} file
461 * @author: renchao
462 */
427 beforeUpload (file) { 463 beforeUpload (file) {
428 return true; 464 return true;
429 } 465 }
......
...@@ -129,6 +129,11 @@ ...@@ -129,6 +129,11 @@
129 }, 129 },
130 130
131 methods: { 131 methods: {
132 /**
133 * @description: stepForm
134 * @param {*} qllx
135 * @author: renchao
136 */
132 stepForm (qllx) { 137 stepForm (qllx) {
133 this.oneSelectProps.qllx = qllx; 138 this.oneSelectProps.qllx = qllx;
134 if (this.$refs.Menu.supplementarylist.length) { 139 if (this.$refs.Menu.supplementarylist.length) {
...@@ -162,6 +167,11 @@ ...@@ -162,6 +167,11 @@
162 }, 167 },
163 168
164 // 获取右侧选项卡 169 // 获取右侧选项卡
170 /**
171 * @description: 获取右侧选项卡
172 * @param {*} val
173 * @author: renchao
174 */
165 getCurrentSelectProps (val) { 175 getCurrentSelectProps (val) {
166 this.bsmRepair= val.bsmRepair 176 this.bsmRepair= val.bsmRepair
167 if (val.bdcdyid) { 177 if (val.bdcdyid) {
...@@ -179,6 +189,10 @@ ...@@ -179,6 +189,10 @@
179 } 189 }
180 }, 190 },
181 // 获取渲染登记簿列表 191 // 获取渲染登记簿列表
192 /**
193 * @description: 获取渲染登记簿列表
194 * @author: renchao
195 */
182 getdjblist () { 196 getdjblist () {
183 getBdcqljqtsx({ 197 getBdcqljqtsx({
184 bdcdyid: this.currentSelectProps.bdcdyid, 198 bdcdyid: this.currentSelectProps.bdcdyid,
...@@ -208,10 +222,20 @@ ...@@ -208,10 +222,20 @@
208 }); 222 });
209 }, 223 },
210 //右侧表单选项卡事件 224 //右侧表单选项卡事件
225 /**
226 * @description: 右侧表单选项卡事件
227 * @param {*} activeName
228 * @author: renchao
229 */
211 beforeLeave (activeName) { 230 beforeLeave (activeName) {
212 if (activeName && activeName != 0) this.getFromRouter(activeName); 231 if (activeName && activeName != 0) this.getFromRouter(activeName);
213 }, 232 },
214 //切换选项卡内容组件 233 //切换选项卡内容组件
234 /**
235 * @description: 切换选项卡内容组件
236 * @param {*} tabname
237 * @author: renchao
238 */
215 getFromRouter (tabname) { 239 getFromRouter (tabname) {
216 this.componentTag = getForm(tabname); 240 this.componentTag = getForm(tabname);
217 }, 241 },
...@@ -223,6 +247,12 @@ ...@@ -223,6 +247,12 @@
223 // this.tabName = this.tabList[0].value 247 // this.tabName = this.tabList[0].value
224 // }, 248 // },
225 // 增加补录记录 249 // 增加补录记录
250 /**
251 * @description: 增加补录记录
252 * @param {*} row
253 * @param {*} del
254 * @author: renchao
255 */
226 addRepairRecord (row, del) { 256 addRepairRecord (row, del) {
227 let from = { 257 let from = {
228 bsmQlxx: "", 258 bsmQlxx: "",
......
...@@ -125,6 +125,11 @@ ...@@ -125,6 +125,11 @@
125 }, 125 },
126 126
127 methods: { 127 methods: {
128 /**
129 * @description: stepForm
130 * @param {*} qllx
131 * @author: renchao
132 */
128 stepForm (qllx) { 133 stepForm (qllx) {
129 this.oneSelectProps.qllx = qllx; 134 this.oneSelectProps.qllx = qllx;
130 if (this.$refs.Menu.supplementarylist.length) { 135 if (this.$refs.Menu.supplementarylist.length) {
...@@ -141,6 +146,11 @@ ...@@ -141,6 +146,11 @@
141 } 146 }
142 }, 147 },
143 // 获取右侧选项卡 148 // 获取右侧选项卡
149 /**
150 * @description: 获取右侧选项卡
151 * @param {*} val
152 * @author: renchao
153 */
144 getCurrentSelectProps (val) { 154 getCurrentSelectProps (val) {
145 this.bsmRepair = val.bsmRepair 155 this.bsmRepair = val.bsmRepair
146 if (val.bdcdyid) { 156 if (val.bdcdyid) {
...@@ -158,6 +168,10 @@ ...@@ -158,6 +168,10 @@
158 } 168 }
159 }, 169 },
160 // 获取渲染登记簿列表 170 // 获取渲染登记簿列表
171 /**
172 * @description: 获取渲染登记簿列表
173 * @author: renchao
174 */
161 getdjblist () { 175 getdjblist () {
162 getBdcqljqtsx({ 176 getBdcqljqtsx({
163 bdcdyid: this.currentSelectProps.bdcdyid, 177 bdcdyid: this.currentSelectProps.bdcdyid,
...@@ -187,13 +201,27 @@ ...@@ -187,13 +201,27 @@
187 }); 201 });
188 }, 202 },
189 //右侧表单选项卡事件 203 //右侧表单选项卡事件
204 /**
205 * @description: 右侧表单选项卡事件
206 * @param {*} activeName
207 * @author: renchao
208 */
190 beforeLeave (activeName) { 209 beforeLeave (activeName) {
191 if (activeName && activeName != 0) this.getFromRouter(activeName); 210 if (activeName && activeName != 0) this.getFromRouter(activeName);
192 }, 211 },
193 //切换选项卡内容组件 212 //切换选项卡内容组件
213 /**
214 * @description: 切换选项卡内容组件
215 * @param {*} tabname
216 * @author: renchao
217 */
194 getFromRouter (tabname) { 218 getFromRouter (tabname) {
195 this.componentTag = getForm(tabname); 219 this.componentTag = getForm(tabname);
196 }, 220 },
221 /**
222 * @description: closefp
223 * @author: renchao
224 */
197 closefp () { 225 closefp () {
198 this.splitScreen = this.splitScreen ? false : true; 226 this.splitScreen = this.splitScreen ? false : true;
199 this.$store.dispatch("app/set1tScreen", this.splitScreen); 227 this.$store.dispatch("app/set1tScreen", this.splitScreen);
...@@ -201,6 +229,12 @@ ...@@ -201,6 +229,12 @@
201 this.clxxForm = getForm(this.tabList[1].value); 229 this.clxxForm = getForm(this.tabList[1].value);
202 }, 230 },
203 // 增加补录记录 231 // 增加补录记录
232 /**
233 * @description: 增加补录记录
234 * @param {*} row
235 * @param {*} del
236 * @author: renchao
237 */
204 addRepairRecord (row, del) { 238 addRepairRecord (row, del) {
205 let from = { 239 let from = {
206 bsmQlxx: "", 240 bsmQlxx: "",
......
...@@ -14,6 +14,10 @@ export default { ...@@ -14,6 +14,10 @@ export default {
14 } 14 }
15 }, 15 },
16 methods: { 16 methods: {
17 /**
18 * @description: nextTo
19 * @author: renchao
20 */
17 nextTo () { 21 nextTo () {
18 this.$router.push({ 22 this.$router.push({
19 path: this.redirect || '/', 23 path: this.redirect || '/',
......
...@@ -49,6 +49,10 @@ export default { ...@@ -49,6 +49,10 @@ export default {
49 this.dealCheckedItem(); 49 this.dealCheckedItem();
50 }, 50 },
51 methods: { 51 methods: {
52 /**
53 * @description: submitForm
54 * @author: renchao
55 */
52 submitForm () { 56 submitForm () {
53 var checkedNodes = this.$refs.tree.getCheckedNodes(); 57 var checkedNodes = this.$refs.tree.getCheckedNodes();
54 if (checkedNodes.length > 6) { 58 if (checkedNodes.length > 6) {
...@@ -65,6 +69,10 @@ export default { ...@@ -65,6 +69,10 @@ export default {
65 } 69 }
66 }) 70 })
67 }, 71 },
72 /**
73 * @description: queryClick
74 * @author: renchao
75 */
68 queryClick () { 76 queryClick () {
69 let that = this 77 let that = this
70 getMenuInfo().then(res => { 78 getMenuInfo().then(res => {
...@@ -79,13 +87,28 @@ export default { ...@@ -79,13 +87,28 @@ export default {
79 } 87 }
80 this.defaultCheckeds = lookForAllId() 88 this.defaultCheckeds = lookForAllId()
81 }, 89 },
90 /**
91 * @description: dealCheckedItem
92 * @author: renchao
93 */
82 dealCheckedItem () { 94 dealCheckedItem () {
83 }, 95 },
84 //关闭窗口 96 //关闭窗口
97 /**
98 * @description: 关闭窗口
99 * @author: renchao
100 */
85 closeDialog () { 101 closeDialog () {
86 this.$emit("input", false); 102 this.$emit("input", false);
87 }, 103 },
88 //节点选择状态发生改变时 104 //节点选择状态发生改变时
105 /**
106 * @description: 节点选择状态发生改变时
107 * @param {*} data
108 * @param {*} checked
109 * @param {*} node
110 * @author: renchao
111 */
89 handleClick (data, checked, node) { 112 handleClick (data, checked, node) {
90 var checkedNodes = this.$refs.tree.getCheckedNodes(); 113 var checkedNodes = this.$refs.tree.getCheckedNodes();
91 if (checkedNodes.length > 6) { 114 if (checkedNodes.length > 6) {
......
...@@ -193,15 +193,29 @@ ...@@ -193,15 +193,29 @@
193 this.queryProjectList();//获取常办项目列表 193 this.queryProjectList();//获取常办项目列表
194 }, 194 },
195 methods: { 195 methods: {
196 /**
197 * @description: handleProject
198 * @param {*} item
199 * @author: renchao
200 */
196 handleProject (item) { 201 handleProject (item) {
197 let url = item.uri.split('/').slice(0, 3).join('/') 202 let url = item.uri.split('/').slice(0, 3).join('/')
198 this.$router.push(url) 203 this.$router.push(url)
199 }, 204 },
205 /**
206 * @description: handleView
207 * @param {*} pdfUrl
208 * @author: renchao
209 */
200 handleView (pdfUrl) { 210 handleView (pdfUrl) {
201 const href = pdfUrl 211 const href = pdfUrl
202 window.open(href, '_blank'); 212 window.open(href, '_blank');
203 }, 213 },
204 //获取待办事项列表 214 //获取待办事项列表
215 /**
216 * @description: 获取待办事项列表
217 * @author: renchao
218 */
205 queryTodoList () { 219 queryTodoList () {
206 getHomeTodoList().then(res => { 220 getHomeTodoList().then(res => {
207 if (res.result) { 221 if (res.result) {
...@@ -210,6 +224,10 @@ ...@@ -210,6 +224,10 @@
210 }) 224 })
211 }, 225 },
212 //获取已办事项列表 226 //获取已办事项列表
227 /**
228 * @description: 获取已办事项列表
229 * @author: renchao
230 */
213 queryDoneList () { 231 queryDoneList () {
214 getHomeDoneList().then(res => { 232 getHomeDoneList().then(res => {
215 if (res.result) { 233 if (res.result) {
...@@ -218,6 +236,10 @@ ...@@ -218,6 +236,10 @@
218 }) 236 })
219 }, 237 },
220 //获取通知列表 238 //获取通知列表
239 /**
240 * @description: 获取通知列表
241 * @author: renchao
242 */
221 queryNoticeList () { 243 queryNoticeList () {
222 getHomeNoticeList().then(res => { 244 getHomeNoticeList().then(res => {
223 if (res.result) { 245 if (res.result) {
...@@ -230,6 +252,10 @@ ...@@ -230,6 +252,10 @@
230 }) 252 })
231 }, 253 },
232 //获取常办项目列表 254 //获取常办项目列表
255 /**
256 * @description: 获取常办项目列表
257 * @author: renchao
258 */
233 queryProjectList () { 259 queryProjectList () {
234 getHomeFrequentProjects().then(res => { 260 getHomeFrequentProjects().then(res => {
235 if (res.result && res.result.length > 0) { 261 if (res.result && res.result.length > 0) {
...@@ -239,6 +265,10 @@ ...@@ -239,6 +265,10 @@
239 } 265 }
240 }) 266 })
241 }, 267 },
268 /**
269 * @description: _timedate
270 * @author: renchao
271 */
242 _timedate (d) { 272 _timedate (d) {
243 var td = new Date(); 273 var td = new Date();
244 td = new Date(td.getFullYear(), td.getMonth(), td.getDate()); 274 td = new Date(td.getFullYear(), td.getMonth(), td.getDate());
...@@ -253,6 +283,10 @@ ...@@ -253,6 +283,10 @@
253 return d 283 return d
254 } 284 }
255 }, 285 },
286 /**
287 * @description: buildChart
288 * @author: renchao
289 */
256 buildChart () { 290 buildChart () {
257 let height = document.getElementById("mountNodeCon").offsetHeight - 20 291 let height = document.getElementById("mountNodeCon").offsetHeight - 20
258 var chart = new G2.Chart({ 292 var chart = new G2.Chart({
...@@ -283,6 +317,10 @@ ...@@ -283,6 +317,10 @@
283 chart.line().position('year*value').size(2).shape('smooth'); 317 chart.line().position('year*value').size(2).shape('smooth');
284 chart.render(); 318 chart.render();
285 }, 319 },
320 /**
321 * @description: loginTimeChart
322 * @author: renchao
323 */
286 loginTimeChart () { 324 loginTimeChart () {
287 var data = [{ 325 var data = [{
288 item: '用户1', 326 item: '用户1',
...@@ -334,13 +372,25 @@ ...@@ -334,13 +372,25 @@
334 chart.render(); 372 chart.render();
335 }, 373 },
336 //跳转到更多通知列表页面 374 //跳转到更多通知列表页面
375 /**
376 * @description: 跳转到更多通知列表页面
377 * @author: renchao
378 */
337 jumpToMoreNotice () { 379 jumpToMoreNotice () {
338 console.log(this.$route); 380 console.log(this.$route);
339 }, 381 },
340 //配置常办项目 382 //配置常办项目
383 /**
384 * @description: 配置常办项目
385 * @author: renchao
386 */
341 setFrequencyProject () { 387 setFrequencyProject () {
342 this.projectDialog = true; 388 this.projectDialog = true;
343 }, 389 },
390 /**
391 * @description: handleNotice
392 * @author: renchao
393 */
344 handleNotice (item) { 394 handleNotice (item) {
345 setReadStatus({ bsmNotice: item.bsmNotice }).then(res => { 395 setReadStatus({ bsmNotice: item.bsmNotice }).then(res => {
346 if (res.code == 200) { 396 if (res.code == 200) {
......
...@@ -113,6 +113,10 @@ ...@@ -113,6 +113,10 @@
113 }, 113 },
114 methods: { 114 methods: {
115 //表单提交 115 //表单提交
116 /**
117 * @description: 表单提交
118 * @author: renchao
119 */
116 submitForm () { 120 submitForm () {
117 let that = this; 121 let that = this;
118 that.$refs.ruleForm.validate(valid => { 122 that.$refs.ruleForm.validate(valid => {
...@@ -129,6 +133,10 @@ ...@@ -129,6 +133,10 @@
129 }); 133 });
130 }, 134 },
131 //新增接口 135 //新增接口
136 /**
137 * @description: 新增接口
138 * @author: renchao
139 */
132 addInterface () { 140 addInterface () {
133 addSysInterface(this.ruleForm).then(res => { 141 addSysInterface(this.ruleForm).then(res => {
134 if (res.code == 200) { 142 if (res.code == 200) {
...@@ -141,6 +149,10 @@ ...@@ -141,6 +149,10 @@
141 }) 149 })
142 }, 150 },
143 //编辑接口 151 //编辑接口
152 /**
153 * @description: 编辑接口
154 * @author: renchao
155 */
144 editInterface () { 156 editInterface () {
145 editSysInterface(this.ruleForm).then(res => { 157 editSysInterface(this.ruleForm).then(res => {
146 if (res.code == 200) { 158 if (res.code == 200) {
...@@ -153,10 +165,19 @@ ...@@ -153,10 +165,19 @@
153 }) 165 })
154 }, 166 },
155 //获取详情 167 //获取详情
168 /**
169 * @description: 获取详情
170 * @param {*} item
171 * @author: renchao
172 */
156 getDetailInfo (item) { 173 getDetailInfo (item) {
157 this.ruleForm = item 174 this.ruleForm = item
158 }, 175 },
159 //关闭弹窗 176 //关闭弹窗
177 /**
178 * @description: 关闭弹窗
179 * @author: renchao
180 */
160 closeDialog () { 181 closeDialog () {
161 this.$emit("input", false); 182 this.$emit("input", false);
162 this.ruleForm = { 183 this.ruleForm = {
......
...@@ -72,6 +72,10 @@ export default { ...@@ -72,6 +72,10 @@ export default {
72 }, 72 },
73 methods: { 73 methods: {
74 //表单提交 74 //表单提交
75 /**
76 * @description: 表单提交
77 * @author: renchao
78 */
75 submitForm () { 79 submitForm () {
76 console.log(this.interfaceParams); 80 console.log(this.interfaceParams);
77 console.log(this.hasJsonFlag); 81 console.log(this.hasJsonFlag);
...@@ -89,10 +93,19 @@ export default { ...@@ -89,10 +93,19 @@ export default {
89 }) 93 })
90 }, 94 },
91 //获取详情 95 //获取详情
96 /**
97 * @description: 获取详情
98 * @param {*} item
99 * @author: renchao
100 */
92 getDetailInfo(item){ 101 getDetailInfo(item){
93 this.ruleForm = item 102 this.ruleForm = item
94 }, 103 },
95 //关闭弹窗 104 //关闭弹窗
105 /**
106 * @description: 关闭弹窗
107 * @author: renchao
108 */
96 closeDialog () { 109 closeDialog () {
97 this.$emit("input", false); 110 this.$emit("input", false);
98 this.interfaceParams = {} 111 this.interfaceParams = {}
...@@ -100,6 +113,11 @@ export default { ...@@ -100,6 +113,11 @@ export default {
100 this.hasJsonFlag = true 113 this.hasJsonFlag = true
101 }, 114 },
102 //获取接口类型 115 //获取接口类型
116 /**
117 * @description: 获取接口类型
118 * @param {*} code
119 * @author: renchao
120 */
103 getInterfaceType(code){ 121 getInterfaceType(code){
104 let name = '' 122 let name = ''
105 for (let item of this.interfaceTypes) { 123 for (let item of this.interfaceTypes) {
...@@ -110,13 +128,28 @@ export default { ...@@ -110,13 +128,28 @@ export default {
110 } 128 }
111 return name; 129 return name;
112 }, 130 },
131 /**
132 * @description: onJsonChange
133 * @param {*} value
134 * @author: renchao
135 */
113 onJsonChange(value){ 136 onJsonChange(value){
114 this.onJsonSave(); 137 this.onJsonSave();
115 }, 138 },
139 /**
140 * @description: onJsonSave
141 * @param {*} value
142 * @author: renchao
143 */
116 onJsonSave (value) { 144 onJsonSave (value) {
117 this.interfaceParams = value 145 this.interfaceParams = value
118 this.hasJsonFlag = true 146 this.hasJsonFlag = true
119 }, 147 },
148 /**
149 * @description: onError
150 * @param {*} value
151 * @author: renchao
152 */
120 onError(value) { 153 onError(value) {
121 this.hasJsonFlag = false 154 this.hasJsonFlag = false
122 }, 155 },
......
...@@ -78,6 +78,10 @@ ...@@ -78,6 +78,10 @@
78 }; 78 };
79 }, 79 },
80 methods: { 80 methods: {
81 /**
82 * @description: queryClick
83 * @author: renchao
84 */
81 queryClick () { 85 queryClick () {
82 this.$startLoading() 86 this.$startLoading()
83 getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => { 87 getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => {
...@@ -90,17 +94,31 @@ ...@@ -90,17 +94,31 @@
90 }) 94 })
91 }, 95 },
92 //打开新增 96 //打开新增
97 /**
98 * @description: 打开新增
99 * @author: renchao
100 */
93 openDialog () { 101 openDialog () {
94 this.editFlag = false; 102 this.editFlag = false;
95 this.addDialog = true; 103 this.addDialog = true;
96 }, 104 },
97 //打开编辑 105 //打开编辑
106 /**
107 * @description: 打开编辑
108 * @param {*} item
109 * @author: renchao
110 */
98 editInterface (item) { 111 editInterface (item) {
99 this.editFlag = true; 112 this.editFlag = true;
100 this.addDialog = true; 113 this.addDialog = true;
101 this.$refs.addDialog.getDetailInfo(item); 114 this.$refs.addDialog.getDetailInfo(item);
102 }, 115 },
103 //打开调试窗口 116 //打开调试窗口
117 /**
118 * @description: 打开调试窗口
119 * @param {*} item
120 * @author: renchao
121 */
104 tuneInterface (item) { 122 tuneInterface (item) {
105 this.retrieveDialog = true; 123 this.retrieveDialog = true;
106 this.$refs.retrieveDialog.getDetailInfo(item); 124 this.$refs.retrieveDialog.getDetailInfo(item);
......
...@@ -133,6 +133,10 @@ ...@@ -133,6 +133,10 @@
133 }, 133 },
134 methods: { 134 methods: {
135 // 更新验证码 135 // 更新验证码
136 /**
137 * @description: 更新验证码
138 * @author: renchao
139 */
136 reloadCaptcha () { 140 reloadCaptcha () {
137 axios.get(window._config.services.management + "/management/captcha?format=json").then(res => { 141 axios.get(window._config.services.management + "/management/captcha?format=json").then(res => {
138 if (res.data.status === 1) { 142 if (res.data.status === 1) {
...@@ -142,6 +146,10 @@ ...@@ -142,6 +146,10 @@
142 }) 146 })
143 }, 147 },
144 // 初始化 148 // 初始化
149 /**
150 * @description: 初始化
151 * @author: renchao
152 */
145 initPage () { 153 initPage () {
146 let userInfo = 154 let userInfo =
147 localStorage.getItem("userInfo") && 155 localStorage.getItem("userInfo") &&
...@@ -151,6 +159,10 @@ ...@@ -151,6 +159,10 @@
151 this.userInfo.password = userInfo.password; 159 this.userInfo.password = userInfo.password;
152 } 160 }
153 }, 161 },
162 /**
163 * @description: goHome
164 * @author: renchao
165 */
154 goHome () { 166 goHome () {
155 if (this.userInfo.username && this.userInfo.password) { 167 if (this.userInfo.username && this.userInfo.password) {
156 axios 168 axios
...@@ -175,14 +187,28 @@ ...@@ -175,14 +187,28 @@
175 return 187 return
176 } 188 }
177 }, 189 },
190 /**
191 * @description: selectEyes
192 * @author: renchao
193 */
178 selectEyes () { 194 selectEyes () {
179 this.selectEye = !this.selectEye; 195 this.selectEye = !this.selectEye;
180 }, 196 },
181 197
182 //获取焦点 198 //获取焦点
199 /**
200 * @description: 获取焦点
201 * @param {*} type
202 * @author: renchao
203 */
183 reduceBorder (type) { 204 reduceBorder (type) {
184 this.change[type] = true 205 this.change[type] = true
185 }, 206 },
207 /**
208 * @description: addBorder
209 * @param {*} type
210 * @author: renchao
211 */
186 addBorder (type) { 212 addBorder (type) {
187 //失去焦点 213 //失去焦点
188 switch (type) { 214 switch (type) {
......
...@@ -297,18 +297,36 @@ ...@@ -297,18 +297,36 @@
297 } 297 }
298 },*/ 298 },*/
299 //获取高度计算lpb内容区高度 299 //获取高度计算lpb内容区高度
300 /**
301 * @description: 获取高度计算lpb内容区高度
302 * @author: renchao
303 */
300 getHeight () { 304 getHeight () {
301 this.lpbContentHight = window.innerHeight - 190; 305 this.lpbContentHight = window.innerHeight - 190;
302 }, 306 },
303 //图例的展开收起 307 //图例的展开收起
308 /**
309 * @description: 图例的展开收起
310 * @author: renchao
311 */
304 legendToggle () { 312 legendToggle () {
305 this.legendToggleFlag = !this.legendToggleFlag; 313 this.legendToggleFlag = !this.legendToggleFlag;
306 }, 314 },
307 //切换房屋状态 315 //切换房屋状态
316 /**
317 * @description: 切换房屋状态
318 * @param {*} bsms
319 * @param {*} color
320 * @author: renchao
321 */
308 handleChoosedH (bsms, color) { 322 handleChoosedH (bsms, color) {
309 this.$refs.lpbContent.changeChoosed(bsms, color); 323 this.$refs.lpbContent.changeChoosed(bsms, color);
310 }, 324 },
311 //获取各项单元状态统计数据 325 //获取各项单元状态统计数据
326 /**
327 * @description: 获取各项单元状态统计数据
328 * @author: renchao
329 */
312 getDyztBsmList () { 330 getDyztBsmList () {
313 getLpbTj(this.formData.bsm).then((res) => { 331 getLpbTj(this.formData.bsm).then((res) => {
314 if (res.code === 200) { 332 if (res.code === 200) {
...@@ -362,6 +380,10 @@ ...@@ -362,6 +380,10 @@
362 }); 380 });
363 }, 381 },
364 // 获取房屋用途和房屋性质及缺失项统计数据 382 // 获取房屋用途和房屋性质及缺失项统计数据
383 /**
384 * @description: 获取房屋用途和房屋性质及缺失项统计数据
385 * @author: renchao
386 */
365 getLpbFwytAndQlxz () { 387 getLpbFwytAndQlxz () {
366 getLpbFwytAndQlxz(this.formData.bsm).then((res) => { 388 getLpbFwytAndQlxz(this.formData.bsm).then((res) => {
367 if (res.code === 200) { 389 if (res.code === 200) {
......
...@@ -113,6 +113,12 @@ export default { ...@@ -113,6 +113,12 @@ export default {
113 mounted() {}, 113 mounted() {},
114 methods: { 114 methods: {
115 // 层选中事件 115 // 层选中事件
116 /**
117 * @description: 层选中事件
118 * @param {*} e
119 * @param {*} item
120 * @author: renchao
121 */
116 handleClickC(e, item) { 122 handleClickC(e, item) {
117 //判断点击的层是否选中 123 //判断点击的层是否选中
118 // if (e.target.className.indexOf("tdSelect") == -1) { 124 // if (e.target.className.indexOf("tdSelect") == -1) {
...@@ -127,17 +133,42 @@ export default { ...@@ -127,17 +133,42 @@ export default {
127 // this.$parent.getCbsm(this.cbsmList); 133 // this.$parent.getCbsm(this.cbsmList);
128 }, 134 },
129 //户单击事件 135 //户单击事件
136 /**
137 * @description: 户单击事件
138 * @param {*} e
139 * @param {*} bsm
140 * @param {*} hs
141 * @author: renchao
142 */
130 handleClickH(e, bsm, hs) { 143 handleClickH(e, bsm, hs) {
131 }, 144 },
132 // 户单元状态点击事件 145 // 户单元状态点击事件
146 /**
147 * @description: 户单元状态点击事件
148 * @param {*} e
149 * @param {*} bsm
150 * @param {*} hs
151 * @author: renchao
152 */
133 hDyztClick(e, bsm, hs) { 153 hDyztClick(e, bsm, hs) {
134 // this.handleClickH(e.target.parentNode, bsm, hs); 154 // this.handleClickH(e.target.parentNode, bsm, hs);
135 }, 155 },
136 //户双击事件 156 //户双击事件
157 /**
158 * @description: 户双击事件
159 * @param {*} bsm
160 * @author: renchao
161 */
137 dbclick(bsm) { 162 dbclick(bsm) {
138 // clearTimeout(this.time); 163 // clearTimeout(this.time);
139 }, 164 },
140 //幢单元全选/反选 165 //幢单元全选/反选
166 /**
167 * @description: 幢单元全选/反选
168 * @param {*} val
169 * @param {*} flag
170 * @author: renchao
171 */
141 zdySelectAll(val,flag) { 172 zdySelectAll(val,flag) {
142 // 手动点击全部取消选中 173 // 手动点击全部取消选中
143 !flag && this.clearChangeChoosedObj() 174 !flag && this.clearChangeChoosedObj()
......
...@@ -88,18 +88,40 @@ export default { ...@@ -88,18 +88,40 @@ export default {
88 }, 88 },
89 methods: { 89 methods: {
90 // 改变户选中状态 90 // 改变户选中状态
91 /**
92 * @description: 改变户选中状态
93 * @param {*} bsms
94 * @param {*} color
95 * @author: renchao
96 */
91 changeChoosed(bsms, color){ 97 changeChoosed(bsms, color){
92 this.changeChoosedObj.bsms = bsms; 98 this.changeChoosedObj.bsms = bsms;
93 this.changeChoosedObj.color = color; 99 this.changeChoosedObj.color = color;
94 }, 100 },
101 /**
102 * @description: clearChangeChoosedObj
103 * @author: renchao
104 */
95 clearChangeChoosedObj(){ 105 clearChangeChoosedObj(){
96 this.changeChoosedObj.bsms = []; 106 this.changeChoosedObj.bsms = [];
97 }, 107 },
98 //全选户 108 //全选户
109 /**
110 * @description: 全选户
111 * @param {*} val
112 * @author: renchao
113 */
99 zdySelectAll(val) { 114 zdySelectAll(val) {
100 this.selectAllObj.selectAll = val; 115 this.selectAllObj.selectAll = val;
101 }, 116 },
102 //获取楼盘表数据 117 //获取楼盘表数据
118 /**
119 * @description: 获取楼盘表数据
120 * @param {*} zrzbsm
121 * @param {*} scyclx
122 * @param {*} actual
123 * @author: renchao
124 */
103 getLpb(zrzbsm, scyclx, actual) { 125 getLpb(zrzbsm, scyclx, actual) {
104 getLpb(zrzbsm, scyclx).then((res) => { 126 getLpb(zrzbsm, scyclx).then((res) => {
105 if (res.code == 200) { 127 if (res.code == 200) {
...@@ -119,19 +141,39 @@ export default { ...@@ -119,19 +141,39 @@ export default {
119 }); 141 });
120 }, 142 },
121 //户右键点击事件 143 //户右键点击事件
144 /**
145 * @description: 户右键点击事件
146 * @param {*} e
147 * @param {*} item
148 * @param {*} type
149 * @author: renchao
150 */
122 openMenu(e, item, type) { 151 openMenu(e, item, type) {
123 this.lpbChLeft = e.pageX - 96; 152 this.lpbChLeft = e.pageX - 96;
124 this.lpbChTop = e.pageY - 23; 153 this.lpbChTop = e.pageY - 23;
125 // this.lpbChVisible = true; 154 // this.lpbChVisible = true;
126 }, 155 },
127 //关闭户右键菜单 156 //关闭户右键菜单
157 /**
158 * @description: 关闭户右键菜单
159 * @author: renchao
160 */
128 closeMenu() { 161 closeMenu() {
129 this.lpbChVisible = false; 162 this.lpbChVisible = false;
130 }, 163 },
131 //右键菜单点击 164 //右键菜单点击
165 /**
166 * @description: 右键菜单点击
167 * @author: renchao
168 */
132 menuClick() { 169 menuClick() {
133 this.closeMenu(); 170 this.closeMenu();
134 }, 171 },
172 /**
173 * @description: compare
174 * @param {*} property
175 * @author: renchao
176 */
135 compare(property) { 177 compare(property) {
136 return function (a, b) { 178 return function (a, b) {
137 var value1 = a[property]; 179 var value1 = a[property];
......
...@@ -45,6 +45,12 @@ export default { ...@@ -45,6 +45,12 @@ export default {
45 45
46 methods: { 46 methods: {
47 //幢单元全选 47 //幢单元全选
48 /**
49 * @description: 幢单元全选
50 * @param {*} val
51 * @param {*} r
52 * @author: renchao
53 */
48 zdySelectAll(val,r) { 54 zdySelectAll(val,r) {
49 this.$refs[r][0].zdySelectAll(val) 55 this.$refs[r][0].zdySelectAll(val)
50 }, 56 },
......
...@@ -86,6 +86,10 @@ ...@@ -86,6 +86,10 @@
86 this.loadData(); 86 this.loadData();
87 }, 87 },
88 methods: { 88 methods: {
89 /**
90 * @description: loadData
91 * @author: renchao
92 */
89 loadData () { 93 loadData () {
90 if (this.$parent.addRepairRecord) { 94 if (this.$parent.addRepairRecord) {
91 this.columns.unshift({ prop: "cz", label: "操作" }); 95 this.columns.unshift({ prop: "cz", label: "操作" });
...@@ -116,6 +120,10 @@ ...@@ -116,6 +120,10 @@
116 } 120 }
117 }); 121 });
118 }, 122 },
123 /**
124 * @description: checkChange
125 * @author: renchao
126 */
119 checkChange () { 127 checkChange () {
120 if (this.checkList.length === 0) { 128 if (this.checkList.length === 0) {
121 this.tableData = []; 129 this.tableData = [];
...@@ -124,6 +132,10 @@ ...@@ -124,6 +132,10 @@
124 this.loadData(); 132 this.loadData();
125 } 133 }
126 }, 134 },
135 /**
136 * @description: getQsztName
137 * @author: renchao
138 */
127 getQsztName (code) { 139 getQsztName (code) {
128 let name = ""; 140 let name = "";
129 for (let item of this.qsztList) { 141 for (let item of this.qsztList) {
...@@ -135,6 +147,12 @@ ...@@ -135,6 +147,12 @@
135 return name; 147 return name;
136 }, 148 },
137 // 新增一条补录信息 149 // 新增一条补录信息
150 /**
151 * @description: 新增一条补录信息
152 * @param {*} row
153 * @param {*} del
154 * @author: renchao
155 */
138 editDialog (row, del) { 156 editDialog (row, del) {
139 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { 157 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
140 confirmButtonText: "确定", 158 confirmButtonText: "确定",
......
...@@ -17,34 +17,34 @@ ...@@ -17,34 +17,34 @@
17 <el-row :gutter="10"> 17 <el-row :gutter="10">
18 <el-col :span="8"> 18 <el-col :span="8">
19 <el-form-item label="业务号:"> 19 <el-form-item label="业务号:">
20 <el-input v-model="ruleForm.flow.ywh"></el-input> 20 <el-input disabled v-model="ruleForm.flow.ywh"></el-input>
21 </el-form-item> 21 </el-form-item>
22 </el-col> 22 </el-col>
23 <el-col :span="8"> 23 <el-col :span="8">
24 <el-form-item label="受理人员:"> 24 <el-form-item label="受理人员:">
25 <el-input v-model="ruleForm.slsq.slry"></el-input> 25 <el-input disabled v-model="ruleForm.slsq.slry"></el-input>
26 </el-form-item> 26 </el-form-item>
27 </el-col> 27 </el-col>
28 <el-col :span="8"> 28 <el-col :span="8">
29 <el-form-item label="受理时间:"> 29 <el-form-item label="受理时间:">
30 <el-input v-model="ruleForm.slsq.slsj"></el-input> 30 <el-input disabled v-model="ruleForm.slsq.slsj"></el-input>
31 </el-form-item> 31 </el-form-item>
32 </el-col> 32 </el-col>
33 </el-row> 33 </el-row>
34 <el-row :gutter="10"> 34 <el-row :gutter="10">
35 <el-col :span="8"> 35 <el-col :span="8">
36 <el-form-item label="权利类型:"> 36 <el-form-item label="权利类型:">
37 <el-input v-model="ruleForm.sldy.qllxmc"></el-input> 37 <el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input>
38 </el-form-item> 38 </el-form-item>
39 </el-col> 39 </el-col>
40 <el-col :span="8"> 40 <el-col :span="8">
41 <el-form-item label="登记类型:"> 41 <el-form-item label="登记类型:">
42 <el-input v-model="ruleForm.sldy.djlxmc"></el-input> 42 <el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input>
43 </el-form-item> 43 </el-form-item>
44 </el-col> 44 </el-col>
45 <el-col :span="8"> 45 <el-col :span="8">
46 <el-form-item label="登记情形:"> 46 <el-form-item label="登记情形:">
47 <el-input v-model="ruleForm.slsq.djqxmc"></el-input> 47 <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input>
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 </el-row> 50 </el-row>
......