80db871c by “miaofang

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

2 parents dcec0e56 5c65daec
1 /*
2 * @Description: 登记业务信息接口
3 * @Autor: renchao
4 * @LastEditTime: 2023-09-15 14:16:20
5 */
6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 /**
9 * @description: 根据业务号查询系统参数数据
10 * @param {*} ywh
11 * @author: renchao
12 */
13 export function getXtParamsByYwh (ywh) {
14 return request({
15 url: SERVER.SERVERAPI + '/rest/ywbl/djyw/getXtParamsByYwh',
16 method: 'get',
17 params: {
18 ywh: ywh
19 }
20 })
21 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -173,7 +173,8 @@ export default { ...@@ -173,7 +173,8 @@ export default {
173 break; 173 break;
174 case "B8": 174 case "B8":
175 this.$popupDialog('楼盘表', 'lpb/index', { 175 this.$popupDialog('楼盘表', 'lpb/index', {
176 bsm: '' 176 bsm: '',
177 onlyShow: true,
177 }, '90%', true) 178 }, '90%', true)
178 break; 179 break;
179 case "back": //退回按钮 180 case "back": //退回按钮
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-12 16:55:35 4 * @LastEditTime: 2023-09-15 14:46:47
5 --> 5 -->
6 <template> 6 <template>
7 <div class="edit"> 7 <div class="edit">
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
22 :zrzbsm="formData.bsm" 22 :zrzbsm="formData.bsm"
23 :scyclx="formData.scyclx" 23 :scyclx="formData.scyclx"
24 :onlyShow="formData.onlyShow" 24 :onlyShow="formData.onlyShow"
25 :showSave="formData.showSave"
25 :unitData="formData.unitData" 26 :unitData="formData.unitData"
26 :sqywInfo="formData" 27 :sqywInfo="formData"
27 :key="time"></lpbContent> 28 :key="time"></lpbContent>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: yangwei 2 * @Author: yangwei
3 * @Date: 2023-02-28 15:47:12 3 * @Date: 2023-02-28 15:47:12
4 * @LastEditors: yangwei 4 * @LastEditors: yangwei
5 * @LastEditTime: 2023-09-14 15:04:20 5 * @LastEditTime: 2023-09-15 14:52:50
6 * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ch.vue 6 * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ch.vue
7 * @Description: 7 * @Description:
8 * 8 *
...@@ -96,6 +96,10 @@ export default { ...@@ -96,6 +96,10 @@ export default {
96 return []; 96 return [];
97 }, 97 },
98 }, 98 },
99 onlyShow:{
100 type: Boolean,
101 default: true,
102 }
99 }, 103 },
100 data() { 104 data() {
101 return { 105 return {
...@@ -140,23 +144,25 @@ export default { ...@@ -140,23 +144,25 @@ export default {
140 * @author: renchao 144 * @author: renchao
141 */ 145 */
142 handleClickC(e, item) { 146 handleClickC(e, item) {
143 // 判断点击的层是否选中 147 if (!this.onlyShow) {
144 if (e.target.className.indexOf("tdSelect") == -1) { 148 // 判断点击的层是否选中
145 //未选中→选中 149 if (e.target.className.indexOf("tdSelect") == -1) {
146 item.hs.forEach((h) => { 150 //未选中→选中
147 //加边框 151 item.hs.forEach((h) => {
148 e.target.className += " tdSelect"; 152 //加边框
149 h.select = true; 153 e.target.className += " tdSelect";
150 // 使用hbsmList时,需要去重 154 h.select = true;
151 this.hbsmList.push(h.bsm) 155 // 使用hbsmList时,需要去重
152 }); 156 this.hbsmList.push(h.bsm)
153 } else { 157 });
154 //选中→未选中 158 } else {
155 item.hs.forEach((h) => { 159 //选中→未选中
156 e.target.className = "floor"; 160 item.hs.forEach((h) => {
157 h.select = false; 161 e.target.className = "floor";
158 this.hbsmList = this.hbsmList.filter((i) => i != h.bsm); 162 h.select = false;
159 }); 163 this.hbsmList = this.hbsmList.filter((i) => i != h.bsm);
164 });
165 }
160 } 166 }
161 }, 167 },
162 //户单击事件 168 //户单击事件
...@@ -168,26 +174,28 @@ export default { ...@@ -168,26 +174,28 @@ export default {
168 * @author: renchao 174 * @author: renchao
169 */ 175 */
170 handleClickH(e, bsm, hs) { 176 handleClickH(e, bsm, hs) {
171 let self = this; 177 if (!this.onlyShow) {
172 // 开启延时器,200ms的间隔区分单击和双击,解决双击时执行两次单击事件 178 let self = this;
173 clearTimeout(self.time); 179 // 开启延时器,200ms的间隔区分单击和双击,解决双击时执行两次单击事件
174 self.time = setTimeout(() => { 180 clearTimeout(self.time);
175 // this.closeMenu(); 181 self.time = setTimeout(() => {
176 //判断点击的户是否选中 182 // this.closeMenu();
177 if (!hs.select) { 183 //判断点击的户是否选中
178 //未选中→选中 184 if (!hs.select) {
179 //加边框 185 //未选中→选中
180 hs.select = true; 186 //加边框
181 // 将户bsm放进hbsmList 187 hs.select = true;
182 self.hbsmList.push(bsm); 188 // 将户bsm放进hbsmList
183 } else { 189 self.hbsmList.push(bsm);
184 //选中→未选中 190 } else {
185 hs.select = false; 191 //选中→未选中
186 self.hbsmList = self.hbsmList.filter((i) => i != bsm); 192 hs.select = false;
187 } 193 self.hbsmList = self.hbsmList.filter((i) => i != bsm);
188 //更新当前选中户数据 194 }
189 this.$forceUpdate(); 195 //更新当前选中户数据
190 }, 200); 196 this.$forceUpdate();
197 }, 200);
198 }
191 }, 199 },
192 // 户单元状态点击事件 200 // 户单元状态点击事件
193 /** 201 /**
...@@ -198,7 +206,9 @@ export default { ...@@ -198,7 +206,9 @@ export default {
198 * @author: renchao 206 * @author: renchao
199 */ 207 */
200 hDyztClick(e, bsm, hs) { 208 hDyztClick(e, bsm, hs) {
201 this.handleClickH(e.target.parentNode, bsm, hs); 209 if (!this.onlyShow) {
210 this.handleClickH(e.target.parentNode, bsm, hs);
211 }
202 }, 212 },
203 //户双击事件 213 //户双击事件
204 /** 214 /**
......
...@@ -4,22 +4,22 @@ ...@@ -4,22 +4,22 @@
4 <!-- 纵向倒序排列 逻辑幢位于独立幢单元和独立层户的上方 --> 4 <!-- 纵向倒序排列 逻辑幢位于独立幢单元和独立层户的上方 -->
5 <div class="ch-zdy-wrap"> 5 <div class="ch-zdy-wrap">
6 <!-- 幢单元 --> 6 <!-- 幢单元 -->
7 <zdy-cpn v-if="lpbData.zdys.length" :zdys="lpbData.zdys" :onlyShow="onlyShow"/> 7 <zdy-cpn v-if="lpbData.zdys.length" :zdys="lpbData.zdys" :onlyShow="onlyShow"/>
8 <!-- 独立层户 --> 8 <!-- 独立层户 -->
9 <ch-cpn v-if="lpbData.cs.length" :ch="lpbData.cs" /> 9 <ch-cpn v-if="lpbData.cs.length" :ch="lpbData.cs" :onlyShow="onlyShow"/>
10 </div> 10 </div>
11 <!-- 逻辑幢 --> 11 <!-- 逻辑幢 -->
12 <ljzs-cpn v-if="lpbData.ljzs.length" :ljzs="lpbData.ljzs" :onlyShow="onlyShow"/> 12 <ljzs-cpn v-if="lpbData.ljzs.length" :ljzs="lpbData.ljzs" :onlyShow="onlyShow"/>
13 </div> 13 </div>
14 <!-- 自然幢名称 --> 14 <!-- 自然幢名称 -->
15 <!-- <p class="lpb-xmmc" :style="{ 'border-bottom': onlyShow ? 0 : '1px solid #e6e6e6'}"> --> 15 <p class="lpb-xmmc" v-if="onlyShow" style="border-bottom: 1px solid #e6e6e6">{{ lpbData.xmmc }}</p>
16 <p class="lpb-xmmc" :style="{ 'border-bottom':'1px solid #e6e6e6'}"> 16 <p class="lpb-xmmc" v-else :style="{ 'border-bottom':'1px solid #e6e6e6'}">
17 <el-checkbox @change="zdySelectAll($event)">{{ 17 <el-checkbox @change="zdySelectAll($event)">{{
18 lpbData.xmmc 18 lpbData.xmmc
19 }}</el-checkbox> 19 }}</el-checkbox>
20 </p> 20 </p>
21 <el-button type="primary" class="save-btn" v-if="!onlyShow" @click="saveLpb">保存</el-button> 21 <el-button type="primary" class="save-btn" v-if="!onlyShow && showSave" @click="saveLpb">保存</el-button>
22 <el-button type="primary" class="save-btn" v-else @click="submitForm" :loading="loading">发起申请</el-button> 22 <el-button type="primary" class="save-btn" v-if="!onlyShow" @click="submitForm" :loading="loading">发起申请</el-button>
23 <!-- 右键菜单 --> 23 <!-- 右键菜单 -->
24 <ul 24 <ul
25 v-show="lpbChVisible" 25 v-show="lpbChVisible"
...@@ -70,6 +70,10 @@ export default { ...@@ -70,6 +70,10 @@ export default {
70 type: Boolean, 70 type: Boolean,
71 default: true, 71 default: true,
72 }, 72 },
73 showSave:{
74 type: Boolean,
75 default: false,
76 },
73 scyclx: { 77 scyclx: {
74 type: Number, 78 type: Number,
75 default: 0, 79 default: 0,
...@@ -278,8 +282,8 @@ export default { ...@@ -278,8 +282,8 @@ export default {
278 }, 282 },
279 computed:{ 283 computed:{
280 lpbContentHeight(){ 284 lpbContentHeight(){
281 // return this.onlyShow ? 36 : 76 285 return this.onlyShow ? 32 : 76
282 return 76 286 // return 76
283 } 287 }
284 }, 288 },
285 watch: { 289 watch: {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: yangwei 2 * @Author: yangwei
3 * @Date: 2023-02-28 17:25:45 3 * @Date: 2023-02-28 17:25:45
4 * @LastEditors: yangwei 4 * @LastEditors: yangwei
5 * @LastEditTime: 2023-09-14 14:35:19 5 * @LastEditTime: 2023-09-15 14:55:58
6 * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ljzs.vue 6 * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ljzs.vue
7 * @Description: 7 * @Description:
8 * 8 *
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
26 }}</el-checkbox> 26 }}</el-checkbox>
27 </p> 27 </p>
28 <!-- 独立层户 --> 28 <!-- 独立层户 -->
29 <ch-cpn v-if="ljz.cs.length" :ref="ljz.bsm" :ch="ljz.cs" /> 29 <ch-cpn v-if="ljz.cs.length" :ref="ljz.bsm" :ch="ljz.cs" :onlyShow="onlyShow"/>
30 <!-- 幢单元 --> 30 <!-- 幢单元 -->
31 <zdy-cpn v-if="ljz.zdys.length" :ref="'zdy' + ljz.bsm" :zdys="ljz.zdys" :onlyShow="onlyShow"/> 31 <zdy-cpn v-if="ljz.zdys.length" :ref="'zdy' + ljz.bsm" :zdys="ljz.zdys" :onlyShow="onlyShow"/>
32 </div> 32 </div>
...@@ -40,13 +40,14 @@ ...@@ -40,13 +40,14 @@
40 v-else 40 v-else
41 > 41 >
42 <!-- 逻辑幢名称 --> 42 <!-- 逻辑幢名称 -->
43 <p class="lpb-xmmc ljz-xmmc"> 43 <p class="lpb-xmmc ljz-xmmc" v-if="onlyShow">{{ ljzarr[0].ljzmc }}</p>
44 <p class="lpb-xmmc ljz-xmmc" v-else>
44 <el-checkbox @change="zdySelectAll($event,ljzarr[0].bsm)">{{ 45 <el-checkbox @change="zdySelectAll($event,ljzarr[0].bsm)">{{
45 ljzarr[0].ljzmc 46 ljzarr[0].ljzmc
46 }}</el-checkbox> 47 }}</el-checkbox>
47 </p> 48 </p>
48 <!-- 独立层户 --> 49 <!-- 独立层户 -->
49 <ch-cpn v-if="ljzarr[0].cs.length" :ref="ljzarr[0].bsm" :ch="ljzarr[0].cs" /> 50 <ch-cpn v-if="ljzarr[0].cs.length" :ref="ljzarr[0].bsm" :ch="ljzarr[0].cs" :onlyShow="onlyShow"/>
50 <!-- 幢单元 --> 51 <!-- 幢单元 -->
51 <zdy-cpn v-if="ljzarr[0].zdys.length" :ref="'zdy' + ljzarr[0].bsm" :zdys="ljzarr[0].zdys" :onlyShow="onlyShow"/> 52 <zdy-cpn v-if="ljzarr[0].zdys.length" :ref="'zdy' + ljzarr[0].bsm" :zdys="ljzarr[0].zdys" :onlyShow="onlyShow"/>
52 </div> 53 </div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: yangwei 2 * @Author: yangwei
3 * @Date: 2023-02-28 16:29:04 3 * @Date: 2023-02-28 16:29:04
4 * @LastEditors: yangwei 4 * @LastEditors: yangwei
5 * @LastEditTime: 2023-09-14 14:36:51 5 * @LastEditTime: 2023-09-15 14:57:10
6 * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\zdys.vue 6 * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\zdys.vue
7 * @Description: 7 * @Description:
8 * 8 *
...@@ -13,12 +13,13 @@ ...@@ -13,12 +13,13 @@
13 <div v-for="zdy in realZdys" :key="zdy.bsm"> 13 <div v-for="zdy in realZdys" :key="zdy.bsm">
14 <!-- 幢单元名称 --> 14 <!-- 幢单元名称 -->
15 <p class="lpb-xmmc"> 15 <p class="lpb-xmmc">
16 <el-checkbox @change="zdySelectAll($event,zdy.bsm)">{{ 16 <el-checkbox @change="zdySelectAll($event,zdy.bsm)" v-if="!onlyShow">{{
17 zdy.zdymc 17 zdy.zdymc
18 }}</el-checkbox> 18 }}</el-checkbox>
19 <span v-else>{{zdy.zdymc}}</span>
19 </p> 20 </p>
20 <!-- 每个幢单元下的层户 --> 21 <!-- 每个幢单元下的层户 -->
21 <ch-cpn :ref="zdy.bsm" :ch="zdy.cs" /> 22 <ch-cpn :ref="zdy.bsm" :ch="zdy.cs" :onlyShow="onlyShow"/>
22 </div> 23 </div>
23 </div> 24 </div>
24 </template> 25 </template>
......
...@@ -22,14 +22,9 @@ class data extends filter { ...@@ -22,14 +22,9 @@ class data extends filter {
22 ) 22 )
23 } 23 }
24 }, 24 },
25
25 { 26 {
26 prop: "ywh", 27 label: "推送状态",
27 label: "业务号",
28 // width: '110',
29 },
30 {
31 label: "权属状态",
32 // width: '80',
33 render: (h, scope) => { 28 render: (h, scope) => {
34 let obj = { 29 let obj = {
35 "0": { 30 "0": {
...@@ -52,10 +47,38 @@ class data extends filter { ...@@ -52,10 +47,38 @@ class data extends filter {
52 } 47 }
53 }, 48 },
54 { 49 {
50 prop: "ywh",
51 label: "业务号",
52 // width: '110',
53 },
54 {
55 prop: "ywh1",
56 label: "登记业务名称",
57 // width: '110',
58 },
59 {
60 prop: "ywh2",
61 label: "登记情形名称",
62 // width: '110',
63 },
64 {
65 prop: "bdcdyh",
66 label: "不动产单元号",
67 // width: '110',
68 },
69 {
55 prop: "createtime", 70 prop: "createtime",
56 label: "创建时间", 71 label: "创建时间",
57 }, 72 },
58 { 73 {
74 prop: "createtime",
75 label: "推送时间",
76 },
77 {
78 prop: "createtime1",
79 label: "响应时间",
80 },
81 {
59 label: '操作', 82 label: '操作',
60 width: '100', 83 width: '100',
61 render: (h, scope) => { 84 render: (h, scope) => {
......
1 <!-- 1 <!--
2 * @Description: workFrame左侧菜单列表-普通 2 * @Description: workFrame左侧菜单列表-普通
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-13 14:21:14 4 * @LastEditTime: 2023-09-15 17:06:29
5 --> 5 -->
6 <template> 6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
...@@ -45,12 +45,14 @@ ...@@ -45,12 +45,14 @@
45 import { mapGetters } from 'vuex' 45 import { mapGetters } from 'vuex'
46 import { leftMenu, deleteSlbdcdy, jdcxLeftMenu } from "@/api/workFlow.js" 46 import { leftMenu, deleteSlbdcdy, jdcxLeftMenu } from "@/api/workFlow.js"
47 export default { 47 export default {
48 props: {
49 paramData: {
50 type: Object,
51 default: () => { }
52 }
53 },
48 data () { 54 data () {
49 return { 55 return {
50 //受理申请标识码
51 bsmSlsq: this.$route.query.bsmSlsq,
52 //当前流程所在环节
53 bestepid: this.$route.query.bestepid,
54 // 默认选中 56 // 默认选中
55 activeIndex: '0', 57 activeIndex: '0',
56 // 折叠 58 // 折叠
...@@ -65,9 +67,6 @@ ...@@ -65,9 +67,6 @@
65 currentSelectProps: {} 67 currentSelectProps: {}
66 } 68 }
67 }, 69 },
68 mounted () {
69 this.loadBdcdylist();
70 },
71 computed: { 70 computed: {
72 ...mapGetters(['isRefresh']) 71 ...mapGetters(['isRefresh'])
73 }, 72 },
...@@ -79,7 +78,16 @@ ...@@ -79,7 +78,16 @@
79 } 78 }
80 }, 79 },
81 immediate: true 80 immediate: true
82 } 81 },
82 paramData: {
83 handler (newVal, oldVal) {
84 if (newVal) {
85 this.loadBdcdylist()
86 }
87 },
88 immediate: true,
89 deep: true
90 },
83 }, 91 },
84 methods: { 92 methods: {
85 /** 93 /**
...@@ -89,13 +97,11 @@ ...@@ -89,13 +97,11 @@
89 loadBdcdylist () { 97 loadBdcdylist () {
90 let that = this 98 let that = this
91 var formdata = new FormData(); 99 var formdata = new FormData();
92 formdata.append("bsmSlsq", this.bsmSlsq); 100 // 受理申请标识码
93 if (this.$route.query.bestepid) { 101 formdata.append("bsmSlsq", this.paramData.bsmSlsq);
94 formdata.append("bestepid", this.bestepid); 102 // 当前流程所在环节
95 } 103 formdata.append("bestepid", this.paramData.bestepid);
96 if (this.$route.query.bsmBusiness) { 104 formdata.append("bsmBusiness", this.paramData.bsmBusiness);
97 formdata.append("bsmBusiness", this.$route.query.bsmBusiness);
98 }
99 if (this.$route.query.type == 'jdcx') { 105 if (this.$route.query.type == 'jdcx') {
100 jdcxLeftMenu(formdata).then((res) => { 106 jdcxLeftMenu(formdata).then((res) => {
101 if (res.code === 200 && res.result) { 107 if (res.code === 200 && res.result) {
......
1 <!-- 1 <!--
2 * @Description: workFrame左侧菜单列表-分割 2 * @Description: workFrame左侧菜单列表-分割
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-12 13:32:29 4 * @LastEditTime: 2023-09-15 15:02:25
5 --> 5 -->
6 <template> 6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
...@@ -61,10 +61,6 @@ ...@@ -61,10 +61,6 @@
61 export default { 61 export default {
62 data () { 62 data () {
63 return { 63 return {
64 //受理申请标识码
65 bsmSlsq: this.$route.query.bsmSlsq,
66 //当前流程所在环节
67 bestepid: this.$route.query.bestepid,
68 // 变更前单元默认选中 64 // 变更前单元默认选中
69 activeIndex: '0', 65 activeIndex: '0',
70 // 变更后单元默认选中 66 // 变更后单元默认选中
...@@ -105,13 +101,11 @@ ...@@ -105,13 +101,11 @@
105 loadBdcdylist () { 101 loadBdcdylist () {
106 let that = this 102 let that = this
107 var formdata = new FormData(); 103 var formdata = new FormData();
108 formdata.append("bsmSlsq", this.bsmSlsq); 104 // 受理申请标识码
109 if (this.$route.query.bestepid) { 105 formdata.append("bsmSlsq", this.paramData.bsmSlsq);
110 formdata.append("bestepid", this.bestepid); 106 // 当前流程所在环节
111 } 107 formdata.append("bestepid", this.paramData.bestepid);
112 if (this.$route.query.bsmBusiness) { 108 formdata.append("bsmBusiness", this.paramData.bsmBusiness);
113 formdata.append("bsmBusiness", this.$route.query.bsmBusiness);
114 }
115 if (this.$route.query.type == 'jdcx') { 109 if (this.$route.query.type == 'jdcx') {
116 jdcxLeftMenu(formdata).then((res) => { 110 jdcxLeftMenu(formdata).then((res) => {
117 if (res.code === 200 && res.result) { 111 if (res.code === 200 && res.result) {
...@@ -152,7 +146,6 @@ ...@@ -152,7 +146,6 @@
152 }) 146 })
153 } 147 }
154 }, 148 },
155 //批量按钮判断
156 /** 149 /**
157 * @description: 批量按钮判断 150 * @description: 批量按钮判断
158 * @author: renchao 151 * @author: renchao
...@@ -202,9 +195,9 @@ ...@@ -202,9 +195,9 @@
202 .catch(() => { 195 .catch(() => {
203 this.$message({ 196 this.$message({
204 type: "info", 197 type: "info",
205 message: "已取消删除", 198 message: "已取消删除"
206 }); 199 })
207 }); 200 })
208 }, 201 },
209 /** 202 /**
210 * @description: 批量按钮点击事件 203 * @description: 批量按钮点击事件
...@@ -214,7 +207,6 @@ ...@@ -214,7 +207,6 @@
214 this.currentSelectProps.batchOperation = true; 207 this.currentSelectProps.batchOperation = true;
215 // this.activeIndex = "-1"; 208 // this.activeIndex = "-1";
216 this.$parent.stepForm(0); 209 this.$parent.stepForm(0);
217
218 }, 210 },
219 /** 211 /**
220 * @description: 申请单元点击事件 212 * @description: 申请单元点击事件
......
...@@ -3,14 +3,12 @@ ...@@ -3,14 +3,12 @@
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-12 09:41:27 4 * @LastEditTime: 2023-09-12 09:41:27
5 */ 5 */
6 //流程环节操作按钮
7 /** 6 /**
8 * @description: 流程环节操作按钮 7 * @description: 流程环节操作按钮
9 * @param {*} tabName 8 * @param {*} tabName
10 * @param {*} djywbm
11 * @author: renchao 9 * @author: renchao
12 */ 10 */
13 export function getForm (tabName, djywbm) { 11 export function getForm (tabName) {
14 let form; 12 let form;
15 switch (tabName) { 13 switch (tabName) {
16 case "tdsyqslxx": 14 case "tdsyqslxx":
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-31 09:35:49 4 * @LastEditTime: 2023-09-18 09:32:09
5 */ 5 */
6 import { getPrintTemplateByCode } from "@/api/print"; 6 import { getPrintTemplateByCode } from "@/api/print";
7 import { uploadUndo } from "@/api/clxx"; 7 import { uploadUndo } from "@/api/clxx";
8 import { getLodop } from "@/utils/LodopFuncs" 8 import { getLodop } from "@/utils/LodopFuncs"
9 import { getXtParamsByYwh } from "@/api/djyw.js"
9 import { 10 import {
10 stepExpandInfo, 11 stepExpandInfo,
11 record, 12 record,
...@@ -38,11 +39,19 @@ export default { ...@@ -38,11 +39,19 @@ export default {
38 batchButtonName: '', 39 batchButtonName: '',
39 // 受理申请信息 40 // 受理申请信息
40 slsq: {}, 41 slsq: {},
41 dqhj: "" 42 dqhj: "",
43 // 业务流程需要的参数
44 paramData: {},
42 } 45 }
43 }, 46 },
44 mounted () { 47 created () {
45 this.flowInitParam(); 48 // 根据业务号获取系统参数
49 getXtParamsByYwh(this.$route.query.ywh).then(res => {
50 this.paramData = res.result
51 console.log(this.paramData, 'this.paramData');
52 this.isShowMenu = true
53 this.flowInitParam();
54 })
46 }, 55 },
47 methods: { 56 methods: {
48 /** 57 /**
...@@ -51,8 +60,8 @@ export default { ...@@ -51,8 +60,8 @@ export default {
51 */ 60 */
52 flowInitParam () { 61 flowInitParam () {
53 var formdata = new FormData(); 62 var formdata = new FormData();
54 formdata.append("bsmSlsq", this.bsmSlsq); 63 formdata.append("bsmSlsq", this.paramData.bsmSlsq);
55 formdata.append("bestepid", this.bestepid); 64 formdata.append("bestepid", this.paramData.bestepid);
56 if (this.type) { 65 if (this.type) {
57 formdata.append("type", "READ_ONLY"); 66 formdata.append("type", "READ_ONLY");
58 } 67 }
...@@ -68,7 +77,6 @@ export default { ...@@ -68,7 +77,6 @@ export default {
68 } 77 }
69 }) 78 })
70 }, 79 },
71 //流程环节操作按钮
72 /** 80 /**
73 * @description: 流程环节操作按钮 81 * @description: 流程环节操作按钮
74 * @param {*} item 82 * @param {*} item
...@@ -163,6 +171,7 @@ export default { ...@@ -163,6 +171,7 @@ export default {
163 this.$popupDialog('楼盘表', 'lpb/index', { 171 this.$popupDialog('楼盘表', 'lpb/index', {
164 bsm: res.result[0], 172 bsm: res.result[0],
165 onlyShow: false, 173 onlyShow: false,
174 showSave: true,
166 unitData: window.unitData 175 unitData: window.unitData
167 }, '90%', true) 176 }, '90%', true)
168 } else { 177 } else {
...@@ -239,8 +248,8 @@ export default { ...@@ -239,8 +248,8 @@ export default {
239 }) 248 })
240 }) 249 })
241 break; 250 break;
242 case "B10": 251 case "B10":
243 break; 252 break;
244 case "rm": 253 case "rm":
245 this.del() 254 this.del()
246 break; 255 break;
...@@ -279,7 +288,6 @@ export default { ...@@ -279,7 +288,6 @@ export default {
279 }); 288 });
280 }); 289 });
281 }, 290 },
282 //发送下一个环节
283 /** 291 /**
284 * @description: 发送下一个环节 292 * @description: 发送下一个环节
285 * @param {*} obj 293 * @param {*} obj
...@@ -292,7 +300,6 @@ export default { ...@@ -292,7 +300,6 @@ export default {
292 tabList: this.tabList 300 tabList: this.tabList
293 }, '800px', true) 301 }, '800px', true)
294 }, 302 },
295 //转出最后一个流程
296 /** 303 /**
297 * @description: 转出最后一个流程 304 * @description: 转出最后一个流程
298 * @param {*} obj 305 * @param {*} obj
...@@ -305,7 +312,6 @@ export default { ...@@ -305,7 +312,6 @@ export default {
305 tabList: this.tabList 312 tabList: this.tabList
306 }, '800px', true) 313 }, '800px', true)
307 }, 314 },
308 //批量操作
309 /** 315 /**
310 * @description: 批量操作 316 * @description: 批量操作
311 * @author: renchao 317 * @author: renchao
...@@ -315,8 +321,7 @@ export default { ...@@ -315,8 +321,7 @@ export default {
315 width: "50%", 321 width: "50%",
316 btnShow: false, 322 btnShow: false,
317 bsmSlsq: this.bsmSlsq, 323 bsmSlsq: this.bsmSlsq,
318 dataList: this.unitData, 324 dataList: this.unitData
319
320 }) 325 })
321 }, 326 },
322 /** 327 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-14 17:19:13 4 * @LastEditTime: 2023-09-15 17:01:12
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -38,10 +38,12 @@ ...@@ -38,10 +38,12 @@
38 <!-- 内容框架 --> 38 <!-- 内容框架 -->
39 <div class="containerFrame"> 39 <div class="containerFrame">
40 <!-- 左侧菜单栏 区分业务--> 40 <!-- 左侧菜单栏 区分业务-->
41 <segmentMenu 41 <div v-if="isShowMenu">
42 v-if="['A0320099', 'A0330099'].includes(slsq.djqxbm)" 42 <segmentMenu :paramData="paramData"
43 @getCurrentSelectProps="getCurrentSelectProps" /> 43 v-if="['A0320099', 'A0330099'].includes(slsq.djqxbm)"
44 <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" /> 44 @getCurrentSelectProps="getCurrentSelectProps" />
45 <ordinaryMenu :paramData="paramData" v-else @getCurrentSelectProps="getCurrentSelectProps" />
46 </div>
45 <div class="leftCon"> 47 <div class="leftCon">
46 <!-- 分屏左侧预览 --> 48 <!-- 分屏左侧预览 -->
47 <div v-if="splitScreen" class="splitScreen-con"> 49 <div v-if="splitScreen" class="splitScreen-con">
...@@ -51,7 +53,7 @@ ...@@ -51,7 +53,7 @@
51 <div class="rightContainer"> 53 <div class="rightContainer">
52 <div class="count"> 54 <div class="count">
53 当前流程所在环节: 55 当前流程所在环节:
54 <span>{{ this.zbhj }}</span> 56 <span>{{ $route.query.zbhj }}</span>
55 </div> 57 </div>
56 <el-tabs 58 <el-tabs
57 v-model="tabName" 59 v-model="tabName"
...@@ -132,17 +134,8 @@ ...@@ -132,17 +134,8 @@
132 mixins: [WorkFlow, publicFlow], 134 mixins: [WorkFlow, publicFlow],
133 data () { 135 data () {
134 return { 136 return {
135 // printObj: { 137 // 左侧是否显示,获取完成系统参数之后再显示
136 // id: "box", 138 isShowMenu: false,
137 // preview: true,
138 // },
139 isDialog: false,
140 //受理申请标识码
141 bsmSlsq: this.$route.query.bsmSlsq,
142 //当前流程所在环节
143 bestepid: this.$route.query.bestepid,
144 //当前流程所在环节
145 zbhj: this.$route.query.zbhj,
146 //设置那个表单选中 139 //设置那个表单选中
147 tabName: "", 140 tabName: "",
148 //设置那个表单选择 141 //设置那个表单选择
...@@ -166,7 +159,7 @@ ...@@ -166,7 +159,7 @@
166 bsmZd: "", 159 bsmZd: "",
167 Receiptdata: {}, 160 Receiptdata: {},
168 shows: false 161 shows: false
169 }; 162 }
170 }, 163 },
171 mounted () { 164 mounted () {
172 this.$store.dispatch("user/refreshPage", false); 165 this.$store.dispatch("user/refreshPage", false);
...@@ -185,7 +178,7 @@ ...@@ -185,7 +178,7 @@
185 // 获取打印回执数据 178 // 获取打印回执数据
186 var formdata = new FormData(); 179 var formdata = new FormData();
187 formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); 180 formdata.append("bsmSldy", this.currentSelectProps.bsmSldy);
188 formdata.append("bsmSlsq", this.bsmSlsq); 181 formdata.append("bsmSlsq", this.paramData.bsmSlsq);
189 formdata.append("djlx", this.currentSelectProps.djlx); 182 formdata.append("djlx", this.currentSelectProps.djlx);
190 BatchInit(formdata).then((res) => { 183 BatchInit(formdata).then((res) => {
191 if (res.code === 200 && res.result) { 184 if (res.code === 200 && res.result) {
...@@ -195,7 +188,7 @@ ...@@ -195,7 +188,7 @@
195 this.prinsss() 188 this.prinsss()
196 }, 100) 189 }, 100)
197 } else { 190 } else {
198 this.$message.error(res.message); 191 this.$message.error(res.message)
199 } 192 }
200 }) 193 })
201 }, 194 },
...@@ -211,7 +204,7 @@ ...@@ -211,7 +204,7 @@
211 }`, 204 }`,
212 // 继承原来的所有样式 205 // 继承原来的所有样式
213 targetStyles: ["*"] 206 targetStyles: ["*"]
214 }); 207 })
215 }, 208 },
216 /** 209 /**
217 * @description: getCurrentSelectProps 210 * @description: getCurrentSelectProps
...@@ -219,7 +212,7 @@ ...@@ -219,7 +212,7 @@
219 * @author: renchao 212 * @author: renchao
220 */ 213 */
221 getCurrentSelectProps (val) { 214 getCurrentSelectProps (val) {
222 this.currentSelectProps = val; 215 this.currentSelectProps = val
223 }, 216 },
224 /** 217 /**
225 * @description: beforeunloadHandler 218 * @description: beforeunloadHandler
...@@ -238,7 +231,7 @@ ...@@ -238,7 +231,7 @@
238 //判断是窗口关闭还是刷新 231 //判断是窗口关闭还是刷新
239 if (this._gap_time <= 10) { 232 if (this._gap_time <= 10) {
240 //取消认领 233 //取消认领
241 unClaimTask(this.bsmSlsq, this.bestepid); 234 unClaimTask(this.paramData.bsmSlsq, this.paramData.bestepid)
242 } 235 }
243 }, 236 },
244 /** 237 /**
...@@ -249,7 +242,6 @@ ...@@ -249,7 +242,6 @@
249 stepForm (index) { 242 stepForm (index) {
250 getStepFormInfo(this.currentSelectProps).then((res) => { 243 getStepFormInfo(this.currentSelectProps).then((res) => {
251 if (res.code === 200) { 244 if (res.code === 200) {
252 // this.fresh++;
253 //获取单元对应的所有表单信息 245 //获取单元对应的所有表单信息
254 this.tabList = res.result; 246 this.tabList = res.result;
255 //默认加载第一个表单信息 247 //默认加载第一个表单信息
...@@ -270,37 +262,14 @@ ...@@ -270,37 +262,14 @@
270 262
271 this.tabList.forEach(function (item, index) { 263 this.tabList.forEach(function (item, index) {
272 if (item.value == "clxx") { 264 if (item.value == "clxx") {
273 that.clxxIndex = index; 265 that.clxxIndex = index
274 that.clxxForm = getForm(item.value, that.$route.query.sqywbm); 266 that.clxxForm = getForm(item.value)
275 that.clxxTab = item; 267 that.clxxTab = item
276 } 268 }
277 }); 269 })
278 } 270 }
279 } 271 }
280 }); 272 })
281 },
282
283 /**
284 * @description: openDialog
285 * @author: renchao
286 */
287 openDialog () {
288 this.$store.dispatch("user/refreshPage", false);
289 let data = JSON.parse(localStorage.getItem("ywbl"));
290 let title;
291 if (data?.sqywmc) {
292 title = "申请业务:" + data?.sqywmc;
293 } else {
294 title = "申请业务:" + data?.djywmc;
295 }
296
297 this.$popupDialog(
298 title,
299 "ywbl/ywsq/selectBdc",
300 { djywbm: this.$route.query.sqywbm, isJump: true, sqywInfo: data },
301 "80%",
302 true
303 );
304 }, 273 },
305 /** 274 /**
306 * @description: 右侧表单选项卡事件 275 * @description: 右侧表单选项卡事件
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-25 16:15:46 4 * @LastEditTime: 2023-09-15 16:32:06
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -26,8 +26,10 @@ ...@@ -26,8 +26,10 @@
26 <!-- 内容框架 --> 26 <!-- 内容框架 -->
27 <div class="containerFrame"> 27 <div class="containerFrame">
28 <!-- 左侧菜单栏 区分业务--> 28 <!-- 左侧菜单栏 区分业务-->
29 <segmentMenu v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" /> 29 <div v-if="isShowMenu">
30 <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" /> 30 <segmentMenu :paramData="paramData" v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
31 <ordinaryMenu :paramData="paramData" v-else @getCurrentSelectProps="getCurrentSelectProps" />
32 </div>
31 33
32 <div class="leftCon"> 34 <div class="leftCon">
33 <!-- 分屏左侧预览 --> 35 <!-- 分屏左侧预览 -->
...@@ -69,16 +71,14 @@ ...@@ -69,16 +71,14 @@
69 }, 71 },
70 data () { 72 data () {
71 return { 73 return {
74 // 左侧是否显示,获取完成系统参数之后再显示
75 isShowMenu: false,
72 // 流程图 76 // 流程图
73 imgSrc: "", 77 imgSrc: "",
74 // 折叠 78 // 折叠
75 isShowdrawer: true, 79 isShowdrawer: true,
76 // 默认选中 80 // 默认选中
77 activeIndex: "0", 81 activeIndex: "0",
78 //受理申请标识码
79 bsmSlsq: this.$route.query.bsmSlsq,
80 //当前流程所在环节
81 bestepid: this.$route.query.bestepid,
82 // 判断类型 82 // 判断类型
83 type: "READ_ONLY", 83 type: "READ_ONLY",
84 //设置那个表单选中 84 //设置那个表单选中
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
99 //材料信息选择卡索引 99 //材料信息选择卡索引
100 clxxIndex: "", 100 clxxIndex: "",
101 //材料信息选项卡对象 101 //材料信息选项卡对象
102 clxxTab: {}, 102 clxxTab: {}
103 }; 103 };
104 }, 104 },
105 methods: { 105 methods: {
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
111 getCurrentSelectProps (val) { 111 getCurrentSelectProps (val) {
112 this.currentSelectProps = val 112 this.currentSelectProps = val
113 }, 113 },
114 //申请单元点击事件
115 /** 114 /**
116 * @description: 申请单元点击事件 115 * @description: 申请单元点击事件
117 * @param {*} index 116 * @param {*} index
...@@ -121,17 +120,18 @@ ...@@ -121,17 +120,18 @@
121 this.currentSelectProps.type = "READ_ONLY" 120 this.currentSelectProps.type = "READ_ONLY"
122 getStepFormInfo(this.currentSelectProps).then((res) => { 121 getStepFormInfo(this.currentSelectProps).then((res) => {
123 if (res.code === 200) { 122 if (res.code === 200) {
124 this.fresh++;
125 //获取单元对应的所有表单信息 123 //获取单元对应的所有表单信息
126 this.tabList = res.result; 124 this.tabList = res.result;
127 //默认加载第一个表单信息 125 //默认加载第一个表单信息
128 //默认加载第一个表单信息
129 let arr = res.result.filter(item => item.defaultForm) 126 let arr = res.result.filter(item => item.defaultForm)
130 if (arr.length > 0) { 127 if (arr.length > 0) {
131 this.tabName = arr[0].value; 128 this.tabName = arr[0].value;
132 } else { 129 } else {
133 this.tabName = res.result[0].value; 130 this.tabName = res.result[0].value;
134 } 131 }
132 if (sessionStorage.getItem('activeName') == this.tabName) {
133 this.fresh++;
134 }
135 this.ableOperation = this.tabList[0].ableOperation 135 this.ableOperation = this.tabList[0].ableOperation
136 //批量操作无分屏按钮 136 //批量操作无分屏按钮
137 if (index != null) { 137 if (index != null) {
...@@ -139,29 +139,28 @@ ...@@ -139,29 +139,28 @@
139 let that = this; 139 let that = this;
140 this.tabList.forEach(function (item, index) { 140 this.tabList.forEach(function (item, index) {
141 if (item.value == "clxx") { 141 if (item.value == "clxx") {
142 that.clxxIndex = index; 142 that.clxxIndex = index
143 that.clxxForm = getForm(item.value, that.$route.query.sqywbm); 143 that.clxxForm = getForm(item.value)
144 that.clxxTab = item; 144 that.clxxTab = item
145 } 145 }
146 }) 146 })
147 } 147 }
148 } 148 }
149 }) 149 })
150 }, 150 },
151 //选项卡切换事件 151 /**
152 /** 152 * @description: 右侧表单选项卡事件
153 * @description: 右侧表单选项卡事件 153 * @param {*} handleClick
154 * @param {*} handleClick 154 * @author: renchao
155 * @author: renchao 155 */
156 */ 156 handleClick (a) {
157 handleClick(a) { 157 let p = Object.keys(this.tabList[0]).filter(
158 let p = Object.keys(this.tabList[0]).filter( 158 (item) => item == "ableOperation"
159 (item) => item == "ableOperation" 159 );
160 ); 160 if (p) {
161 if (p) { 161 this.ableOperation = this.tabList[a.index].ableOperation;
162 this.ableOperation = this.tabList[a.index].ableOperation; 162 }
163 } 163 }
164 },
165 } 164 }
166 } 165 }
167 </script> 166 </script>
......
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
197 } 197 }
198 }) 198 })
199 if (this.formData.isAdd != 1) { 199 if (this.formData.isAdd != 1) {
200 store.dispatch('user/reWorkFresh', false) 200 store.dispatch("user/refreshPage", false);
201 update(this.ruleForm).then(res => { 201 update(this.ruleForm).then(res => {
202 if (res.code == 200) { 202 if (res.code == 200) {
203 this.$message.success('保存成功') 203 this.$message.success('保存成功')
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
206 this.resetTableFields(); 206 this.resetTableFields();
207 this.closeDialog(); 207 this.closeDialog();
208 //刷新列表 208 //刷新列表
209 store.dispatch('user/reWorkFresh', true) 209 store.dispatch("user/refreshPage", true);
210 } else { 210 } else {
211 this.$message.error(res.message); 211 this.$message.error(res.message);
212 } 212 }
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
214 } else { 214 } else {
215 that.$refs['ruleForm'].validate((valid) => { 215 that.$refs['ruleForm'].validate((valid) => {
216 if (valid) { 216 if (valid) {
217 store.dispatch('user/reWorkFresh', false) 217 store.dispatch("user/refreshPage", false);
218 addQy(this.ruleForm).then(res => { 218 addQy(this.ruleForm).then(res => {
219 if (res.code == 200) { 219 if (res.code == 200) {
220 that.$message.success('保存成功') 220 that.$message.success('保存成功')
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
223 that.resetTableFields(); 223 that.resetTableFields();
224 that.closeDialog(); 224 that.closeDialog();
225 //刷新列表 225 //刷新列表
226 store.dispatch('user/reWorkFresh', true) 226 store.dispatch("user/refreshPage", true);
227 } else { 227 } else {
228 that.$message.error(res.message); 228 that.$message.error(res.message);
229 } 229 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-07 15:04:46 4 * @LastEditTime: 2023-09-15 15:50:26
5 --> 5 -->
6 <template> 6 <template>
7 <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" 7 <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit"
...@@ -24,6 +24,13 @@ ...@@ -24,6 +24,13 @@
24 </el-form-item> 24 </el-form-item>
25 </el-col> 25 </el-col>
26 </el-row> 26 </el-row>
27 <el-row :gutter="20">
28 <el-col :span="24">
29 <el-form-item label="材料编码" prop="clbm">
30 <el-input v-model="ruleForm.clbm"></el-input>
31 </el-form-item>
32 </el-col>
33 </el-row>
27 </el-form> 34 </el-form>
28 </dialogBox> 35 </dialogBox>
29 </template> 36 </template>
...@@ -40,6 +47,7 @@ ...@@ -40,6 +47,7 @@
40 ruleForm: { 47 ruleForm: {
41 cllx: "", 48 cllx: "",
42 clmc: "", 49 clmc: "",
50 clbm: ""
43 }, 51 },
44 rules: { 52 rules: {
45 cllx: [ 53 cllx: [
...@@ -47,7 +55,10 @@ ...@@ -47,7 +55,10 @@
47 ], 55 ],
48 clmc: [ 56 clmc: [
49 { required: true, message: '请输入材料名称', trigger: 'blur' } 57 { required: true, message: '请输入材料名称', trigger: 'blur' }
50 ] 58 ],
59 clbm: [
60 { required: true, message: '请输入材料编码', trigger: 'blur' }
61 ],
51 } 62 }
52 } 63 }
53 }, 64 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-14 11:14:54 4 * @LastEditTime: 2023-09-15 15:38:53
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clmlmx-box"> 7 <div class="clmlmx-box">
...@@ -37,8 +37,15 @@ ...@@ -37,8 +37,15 @@
37 label: "材料名称", 37 label: "材料名称",
38 render: (h, scope) => { 38 render: (h, scope) => {
39 return ( 39 return (
40 (scope.row.sfxjcl == '1') ? 40 <el-input value={scope.row.clmc} onInput={(val) => { scope.row.clmc = val }}></el-input>
41 <el-input value={scope.row.clmc} onInput={(val) => { scope.row.clmc = val }}></el-input> : <span>{scope.row.clmc}</span> 41 )
42 }
43 },
44 {
45 label: "材料编码",
46 render: (h, scope) => {
47 return (
48 <el-input value={scope.row.clbm} onInput={(val) => { scope.row.clbm = val }}></el-input>
42 ) 49 )
43 } 50 }
44 }, 51 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-14 14:23:19 4 * @LastEditTime: 2023-09-15 15:54:13
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -289,7 +289,7 @@ ...@@ -289,7 +289,7 @@
289 ywPopupDialog("申请材料目录", "xxba/components/clxx/dialog/clxxDetailDialog", { 289 ywPopupDialog("申请材料目录", "xxba/components/clxx/dialog/clxxDetailDialog", {
290 data: this.tableData, 290 data: this.tableData,
291 bsmCompany: this.formData.bsmCompany 291 bsmCompany: this.formData.bsmCompany
292 }, "60%", true, false) 292 }, "50%", true, false)
293 }, 293 },
294 //设置tableData 294 //设置tableData
295 setTableData (tableData) { 295 setTableData (tableData) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-14 11:11:10 4 * @LastEditTime: 2023-09-15 15:41:36
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
39 </div> 39 </div>
40 </template> 40 </template>
41 <script> 41 <script>
42 import { mapGetters } from 'vuex'
42 import table from "@/utils/mixin/table" 43 import table from "@/utils/mixin/table"
43 import { datas, sendThis } from "./data" 44 import { datas, sendThis } from "./data"
44 import { queryQyByPage, addQy, remove } from "@/api/xxba.js"; 45 import { queryQyByPage, addQy, remove } from "@/api/xxba.js";
...@@ -65,6 +66,17 @@ ...@@ -65,6 +66,17 @@
65 }, 66 },
66 }; 67 };
67 }, 68 },
69 computed: {
70 ...mapGetters(['isRefresh'])
71 },
72 watch: {
73 isRefresh: {
74 handler (newVal, oldVal) {
75 if (newVal) this.queryClick()
76 },
77 immediate: true
78 }
79 },
68 methods: { 80 methods: {
69 /** 81 /**
70 * @description: queryClick 82 * @description: queryClick
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-07 14:30:50 4 * @LastEditTime: 2023-09-15 15:47:37
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -59,7 +59,6 @@ ...@@ -59,7 +59,6 @@
59 watch: { 59 watch: {
60 workFresh: { 60 workFresh: {
61 handler (newVal, oldVal) { 61 handler (newVal, oldVal) {
62 console.log(newVal, 'newVal');
63 if (newVal) this.queryClick() 62 if (newVal) this.queryClick()
64 } 63 }
65 } 64 }
...@@ -138,6 +137,9 @@ ...@@ -138,6 +137,9 @@
138 message: '已取消删除' 137 message: '已取消删除'
139 }) 138 })
140 }) 139 })
140 },
141 handleEdit (row) {
142 this.$popupDialog("编辑企业", "xxba/components/addDialog", { isAdd: 2, ...row }, "75%")
141 } 143 }
142 } 144 }
143 } 145 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-12 13:39:20 4 * @LastEditTime: 2023-09-15 16:30:47
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
264 this.$confirm("确定要删除吗, 是否继续?", "提示", { 264 this.$confirm("确定要删除吗, 是否继续?", "提示", {
265 confirmButtonText: "确定", 265 confirmButtonText: "确定",
266 cancelButtonText: "取消", 266 cancelButtonText: "取消",
267 type: "warning", 267 type: "warning"
268 }) 268 })
269 .then(() => { 269 .then(() => {
270 deleteFlow(formdata).then((res) => { 270 deleteFlow(formdata).then((res) => {
...@@ -274,18 +274,18 @@ ...@@ -274,18 +274,18 @@
274 type: "success", 274 type: "success",
275 message: "删除成功!", 275 message: "删除成功!",
276 }); 276 });
277 this.queryClick(); 277 this.queryClick()
278 } else { 278 } else {
279 this.$message.error(res.message); 279 this.$message.error(res.message)
280 } 280 }
281 }); 281 });
282 }) 282 })
283 .catch(() => { 283 .catch(() => {
284 this.$message({ 284 this.$message({
285 type: "info", 285 type: "info",
286 message: "已取消删除", 286 message: "已取消删除"
287 }); 287 })
288 }); 288 })
289 }, 289 },
290 /** 290 /**
291 * @description: ywhClick 291 * @description: ywhClick
...@@ -315,18 +315,22 @@ ...@@ -315,18 +315,22 @@
315 ); 315 );
316 window.open(href, `djbworkFrame${item.bsmSlsq}`); 316 window.open(href, `djbworkFrame${item.bsmSlsq}`);
317 } else { 317 } else {
318 const { href } = this.$router.resolve( 318 // const { href } = this.$router.resolve(
319 "/workFrame?bsmSlsq=" + 319 // "/workFrame?bsmSlsq=" +
320 item.bsmSlsq + 320 // item.bsmSlsq +
321 "&bestepid=" + 321 // "&bestepid=" +
322 item.bestepid + 322 // item.bestepid +
323 "&bsmBusiness=" + 323 // "&bsmBusiness=" +
324 "&sqywbm=" + 324 // "&sqywbm=" +
325 item.djywbm + 325 // item.djywbm +
326 "&zbhj=" + 326 // "&zbhj=" +
327 item.zbhj 327 // item.zbhj
328 ); 328 // );
329 window.open(href, `workFrame${item.bsmSlsq}`); 329 // window.open(href, `workFrame${item.bsmSlsq}`);
330
331 const { href } = this.$router.resolve('/workFrame?ywh=' + item.ywh + '&zbhj=' + item.zbhj)
332 window.open(href, `workFrame${item.ywh}`)
333
330 } 334 }
331 335
332 localStorage.setItem("ywbl", JSON.stringify(item)); 336 localStorage.setItem("ywbl", JSON.stringify(item));
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-14 17:17:56 4 * @LastEditTime: 2023-09-15 16:09:33
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 </el-col> 69 </el-col>
70 <el-col :span="8"> 70 <el-col :span="8">
71 <el-form-item label="坐落:"> 71 <el-form-item label="坐落:">
72 <el-input maxlength="100" v-model="ruleForm.sldy.zl"></el-input> 72 <el-input maxlength="100" disabled v-model="ruleForm.sldy.zl"></el-input>
73 </el-form-item> 73 </el-form-item>
74 </el-col> 74 </el-col>
75 </el-row> 75 </el-row>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-12 13:39:30 4 * @LastEditTime: 2023-09-15 15:59:24
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -232,13 +232,8 @@ ...@@ -232,13 +232,8 @@
232 ); 232 );
233 window.open(href, `djbworkFrameview${item.bsmSlsq}`); 233 window.open(href, `djbworkFrameview${item.bsmSlsq}`);
234 } else { 234 } else {
235 const { href } = this.$router.resolve( 235 const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx')
236 "/workFrameView?bsmSlsq=" + 236 window.open(href, `urlname${item.ywh}`)
237 item.bsmSlsq +
238 "&bestepid=" +
239 item.bestepid
240 );
241 window.open(href, `workFrameView${item.bsmSlsq}`);
242 } 237 }
243 } 238 }
244 } 239 }
......
...@@ -306,6 +306,7 @@ ...@@ -306,6 +306,7 @@
306 ywPopupDialog('楼盘表', 'lpb/index', { 306 ywPopupDialog('楼盘表', 'lpb/index', {
307 bsm: item.bsm, 307 bsm: item.bsm,
308 bsmSqyw:this.sqywInfo.bsmSqyw, 308 bsmSqyw:this.sqywInfo.bsmSqyw,
309 onlyShow: false,
309 scyclx:1 310 scyclx:1
310 }, '85%', true,false) 311 }, '85%', true,false)
311 }, 312 },
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-05 09:45:31 4 * @LastEditTime: 2023-09-15 16:55:37
5 */ 5 */
6 import Router from '@/router' 6 import Router from '@/router'
7 export default { 7 export default {
...@@ -24,13 +24,15 @@ export default { ...@@ -24,13 +24,15 @@ export default {
24 * @author: renchao 24 * @author: renchao
25 */ 25 */
26 jump (data, type) { 26 jump (data, type) {
27 const { href } = Router.resolve( 27 // const { href } = Router.resolve(
28 "/workFrame?bsmSlsq=" + 28 // "/workFrame?bsmSlsq=" +
29 data.bsmSlsq + 29 // data.bsmSlsq +
30 "&bestepid=" + 30 // "&bestepid=" +
31 data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type+"&zbhj=受理" 31 // data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type+"&zbhj=受理"
32 ); 32 // );
33 window.open(href, "_blank"); 33 // window.open(href, "_blank");
34 const { href } = Router.resolve('/workFrame?ywh=' + data.ywh + '&zbhj=受理')
35 window.open(href, "_blank")
34 this.$popupCacel() 36 this.$popupCacel()
35 }, 37 },
36 /** 38 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 09:56:26 4 * @LastEditTime: 2023-09-15 17:11:42
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
115 type: 'success' 115 type: 'success'
116 }) 116 })
117 if (!this.isJump) { 117 if (!this.isJump) {
118 this.jump(res.result, this.djywbm) 118 this.jump(res.result)
119 } else { 119 } else {
120 store.dispatch('user/refreshPage', true); 120 store.dispatch('user/refreshPage', true);
121 } 121 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-24 11:00:59 4 * @LastEditTime: 2023-09-15 14:34:40
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -249,9 +249,9 @@ ...@@ -249,9 +249,9 @@
249 * @param {*} row 249 * @param {*} row
250 * @author: miaofang 250 * @author: miaofang
251 */ 251 */
252 handleLpbClick (item) { 252 handleLpbClick (item) {
253 console.log("item",item); 253 console.log("item",item);
254 console.log("this.sqywInfo",this.sqywInfo); 254 console.log("this.sqywInfo",this.sqywInfo);
255 this.$popup('楼盘表', 'lpb/index', { 255 this.$popup('楼盘表', 'lpb/index', {
256 width: '85%', 256 width: '85%',
257 formData: { 257 formData: {
...@@ -261,6 +261,7 @@ ...@@ -261,6 +261,7 @@
261 bsmSqyw: this.sqywInfo.bsmSqyw, 261 bsmSqyw: this.sqywInfo.bsmSqyw,
262 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", 262 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
263 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", 263 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
264 onlyShow: false
264 } 265 }
265 }) 266 })
266 }, 267 },
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-29 13:08:08 4 * @LastEditTime: 2023-09-15 17:25:11
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -34,6 +34,7 @@ class data extends filter { ...@@ -34,6 +34,7 @@ class data extends filter {
34 { 34 {
35 prop: "status", 35 prop: "status",
36 label: "状态", 36 label: "状态",
37 width: '130',
37 render: (h, scope) => { 38 render: (h, scope) => {
38 return ( 39 return (
39 <div> 40 <div>
...@@ -80,8 +81,15 @@ class data extends filter { ...@@ -80,8 +81,15 @@ class data extends filter {
80 } 81 }
81 }, 82 },
82 { 83 {
83 prop: "qlrzjhm",
84 label: "证件号", 84 label: "证件号",
85 witdth: '100',
86 render: (h, scope) => {
87 return (
88 <el-tooltip effect="dark" content={scope.row.qlrzjhm} placement="top" popper-class="tooltip-width ">
89 <span class="ellipsis-table"> {scope.row.qlrzjhm}</span>
90 </el-tooltip>
91 )
92 }
85 }, 93 },
86 { 94 {
87 prop: "qlxzmc", 95 prop: "qlxzmc",
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-25 14:47:41 4 * @LastEditTime: 2023-09-15 14:24:32
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
199 bsm: item.zrzbsm, 199 bsm: item.zrzbsm,
200 zrzbsm: item.zrzbsm, 200 zrzbsm: item.zrzbsm,
201 zdbsm: item.zrzbsm, 201 zdbsm: item.zrzbsm,
202 202 onlyShow: true
203 } 203 }
204 }) 204 })
205 } 205 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-25 16:34:27 4 * @LastEditTime: 2023-09-15 15:06:50
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -114,7 +114,6 @@ ...@@ -114,7 +114,6 @@
114 this.queryClick() 114 this.queryClick()
115 }, 115 },
116 methods: { 116 methods: {
117 // 初始化数据
118 /** 117 /**
119 * @description: 初始化数据 118 * @description: 初始化数据
120 * @author: renchao 119 * @author: renchao
...@@ -139,7 +138,6 @@ ...@@ -139,7 +138,6 @@
139 handleSort (name, sort) { 138 handleSort (name, sort) {
140 console.log(name, sort); 139 console.log(name, sort);
141 }, 140 },
142 // 高级查询
143 /** 141 /**
144 * @description: 高级查询 142 * @description: 高级查询
145 * @author: renchao 143 * @author: renchao
...@@ -151,8 +149,8 @@ ...@@ -151,8 +149,8 @@
151 * @author: renchao 149 * @author: renchao
152 */ 150 */
153 openDialog (item) { 151 openDialog (item) {
154 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3' + '&type=jdcx') 152 const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx')
155 window.open(href, `urlname${item.bsmSlsq}`) 153 window.open(href, `urlname${item.ywh}`)
156 } 154 }
157 } 155 }
158 } 156 }
......
...@@ -78,9 +78,15 @@ class data extends filter { ...@@ -78,9 +78,15 @@ class data extends filter {
78 // width: '140' 78 // width: '140'
79 // }, 79 // },
80 { 80 {
81 prop: "ywh",
82 label: "业务号", 81 label: "业务号",
83 width: '100' 82 minWidth: '100',
83 render: (h, scope) => {
84 return (
85 <div>
86 <el-link type="primary" onClick={() => { vm.openWorkDialog(scope.row) }}>{scope.row.ywh}</el-link>
87 </div>
88 )
89 }
84 }, 90 },
85 { 91 {
86 label: "权利类型", 92 label: "权利类型",
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-01 09:04:48 4 * @LastEditTime: 2023-09-15 14:52:20
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
37 <el-col :span="4" class="btnColRight"> 37 <el-col :span="4" class="btnColRight">
38 <el-form-item> 38 <el-form-item>
39 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> 39 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
40 <!-- <el-button @click="moreQueryClick()">高级查询</el-button> -->
41 </el-form-item> 40 </el-form-item>
42 </el-col> 41 </el-col>
43 </el-row> 42 </el-row>
...@@ -75,12 +74,12 @@ ...@@ -75,12 +74,12 @@
75 tableData: { 74 tableData: {
76 total: 0, 75 total: 0,
77 columns: datas.columns(), 76 columns: datas.columns(),
78 data: [], 77 data: []
79 }, 78 }
80 }; 79 }
81 }, 80 },
82 activated () { 81 activated () {
83 this.queryClick(); 82 this.queryClick()
84 }, 83 },
85 methods: { 84 methods: {
86 /** 85 /**
...@@ -110,6 +109,15 @@ ...@@ -110,6 +109,15 @@
110 bsmBdcqz: item.bsmBdcqz 109 bsmBdcqz: item.bsmBdcqz
111 }, '1210px', true) 110 }, '1210px', true)
112 }) 111 })
112 },
113 /**
114 * @description: openWorkDialog
115 * @param {*} item
116 * @author: renchao
117 */
118 openWorkDialog (item) {
119 const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx')
120 window.open(href, `urlname${item.ywh}`)
113 } 121 }
114 } 122 }
115 } 123 }
......
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
100 // onlyShow: true, 100 // onlyShow: true,
101 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", 101 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
102 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", 102 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
103 onlyShow: true
103 } 104 }
104 }) 105 })
105 } 106 }
......