db7459c7 by tianhaohao@pashanhoo.com

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

2 parents b8896702 805d31c5
1 /* 1 /*
2 * @Description: 材料信息 2 * @Description: 材料信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-18 16:03:16 4 * @LastEditTime: 2024-01-19 16:00:03
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 10
11 <template> 11 <template>
12 <div :class="['lb-table', customClass]"> 12 <div :class="['lb-table', customClass]">
13 <el-table v-if="!heightNumSetting" class="table-fixed" :row-style="{ height: '45px' }" ref="elTable" :border='border' 13 <el-table v-if="!heightNumSetting" class="table-fixed" :row-style="{ height: rowStyleHeight+'px' }" ref="elTable" :border='border'
14 :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs" 14 :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs"
15 :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" 15 :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%"
16 :span-method="this.merge ? this.mergeMethod : this.spanMethod"> 16 :span-method="this.merge ? this.mergeMethod : this.spanMethod">
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 </lb-column> 24 </lb-column>
25 </el-table> 25 </el-table>
26 26
27 <el-table v-else ref="elTable" class="table-fixed heightNumSetting" :row-style="{ height: '45px' }" 27 <el-table v-else ref="elTable" class="table-fixed heightNumSetting" :row-style="{ height: rowStyleHeight+'px' }"
28 :border='border' :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs" 28 :border='border' :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs"
29 :max-height="maxHeight" :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" 29 :max-height="maxHeight" :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%"
30 :span-method="this.merge ? this.mergeMethod : this.spanMethod"> 30 :span-method="this.merge ? this.mergeMethod : this.spanMethod">
...@@ -65,6 +65,10 @@ ...@@ -65,6 +65,10 @@
65 type: Boolean, 65 type: Boolean,
66 default: true, 66 default: true,
67 }, 67 },
68 rowStyleHeight: {
69 type: Number,
70 default: 45,
71 },
68 showHeader: { 72 showHeader: {
69 type: Boolean, 73 type: Boolean,
70 default: true, 74 default: true,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 14:22:06 4 * @LastEditTime: 2024-01-18 15:03:56
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -181,6 +181,7 @@ ...@@ -181,6 +181,7 @@
181 that.tableDataList = _.cloneDeep([]) 181 that.tableDataList = _.cloneDeep([])
182 } else { 182 } else {
183 that.tableDataList = _.cloneDeep(val) 183 that.tableDataList = _.cloneDeep(val)
184 that.key++
184 } 185 }
185 }) 186 })
186 }, 187 },
...@@ -193,6 +194,7 @@ ...@@ -193,6 +194,7 @@
193 if (newVal == 0) { 194 if (newVal == 0) {
194 this.column = _.cloneDeep(dataList); 195 this.column = _.cloneDeep(dataList);
195 this.tableDataList = _.cloneDeep(this.tableData); 196 this.tableDataList = _.cloneDeep(this.tableData);
197 this.key++
196 } else if (newVal == "1" || newVal == "3") { 198 } else if (newVal == "1" || newVal == "3") {
197 this.column = dataList; 199 this.column = dataList;
198 } else { 200 } else {
......
...@@ -181,6 +181,7 @@ ...@@ -181,6 +181,7 @@
181 that.tableDataList = _.cloneDeep([]) 181 that.tableDataList = _.cloneDeep([])
182 } else { 182 } else {
183 that.tableDataList = _.cloneDeep(val) 183 that.tableDataList = _.cloneDeep(val)
184 that.key++
184 } 185 }
185 }) 186 })
186 }, 187 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-19 16:23:02 4 * @LastEditTime: 2024-01-19 16:48:37
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -41,8 +41,6 @@ ...@@ -41,8 +41,6 @@
41 import { popupCacel } from "@/utils/popup.js"; 41 import { popupCacel } from "@/utils/popup.js";
42 import { mapGetters } from "vuex"; 42 import { mapGetters } from "vuex";
43 export default { 43 export default {
44 computed: {
45 },
46 props: { 44 props: {
47 formData: { 45 formData: {
48 type: Object, 46 type: Object,
...@@ -56,15 +54,6 @@ ...@@ -56,15 +54,6 @@
56 shyj: "", 54 shyj: "",
57 }; 55 };
58 }, 56 },
59 // watch: {
60 // yjsqOptions: {
61 // handler (val) {
62 // this.add(val.opinion);
63 // },
64 // deep: true,
65 // immediate: true,
66 // },
67 // },
68 methods: { 57 methods: {
69 /** 58 /**
70 * @description: submitForm 59 * @description: submitForm
...@@ -80,6 +69,7 @@ ...@@ -80,6 +69,7 @@
80 }) 69 })
81 }, 70 },
82 submitForm () { 71 submitForm () {
72 let that = this
83 this.queryForm = { 73 this.queryForm = {
84 bsmSlsq: this.formData.bsmSlsq, 74 bsmSlsq: this.formData.bsmSlsq,
85 shyj: this.shyj, 75 shyj: this.shyj,
...@@ -87,20 +77,23 @@ ...@@ -87,20 +77,23 @@
87 }; 77 };
88 completeTask(this.queryForm).then((res) => { 78 completeTask(this.queryForm).then((res) => {
89 if (res.code === 200) { 79 if (res.code === 200) {
90 this.$message.success("转件成功");
91 popupCacel(); 80 popupCacel();
81 that.$message.success("转件成功");
92 setTimeout(() => { 82 setTimeout(() => {
83 window.close();
84 that.$emit("input", false);
93 if (window.opener && window.opener.getBpageList) { 85 if (window.opener && window.opener.getBpageList) {
94 window.opener.getBpageList(); 86 window.opener.getBpageList();
95 } else { 87 } else {
96 window.opener.frames[0].getBpageList(); 88 window.opener.frames[0].getBpageList();
97 } 89 }
98 window.close(); 90 }, 360);
99 this.$emit("input", false);
100 }, 1000);
101 } else { 91 } else {
102 this.$message.error(res.message); 92 this.$message.error(res.message);
103 } 93 }
94 }).catch((error) => {
95 // 可以添加适当的错误处理
96 this.$message.error("提交任务失败");
104 }); 97 });
105 }, 98 },
106 /** 99 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-09 10:18:46 4 * @LastEditTime: 2024-01-19 16:30:06
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
45 <script> 45 <script>
46 import store from '@/store/index.js' 46 import store from '@/store/index.js'
47 import imagePreview from "./dialog/imagePreview.vue"; 47 import imagePreview from "./dialog/imagePreview.vue";
48 import { repairInitClml, getClmxList } from "@/api/clxx.js"; 48 import { InitClml, repairInitClml, getClmxList } from "@/api/clxx.js";
49 export default { 49 export default {
50 components: { imagePreview }, 50 components: { imagePreview },
51 props: { 51 props: {
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
87 } 87 }
88 }, 88 },
89 created () { 89 created () {
90 this.clmlInitList() 90 this.clmlInitList(1)
91 }, 91 },
92 methods: { 92 methods: {
93 /** 93 /**
...@@ -148,6 +148,7 @@ ...@@ -148,6 +148,7 @@
148 clmlInitList (type) { 148 clmlInitList (type) {
149 // 1:列表初始化 2:新增材料 149 // 1:列表初始化 2:新增材料
150 return new Promise((resolve) => { 150 return new Promise((resolve) => {
151 if (this.formData.sjlx == 2) {
151 repairInitClml(this.formData).then((res) => { 152 repairInitClml(this.formData).then((res) => {
152 if (res.code == 200) { 153 if (res.code == 200) {
153 resolve(res.code); 154 resolve(res.code);
...@@ -167,6 +168,31 @@ ...@@ -167,6 +168,31 @@
167 this.$message.error(res.message); 168 this.$message.error(res.message);
168 } 169 }
169 }) 170 })
171 } else {
172 var formdata = new FormData();
173 formdata.append("bsmSlsq", this.formData.bsmSlsq);
174 formdata.append("bsmSldy", this.formData.bsmSldy);
175
176 InitClml(formdata).then((res) => {
177 if (res.code == 200) {
178 resolve(res.code);
179 if (res.result && res.result.length > 0) {
180 this.tableData = res.result;
181 if (type == 1) {
182 this.treeClick(this.tableData[0], 0);
183 } else {
184 //新增材料后刷新列表焦点置于新增的对象上
185 this.treeClick(
186 this.tableData[this.tableData.length - 1],
187 this.tableData.length - 1
188 );
189 }
190 }
191 } else {
192 this.$message.error(res.message);
193 }
194 })
195 }
170 }) 196 })
171 }, 197 },
172 /** 198 /**
...@@ -279,13 +305,11 @@ ...@@ -279,13 +305,11 @@
279 position: absolute; 305 position: absolute;
280 306
281 .menu-tree { 307 .menu-tree {
282 width: 20%; 308 width: 26%;
283 min-width: 160px; 309 min-width: 160px;
284 height: 100%; 310 height: 100%;
285 margin-right: 10px; 311 margin-right: 5px;
286 border-right: 1px dotted #d9d9d9; 312 border-right: 1px dotted #d9d9d9;
287 padding: 0 15px;
288
289 .item { 313 .item {
290 line-height: 30px; 314 line-height: 30px;
291 padding-top: 5px; 315 padding-top: 5px;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 13:35:52 4 * @LastEditTime: 2024-01-19 16:10:10
5 --> 5 -->
6 <template> 6 <template>
7 <div class="tableBox"> 7 <div class="tableBox">
...@@ -254,30 +254,28 @@ ...@@ -254,30 +254,28 @@
254 }, 254 },
255 // 选择业务号 255 // 选择业务号
256 handleSelectYwh (row, ywh) { 256 handleSelectYwh (row, ywh) {
257 let that = this
257 let sjlx = row.sjlx, 258 let sjlx = row.sjlx,
258 bsmQlxx = row.bsmQlxx 259 bsmQlxx = row.bsmQlxx
260 if (sjlx == '系统数据') {
261 getXtParamsByYwh(ywh).then(res => {
262 let data = res.result
263 that.$popup('材料信息', 'registerBook/components/clxx/index', {
264 width: '70%',
265 formData: { ...data, sjlx: 1, bsmSldy: row.bsmSldy }
266 })
267 // const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
268 // window.open(href, `urlname${new Date().getTime()}`)
269 })
270 } else {
259 getBlParamsByYwh(ywh, bsmQlxx).then(res => { 271 getBlParamsByYwh(ywh, bsmQlxx).then(res => {
260 let data = res.result 272 let data = res.result
261 this.$popup('材料信息', 'registerBook/components/clxx/index', { 273 this.$popup('材料信息', 'registerBook/components/clxx/index', {
262 width: '60%', 274 width: '70%',
263 formData: data 275 formData: { ...data, sjlx: 2 }
264 }) 276 })
265 }) 277 })
266 // if (sjlx == '系统数据') { 278 }
267 // getXtParamsByYwh(ywh).then(res => {
268 // let data = res.result
269 // const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
270 // window.open(href, `urlname${new Date().getTime()}`)
271 // })
272 // } else {
273 // getBlParamsByYwh(ywh, bsmQlxx).then(res => {
274 // let data = res.result
275 // this.$popup('材料信息', 'registerBook/components/clxx/index', {
276 // width: '60%',
277 // formData: data
278 // })
279 // })
280 // }
281 } 279 }
282 } 280 }
283 } 281 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: miaofang 3 * @Autor: miaofang
4 * @LastEditTime: 2024-01-18 13:36:24 4 * @LastEditTime: 2024-01-19 16:09:59
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -301,30 +301,28 @@ ...@@ -301,30 +301,28 @@
301 }, 301 },
302 // 选择业务号 302 // 选择业务号
303 handleSelectYwh (row, ywh) { 303 handleSelectYwh (row, ywh) {
304 let that = this
304 let sjlx = row.sjlx, 305 let sjlx = row.sjlx,
305 bsmQlxx = row.bsmQlxx 306 bsmQlxx = row.bsmQlxx
307 if (sjlx == '系统数据') {
308 getXtParamsByYwh(ywh).then(res => {
309 let data = res.result
310 that.$popup('材料信息', 'registerBook/components/clxx/index', {
311 width: '70%',
312 formData: { ...data, sjlx: 1, bsmSldy: row.bsmSldy }
313 })
314 // const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
315 // window.open(href, `urlname${new Date().getTime()}`)
316 })
317 } else {
306 getBlParamsByYwh(ywh, bsmQlxx).then(res => { 318 getBlParamsByYwh(ywh, bsmQlxx).then(res => {
307 let data = res.result 319 let data = res.result
308 this.$popup('材料信息', 'registerBook/components/clxx/index', { 320 this.$popup('材料信息', 'registerBook/components/clxx/index', {
309 width: '60%', 321 width: '70%',
310 formData: data 322 formData: { ...data, sjlx: 2 }
311 }) 323 })
312 }) 324 })
313 // if (sjlx == '系统数据') { 325 }
314 // getXtParamsByYwh(ywh).then(res => {
315 // let data = res.result
316 // const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
317 // window.open(href, `urlname${new Date().getTime()}`)
318 // })
319 // } else {
320 // getBlParamsByYwh(ywh, bsmQlxx).then(res => {
321 // let data = res.result
322 // this.$popup('材料信息', 'registerBook/components/clxx/index', {
323 // width: '60%',
324 // formData: data
325 // })
326 // })
327 // }
328 } 326 }
329 } 327 }
330 }; 328 };
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-12-18 09:24:03 4 * @LastEditTime: 2024-01-19 14:45:09
5 --> 5 -->
6 <template> 6 <template>
7 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> 7 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-12-15 09:35:06 4 * @LastEditTime: 2024-01-18 14:55:20
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" 8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
9 :data="tableDataList"> 9 :data="tableDataList">
10 </lb-table> 10 </lb-table>
11 <addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" /> 11 <addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" />
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
126 if (val.length == 0 || !val) { 126 if (val.length == 0 || !val) {
127 } else { 127 } else {
128 that.tableDataList = _.cloneDeep(val) 128 that.tableDataList = _.cloneDeep(val)
129 that.key++
129 } 130 }
130 }) 131 })
131 }, 132 },
...@@ -138,6 +139,7 @@ ...@@ -138,6 +139,7 @@
138 if (newVal == 0) { 139 if (newVal == 0) {
139 this.column = _.cloneDeep(dataList) 140 this.column = _.cloneDeep(dataList)
140 this.tableDataList = _.cloneDeep(this.tableData) 141 this.tableDataList = _.cloneDeep(this.tableData)
142 this.key++
141 } else if ((newVal == '1' || newVal == '3')) { 143 } else if ((newVal == '1' || newVal == '3')) {
142 this.column = dataList 144 this.column = dataList
143 } else { 145 } else {
...@@ -329,6 +331,9 @@ ...@@ -329,6 +331,9 @@
329 } 331 }
330 </script> 332 </script>
331 <style scoped lang="scss"> 333 <style scoped lang="scss">
334 /deep/.el-table--small .el-table__cell {
335 padding: 0 0 !important;
336 }
332 /deep/.el-table th { 337 /deep/.el-table th {
333 height: 30px !important; 338 height: 30px !important;
334 } 339 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 14:21:08 4 * @LastEditTime: 2024-01-18 15:03:10
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" 8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
9 :data="tableDataList"> 9 :data="tableDataList">
10 </lb-table> 10 </lb-table>
11 <addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" /> 11 <addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" />
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
126 if (val.length == 0 || !val) { 126 if (val.length == 0 || !val) {
127 } else { 127 } else {
128 that.tableDataList = _.cloneDeep(val) 128 that.tableDataList = _.cloneDeep(val)
129 this.key++
129 } 130 }
130 }) 131 })
131 }, 132 },
...@@ -138,6 +139,7 @@ ...@@ -138,6 +139,7 @@
138 if (newVal == 0) { 139 if (newVal == 0) {
139 this.column = _.cloneDeep(dataList) 140 this.column = _.cloneDeep(dataList)
140 this.tableDataList = _.cloneDeep(this.tableData) 141 this.tableDataList = _.cloneDeep(this.tableData)
142 this.key++
141 } else if ((newVal == '1' || newVal == '3')) { 143 } else if ((newVal == '1' || newVal == '3')) {
142 this.column = dataList 144 this.column = dataList
143 } else { 145 } else {
...@@ -301,10 +303,16 @@ ...@@ -301,10 +303,16 @@
301 } 303 }
302 </script> 304 </script>
303 <style scoped lang="scss"> 305 <style scoped lang="scss">
306 /deep/.el-table--small .el-table__cell {
307 padding: 0 0 !important;
308 }
304 /deep/.el-table th { 309 /deep/.el-table th {
305 height: 30px !important; 310 height: 30px !important;
306 } 311 }
307 /deep/.el-table .cell { 312 /deep/.el-table .cell {
308 padding-right: 12px; 313 padding-right: 12px;
309 } 314 }
315 /deep/.el-table__body-wrapper {
316 height: auto !important;
317 }
310 </style> 318 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:01 4 * @LastEditTime: 2024-01-19 16:43:43
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -102,15 +102,14 @@ ...@@ -102,15 +102,14 @@
102 this.$message.success("转件成功"); 102 this.$message.success("转件成功");
103 popupCacel(); 103 popupCacel();
104 setTimeout(() => { 104 setTimeout(() => {
105 // window.opener.location.reload(); //刷新父窗口 105 window.close();
106 this.$emit("input", false);
106 if (window.opener && window.opener.getBpageList) { 107 if (window.opener && window.opener.getBpageList) {
107 window.opener.getBpageList(); 108 window.opener.getBpageList();
108 } else { 109 } else {
109 window.opener.frames[0].getBpageList(); 110 window.opener.frames[0].getBpageList();
110 } 111 }
111 window.close(); 112 }, 360);
112 this.$emit("input", false);
113 }, 1000);
114 } else { 113 } else {
115 this.$message.error(res.message); 114 this.$message.error(res.message);
116 } 115 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 10:11:32 4 * @LastEditTime: 2024-01-18 14:37:42
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-15 15:47:02 4 * @LastEditTime: 2024-01-18 16:19:51
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -132,8 +132,8 @@ ...@@ -132,8 +132,8 @@
132 <el-col :span="5"> 132 <el-col :span="5">
133 <el-form-item label="发证方式:" :disabled="!viewEdit"> 133 <el-form-item label="发证方式:" :disabled="!viewEdit">
134 <el-radio-group v-model="ruleForm.slsq.fzfs"> 134 <el-radio-group v-model="ruleForm.slsq.fzfs">
135 <el-radio label="1">小证</el-radio>
136 <el-radio label="2">大证</el-radio> 135 <el-radio label="2">大证</el-radio>
136 <el-radio label="1">小证</el-radio>
137 </el-radio-group> 137 </el-radio-group>
138 </el-form-item> 138 </el-form-item>
139 </el-col> 139 </el-col>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 08:38:32 4 * @LastEditTime: 2024-01-19 13:40:53
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 抵押权利信息查询 --> 7 <!-- 抵押权利信息查询 -->
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
60 <!-- 表格 --> 60 <!-- 表格 -->
61 <div class="from-clues-content loadingtext"> 61 <div class="from-clues-content loadingtext">
62 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 62 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
63 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" 63 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
64 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 64 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
65 :data="tableData.data"> 65 :data="tableData.data">
66 </lb-table> 66 </lb-table>
...@@ -88,6 +88,7 @@ ...@@ -88,6 +88,7 @@
88 }, 88 },
89 data () { 89 data () {
90 return { 90 return {
91 radioVal: '',
91 loading: false, 92 loading: false,
92 queryForm: defaultParameters.defaultParameters(), 93 queryForm: defaultParameters.defaultParameters(),
93 qllxs: [], 94 qllxs: [],
...@@ -101,6 +102,28 @@ ...@@ -101,6 +102,28 @@
101 }, 102 },
102 mounted () { 103 mounted () {
103 sendThis(this); 104 sendThis(this);
105 if (this.sqywInfo.sqywdylx == "1") {
106 this.tableData.columns = [{
107 label: '选择',
108 width: '50px',
109 render: (h, scope) => {
110 return (
111 <div class="orgColumn">
112 <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
113 &ensp;
114 </el-radio>
115 </div>
116 )
117 }
118 }].concat(datas.columns())
119 } else {
120 this.tableData.columns =
121 [{
122 type: 'selection',
123 label: '全选',
124 width: '50'
125 }].concat(datas.columns())
126 }
104 }, 127 },
105 methods: { 128 methods: {
106 /** 129 /**
...@@ -177,48 +200,22 @@ ...@@ -177,48 +200,22 @@
177 } 200 }
178 }, 201 },
179 /** 202 /**
180 * @description: select
181 * @param {*} selection
182 * @param {*} row
183 * @author: renchao
184 */
185 select (selection, row) {
186 if (this.sqywInfo.sqywdylx == "1") {
187 // 清除 所有勾选项
188 this.$refs.table.clearSelection()
189 // 当表格数据都没有被勾选的时候 就返回
190 // 主要用于将当前勾选的表格状态清除
191 if (selection.length == 0) return
192 this.$refs.table.toggleRowSelection(row, true);
193 }
194 },
195 /**
196 * @description: handleRowClick 203 * @description: handleRowClick
197 * @param {*} row 204 * @param {*} row
198 * @author: renchao 205 * @author: renchao
199 */ 206 */
207 handleChange () {
208 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
209 this.bdcdysz = arr
210 },
200 handleRowClick (row) { 211 handleRowClick (row) {
201 // 如果状态是1,那就是单选 212 // 如果状态是1,那就是单选
213 let refs = 'table';
202 if (this.sqywInfo.sqywdylx == "1") { 214 if (this.sqywInfo.sqywdylx == "1") {
203 const bdcdysz = this.bdcdysz 215 this.bdcdysz = [row]
204 this.$refs.table.clearSelection() 216 this.radioVal = row.bdcdyid
205 if (bdcdysz.length == 1) {
206 bdcdysz.forEach(item => {
207 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
208 if (item == row) {
209 this.$refs.table.toggleRowSelection(row, false);
210 }
211 // 不然就让当前的一行勾选
212 else {
213 this.$refs.table.toggleRowSelection(row, true);
214 }
215 })
216 }
217 else {
218 this.$refs.table.toggleRowSelection(row, true);
219 }
220 } else { 217 } else {
221 this.$refs.table.toggleRowSelection(row); 218 this.$refs[refs].toggleRowSelection(row)
222 } 219 }
223 }, 220 },
224 /** 221 /**
...@@ -226,7 +223,7 @@ ...@@ -226,7 +223,7 @@
226 * @param {*} row 223 * @param {*} row
227 * @author: renchao 224 * @author: renchao
228 */ 225 */
229 openBook (row) { 226 openDialog (row) {
230 var param = { 227 var param = {
231 bdcdyid: row.bdcdyid, 228 bdcdyid: row.bdcdyid,
232 qllx: row.qllx, 229 qllx: row.qllx,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 17:25:09 4 * @LastEditTime: 2024-01-18 15:56:28
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 </el-input> 33 </el-input>
34 </el-form-item> 34 </el-form-item>
35 </el-col> 35 </el-col>
36 <el-col :span="8" class="btnColRight"> 36 <el-col :span="24" class="btnColRight">
37 <el-form-item> 37 <el-form-item>
38 <el-button type="primary" @click="handleSearch">查询</el-button> 38 <el-button type="primary" @click="handleSearch">查询</el-button>
39 <el-button type="primary" @click="resetForm(true)">重置</el-button> 39 <el-button type="primary" @click="resetForm(true)">重置</el-button>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
45 <!-- 表格 --> 45 <!-- 表格 -->
46 <div class="from-clues-content loadingtext"> 46 <div class="from-clues-content loadingtext">
47 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 47 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
48 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" 48 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
49 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 49 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
50 :data="tableData.data"> 50 :data="tableData.data">
51 </lb-table> 51 </lb-table>
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
74 }, 74 },
75 data () { 75 data () {
76 return { 76 return {
77 radioVal: '',
77 loading: false, 78 loading: false,
78 queryForm: defaultParameters.defaultParameters(), 79 queryForm: defaultParameters.defaultParameters(),
79 tableData: { 80 tableData: {
...@@ -86,6 +87,28 @@ ...@@ -86,6 +87,28 @@
86 }, 87 },
87 mounted () { 88 mounted () {
88 sendThis(this); 89 sendThis(this);
90 if (this.sqywInfo.sqywdylx == "1") {
91 this.tableData.columns = [{
92 label: '选择',
93 width: '50px',
94 render: (h, scope) => {
95 return (
96 <div class="orgColumn">
97 <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
98 &ensp;
99 </el-radio>
100 </div>
101 )
102 }
103 }].concat(datas.columns())
104 } else {
105 this.tableData.columns =
106 [{
107 type: 'selection',
108 label: '全选',
109 width: '50'
110 }].concat(datas.columns())
111 }
89 }, 112 },
90 methods: { 113 methods: {
91 /** 114 /**
...@@ -158,21 +181,9 @@ ...@@ -158,21 +181,9 @@
158 this.bdcdysz = val; 181 this.bdcdysz = val;
159 } 182 }
160 }, 183 },
161 /** 184 handleChange () {
162 * @description: select 185 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
163 * @param {*} selection 186 this.bdcdysz = arr
164 * @param {*} row
165 * @author: renchao
166 */
167 select (selection, row) {
168 if (this.sqywInfo.sqywdylx == "1") {
169 // 清除 所有勾选项
170 this.$refs.table.clearSelection()
171 // 当表格数据都没有被勾选的时候 就返回
172 // 主要用于将当前勾选的表格状态清除
173 if (selection.length == 0) return
174 this.$refs.table.toggleRowSelection(row, true);
175 }
176 }, 187 },
177 /** 188 /**
178 * @description: handleRowClick 189 * @description: handleRowClick
...@@ -181,26 +192,12 @@ ...@@ -181,26 +192,12 @@
181 */ 192 */
182 handleRowClick (row) { 193 handleRowClick (row) {
183 // 如果状态是1,那就是单选 194 // 如果状态是1,那就是单选
195 let refs = 'table';
184 if (this.sqywInfo.sqywdylx == "1") { 196 if (this.sqywInfo.sqywdylx == "1") {
185 const bdcdysz = this.bdcdysz 197 this.bdcdysz = [row]
186 this.$refs.table.clearSelection() 198 this.radioVal = row.bdcdyid
187 if (bdcdysz.length == 1) {
188 bdcdysz.forEach(item => {
189 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
190 if (item == row) {
191 this.$refs.table.toggleRowSelection(row, false);
192 }
193 // 不然就让当前的一行勾选
194 else {
195 this.$refs.table.toggleRowSelection(row, true);
196 }
197 })
198 }
199 else {
200 this.$refs.table.toggleRowSelection(row, true);
201 }
202 } else { 199 } else {
203 this.$refs.table.toggleRowSelection(row); 200 this.$refs[refs].toggleRowSelection(row)
204 } 201 }
205 }, 202 },
206 /** 203 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-16 14:12:35 4 * @LastEditTime: 2024-01-19 13:35:33
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
8 <!-- 表单部分 林权首次 --> 8 <!-- 表单部分 林权首次 -->
9 <div class="from-clues-header"> 9 <div class="from-clues-header">
10 <el-form :model="queryForm" ref="queryForm"> 10 <el-form :model="queryForm" ref="queryForm" label-width="100px">
11 <el-row :gutter="20"> 11 <el-row>
12 <el-col :span="6"> 12 <el-col :span="6">
13 <el-form-item label="宗地代码"> 13 <el-form-item label="宗地代码">
14 <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100"> 14 <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100">
...@@ -27,10 +27,22 @@ ...@@ -27,10 +27,22 @@
27 </el-input> 27 </el-input>
28 </el-form-item> 28 </el-form-item>
29 </el-col> 29 </el-col>
30 <el-col :span="6" class="btnColRight"> 30 <el-col :span="6">
31 <el-form-item label="权利人">
32 <el-input placeholder="请输入权利人" v-model.trim="queryForm.qlr" clearable class="width100">
33 </el-input>
34 </el-form-item>
35 </el-col>
36 <el-col :span="6">
37 <el-form-item label="证件号">
38 <el-input placeholder="请输入证件号" v-model.trim="queryForm.zjh" clearable class="width100">
39 </el-input>
40 </el-form-item>
41 </el-col>
42 <el-col :span="18" class="btnColRight">
31 <el-form-item> 43 <el-form-item>
32 <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> -->
33 <el-button type="primary" @click="handleSearch">查询</el-button> 44 <el-button type="primary" @click="handleSearch">查询</el-button>
45 <el-button type="primary" @click="resetForm(true)">重置</el-button>
34 </el-form-item> 46 </el-form-item>
35 </el-col> 47 </el-col>
36 </el-row> 48 </el-row>
...@@ -39,7 +51,7 @@ ...@@ -39,7 +51,7 @@
39 <!-- 表格 --> 51 <!-- 表格 -->
40 <div class="from-clues-content loadingtext"> 52 <div class="from-clues-content loadingtext">
41 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 53 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
42 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" 54 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
43 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 55 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
44 :data="tableData.data"> 56 :data="tableData.data">
45 </lb-table> 57 </lb-table>
...@@ -68,6 +80,7 @@ ...@@ -68,6 +80,7 @@
68 }, 80 },
69 data () { 81 data () {
70 return { 82 return {
83 radioVal: '',
71 loading: false, 84 loading: false,
72 queryForm: defaultParameters.defaultParameters(), 85 queryForm: defaultParameters.defaultParameters(),
73 tableData: { 86 tableData: {
...@@ -80,6 +93,28 @@ ...@@ -80,6 +93,28 @@
80 }, 93 },
81 mounted () { 94 mounted () {
82 sendThis(this); 95 sendThis(this);
96 if (this.sqywInfo.sqywdylx == "1") {
97 this.tableData.columns = [{
98 label: '选择',
99 width: '50px',
100 render: (h, scope) => {
101 return (
102 <div class="orgColumn">
103 <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
104 &ensp;
105 </el-radio>
106 </div>
107 )
108 }
109 }].concat(datas.columns())
110 } else {
111 this.tableData.columns =
112 [{
113 type: 'selection',
114 label: '全选',
115 width: '50'
116 }].concat(datas.columns())
117 }
83 }, 118 },
84 methods: { 119 methods: {
85 /** 120 /**
...@@ -157,49 +192,22 @@ ...@@ -157,49 +192,22 @@
157 } 192 }
158 }, 193 },
159 /** 194 /**
160 * @description: select
161 * @param {*} selection
162 * @param {*} row
163 * @author: renchao
164 */
165 select (selection, row) {
166 if (this.sqywInfo.sqywdylx == "1") {
167 // 清除 所有勾选项
168 this.$refs.table.clearSelection()
169 // 当表格数据都没有被勾选的时候 就返回
170 // 主要用于将当前勾选的表格状态清除
171 if (selection.length == 0) return
172 this.$refs.table.toggleRowSelection(row, true);
173 }
174 },
175
176 /**
177 * @description: handleRowClick 195 * @description: handleRowClick
178 * @param {*} row 196 * @param {*} row
179 * @author: renchao 197 * @author: renchao
180 */ 198 */
199 handleChange () {
200 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
201 this.bdcdysz = arr
202 },
181 handleRowClick (row) { 203 handleRowClick (row) {
182 // 如果状态是1,那就是单选 204 // 如果状态是1,那就是单选
205 let refs = 'table';
183 if (this.sqywInfo.sqywdylx == "1") { 206 if (this.sqywInfo.sqywdylx == "1") {
184 const bdcdysz = this.bdcdysz 207 this.bdcdysz = [row]
185 this.$refs.table.clearSelection() 208 this.radioVal = row.bdcdyid
186 if (bdcdysz.length == 1) {
187 bdcdysz.forEach(item => {
188 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
189 if (item == row) {
190 this.$refs.table.toggleRowSelection(row, false);
191 }
192 // 不然就让当前的一行勾选
193 else {
194 this.$refs.table.toggleRowSelection(row, true);
195 }
196 })
197 }
198 else {
199 this.$refs.table.toggleRowSelection(row, true);
200 }
201 } else { 209 } else {
202 this.$refs.table.toggleRowSelection(row); 210 this.$refs[refs].toggleRowSelection(row)
203 } 211 }
204 }, 212 },
205 /** 213 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 14:17:17 4 * @LastEditTime: 2024-01-19 16:25:18
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -195,6 +195,7 @@ ...@@ -195,6 +195,7 @@
195 }, 195 },
196 handleChange () { 196 handleChange () {
197 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) 197 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
198 arr[0].bsm = arr[0].zdbsm
198 this.bdcdysz = arr 199 this.bdcdysz = arr
199 }, 200 },
200 /** 201 /**
...@@ -204,31 +205,12 @@ ...@@ -204,31 +205,12 @@
204 */ 205 */
205 handleRowClick (row) { 206 handleRowClick (row) {
206 // 如果状态是1,那就是单选 207 // 如果状态是1,那就是单选
207 // if (this.sqywInfo.sqywdylx == "1") {
208 // const bdcdysz = this.bdcdysz
209 // this.$refs.table.clearSelection()
210 // if (bdcdysz.length == 1) {
211 // bdcdysz.forEach(item => {
212 // // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
213 // if (item == row) {
214 // this.$refs.table.toggleRowSelection(row, false);
215 // }
216 // // 不然就让当前的一行勾选
217 // else {
218 // this.$refs.table.toggleRowSelection(row, true);
219 // }
220 // })
221 // }
222 // else {
223 // this.$refs.table.toggleRowSelection(row, true);
224 // }
225 // } else {
226 // this.$refs.table.toggleRowSelection(row);
227 // }
228 let refs = 'table'; 208 let refs = 'table';
229 if (this.sqywInfo.sqywdylx == "1") { 209 if (this.sqywInfo.sqywdylx == "1") {
210 row.bsm = row.zdbsm
230 this.bdcdysz = [row] 211 this.bdcdysz = [row]
231 this.radioVal = row.bdcdyid 212 this.radioVal = row.bdcdyid
213
232 } else { 214 } else {
233 this.$refs[refs].toggleRowSelection(row) 215 this.$refs[refs].toggleRowSelection(row)
234 } 216 }
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 08:37:55 4 * @LastEditTime: 2024-01-19 13:40:07
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -15,11 +15,11 @@ class data extends filter { ...@@ -15,11 +15,11 @@ class data extends filter {
15 } 15 }
16 columns () { 16 columns () {
17 return [ 17 return [
18 { 18 // {
19 type: 'selection', 19 // type: 'selection',
20 label: '全选', 20 // label: '全选',
21 selectable: this.selected 21 // selectable: this.selected
22 }, 22 // },
23 { 23 {
24 label: '序号', 24 label: '序号',
25 type: 'index', 25 type: 'index',
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-21 16:18:47 4 * @LastEditTime: 2024-01-18 15:57:18
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -15,11 +15,11 @@ class data extends filter { ...@@ -15,11 +15,11 @@ class data extends filter {
15 } 15 }
16 columns () { 16 columns () {
17 return [ 17 return [
18 { 18 // {
19 type: 'selection', 19 // type: 'selection',
20 label: '全选', 20 // label: '全选',
21 selectable: this.selected 21 // selectable: this.selected
22 }, 22 // },
23 { 23 {
24 label: '序号', 24 label: '序号',
25 type: 'index', 25 type: 'index',
......
...@@ -67,9 +67,9 @@ module.exports = { ...@@ -67,9 +67,9 @@ module.exports = {
67 '@': resolve('src') 67 '@': resolve('src')
68 } 68 }
69 }, 69 },
70 output: { // 输出重构 打包编译后的 文件名称 【模块名称.版本号.时间戳】 70 output: {
71 filename: `static/js/[name].${Timestamp}.js`, 71 filename: `static/js/[name].[hash].js`,
72 chunkFilename: `static/js/[name].${Timestamp}.js` 72 chunkFilename: `static/js/[name].[hash].js`,
73 }, 73 },
74 devtool: process.env.NODE_ENV === 'development' ? '#eval-source-map' : false 74 devtool: process.env.NODE_ENV === 'development' ? '#eval-source-map' : false
75 }, 75 },
......