1fa576bc by xiaomiao

--no commit message

2 parents ddef5f04 1e7b4fd3
...@@ -116,6 +116,19 @@ export function startBusinessFlow (data) { ...@@ -116,6 +116,19 @@ export function startBusinessFlow (data) {
116 } 116 }
117 117
118 /** 118 /**
119 * @description: 业务办理-发起业务申请流程
120 * @param {*} data
121 * @author: renchao
122 */
123 export function startRepairFlow (data) {
124 return request({
125 url: SERVER.SERVERAPI + '/rest/business/workFlow/startRepairFlow',
126 method: 'post',
127 data
128 })
129 }
130
131 /**
119 * @description: 已办箱列表查询接口 132 * @description: 已办箱列表查询接口
120 * @param {*} data 133 * @param {*} data
121 * @author: renchao 134 * @author: renchao
......
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
11 maxlength="28" 11 maxlength="28"
12 v-model="queryForm.bdcdyh" 12 v-model="queryForm.bdcdyh"
13 clearable 13 clearable
14 class="width200px" 14 class="width200px"></el-input>
15 ></el-input>
16 </el-form-item> 15 </el-form-item>
17 </el-col> 16 </el-col>
18 <el-col :span="8"> 17 <el-col :span="8">
...@@ -26,8 +25,7 @@ ...@@ -26,8 +25,7 @@
26 placeholder="请输入不动产权证号" 25 placeholder="请输入不动产权证号"
27 v-model="queryForm.cfwh" 26 v-model="queryForm.cfwh"
28 clearable 27 clearable
29 class="width200px" 28 class="width200px"></el-input>
30 ></el-input>
31 </el-form-item> 29 </el-form-item>
32 </el-col> 30 </el-col>
33 </el-row> 31 </el-row>
...@@ -60,8 +58,7 @@ ...@@ -60,8 +58,7 @@
60 @p-current-change="handleCurrentChange" 58 @p-current-change="handleCurrentChange"
61 @selection-change="handleSelectionChange" 59 @selection-change="handleSelectionChange"
62 :column="tableData.columns" 60 :column="tableData.columns"
63 :data="tableData.data" 61 :data="tableData.data"></lb-table>
64 ></lb-table>
65 </div> 62 </div>
66 <div class="submit_button"> 63 <div class="submit_button">
67 <el-button @click="$popupCacel">取消</el-button> 64 <el-button @click="$popupCacel">取消</el-button>
...@@ -70,20 +67,20 @@ ...@@ -70,20 +67,20 @@
70 </div> 67 </div>
71 </template> 68 </template>
72 <script> 69 <script>
73 //查封登记 70 //查封登记
74 import store from "@/store/index.js"; 71 import store from "@/store/index.js";
75 import { datas, sendThis } from "../javascript/cfdj.js"; 72 import { datas, sendThis } from "../javascript/cfdj.js";
76 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 73 import { defaultParameters } from "../javascript/publicDefaultPar.js";
77 import table from "@/utils/mixin/table"; 74 import table from "@/utils/mixin/table";
78 import jump from "../components/mixin/jump"; 75 import jump from "../components/mixin/jump";
79 import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; 76 import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
80 export default { 77 export default {
81 props: { 78 props: {
82 isJump: { type: Boolean, default: false }, 79 isJump: { type: Boolean, default: false },
83 sqywInfo: { type: Object, default: () => {} }, 80 sqywInfo: { type: Object, default: () => { } },
84 }, 81 },
85 mixins: [table, jump], 82 mixins: [table, jump],
86 data() { 83 data () {
87 return { 84 return {
88 queryForm: defaultParameters.defaultParameters(), 85 queryForm: defaultParameters.defaultParameters(),
89 tableData: { 86 tableData: {
...@@ -98,11 +95,11 @@ export default { ...@@ -98,11 +95,11 @@ export default {
98 : this.sqywInfo.parentid, 95 : this.sqywInfo.parentid,
99 }; 96 };
100 }, 97 },
101 mounted() { 98 mounted () {
102 sendThis(this); 99 sendThis(this);
103 }, 100 },
104 methods: { 101 methods: {
105 queryClick() { 102 queryClick () {
106 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); 103 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
107 this.$startLoading(); 104 this.$startLoading();
108 selectCfdj({ ...this.queryForm, ...this.pageData }).then((res) => { 105 selectCfdj({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -114,7 +111,7 @@ export default { ...@@ -114,7 +111,7 @@ export default {
114 } 111 }
115 }); 112 });
116 }, 113 },
117 submitForm() { 114 submitForm () {
118 if (this.bdcdysz.length == 0) { 115 if (this.bdcdysz.length == 0) {
119 this.$message.error("请至少选择一条数据"); 116 this.$message.error("请至少选择一条数据");
120 return; 117 return;
...@@ -134,8 +131,14 @@ export default { ...@@ -134,8 +131,14 @@ export default {
134 message: "发起申请成功", 131 message: "发起申请成功",
135 type: "success", 132 type: "success",
136 }); 133 });
134 if (!this.isJump) {
137 this.jump(res.result, this.sqywInfo.djywbm); 135 this.jump(res.result, this.sqywInfo.djywbm);
138 } else { 136 } else {
137 store.dispatch('user/refreshPage', true);
138 }
139 this.$popupCacel()
140
141 } else {
139 this.$message.error(res.message); 142 this.$message.error(res.message);
140 } 143 }
141 }); 144 });
...@@ -158,10 +161,10 @@ export default { ...@@ -158,10 +161,10 @@ export default {
158 }); 161 });
159 } 162 }
160 }, 163 },
161 handleSelectionChange(val) { 164 handleSelectionChange (val) {
162 this.bdcdysz = val; 165 this.bdcdysz = val;
163 }, 166 },
164 select(selection, row) { 167 select (selection, row) {
165 if (this.sqywInfo.sqywdylx == "1") { 168 if (this.sqywInfo.sqywdylx == "1") {
166 // 清除 所有勾选项 169 // 清除 所有勾选项
167 this.$refs.table.clearSelection(); 170 this.$refs.table.clearSelection();
...@@ -171,7 +174,7 @@ export default { ...@@ -171,7 +174,7 @@ export default {
171 this.$refs.table.toggleRowSelection(row, true); 174 this.$refs.table.toggleRowSelection(row, true);
172 } 175 }
173 }, 176 },
174 handleRowClick(row) { 177 handleRowClick (row) {
175 // 如果状态是1,那就是单选 178 // 如果状态是1,那就是单选
176 if (this.sqywInfo.sqywdylx == "1") { 179 if (this.sqywInfo.sqywdylx == "1") {
177 const bdcdysz = this.bdcdysz; 180 const bdcdysz = this.bdcdysz;
...@@ -195,9 +198,9 @@ export default { ...@@ -195,9 +198,9 @@ export default {
195 } 198 }
196 }, 199 },
197 }, 200 },
198 }; 201 };
199 </script> 202 </script>
200 <style scoped lang="scss"> 203 <style scoped lang="scss">
201 @import "~@/styles/mixin.scss"; 204 @import "~@/styles/mixin.scss";
202 @import "~@/styles/public.scss"; 205 @import "~@/styles/public.scss";
203 </style> 206 </style>
......
...@@ -83,9 +83,7 @@ ...@@ -83,9 +83,7 @@
83 sendThis(this); 83 sendThis(this);
84 }, 84 },
85 methods: { 85 methods: {
86
87 queryClick () { 86 queryClick () {
88 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
89 this.$startLoading(); 87 this.$startLoading();
90 this.queryForm.sqywbm = this.sqywInfo.djywbm; 88 this.queryForm.sqywbm = this.sqywInfo.djywbm;
91 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { 89 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -119,31 +117,31 @@ ...@@ -119,31 +117,31 @@
119 } else { 117 } else {
120 store.dispatch('user/refreshPage', true); 118 store.dispatch('user/refreshPage', true);
121 } 119 }
120 this.$popupCacel()
122 } else { 121 } else {
123 this.$message.error(res.message); 122 this.$message.error(res.message);
124 } 123 }
125 this.$popupCacel()
126 }) 124 })
127 }, 125 },
128 handleSelectionChange (val) { 126 handleSelectionChange (val) {
129 this.bdcdysz = val; 127 this.bdcdysz = val;
130 }, 128 },
131 select(selection, row){ 129 select (selection, row) {
132 if(this.sqywInfo.sqywdylx=="1"){ 130 if (this.sqywInfo.sqywdylx == "1") {
133 // 清除 所有勾选项 131 // 清除 所有勾选项
134 this.$refs.table.clearSelection() 132 this.$refs.table.clearSelection()
135 // 当表格数据都没有被勾选的时候 就返回 133 // 当表格数据都没有被勾选的时候 就返回
136 // 主要用于将当前勾选的表格状态清除 134 // 主要用于将当前勾选的表格状态清除
137 if(selection.length == 0) return 135 if (selection.length == 0) return
138 this.$refs.table.toggleRowSelection(row, true); 136 this.$refs.table.toggleRowSelection(row, true);
139 } 137 }
140 }, 138 },
141 handleRowClick(row){ 139 handleRowClick (row) {
142 // 如果状态是1,那就是单选 140 // 如果状态是1,那就是单选
143 if(this.sqywInfo.sqywdylx=="1"){ 141 if (this.sqywInfo.sqywdylx == "1") {
144 const bdcdysz = this.bdcdysz 142 const bdcdysz = this.bdcdysz
145 this.$refs.table.clearSelection() 143 this.$refs.table.clearSelection()
146 if( bdcdysz.length == 1 ) { 144 if (bdcdysz.length == 1) {
147 bdcdysz.forEach(item => { 145 bdcdysz.forEach(item => {
148 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 146 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
149 if (item == row) { 147 if (item == row) {
...@@ -158,7 +156,7 @@ ...@@ -158,7 +156,7 @@
158 else { 156 else {
159 this.$refs.table.toggleRowSelection(row, true); 157 this.$refs.table.toggleRowSelection(row, true);
160 } 158 }
161 }else{ 159 } else {
162 this.$refs.table.toggleRowSelection(row); 160 this.$refs.table.toggleRowSelection(row);
163 } 161 }
164 }, 162 },
......
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
171 }, 171 },
172 methods: { 172 methods: {
173 queryClick () { 173 queryClick () {
174 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); 174 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
175 this.$startLoading(); 175 this.$startLoading();
176 if (!this.isJump) { 176 if (!this.isJump) {
177 //从业务办理进入 177 //从业务办理进入
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
224 if (!this.isJump) { 224 if (!this.isJump) {
225 startBusinessFlow({ 225 startBusinessFlow({
226 bsmSqyw: this.bsmSqyw, 226 bsmSqyw: this.bsmSqyw,
227 fwlx: this.activeName, 227 sjlx: 'zrz',
228 bdcdysz: this.bdcdysz, 228 bdcdysz: this.bdcdysz,
229 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", 229 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
230 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", 230 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
...@@ -235,7 +235,12 @@ ...@@ -235,7 +235,12 @@
235 message: '发起申请成功', 235 message: '发起申请成功',
236 type: 'success' 236 type: 'success'
237 }) 237 })
238 this.jump(res.result, this.djywbm) 238 if (!this.isJump) {
239 this.jump(res.result, this.sqywInfo.djywbm);
240 } else {
241 store.dispatch('user/refreshPage', true);
242 }
243 this.$popupCacel()
239 } else { 244 } else {
240 this.$message.error(res.message); 245 this.$message.error(res.message);
241 } 246 }
...@@ -275,23 +280,23 @@ ...@@ -275,23 +280,23 @@
275 } 280 }
276 }) 281 })
277 }, 282 },
278 select(selection, row){ 283 select (selection, row) {
279 if(this.sqywInfo.sqywdylx=="1"){ 284 if (this.sqywInfo.sqywdylx == "1") {
280 // 清除 所有勾选项 285 // 清除 所有勾选项
281 this.$refs.table.clearSelection() 286 this.$refs.table.clearSelection()
282 // 当表格数据都没有被勾选的时候 就返回 287 // 当表格数据都没有被勾选的时候 就返回
283 // 主要用于将当前勾选的表格状态清除 288 // 主要用于将当前勾选的表格状态清除
284 if(selection.length == 0) return 289 if (selection.length == 0) return
285 this.$refs.table.toggleRowSelection(row, true); 290 this.$refs.table.toggleRowSelection(row, true);
286 } 291 }
287 292
288 }, 293 },
289 handleRowClick(row){ 294 handleRowClick (row) {
290 // 如果状态是1,那就是单选 295 // 如果状态是1,那就是单选
291 if(this.sqywInfo.sqywdylx=="1"){ 296 if (this.sqywInfo.sqywdylx == "1") {
292 const bdcdysz = this.bdcdysz 297 const bdcdysz = this.bdcdysz
293 this.$refs.table.clearSelection() 298 this.$refs.table.clearSelection()
294 if( bdcdysz.length == 1 ) { 299 if (bdcdysz.length == 1) {
295 bdcdysz.forEach(item => { 300 bdcdysz.forEach(item => {
296 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 301 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
297 if (item == row) { 302 if (item == row) {
...@@ -306,7 +311,7 @@ ...@@ -306,7 +311,7 @@
306 else { 311 else {
307 this.$refs.table.toggleRowSelection(row, true); 312 this.$refs.table.toggleRowSelection(row, true);
308 } 313 }
309 }else{ 314 } else {
310 this.$refs.table.toggleRowSelection(row); 315 this.$refs.table.toggleRowSelection(row);
311 } 316 }
312 }, 317 },
......
...@@ -106,31 +106,31 @@ ...@@ -106,31 +106,31 @@
106 } else { 106 } else {
107 store.dispatch('user/refreshPage', true); 107 store.dispatch('user/refreshPage', true);
108 } 108 }
109 this.$popupCacel()
109 } else { 110 } else {
110 this.$message.error(res.message); 111 this.$message.error(res.message);
111 } 112 }
112 this.$popupCacel()
113 }) 113 })
114 }, 114 },
115 handleSelectionChange (val) { 115 handleSelectionChange (val) {
116 this.bdcdysz = val; 116 this.bdcdysz = val;
117 }, 117 },
118 select(selection, row){ 118 select (selection, row) {
119 if(this.sqywInfo.sqywdylx=="1"){ 119 if (this.sqywInfo.sqywdylx == "1") {
120 // 清除 所有勾选项 120 // 清除 所有勾选项
121 this.$refs.table.clearSelection() 121 this.$refs.table.clearSelection()
122 // 当表格数据都没有被勾选的时候 就返回 122 // 当表格数据都没有被勾选的时候 就返回
123 // 主要用于将当前勾选的表格状态清除 123 // 主要用于将当前勾选的表格状态清除
124 if(selection.length == 0) return 124 if (selection.length == 0) return
125 this.$refs.table.toggleRowSelection(row, true); 125 this.$refs.table.toggleRowSelection(row, true);
126 } 126 }
127 }, 127 },
128 handleRowClick(row){ 128 handleRowClick (row) {
129 // 如果状态是1,那就是单选 129 // 如果状态是1,那就是单选
130 if(this.sqywInfo.sqywdylx=="1"){ 130 if (this.sqywInfo.sqywdylx == "1") {
131 const bdcdysz = this.bdcdysz 131 const bdcdysz = this.bdcdysz
132 this.$refs.table.clearSelection() 132 this.$refs.table.clearSelection()
133 if( bdcdysz.length == 1 ) { 133 if (bdcdysz.length == 1) {
134 bdcdysz.forEach(item => { 134 bdcdysz.forEach(item => {
135 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 135 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
136 if (item == row) { 136 if (item == row) {
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
145 else { 145 else {
146 this.$refs.table.toggleRowSelection(row, true); 146 this.$refs.table.toggleRowSelection(row, true);
147 } 147 }
148 }else{ 148 } else {
149 this.$refs.table.toggleRowSelection(row); 149 this.$refs.table.toggleRowSelection(row);
150 } 150 }
151 }, 151 },
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
70 }, 70 },
71 methods: { 71 methods: {
72 queryClick () { 72 queryClick () {
73 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); 73 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
74 this.$startLoading(); 74 this.$startLoading();
75 this.queryForm.sqywbm = this.sqywInfo.djywbm; 75 this.queryForm.sqywbm = this.sqywInfo.djywbm;
76 selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 76 selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -104,10 +104,10 @@ ...@@ -104,10 +104,10 @@
104 } else { 104 } else {
105 store.dispatch('user/refreshPage', true); 105 store.dispatch('user/refreshPage', true);
106 } 106 }
107 this.$popupCacel()
107 } else { 108 } else {
108 this.$message.error(res.message); 109 this.$message.error(res.message);
109 } 110 }
110 this.$popupCacel()
111 }) 111 })
112 }, 112 },
113 handleSelectionChange (val) { 113 handleSelectionChange (val) {
...@@ -119,22 +119,22 @@ ...@@ -119,22 +119,22 @@
119 formData: param 119 formData: param
120 }) 120 })
121 }, 121 },
122 select(selection, row){ 122 select (selection, row) {
123 if(this.sqywInfo.sqywdylx=="1"){ 123 if (this.sqywInfo.sqywdylx == "1") {
124 // 清除 所有勾选项 124 // 清除 所有勾选项
125 this.$refs.table.clearSelection() 125 this.$refs.table.clearSelection()
126 // 当表格数据都没有被勾选的时候 就返回 126 // 当表格数据都没有被勾选的时候 就返回
127 // 主要用于将当前勾选的表格状态清除 127 // 主要用于将当前勾选的表格状态清除
128 if(selection.length == 0) return 128 if (selection.length == 0) return
129 this.$refs.table.toggleRowSelection(row, true); 129 this.$refs.table.toggleRowSelection(row, true);
130 } 130 }
131 }, 131 },
132 handleRowClick(row){ 132 handleRowClick (row) {
133 // 如果状态是1,那就是单选 133 // 如果状态是1,那就是单选
134 if(this.sqywInfo.sqywdylx=="1"){ 134 if (this.sqywInfo.sqywdylx == "1") {
135 const bdcdysz = this.bdcdysz 135 const bdcdysz = this.bdcdysz
136 this.$refs.table.clearSelection() 136 this.$refs.table.clearSelection()
137 if( bdcdysz.length == 1 ) { 137 if (bdcdysz.length == 1) {
138 bdcdysz.forEach(item => { 138 bdcdysz.forEach(item => {
139 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 139 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
140 if (item == row) { 140 if (item == row) {
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
149 else { 149 else {
150 this.$refs.table.toggleRowSelection(row, true); 150 this.$refs.table.toggleRowSelection(row, true);
151 } 151 }
152 }else{ 152 } else {
153 this.$refs.table.toggleRowSelection(row); 153 this.$refs.table.toggleRowSelection(row);
154 } 154 }
155 }, 155 },
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
98 methods: { 98 methods: {
99 //默认加载表格信息 99 //默认加载表格信息
100 queryClick () { 100 queryClick () {
101 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); 101 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
102 this.$startLoading(); 102 this.$startLoading();
103 this.queryForm.bsmSqyw = this.bsmSqyw; 103 this.queryForm.bsmSqyw = this.bsmSqyw;
104 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 104 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -132,31 +132,31 @@ ...@@ -132,31 +132,31 @@
132 } else { 132 } else {
133 store.dispatch('user/refreshPage', true); 133 store.dispatch('user/refreshPage', true);
134 } 134 }
135 this.$popupCacel()
135 } else { 136 } else {
136 this.$alert(res.message); 137 this.$message.error(res.message)
137 } 138 }
138 this.$popupCacel()
139 }) 139 })
140 }, 140 },
141 handleSelectionChange (val) { 141 handleSelectionChange (val) {
142 this.bdcdysz = val; 142 this.bdcdysz = val;
143 }, 143 },
144 select(selection, row){ 144 select (selection, row) {
145 if(this.sqywInfo.sqywdylx=="1"){ 145 if (this.sqywInfo.sqywdylx == "1") {
146 // 清除 所有勾选项 146 // 清除 所有勾选项
147 this.$refs.table.clearSelection() 147 this.$refs.table.clearSelection()
148 // 当表格数据都没有被勾选的时候 就返回 148 // 当表格数据都没有被勾选的时候 就返回
149 // 主要用于将当前勾选的表格状态清除 149 // 主要用于将当前勾选的表格状态清除
150 if(selection.length == 0) return 150 if (selection.length == 0) return
151 this.$refs.table.toggleRowSelection(row, true); 151 this.$refs.table.toggleRowSelection(row, true);
152 } 152 }
153 }, 153 },
154 handleRowClick(row){ 154 handleRowClick (row) {
155 // 如果状态是1,那就是单选 155 // 如果状态是1,那就是单选
156 if(this.sqywInfo.sqywdylx=="1"){ 156 if (this.sqywInfo.sqywdylx == "1") {
157 const bdcdysz = this.bdcdysz 157 const bdcdysz = this.bdcdysz
158 this.$refs.table.clearSelection() 158 this.$refs.table.clearSelection()
159 if( bdcdysz.length == 1 ) { 159 if (bdcdysz.length == 1) {
160 bdcdysz.forEach(item => { 160 bdcdysz.forEach(item => {
161 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 161 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
162 if (item == row) { 162 if (item == row) {
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
171 else { 171 else {
172 this.$refs.table.toggleRowSelection(row, true); 172 this.$refs.table.toggleRowSelection(row, true);
173 } 173 }
174 }else{ 174 } else {
175 this.$refs.table.toggleRowSelection(row); 175 this.$refs.table.toggleRowSelection(row);
176 } 176 }
177 }, 177 },
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
38 </el-form> 38 </el-form>
39 </div> 39 </div>
40 <!-- 表格 --> 40 <!-- 表格 -->
41 <div class="from-clues-content loadingtext" > 41 <div class="from-clues-content loadingtext">
42 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.size" class="loadingtext" 42 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.size" class="loadingtext"
43 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" 43 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
44 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> 44 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data">
...@@ -51,14 +51,14 @@ ...@@ -51,14 +51,14 @@
51 </div> 51 </div>
52 </template> 52 </template>
53 <script> 53 <script>
54 import { mapGetters } from "vuex"; 54 import { mapGetters } from "vuex";
55 import {startBusinessFlow} from "@/api/djbbl.js" 55 import { startRepairFlow } from "@/api/ywbl.js";
56 import store from '@/store/index.js' 56 import store from '@/store/index.js'
57 import table from "@/utils/mixin/table"; 57 import table from "@/utils/mixin/table";
58 import { datas, sendThis } from "../javascript/selectDjbbl.js"; 58 import { datas, sendThis } from "../javascript/selectDjbbl.js";
59 import { getDjbBysearch } from "@/api/zhcx.js"; 59 import { getDjbBysearch } from "@/api/zhcx.js";
60 import jump from "../components/mixin/djbbljump"; 60 import jump from "../components/mixin/jump";
61 export default { 61 export default {
62 name: "djbcx", 62 name: "djbcx",
63 mixins: [table, jump], 63 mixins: [table, jump],
64 mounted () { 64 mounted () {
...@@ -96,13 +96,9 @@ export default { ...@@ -96,13 +96,9 @@ export default {
96 : this.sqywInfo.parentid, 96 : this.sqywInfo.parentid,
97 }; 97 };
98 }, 98 },
99 computed: {
100 // ...mapGetters(["dictData"]),
101 },
102 methods: { 99 methods: {
103 // 初始化数据 100 // 初始化数据
104 queryClick () { 101 queryClick () {
105 console.log("this.queryForm",this.queryForm);
106 this.$startLoading() 102 this.$startLoading()
107 getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { 103 getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => {
108 this.$endLoading() 104 this.$endLoading()
...@@ -113,9 +109,6 @@ export default { ...@@ -113,9 +109,6 @@ export default {
113 } 109 }
114 }); 110 });
115 }, 111 },
116 // handleSort (name, sort) {
117 // console.log(name, sort);
118 // },
119 // 高级查询 112 // 高级查询
120 moreQueryClick () { }, 113 moreQueryClick () { },
121 // openDialog (scroll) { 114 // openDialog (scroll) {
...@@ -129,12 +122,12 @@ export default { ...@@ -129,12 +122,12 @@ export default {
129 ywhClick (item) { 122 ywhClick (item) {
130 const { href } = this.$router.resolve( 123 const { href } = this.$router.resolve(
131 "/djbworkFrame?bdcdyid=" + 124 "/djbworkFrame?bdcdyid=" +
132 item.bdcdyid+ 125 item.bdcdyid +
133 "&bdcdyh=" + 126 "&bdcdyh=" +
134 item.bdcdyh+ 127 item.bdcdyh +
135 "&qllx="+ 128 "&qllx=" +
136 item.qllx+ 129 item.qllx +
137 "&bsmQlxx="+ 130 "&bsmQlxx=" +
138 item.bsmQlxx + 131 item.bsmQlxx +
139 "&viewtype=1" 132 "&viewtype=1"
140 ); 133 );
...@@ -147,15 +140,15 @@ export default { ...@@ -147,15 +140,15 @@ export default {
147 this.$message.error("请至少选择一条数据"); 140 this.$message.error("请至少选择一条数据");
148 return; 141 return;
149 } 142 }
150 console.log("this.sqywInfo",this.sqywInfo,this.sqywInfo.nodetype == "djqx"); 143 console.log("this.sqywInfo", this.sqywInfo, this.sqywInfo.nodetype == "djqx");
151 let from={ 144 let from = {
152 bsmSqyw: this.bsmSqyw, 145 bsmSqyw: this.bsmSqyw,
153 bdcdysz: this.bdcdysz, 146 bdcdysz: this.bdcdysz,
154 djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", 147 djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "",
155 djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", 148 djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "",
156 } 149 }
157 console.log("发起申请传参",from,this.sqywInfo); 150 console.log("发起申请传参", from, this.sqywInfo);
158 startBusinessFlow(from).then((res) => { 151 startRepairFlow(from).then((res) => {
159 if (res.code == 200) { 152 if (res.code == 200) {
160 this.$message({ 153 this.$message({
161 showClose: true, 154 showClose: true,
...@@ -167,22 +160,22 @@ export default { ...@@ -167,22 +160,22 @@ export default {
167 } else { 160 } else {
168 store.dispatch('user/refreshPage', true); 161 store.dispatch('user/refreshPage', true);
169 } 162 }
163 this.$popupCacel()
170 } else { 164 } else {
171 this.$message.error(res.message); 165 this.$message.error(res.message);
172 } 166 }
173 this.$popupCacel()
174 }) 167 })
175 }, 168 },
176 handleSelectionChange (val) { 169 handleSelectionChange (val) {
177 console.log("val",val); 170 console.log("val", val);
178 this.bdcdysz = val; 171 this.bdcdysz = val;
179 }, 172 },
180 handleRowClick(row){ 173 handleRowClick (row) {
181 // 如果状态是1,那就是单选 174 // 如果状态是1,那就是单选
182 if(this.sqywInfo.sqywdylx=="1"){ 175 if (this.sqywInfo.sqywdylx == "1") {
183 const bdcdysz = this.bdcdysz 176 const bdcdysz = this.bdcdysz
184 this.$refs.table.clearSelection() 177 this.$refs.table.clearSelection()
185 if( bdcdysz.length == 1 ) { 178 if (bdcdysz.length == 1) {
186 bdcdysz.forEach(item => { 179 bdcdysz.forEach(item => {
187 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 180 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
188 if (item == row) { 181 if (item == row) {
...@@ -197,22 +190,22 @@ export default { ...@@ -197,22 +190,22 @@ export default {
197 else { 190 else {
198 this.$refs.table.toggleRowSelection(row, true); 191 this.$refs.table.toggleRowSelection(row, true);
199 } 192 }
200 }else{ 193 } else {
201 this.$refs.table.toggleRowSelection(row); 194 this.$refs.table.toggleRowSelection(row);
202 } 195 }
203 }, 196 },
204 } 197 }
205 } 198 }
206 </script> 199 </script>
207 <style scoped lang="scss"> 200 <style scoped lang="scss">
208 @import "~@/styles/mixin.scss"; 201 @import "~@/styles/mixin.scss";
209 @import "~@/styles/public.scss"; 202 @import "~@/styles/public.scss";
210 203
211 .icon-circle { 204 .icon-circle {
212 position: relative; 205 position: relative;
213 } 206 }
214 207
215 .icon-circle::before { 208 .icon-circle::before {
216 content: ""; 209 content: "";
217 width: 4px; 210 width: 4px;
218 height: 4px; 211 height: 4px;
...@@ -220,5 +213,5 @@ export default { ...@@ -220,5 +213,5 @@ export default {
220 background: #000; 213 background: #000;
221 top: 0px; 214 top: 0px;
222 left: 0px; 215 left: 0px;
223 } 216 }
224 </style> 217 </style>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
75 }, 75 },
76 methods: { 76 methods: {
77 queryClick () { 77 queryClick () {
78 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); 78 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
79 this.$startLoading(); 79 this.$startLoading();
80 this.queryForm.sqywbm = this.sqywInfo.djywbm; 80 this.queryForm.sqywbm = this.sqywInfo.djywbm;
81 selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { 81 selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -109,31 +109,31 @@ ...@@ -109,31 +109,31 @@
109 } else { 109 } else {
110 store.dispatch('user/refreshPage', true); 110 store.dispatch('user/refreshPage', true);
111 } 111 }
112 this.$popupCacel()
112 } else { 113 } else {
113 this.$message.error(res.message); 114 this.$message.error(res.message);
114 } 115 }
115 this.$popupCacel()
116 }) 116 })
117 }, 117 },
118 handleSelectionChange (val) { 118 handleSelectionChange (val) {
119 this.bdcdysz = val; 119 this.bdcdysz = val;
120 }, 120 },
121 select(selection, row){ 121 select (selection, row) {
122 if(this.sqywInfo.sqywdylx=="1"){ 122 if (this.sqywInfo.sqywdylx == "1") {
123 // 清除 所有勾选项 123 // 清除 所有勾选项
124 this.$refs.table.clearSelection() 124 this.$refs.table.clearSelection()
125 // 当表格数据都没有被勾选的时候 就返回 125 // 当表格数据都没有被勾选的时候 就返回
126 // 主要用于将当前勾选的表格状态清除 126 // 主要用于将当前勾选的表格状态清除
127 if(selection.length == 0) return 127 if (selection.length == 0) return
128 this.$refs.table.toggleRowSelection(row, true); 128 this.$refs.table.toggleRowSelection(row, true);
129 } 129 }
130 }, 130 },
131 handleRowClick(row){ 131 handleRowClick (row) {
132 // 如果状态是1,那就是单选 132 // 如果状态是1,那就是单选
133 if(this.sqywInfo.sqywdylx=="1"){ 133 if (this.sqywInfo.sqywdylx == "1") {
134 const bdcdysz = this.bdcdysz 134 const bdcdysz = this.bdcdysz
135 this.$refs.table.clearSelection() 135 this.$refs.table.clearSelection()
136 if( bdcdysz.length == 1 ) { 136 if (bdcdysz.length == 1) {
137 bdcdysz.forEach(item => { 137 bdcdysz.forEach(item => {
138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
139 if (item == row) { 139 if (item == row) {
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
148 else { 148 else {
149 this.$refs.table.toggleRowSelection(row, true); 149 this.$refs.table.toggleRowSelection(row, true);
150 } 150 }
151 }else{ 151 } else {
152 this.$refs.table.toggleRowSelection(row); 152 this.$refs.table.toggleRowSelection(row);
153 } 153 }
154 }, 154 },
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
75 }, 75 },
76 methods: { 76 methods: {
77 queryClick () { 77 queryClick () {
78 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); 78 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
79 this.$startLoading(); 79 this.$startLoading();
80 this.queryForm.sqywbm = this.sqywInfo.djywbm; 80 this.queryForm.sqywbm = this.sqywInfo.djywbm;
81 selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => { 81 selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -109,31 +109,31 @@ ...@@ -109,31 +109,31 @@
109 } else { 109 } else {
110 store.dispatch('user/refreshPage', true); 110 store.dispatch('user/refreshPage', true);
111 } 111 }
112 this.$popupCacel()
112 } else { 113 } else {
113 this.$message.error(res.message); 114 this.$message.error(res.message);
114 } 115 }
115 this.$popupCacel()
116 }) 116 })
117 }, 117 },
118 handleSelectionChange (val) { 118 handleSelectionChange (val) {
119 this.bdcdysz = val; 119 this.bdcdysz = val;
120 }, 120 },
121 select(selection, row){ 121 select (selection, row) {
122 if(this.sqywInfo.sqywdylx=="1"){ 122 if (this.sqywInfo.sqywdylx == "1") {
123 // 清除 所有勾选项 123 // 清除 所有勾选项
124 this.$refs.table.clearSelection() 124 this.$refs.table.clearSelection()
125 // 当表格数据都没有被勾选的时候 就返回 125 // 当表格数据都没有被勾选的时候 就返回
126 // 主要用于将当前勾选的表格状态清除 126 // 主要用于将当前勾选的表格状态清除
127 if(selection.length == 0) return 127 if (selection.length == 0) return
128 this.$refs.table.toggleRowSelection(row, true); 128 this.$refs.table.toggleRowSelection(row, true);
129 } 129 }
130 }, 130 },
131 handleRowClick(row){ 131 handleRowClick (row) {
132 // 如果状态是1,那就是单选 132 // 如果状态是1,那就是单选
133 if(this.sqywInfo.sqywdylx=="1"){ 133 if (this.sqywInfo.sqywdylx == "1") {
134 const bdcdysz = this.bdcdysz 134 const bdcdysz = this.bdcdysz
135 this.$refs.table.clearSelection() 135 this.$refs.table.clearSelection()
136 if( bdcdysz.length == 1 ) { 136 if (bdcdysz.length == 1) {
137 bdcdysz.forEach(item => { 137 bdcdysz.forEach(item => {
138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
139 if (item == row) { 139 if (item == row) {
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
148 else { 148 else {
149 this.$refs.table.toggleRowSelection(row, true); 149 this.$refs.table.toggleRowSelection(row, true);
150 } 150 }
151 }else{ 151 } else {
152 this.$refs.table.toggleRowSelection(row); 152 this.$refs.table.toggleRowSelection(row);
153 } 153 }
154 }, 154 },
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
83 }, 83 },
84 methods: { 84 methods: {
85 queryClick () { 85 queryClick () {
86 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); 86 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
87 this.$startLoading(); 87 this.$startLoading();
88 this.queryForm.sqywbm = this.sqywInfo.djywbm; 88 this.queryForm.sqywbm = this.sqywInfo.djywbm;
89 selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 89 selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -117,10 +117,10 @@ ...@@ -117,10 +117,10 @@
117 } else { 117 } else {
118 store.dispatch('user/refreshPage', true); 118 store.dispatch('user/refreshPage', true);
119 } 119 }
120 this.$popupCacel()
120 } else { 121 } else {
121 this.$message.error(res.message); 122 this.$message.error(res.message);
122 } 123 }
123 this.$popupCacel()
124 }) 124 })
125 }, 125 },
126 handleSelectionChange (val) { 126 handleSelectionChange (val) {
...@@ -137,22 +137,22 @@ ...@@ -137,22 +137,22 @@
137 formData: param 137 formData: param
138 }) 138 })
139 }, 139 },
140 select(selection, row){ 140 select (selection, row) {
141 if(this.sqywInfo.sqywdylx=="1"){ 141 if (this.sqywInfo.sqywdylx == "1") {
142 // 清除 所有勾选项 142 // 清除 所有勾选项
143 this.$refs.table.clearSelection() 143 this.$refs.table.clearSelection()
144 // 当表格数据都没有被勾选的时候 就返回 144 // 当表格数据都没有被勾选的时候 就返回
145 // 主要用于将当前勾选的表格状态清除 145 // 主要用于将当前勾选的表格状态清除
146 if(selection.length == 0) return 146 if (selection.length == 0) return
147 this.$refs.table.toggleRowSelection(row, true); 147 this.$refs.table.toggleRowSelection(row, true);
148 } 148 }
149 }, 149 },
150 handleRowClick(row){ 150 handleRowClick (row) {
151 // 如果状态是1,那就是单选 151 // 如果状态是1,那就是单选
152 if(this.sqywInfo.sqywdylx=="1"){ 152 if (this.sqywInfo.sqywdylx == "1") {
153 const bdcdysz = this.bdcdysz 153 const bdcdysz = this.bdcdysz
154 this.$refs.table.clearSelection() 154 this.$refs.table.clearSelection()
155 if( bdcdysz.length == 1 ) { 155 if (bdcdysz.length == 1) {
156 bdcdysz.forEach(item => { 156 bdcdysz.forEach(item => {
157 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 157 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
158 if (item == row) { 158 if (item == row) {
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
167 else { 167 else {
168 this.$refs.table.toggleRowSelection(row, true); 168 this.$refs.table.toggleRowSelection(row, true);
169 } 169 }
170 }else{ 170 } else {
171 this.$refs.table.toggleRowSelection(row); 171 this.$refs.table.toggleRowSelection(row);
172 } 172 }
173 }, 173 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-15 16:59:40 4 * @LastEditTime: 2023-06-16 09:37:51
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -47,9 +47,6 @@ ...@@ -47,9 +47,6 @@
47 <!-- 表格 --> 47 <!-- 表格 -->
48 <div class="from-clues-content loadingtext"> 48 <div class="from-clues-content loadingtext">
49 分割合并前权利信息 49 分割合并前权利信息
50 <!-- <lb-table ref="table" @row-click="handleRowClick" heightNumSetting :pagination=false
51 :column="tableData.columns" :data="tableData.data">
52 </lb-table> -->
53 <el-table 50 <el-table
54 :data="tableData.data" 51 :data="tableData.data"
55 height="230" 52 height="230"
...@@ -193,6 +190,12 @@ ...@@ -193,6 +190,12 @@
193 methods: { 190 methods: {
194 // 单选事件 191 // 单选事件
195 close () { 192 close () {
193 this.tableData.data.forEach(item => {
194 if (this.radioVal == item.bhqkbsm) {
195 item.bglx = '1'
196 this.bdcdysz[0] = item
197 }
198 })
196 this.queryForm.bhqkbsm = this.radioVal 199 this.queryForm.bhqkbsm = this.radioVal
197 selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => { 200 selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => {
198 this.$endLoading(); 201 this.$endLoading();
...@@ -217,12 +220,11 @@ ...@@ -217,12 +220,11 @@
217 }); 220 });
218 }, 221 },
219 handleRowClick (val) { 222 handleRowClick (val) {
220 this.radioVal = val.bhqkbsm 223 // this.radioVal = val.bhqkbsm
221 let obj = val 224 // let obj = val
222 obj.bglx = '1'; 225 // obj.bglx = '1';
223 226 // this.bdcdysz[0] = obj
224 this.bdcdysz[0] = obj 227 // this.close()
225 this.close()
226 }, 228 },
227 submitForm () { 229 submitForm () {
228 startBusinessFlow({ 230 startBusinessFlow({
...@@ -242,10 +244,10 @@ ...@@ -242,10 +244,10 @@
242 } else { 244 } else {
243 store.dispatch('user/refreshPage', true); 245 store.dispatch('user/refreshPage', true);
244 } 246 }
247 this.$popupCacel()
245 } else { 248 } else {
246 this.$message.error(res.message) 249 this.$message.error(res.message)
247 } 250 }
248 this.$popupCacel()
249 }) 251 })
250 }, 252 },
251 openBook (row) { 253 openBook (row) {
......
...@@ -4,25 +4,25 @@ ...@@ -4,25 +4,25 @@
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm"> 5 <el-form :model="queryForm" ref="queryForm">
6 <el-row> 6 <el-row>
7 <el-col :span="8"> 7 <el-col :span="7">
8 <el-form-item label="宗地代码"> 8 <el-form-item label="宗地代码">
9 <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width300px"> 9 <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100">
10 </el-input> 10 </el-input>
11 </el-form-item> 11 </el-form-item>
12 </el-col> 12 </el-col>
13 <el-col :span="8"> 13 <el-col :span="7">
14 <el-form-item label="不动产单元号"> 14 <el-form-item label="不动产单元号">
15 <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width300px"> 15 <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100">
16 </el-input> 16 </el-input>
17 </el-form-item> 17 </el-form-item>
18 </el-col> 18 </el-col>
19 <el-col :span="8"> 19 <el-col :span="6">
20 <el-form-item label="坐落"> 20 <el-form-item label="坐落">
21 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px"> 21 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
22 </el-input> 22 </el-input>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
25 <el-col :span="6" class="btnColRight"> 25 <el-col :span="4" class="btnColRight">
26 <el-form-item> 26 <el-form-item>
27 <el-button type="primary" @click="resetForm(true)">重置</el-button> 27 <el-button type="primary" @click="resetForm(true)">重置</el-button>
28 <el-button type="primary" @click="handleSearch">查询</el-button> 28 <el-button type="primary" @click="handleSearch">查询</el-button>
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
79 }, 79 },
80 methods: { 80 methods: {
81 queryClick () { 81 queryClick () {
82 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); 82 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
83 this.$startLoading(); 83 this.$startLoading();
84 this.queryForm.sqywbm = this.sqywInfo.djywbm; 84 this.queryForm.sqywbm = this.sqywInfo.djywbm;
85 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { 85 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -114,10 +114,11 @@ ...@@ -114,10 +114,11 @@
114 } else { 114 } else {
115 store.dispatch('user/refreshPage', true); 115 store.dispatch('user/refreshPage', true);
116 } 116 }
117 this.$popupCacel()
117 } else { 118 } else {
118 this.$alert(res.message); 119 this.$message.error(res.message)
119 } 120 }
120 this.$popupCacel() 121
121 }) 122 })
122 }, 123 },
123 handleSelectionChange (val) { 124 handleSelectionChange (val) {
...@@ -126,23 +127,23 @@ ...@@ -126,23 +127,23 @@
126 }); 127 });
127 this.bdcdysz = val; 128 this.bdcdysz = val;
128 }, 129 },
129 select(selection, row){ 130 select (selection, row) {
130 if(this.sqywInfo.sqywdylx=="1"){ 131 if (this.sqywInfo.sqywdylx == "1") {
131 // 清除 所有勾选项 132 // 清除 所有勾选项
132 this.$refs.table.clearSelection() 133 this.$refs.table.clearSelection()
133 // 当表格数据都没有被勾选的时候 就返回 134 // 当表格数据都没有被勾选的时候 就返回
134 // 主要用于将当前勾选的表格状态清除 135 // 主要用于将当前勾选的表格状态清除
135 if(selection.length == 0) return 136 if (selection.length == 0) return
136 this.$refs.table.toggleRowSelection(row, true); 137 this.$refs.table.toggleRowSelection(row, true);
137 } 138 }
138 }, 139 },
139 140
140 handleRowClick(row){ 141 handleRowClick (row) {
141 // 如果状态是1,那就是单选 142 // 如果状态是1,那就是单选
142 if(this.sqywInfo.sqywdylx=="1"){ 143 if (this.sqywInfo.sqywdylx == "1") {
143 const bdcdysz = this.bdcdysz 144 const bdcdysz = this.bdcdysz
144 this.$refs.table.clearSelection() 145 this.$refs.table.clearSelection()
145 if( bdcdysz.length == 1 ) { 146 if (bdcdysz.length == 1) {
146 bdcdysz.forEach(item => { 147 bdcdysz.forEach(item => {
147 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 148 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
148 if (item == row) { 149 if (item == row) {
...@@ -157,7 +158,7 @@ ...@@ -157,7 +158,7 @@
157 else { 158 else {
158 this.$refs.table.toggleRowSelection(row, true); 159 this.$refs.table.toggleRowSelection(row, true);
159 } 160 }
160 }else{ 161 } else {
161 this.$refs.table.toggleRowSelection(row); 162 this.$refs.table.toggleRowSelection(row);
162 } 163 }
163 }, 164 },
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
75 }, 75 },
76 methods: { 76 methods: {
77 queryClick () { 77 queryClick () {
78 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); 78 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
79 this.$startLoading(); 79 this.$startLoading();
80 this.queryForm.sqywbm = this.sqywInfo.djywbm; 80 this.queryForm.sqywbm = this.sqywInfo.djywbm;
81 selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { 81 selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -108,32 +108,32 @@ ...@@ -108,32 +108,32 @@
108 this.jump(res.result, this.sqywInfo.djywbm) 108 this.jump(res.result, this.sqywInfo.djywbm)
109 } else { 109 } else {
110 store.dispatch('user/refreshPage', true); 110 store.dispatch('user/refreshPage', true);
111 this.$popupCacel()
111 } 112 }
112 } else { 113 } else {
113 this.$message.error(res.message); 114 this.$message.error(res.message);
114 } 115 }
115 this.$popupCacel()
116 }) 116 })
117 }, 117 },
118 handleSelectionChange (val) { 118 handleSelectionChange (val) {
119 this.bdcdysz = val; 119 this.bdcdysz = val;
120 }, 120 },
121 select(selection, row){ 121 select (selection, row) {
122 if(this.sqywInfo.sqywdylx=="1"){ 122 if (this.sqywInfo.sqywdylx == "1") {
123 // 清除 所有勾选项 123 // 清除 所有勾选项
124 this.$refs.table.clearSelection() 124 this.$refs.table.clearSelection()
125 // 当表格数据都没有被勾选的时候 就返回 125 // 当表格数据都没有被勾选的时候 就返回
126 // 主要用于将当前勾选的表格状态清除 126 // 主要用于将当前勾选的表格状态清除
127 if(selection.length == 0) return 127 if (selection.length == 0) return
128 this.$refs.table.toggleRowSelection(row, true); 128 this.$refs.table.toggleRowSelection(row, true);
129 } 129 }
130 }, 130 },
131 handleRowClick(row){ 131 handleRowClick (row) {
132 // 如果状态是1,那就是单选 132 // 如果状态是1,那就是单选
133 if(this.sqywInfo.sqywdylx=="1"){ 133 if (this.sqywInfo.sqywdylx == "1") {
134 const bdcdysz = this.bdcdysz 134 const bdcdysz = this.bdcdysz
135 this.$refs.table.clearSelection() 135 this.$refs.table.clearSelection()
136 if( bdcdysz.length == 1 ) { 136 if (bdcdysz.length == 1) {
137 bdcdysz.forEach(item => { 137 bdcdysz.forEach(item => {
138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
139 if (item == row) { 139 if (item == row) {
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
148 else { 148 else {
149 this.$refs.table.toggleRowSelection(row, true); 149 this.$refs.table.toggleRowSelection(row, true);
150 } 150 }
151 }else{ 151 } else {
152 this.$refs.table.toggleRowSelection(row); 152 this.$refs.table.toggleRowSelection(row);
153 } 153 }
154 }, 154 },
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
75 }, 75 },
76 methods: { 76 methods: {
77 queryClick () { 77 queryClick () {
78 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); 78 console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
79 this.$startLoading(); 79 this.$startLoading();
80 this.queryForm.sqywbm = this.sqywInfo.djywbm; 80 this.queryForm.sqywbm = this.sqywInfo.djywbm;
81 selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => { 81 selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -109,31 +109,31 @@ ...@@ -109,31 +109,31 @@
109 } else { 109 } else {
110 store.dispatch('user/refreshPage', true); 110 store.dispatch('user/refreshPage', true);
111 } 111 }
112 this.$popupCacel()
112 } else { 113 } else {
113 this.$message.error(res.message); 114 this.$message.error(res.message);
114 } 115 }
115 this.$popupCacel()
116 }) 116 })
117 }, 117 },
118 handleSelectionChange (val) { 118 handleSelectionChange (val) {
119 this.bdcdysz = val; 119 this.bdcdysz = val;
120 }, 120 },
121 select(selection, row){ 121 select (selection, row) {
122 if(this.sqywInfo.sqywdylx=="1"){ 122 if (this.sqywInfo.sqywdylx == "1") {
123 // 清除 所有勾选项 123 // 清除 所有勾选项
124 this.$refs.table.clearSelection() 124 this.$refs.table.clearSelection()
125 // 当表格数据都没有被勾选的时候 就返回 125 // 当表格数据都没有被勾选的时候 就返回
126 // 主要用于将当前勾选的表格状态清除 126 // 主要用于将当前勾选的表格状态清除
127 if(selection.length == 0) return 127 if (selection.length == 0) return
128 this.$refs.table.toggleRowSelection(row, true); 128 this.$refs.table.toggleRowSelection(row, true);
129 } 129 }
130 }, 130 },
131 handleRowClick(row){ 131 handleRowClick (row) {
132 // 如果状态是1,那就是单选 132 // 如果状态是1,那就是单选
133 if(this.sqywInfo.sqywdylx=="1"){ 133 if (this.sqywInfo.sqywdylx == "1") {
134 const bdcdysz = this.bdcdysz 134 const bdcdysz = this.bdcdysz
135 this.$refs.table.clearSelection() 135 this.$refs.table.clearSelection()
136 if( bdcdysz.length == 1 ) { 136 if (bdcdysz.length == 1) {
137 bdcdysz.forEach(item => { 137 bdcdysz.forEach(item => {
138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
139 if (item == row) { 139 if (item == row) {
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
148 else { 148 else {
149 this.$refs.table.toggleRowSelection(row, true); 149 this.$refs.table.toggleRowSelection(row, true);
150 } 150 }
151 }else{ 151 } else {
152 this.$refs.table.toggleRowSelection(row); 152 this.$refs.table.toggleRowSelection(row);
153 } 153 }
154 }, 154 },
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
78 queryClick () { 78 queryClick () {
79 this.$startLoading(); 79 this.$startLoading();
80 this.queryForm.zrzbsm = this.sqywInfo.zrzbsm; 80 this.queryForm.zrzbsm = this.sqywInfo.zrzbsm;
81 selectHQjdc({...this.queryForm, ...this.pageData }).then((res) => { 81 selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => {
82 this.$endLoading(); 82 this.$endLoading();
83 if (res.code === 200) { 83 if (res.code === 200) {
84 let { total, records } = res.result; 84 let { total, records } = res.result;
...@@ -109,31 +109,31 @@ ...@@ -109,31 +109,31 @@
109 } else { 109 } else {
110 store.dispatch('user/refreshPage', true); 110 store.dispatch('user/refreshPage', true);
111 } 111 }
112 this.$popupCacel()
112 } else { 113 } else {
113 this.$message.error(res.message); 114 this.$message.error(res.message);
114 } 115 }
115 this.$popupCacel()
116 }) 116 })
117 }, 117 },
118 handleSelectionChange (val) { 118 handleSelectionChange (val) {
119 this.bdcdysz = val; 119 this.bdcdysz = val;
120 }, 120 },
121 select(selection, row){ 121 select (selection, row) {
122 if(this.sqywInfo.sqywdylx=="1"){ 122 if (this.sqywInfo.sqywdylx == "1") {
123 // 清除 所有勾选项 123 // 清除 所有勾选项
124 this.$refs.table.clearSelection() 124 this.$refs.table.clearSelection()
125 // 当表格数据都没有被勾选的时候 就返回 125 // 当表格数据都没有被勾选的时候 就返回
126 // 主要用于将当前勾选的表格状态清除 126 // 主要用于将当前勾选的表格状态清除
127 if(selection.length == 0) return 127 if (selection.length == 0) return
128 this.$refs.table.toggleRowSelection(row, true); 128 this.$refs.table.toggleRowSelection(row, true);
129 } 129 }
130 }, 130 },
131 handleRowClick(row){ 131 handleRowClick (row) {
132 // 如果状态是1,那就是单选 132 // 如果状态是1,那就是单选
133 if(this.sqywInfo.sqywdylx=="1"){ 133 if (this.sqywInfo.sqywdylx == "1") {
134 const bdcdysz = this.bdcdysz 134 const bdcdysz = this.bdcdysz
135 this.$refs.table.clearSelection() 135 this.$refs.table.clearSelection()
136 if( bdcdysz.length == 1 ) { 136 if (bdcdysz.length == 1) {
137 bdcdysz.forEach(item => { 137 bdcdysz.forEach(item => {
138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 138 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
139 if (item == row) { 139 if (item == row) {
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
148 else { 148 else {
149 this.$refs.table.toggleRowSelection(row, true); 149 this.$refs.table.toggleRowSelection(row, true);
150 } 150 }
151 }else{ 151 } else {
152 this.$refs.table.toggleRowSelection(row); 152 this.$refs.table.toggleRowSelection(row);
153 } 153 }
154 }, 154 },
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
80 </div> 80 </div>
81 </template> 81 </template>
82 <script> 82 <script>
83 import { getCollectBiz, getleftMenu, getNextNode,getRepairBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" 83 import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
84 export default { 84 export default {
85 data () { 85 data () {
86 return { 86 return {
...@@ -127,20 +127,20 @@ ...@@ -127,20 +127,20 @@
127 }, 127 },
128 //申请业务类型菜单事件 128 //申请业务类型菜单事件
129 sqywlxClick (item) { 129 sqywlxClick (item) {
130 console.log("item",item); 130 console.log("item", item);
131 this.btnDisabled = true; 131 this.btnDisabled = true;
132 this.selectType = item.type; 132 this.selectType = item.type;
133 console.log("this.sqywQllxList",this.sqywQllxList); 133 console.log("this.sqywQllxList", this.sqywQllxList);
134 this.sqywQllxList.forEach(item => { 134 this.sqywQllxList.forEach(item => {
135 if (item.check) item.check = false; 135 if (item.check) item.check = false;
136 }); 136 });
137 if(this.selectType == 'amend'){ 137 if (this.selectType == 'amend') {
138 this.getRepairBiz(); 138 this.getRepairBiz();
139 } 139 }
140 }, 140 },
141 //权利类型菜单事件 141 //权利类型菜单事件
142 qllxClick (index) { 142 qllxClick (index) {
143 console.log("业务",index); 143 console.log("业务", index);
144 this.btnDisabled = true; 144 this.btnDisabled = true;
145 this.sqywQllxList.forEach(item => { 145 this.sqywQllxList.forEach(item => {
146 if (item.check) item.check = false; 146 if (item.check) item.check = false;
...@@ -153,7 +153,6 @@ ...@@ -153,7 +153,6 @@
153 }, 153 },
154 //选择申请业务事件 154 //选择申请业务事件
155 selectSqywClick (data, index) { 155 selectSqywClick (data, index) {
156 console.log("选择",data,index);
157 data.forEach(item => { 156 data.forEach(item => {
158 item.selected = false; 157 item.selected = false;
159 }); 158 });
...@@ -188,12 +187,10 @@ ...@@ -188,12 +187,10 @@
188 getRepairBiz () { 187 getRepairBiz () {
189 getRepairBiz().then(res => { 188 getRepairBiz().then(res => {
190 if (res) { 189 if (res) {
191 console.log("res",res); 190 console.log("res", res);
192 this.djqxList = res.result; 191 this.djqxList = res.result;
193 192 }
194 };
195 }) 193 })
196
197 }, 194 },
198 //双击事件 195 //双击事件
199 dblclick (data, index, item) { 196 dblclick (data, index, item) {
...@@ -207,7 +204,6 @@ ...@@ -207,7 +204,6 @@
207 }, 204 },
208 //收藏操作 205 //收藏操作
209 handleCollection (item) { 206 handleCollection (item) {
210 console.log("item收藏",item);
211 let that = this 207 let that = this
212 if (item.userCollect == '2') { 208 if (item.userCollect == '2') {
213 addCollectBiz(item.bsmSqyw).then(res => { 209 addCollectBiz(item.bsmSqyw).then(res => {
...@@ -283,10 +279,10 @@ ...@@ -283,10 +279,10 @@
283 this.openDialog() 279 this.openDialog()
284 }, 280 },
285 openDialog () { 281 openDialog () {
286 console.log("this.selectParam",this.selectParam); 282 console.log("this.selectParam", this.selectParam);
287 let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; 283 let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : '';
288 284
289 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%") 285 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%")
290 }, 286 },
291 loadView (view) { 287 loadView (view) {
292 return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) 288 return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`)))
......