b4865ddb by tianhaohao@pashanhoo.com

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

2 parents b817299f 66f57e60
1 <svg t="1661331325273" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2167" width="200" height="200"><path d="M521.309091 158.254545a27.927273 27.927273 0 0 1 27.927273 27.927273v586.472727a27.927273 27.927273 0 0 1-27.927273 27.927273h-372.363636a83.781818 83.781818 0 0 1-83.781819-83.781818V242.036364a83.781818 83.781818 0 0 1 83.781819-83.781819z m400.290909 0a83.781818 83.781818 0 0 1 83.502545 76.893091l0.279273 6.888728v474.763636a83.781818 83.781818 0 0 1-76.893091 83.502545l-6.888727 0.279273h-260.654545a27.927273 27.927273 0 0 1-4.51491-55.482182L660.945455 744.727273h260.654545a27.927273 27.927273 0 0 0 27.554909-23.412364l0.372364-4.514909V242.036364a27.927273 27.927273 0 0 0-23.412364-27.554909L921.6 214.109091h-260.654545a27.927273 27.927273 0 0 1-4.51491-55.482182L660.945455 158.254545h260.654545z m-428.218182 55.854546H148.945455a27.927273 27.927273 0 0 0-27.55491 23.412364L121.018182 242.036364v474.763636a27.927273 27.927273 0 0 0 27.927273 27.927273h344.436363V214.109091z" p-id="2168"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-09 09:20:10
5 -->
6 <template>
7 <el-dialog
8 :close-on-click-modal="false"
9 title="选择权利类型"
10 class="qllxdialog"
11 :visible.sync="dialogVisible"
12 custom-class="insetDialog"
13 append-to-body
14 width="20%"
15 >
16 <el-select v-model="qllxvalue" placeholder="请选择">
17 <el-option
18 v-for="item in options"
19 :key="item.value"
20 :label="item.label"
21 :value="item.value"
22 >
23 </el-option>
24 </el-select>
25 <!-- <el-radio-group v-model="radio">
26 <el-radio :label="1">111</el-radio>
27 <el-radio :label="2">111</el-radio>
28 </el-radio-group> -->
29 <el-button type="primary" @click="handleSubmit">确定</el-button>
30 <el-button type="primary" @click="closeDialog">取消</el-button>
31 </el-dialog>
32 </template>
33
34 <script>
35 export default {
36
37 data () {
38 return {
39 dialogVisible:false,
40 options: [
41 {
42 value: "选项1",
43 label: "抵押权",
44 },
45 {
46 value: "选项2",
47 label: "地役权",
48 },
49 {
50 value: "选项3",
51 label: "预告登记",
52 },
53 {
54 value: "选项4",
55 label: "异议登记",
56 },
57 {
58 value: "选项5",
59 label: "查封登记",
60 },
61 ],
62 qllxvalue: "",
63 radio:3,
64 qllxobj:{
65 qllx:"",
66 bsmQlxx
67
68 }
69 };
70 },
71 methods: {
72 closeDialog () {
73 this.dialogVisible=false
74 },
75 handleSubmit () {
76 let qllxobj={
77 qllx:this.value,
78 bsmQlxx:this.value
79
80 }
81 // this.$parent.addRepairRecord(qllxobj)
82 },
83 },
84 };
85 </script>
86 <style scoped lang="scss">
87 .qllxdialog{
88 margin-top: 200px;
89 /deep/.el-dialog__body{
90 margin-top: 10px;
91 height: 100px;
92 }
93 .el-button{
94 margin-top: 10px;
95 margin-left: 20px;
96 }
97 }
98 </style>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
26 </tr> 26 </tr>
27 <tr> 27 <tr>
28 <td style="width:15%">宗地面积</td> 28 <td style="width:15%">宗地面积</td>
29 <td style="width:30%">{{ zdjbxx.zdmj }}</td> 29 <td style="width:30%">{{ zdjbxx.zdmj }}</td>
30 <td style="width:15%">用途</td> 30 <td style="width:15%">用途</td>
31 <td style="width:30%">{{ zdjbxx.ghytmc }}</td> 31 <td style="width:30%">{{ zdjbxx.ghytmc }}</td>
32 </tr> 32 </tr>
...@@ -193,22 +193,22 @@ ...@@ -193,22 +193,22 @@
193 }, 193 },
194 methods: { 194 methods: {
195 loadData () { 195 loadData () {
196 console.log("this.$attrs",this.$attrs); 196 console.log("this.$attrs", this.$attrs);
197 console.log("this.propsParam",this.propsParam); 197 console.log("this.propsParam", this.propsParam);
198 if(this.propsParam.bsmSldy){ 198 if (this.propsParam.bsmSldy) {
199 console.log("宗地基本信息"); 199 console.log("宗地基本信息");
200 }else{ 200 } else {
201 console.log("登记簿里宗地基本信息"); 201 console.log("登记簿里宗地基本信息");
202 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { 202 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
203 if (res.code === 200) { 203 if (res.code === 200) {
204 this.zdjbxx = res.result.zdjbxx; 204 this.zdjbxx = res.result.zdjbxx;
205 this.zdbhqks = res.result.zdbhqkList; 205 this.zdbhqks = res.result.zdbhqkList;
206 if (this.zdbhqks != null && this.zdbhqks.length > 0) { 206 if (this.zdbhqks != null && this.zdbhqks.length > 0) {
207 this.showGroup = true; 207 this.showGroup = true;
208 }
208 } 209 }
209 } 210 })
210 }) 211 }
211 }
212 212
213 } 213 }
214 } 214 }
......
...@@ -5,126 +5,159 @@ ...@@ -5,126 +5,159 @@
5 */ 5 */
6 //流程环节操作按钮 6 //流程环节操作按钮
7 export function getForm (tabName, djywbm) { 7 export function getForm (tabName, djywbm) {
8 let form; 8 let form;
9 switch (tabName) { 9 switch (tabName) {
10 // case "jsydsyqslxx100": 10 // case "jsydsyqslxx100":
11 // form = require("@/views/ywbl/slsqxx/jsydsyq/slxx.vue"); 11 // form = require("@/views/ywbl/slsqxx/jsydsyq/slxx.vue");
12 // break; 12 // break;
13 // case "jsydsyqslxx300": 13 // case "jsydsyqslxx300":
14 // form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); 14 // form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue");
15 // break; 15 // break;
16 // case "fwsyqslxx100": 16 // case "fwsyqslxx100":
17 // form = require("@/views/ywbl/slsqxx/fdcq2/slxx.vue"); 17 // form = require("@/views/ywbl/slsqxx/fdcq2/slxx.vue");
18 // break; 18 // break;
19 // case "fwsyqslxx300": 19 // case "fwsyqslxx300":
20 // form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue"); 20 // form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue");
21 // break; 21 // break;
22 // case "nydsyqslxx100": 22 // case "nydsyqslxx100":
23 // form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue"); 23 // form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue");
24 // break; 24 // break;
25 // case "nydsyqslxx200": 25 // case "nydsyqslxx200":
26 // form = require("@/views/ywbl/slsqxx/nydsyq/slxx200.vue"); 26 // form = require("@/views/ywbl/slsqxx/nydsyq/slxx200.vue");
27 // break; 27 // break;
28 // case "tdslxxCfdj": 28 // case "tdslxxCfdj":
29 // form = require("@/views/ywbl/slsqxx/cfdj/tdslxx.vue"); 29 // form = require("@/views/ywbl/slsqxx/cfdj/tdslxx.vue");
30 // break; 30 // break;
31 // case "plslxxCfdj": 31 // case "plslxxCfdj":
32 // form = require("@/views/ywbl/slsqxx/cfdj/plcfslxx.vue"); 32 // form = require("@/views/ywbl/slsqxx/cfdj/plcfslxx.vue");
33 // break; 33 // break;
34 // case "diyaqSlxx": 34 // case "diyaqSlxx":
35 // form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue"); 35 // form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue");
36 // break; 36 // break;
37 // case "ygmm100": 37 // case "ygmm100":
38 // form = require("@/views/ywbl/slsqxx/ygdj/slxx.vue"); 38 // form = require("@/views/ywbl/slsqxx/ygdj/slxx.vue");
39 // break; 39 // break;
40 // case "ygmm300": 40 // case "ygmm300":
41 // form = require("@/views/ywbl/slsqxx/ygdj/slxx300.vue"); 41 // form = require("@/views/ywbl/slsqxx/ygdj/slxx300.vue");
42 // break; 42 // break;
43 // case "ygdy100": 43 // case "ygdy100":
44 // case "ygdy300": 44 // case "ygdy300":
45 // form = require("@/views/ywbl/slsqxx/ygdy/slxx.vue"); 45 // form = require("@/views/ywbl/slsqxx/ygdy/slxx.vue");
46 // break; 46 // break;
47 // case "zjgcdyqSlxx": 47 // case "zjgcdyqSlxx":
48 // form = require("@/views/ywbl/slsqxx/zjgcdy/slxx.vue"); 48 // form = require("@/views/ywbl/slsqxx/zjgcdy/slxx.vue");
49 // break; 49 // break;
50 // case "szxx": 50 // case "szxx":
51 // form = require("@/views/djbworkflow/components/szxx.vue"); 51 // form = require("@/views/djbworkflow/components/szxx.vue");
52 // break; 52 // break;
53 // case "fzxx": 53 // case "fzxx":
54 // form = require("@/views/djbworkflow/components/fzxx.vue"); 54 // form = require("@/views/djbworkflow/components/fzxx.vue");
55 // break; 55 // break;
56 // case "zdt": 56 // case "zdt":
57 // form = require("@/views/djbworkflow/components/zdt.vue"); 57 // form = require("@/views/djbworkflow/components/zdt.vue");
58 // break; 58 // break;
59 // 宗地基本信息 59 case "zdjbxx":
60 case "zdjbxx": 60 form = require("@/views/registerBook/zdjbxx.vue");
61 form = require("@/views/djbworkflow/djbBook/zdjbxx.vue"); 61 break;
62 break; 62 case "cfdj":
63 // 查封登记 63 form = require("@/views/registerBook/cfdj.vue");
64 case "cfdj": 64 break;
65 form = require("@/views/djbworkflow/djbBook/cfdj.vue"); 65 case "jsydsyq":
66 break; 66 form = require("@/views/registerBook/jsydsyq.vue");
67 // 国有建设用地使用权 67 break;
68 case "jsydsyq": 68 case "nydsyq":
69 form = require("@/views/djbworkflow/djbBook/jsydsyq.vue"); 69 form = require("@/views/registerBook/nydsyq.vue");
70 break; 70 break;
71 // 农用地使用权 71 case "fdcq2":
72 case "nydsyq": 72 form = require("@/views/registerBook/fdcq2.vue");
73 form = require("@/views/djbworkflow/djbBook/nydsyq.vue"); 73 break;
74 break; 74 case "diyaq":
75 // 房屋产权2 75 form = require("@/views/registerBook/diyaq.vue");
76 case "fdcq2": 76 break;
77 form = require("@/views/djbworkflow/djbBook/fdcq2.vue"); 77 case "ygdj":
78 break; 78 form = require("@/views/registerBook/ygdj.vue");
79 // 抵押权 79 break;
80 case "diyaq": 80 // 地役权
81 form = require("@/views/djbworkflow/djbBook/diyaq.vue"); 81 case "diyiq":
82 break; 82 form = require("@/views/registerBook/diyiq.vue");
83 // 预告登记 83 break;
84 case "ygdj": 84 // 登记簿封面
85 form = require("@/views/djbworkflow/djbBook/ygdj.vue"); 85 case "djbfm":
86 break; 86 form = require("@/views/registerBook/djbfm.vue");
87 // 地役权 87 break;
88 case "diyiq": 88 // 异议登记
89 form = require("@/views/djbworkflow/djbBook/diyiq.vue"); 89 case "yydj":
90 break; 90 form = require("@/views/registerBook/yydj.vue");
91 // 登记簿封面 91 break;
92 case "djbfm": 92 // // 宗地基本信息
93 form = require("@/views/djbworkflow/djbBook/djbfm.vue"); 93 // case "zdjbxx":
94 break; 94 // form = require("@/views/djbworkflow/djbBook/zdjbxx.vue");
95 // 异议登记 95 // break;
96 case "yydj": 96 // // 查封登记
97 form = require("@/views/djbworkflow/djbBook/yydj.vue"); 97 // case "cfdj":
98 break; 98 // form = require("@/views/djbworkflow/djbBook/cfdj.vue");
99 // 受理信息 99 // break;
100 case "slxx": 100 // // 国有建设用地使用权
101 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/fwsyq/slxx.vue"); 101 // case "jsydsyq":
102 break; 102 // form = require("@/views/djbworkflow/djbBook/jsydsyq.vue");
103 // case "clxx": 103 // break;
104 // form = require("@/views/djbworkflow/djbBook/components/clxx.vue"); 104 // // 农用地使用权
105 // break; 105 // case "nydsyq":
106 // case "spyj": 106 // form = require("@/views/djbworkflow/djbBook/nydsyq.vue");
107 // form = require("@/views/djbworkflow/djbBook/components/spyj.vue"); 107 // break;
108 // break; 108 // // 房屋产权2
109 // case "slxx": 109 // case "fdcq2":
110 // form = require("@/views/djbworkflow/djbBook/slxx.vue"); 110 // form = require("@/views/djbworkflow/djbBook/fdcq2.vue");
111 // break; 111 // break;
112 case "clxx": 112 // // 抵押权
113 form = require("@/views/djbworkflow/djbBook/clxx.vue"); 113 // case "diyaq":
114 break; 114 // form = require("@/views/djbworkflow/djbBook/diyaq.vue");
115 case "spyj": 115 // break;
116 form = require("@/views/djbworkflow/djbBook/spyj.vue"); 116 // // 预告登记
117 break; 117 // case "ygdj":
118 // form = require("@/views/djbworkflow/djbBook/ygdj.vue");
119 // break;
120 // // 地役权
121 // case "diyiq":
122 // form = require("@/views/djbworkflow/djbBook/diyiq.vue");
123 // break;
124 // // 登记簿封面
125 // case "djbfm":
126 // form = require("@/views/djbworkflow/djbBook/djbfm.vue");
127 // break;
128 // // 异议登记
129 // case "yydj":
130 // form = require("@/views/djbworkflow/djbBook/yydj.vue");
131 // break;
132 // 受理信息
133 case "slxx":
134 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/fwsyq/slxx.vue");
135 break;
136 // case "clxx":
137 // form = require("@/views/djbworkflow/djbBook/components/clxx.vue");
138 // break;
139 // case "spyj":
140 // form = require("@/views/djbworkflow/djbBook/components/spyj.vue");
141 // break;
142 // case "slxx":
143 // form = require("@/views/djbworkflow/djbBook/slxx.vue");
144 // break;
145 case "clxx":
146 form = require("@/views/djbworkflow/djbBook/clxx.vue");
147 break;
148 case "spyj":
149 form = require("@/views/djbworkflow/djbBook/spyj.vue");
150 break;
118 151
119 // case "clxx": 152 // case "clxx":
120 // form = require("@/views/djbworkflow/components/clxxUnify.vue"); 153 // form = require("@/views/djbworkflow/components/clxxUnify.vue");
121 // break; 154 // break;
122 // case "spyj": 155 // case "spyj":
123 // form = require("@/views/djbworkflow/components/spyj.vue"); 156 // form = require("@/views/djbworkflow/components/spyj.vue");
124 // break; 157 // break;
125 default: 158 default:
126 form = require("@/views/error-page/404.vue"); 159 form = require("@/views/error-page/404.vue");
127 break; 160 break;
128 } 161 }
129 return (r) => require.ensure([], () => r(form)); 162 return (r) => require.ensure([], () => r(form));
130 } 163 }
......
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
80 break; 80 break;
81 case "B2": //材料分屏按钮 81 case "B2": //材料分屏按钮
82 this.splitScreen = this.splitScreen ? false : true; 82 this.splitScreen = this.splitScreen ? false : true;
83 this.$store.dispatch("app/settScreen", this.splitScreen); 83 this.$store.dispatch("app/set1tScreen", this.splitScreen);
84 if (this.splitScreen) { 84 if (this.splitScreen) {
85 //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 85 //如果当前选项卡为材料信息内容,递减到上一个选项卡内容
86 if (this.tabName == this.clxxTab.value) { 86 if (this.tabName == this.clxxTab.value) {
...@@ -100,60 +100,45 @@ export default { ...@@ -100,60 +100,45 @@ export default {
100 case "B4": 100 case "B4":
101 this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) 101 this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true)
102 break; 102 break;
103 case "B5": 103 // case "B5":
104 const h = this.$createElement; 104 // const h = this.$createElement;
105 this.$msgbox({ 105 // this.$msgbox({
106 title: '消息', 106 // title: '请选择新增权利类型',
107 message: h('p', null, [ 107 // message: h('p', null, [
108 h('span', null, '内容可以是 '), 108 // h('span', null, '内容可以是 '),
109 h('i', { style: 'color: teal' }, 'VNode') 109 // h('el-button', { style: 'color: teal' }, 'VNode'),
110 ]), 110 // h('i', { style: 'color: teal' }, 'VNode')
111 showCancelButton: true, 111 // ]),
112 confirmButtonText: '确定', 112 // showCancelButton: true,
113 cancelButtonText: '取消', 113 // confirmButtonText: '确定',
114 beforeClose: (action, instance, done) => { 114 // cancelButtonText: '取消',
115 if (action === 'confirm') { 115 // beforeClose: (action, instance, done) => {
116 instance.confirmButtonLoading = true; 116 // if (action === 'confirm') {
117 instance.confirmButtonText = '执行中...'; 117 // instance.confirmButtonLoading = true;
118 setTimeout(() => { 118 // instance.confirmButtonText = '执行中...';
119 done(); 119 // setTimeout(() => {
120 setTimeout(() => { 120 // done();
121 instance.confirmButtonLoading = false; 121 // setTimeout(() => {
122 }, 300); 122 // instance.confirmButtonLoading = false;
123 }, 3000); 123 // }, 300);
124 } else { 124 // }, 3000);
125 done(); 125 // } else {
126 } 126 // done();
127 } 127 // }
128 }).then(action => { 128 // }
129 this.addRepairRecord() 129 // }).then(action => {
130 this.$message({ 130 // this.addRepairRecord()
131 type: 'info', 131 // this.$message({
132 message: 'action: ' + action 132 // type: 'info',
133 }); 133 // message: 'action: ' + action
134 }); 134 // });
135 // this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", { 135 // });
136 // bsmSlsq: this.bsmSlsq,
137 // entryType: '1'
138 // }, '65%', true)
139 // this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
140 // confirmButtonText: '确定',
141 // cancelButtonText: '取消',
142 // type: 'warning'
143 // }).then(() => {
144 // this.addRepairRecord()
145 // this.$message({
146 // type: 'success',
147 // message: '补录成功!'
148 // });
149 // }).catch(() => {
150 // this.$message({
151 // type: 'info',
152 // message: '取消编辑'
153 // });
154 // });
155 136
156 break; 137 // break;
138 case "B5":
139 // this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true)
140 this.$refs.qllxlist.dialogVisible=true
141 break;
157 case "B6": 142 case "B6":
158 //根据编号获取对应信息 143 //根据编号获取对应信息
159 getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => { 144 getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => {
......
...@@ -62,6 +62,8 @@ ...@@ -62,6 +62,8 @@
62 </div> 62 </div>
63 </div> 63 </div>
64 </div> 64 </div>
65 <!-- 新增补录信息勾选权利类型 -->
66 <qllxDailog ref="qllxlist"/>
65 </div> 67 </div>
66 </template> 68 </template>
67 <style scoped lang="scss"> 69 <style scoped lang="scss">
...@@ -70,18 +72,18 @@ ...@@ -70,18 +72,18 @@
70 </style> 72 </style>
71 <script> 73 <script>
72 import WorkFlow from "./mixin/index"; 74 import WorkFlow from "./mixin/index";
73 import { getForm } from "./flowform" 75 import { getForm } from "./flowform";
74 import NoticeBar from "@/components/NoticeBar/index"; 76 import NoticeBar from "@/components/NoticeBar/index";
75 import { unClaimTask } from "@/api/ywbl.js";
76 import ProcessViewer from "./components/processViewer.vue"; 77 import ProcessViewer from "./components/processViewer.vue";
77 // 引入左侧菜单 78 // 引入左侧菜单
78 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; 79 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
80 import qllxDailog from "./djbBook/components/qllxDailog";
79 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; 81 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue";
80 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; 82 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js";
81 // 登记簿数据信息 83 // 登记簿数据信息
82 import { addRepairRecord } from "@/api/djbbl.js" 84 import { addRepairRecord } from "@/api/djbbl.js";
83 // 获取权利类型数组 85 // 获取权利类型数组
84 import { getQllxByBdcdyid } from "@/api/djbbl.js" 86 import { getQllxByBdcdyid } from "@/api/djbbl.js";
85 87
86 import { getBdcqljqtsx } from "@/api/registerBook.js"; 88 import { getBdcqljqtsx } from "@/api/registerBook.js";
87 export default { 89 export default {
...@@ -90,6 +92,7 @@ export default { ...@@ -90,6 +92,7 @@ export default {
90 NoticeBar, 92 NoticeBar,
91 ProcessViewer, 93 ProcessViewer,
92 ordinaryMenu, 94 ordinaryMenu,
95 qllxDailog,
93 }, 96 },
94 mixins: [WorkFlow], 97 mixins: [WorkFlow],
95 data() { 98 data() {
...@@ -104,8 +107,10 @@ export default { ...@@ -104,8 +107,10 @@ export default {
104 qllx: this.$route.query.qllx, 107 qllx: this.$route.query.qllx,
105 //设置那个表单选中 108 //设置那个表单选中
106 tabName: "", 109 tabName: "",
110 // 弹框显示
111 dialogVisible: true,
107 // 权利类型数组 112 // 权利类型数组
108 qllxlist:[], 113 qllxlist: [],
109 //表单集合 114 //表单集合
110 tabList: [], 115 tabList: [],
111 //选择加载哪一个组件 116 //选择加载哪一个组件
...@@ -118,100 +123,101 @@ export default { ...@@ -118,100 +123,101 @@ export default {
118 clxxTab: {}, 123 clxxTab: {},
119 //页面监听时间 124 //页面监听时间
120 _beforeUnload_time: "", 125 _beforeUnload_time: "",
121 treedata:{}, 126 treedata: {},
122 tabdata:[], 127 tabdata: [],
123 defaultNode:{} 128 defaultNode: {},
124 };
125 },
126 mounted() {
127 129
130 };
128 }, 131 },
132 mounted() {},
129 133
130 methods: { 134 methods: {
131 getQllxByBdcdyid(){ 135 getQllxByBdcdyid() {
132 console.log("this.currentSelectProps.bdcdyid",this.currentSelectProps.bdcdyid); 136 getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then(
133 getQllxByBdcdyid({bdcdyid:this.currentSelectProps.bdcdyid}).then((res) => { 137 (res) => {
134 if (res.code === 200) { 138 if (res.code === 200) {
135 console.log("Qllxlist",res); 139 console.log("Qllxlist", res);
136 140 }
137 } 141 }
138 }); 142 );
139 }, 143 },
140 // 获取右侧选项卡 144 // 获取右侧选项卡
141 getCurrentSelectProps (val) { 145 getCurrentSelectProps(val) {
142 this.currentSelectProps = val 146 this.currentSelectProps = val;
143 if(this.currentSelectProps.bsmRepair){ 147 if (this.currentSelectProps.bsmRepair) {
144 this.tabset(val) 148 this.tabset(val);
145 }else{ 149 } else {
146 this.getdjblist() 150 this.getdjblist();
147 } 151 }
148 152 },
149 }, 153 // 获取渲染登记簿列表
150 // 获取渲染登记簿列表 154 getdjblist() {
151 getdjblist(){ 155 getBdcqljqtsx({
152 getBdcqljqtsx({
153 bdcdyid: this.currentSelectProps.bdcdyid, 156 bdcdyid: this.currentSelectProps.bdcdyid,
154 bdcdyh: this.currentSelectProps.bdcdyh, 157 bdcdyh: this.currentSelectProps.bdcdyh,
155 }).then((res) => { 158 }).then((res) => {
156 if (res.code === 200) { 159 if (res.code === 200) {
157 this.treedata = loadTreeData(res.result, this.bdcdyh); 160 this.treedata = loadTreeData(res.result, this.bdcdyh);
158 this.$nextTick(function () { 161 this.$nextTick(function () {
159 console.log("this.currentSelectProps.qllx",this.currentSelectProps); 162 this.defaultNode = getNode(
160 this.defaultNode = getNode(this.currentSelectProps.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, ""); 163 this.currentSelectProps.qllx,
161 console.log("this.defaultNode",this.defaultNode); 164 { linShi: 0, xianShi: 0, liShi: 0 },
162 this.tabName =this.defaultNode.id; //data[0].id为默认选中的节点 165 ""
166 );
167 this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点
163 }); 168 });
164 } 169 }
165 }); 170 });
166 171
167 setTimeout(() => { 172 setTimeout(() => {
168 let settree=JSON.parse(JSON.stringify(this.treedata)) 173 let settree = JSON.parse(JSON.stringify(this.treedata));
169 this.tabdata=[...settree,...settree[1].children[0].children[0].children] 174 this.tabdata = [
170 this.tabdata.forEach((item,index,arr) => { 175 ...settree,
171 arr[index].name=item.label; 176 ...settree[1].children[0].children[0].children,
172 arr[index].value=item.id
173 })
174 this.tabList=this.tabdata
175 this.getQllxByBdcdyid()
176 }, 200)
177
178 },
179
180 tabset(val){
181 this.tabName = '';
182 this.tabList = [
183 {
184 name:val.qllxmc+ "补录信息",
185 value: "slxx",
186 sort: 1,
187 },
188 {
189 name: "审批意见",
190 value: "spyj",
191 sort: 2,
192 },
193 {
194 name: "材料信息",
195 value: "clxx",
196 sort: 2,
197 },
198 ]; 177 ];
178 this.tabdata.forEach((item, index, arr) => {
179 arr[index].name = item.label;
180 arr[index].value = item.id;
181 });
182 this.tabList = this.tabdata;
183 this.getQllxByBdcdyid();
184 }, 200);
185 },
199 186
200 this.$nextTick(function () { 187 tabset(val) {
201 this.tabName = 'slxx'; 188 this.tabName = "";
202 }); 189 this.tabList = [
203 190 {
191 name: val.qllxmc + "补录信息",
192 value: "slxx",
193 sort: 1,
194 },
195 {
196 name: "审批意见",
197 value: "spyj",
198 sort: 2,
199 },
200 {
201 name: "材料信息",
202 value: "clxx",
203 sort: 2,
204 }, 204 },
205 ];
206
207 this.$nextTick(function () {
208 this.tabName = "slxx";
209 });
210 },
205 211
206 //右侧表单选项卡事件 212 //右侧表单选项卡事件
207 beforeLeave (activeName, oldActiveName) { 213 beforeLeave(activeName, oldActiveName) {
208 if (activeName && activeName != 0) this.getFromRouter(activeName) 214 if (activeName && activeName != 0) this.getFromRouter(activeName);
209 }, 215 },
210 //切换选项卡内容组件 216 //切换选项卡内容组件
211 getFromRouter (tabname) { 217 getFromRouter(tabname) {
212 for (let item of this.tabList) { 218 for (let item of this.tabList) {
213 if (item.value === tabname) { 219 if (item.value === tabname) {
214 this.currentSelectTab = item 220 this.currentSelectTab = item;
215 break; 221 break;
216 } 222 }
217 } 223 }
...@@ -219,27 +225,29 @@ export default { ...@@ -219,27 +225,29 @@ export default {
219 }, 225 },
220 226
221 // 增加补录记录 227 // 增加补录记录
222 addRepairRecord(row){ 228 addRepairRecord(row) {
223 console.log("this.currentSelectProps",this.currentSelectProps); 229 let from = {
224 let from={ 230 bsmQlxx: "",
225 bsmQlxx:"", 231 bsmSlsq: this.bsmSlsq,
226 bsmSlsq:this.bsmSlsq, 232 bsmSldy: this.currentSelectProps.bsmSldy,
227 bsmSldy:this.currentSelectProps.bsmSldy, 233 operate: "C",
228 operate:"C", 234 qllx: this.currentSelectProps.qllx,
229 qllx:this.currentSelectProps.qllx 235 };
230 } 236 if (row) {
231 if(row){ 237 from.bsmQlxx = row.bsmQlxx;
232 from.bsmQlxx=row.bsmQlxx 238 from.operate = "U";
233 from.operate="U" 239 from.qllx = row.qllx;
234 from.qllx=row.qllx 240 }
235 }
236 241
237 addRepairRecord(from).then((res) => { 242 addRepairRecord(from).then((res) => {
238 this.$nextTick(() => { 243 this.$nextTick(() => {
239 this.$refs.Menu.getleftMenubl(res.result); 244 this.$refs.Menu.getleftMenubl(res.result);
240 }); 245 });
241 }); 246 });
242 }, 247 },
248
243 }, 249 },
244 }; 250 };
245 </script> 251 </script>
252 <style scoped lang="scss">
253 </style>
......
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
26 item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))? 'linshiIcon' : '', 26 item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))? 'linshiIcon' : '',
27 ]" 27 ]"
28 > 28 >
29 <div class="setbut" v-if="item.prop == 'cz'">
30 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
31 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
32 </div>
29 <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))">正在办理</div> 33 <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))">正在办理</div>
30 <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> 34 <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span>
31 35
...@@ -63,6 +67,11 @@ export default { ...@@ -63,6 +67,11 @@ export default {
63 }, 67 },
64 methods: { 68 methods: {
65 loadData() { 69 loadData() {
70 if(this.$parent.addRepairRecord){
71 this.columns.unshift({prop:"cz",
72 label:"操作"
73 })
74 }
66 getCfdjList({ 75 getCfdjList({
67 bdcdyid: this.propsParam.bdcdyid, 76 bdcdyid: this.propsParam.bdcdyid,
68 qllx: this.propsParam.qllx, 77 qllx: this.propsParam.qllx,
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
20 row.qszt == '0' ? 'linshi' : '', 20 row.qszt == '0' ? 'linshi' : '',
21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
22 ]"> 22 ]">
23 <div class="setbut" v-if="item.prop == 'cz'">
24 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
25 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
26 </div>
23 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 27 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
24 正在办理 28 正在办理
25 </div> 29 </div>
...@@ -61,6 +65,11 @@ export default { ...@@ -61,6 +65,11 @@ export default {
61 }, 65 },
62 methods: { 66 methods: {
63 loadData () { 67 loadData () {
68 if(this.$parent.addRepairRecord){
69 this.columns.unshift({prop:"cz",
70 label:"操作"
71 })
72 }
64 getDiyaqList({ 73 getDiyaqList({
65 bdcdyid: this.propsParam.bdcdyid, 74 bdcdyid: this.propsParam.bdcdyid,
66 qllx: this.propsParam.qllx, 75 qllx: this.propsParam.qllx,
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
20 row.qszt == '0' ? 'linshi' : '', 20 row.qszt == '0' ? 'linshi' : '',
21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
22 ]"> 22 ]">
23 <div class="setbut" v-if="item.prop == 'cz'">
24 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
25 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
26 </div>
23 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 27 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
24 正在办理 28 正在办理
25 </div> 29 </div>
...@@ -61,6 +65,11 @@ export default { ...@@ -61,6 +65,11 @@ export default {
61 }, 65 },
62 methods: { 66 methods: {
63 loadData () { 67 loadData () {
68 if(this.$parent.addRepairRecord){
69 this.columns.unshift({prop:"cz",
70 label:"操作"
71 })
72 }
64 getDiyiqList({ 73 getDiyiqList({
65 bdcdyid: this.propsParam.bdcdyid, 74 bdcdyid: this.propsParam.bdcdyid,
66 qllx: this.propsParam.qllx, 75 qllx: this.propsParam.qllx,
......
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', 23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
24 ]"> 24 ]">
25 <div class="setbut" v-if="item.prop == 'cz'">
26 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
27 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
28 </div>
25 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 29 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
26 正在办理 30 正在办理
27 </div> 31 </div>
...@@ -66,6 +70,11 @@ ...@@ -66,6 +70,11 @@
66 }, 70 },
67 methods: { 71 methods: {
68 loadData () { 72 loadData () {
73 if(this.$parent.addRepairRecord){
74 this.columns.unshift({prop:"cz",
75 label:"操作"
76 })
77 }
69 getJsydsyqList({ 78 getJsydsyqList({
70 bdcdyid: this.propsParam.bdcdyid, 79 bdcdyid: this.propsParam.bdcdyid,
71 qllx: this.propsParam.qllx, 80 qllx: this.propsParam.qllx,
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
20 row.qszt == '0' ? 'linshi' : '', 20 row.qszt == '0' ? 'linshi' : '',
21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
22 ]"> 22 ]">
23 <div class="setbut" v-if="item.prop == 'cz'">
24 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
25 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
26 </div>
23 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 27 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
24 正在办理 28 正在办理
25 </div> 29 </div>
...@@ -61,6 +65,11 @@ export default { ...@@ -61,6 +65,11 @@ export default {
61 }, 65 },
62 methods: { 66 methods: {
63 loadData () { 67 loadData () {
68 if(this.$parent.addRepairRecord){
69 this.columns.unshift({prop:"cz",
70 label:"操作"
71 })
72 }
64 getFdcq2List({ 73 getFdcq2List({
65 bdcdyid: this.propsParam.bdcdyid, 74 bdcdyid: this.propsParam.bdcdyid,
66 qllx: this.propsParam.qllx, 75 qllx: this.propsParam.qllx,
...@@ -95,6 +104,62 @@ export default { ...@@ -95,6 +104,62 @@ export default {
95 } 104 }
96 return name; 105 return name;
97 }, 106 },
107 // 编辑
108 editDialog(row){
109 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
110 confirmButtonText: '确定',
111 cancelButtonText: '取消',
112 type: 'warning'
113 }).then(() => {
114 this.$parent.addRepairRecord(row)
115
116 this.$message({
117 type: 'success',
118 message: '补录成功!'
119 });
120 }).catch(() => {
121 this.$message({
122 type: 'info',
123 message: '取消编辑'
124 });
125 });
126
127 // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", {
128 // datalist:this.columns,
129 // data: row,
130
131 // })
132
133 },
134 // 删除
135 deleteDialog(row){
136 this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
137 confirmButtonText: '确定',
138 cancelButtonText: '取消',
139 type: 'warning'
140 }).then(() => {
141 // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx
142 // deleteClmx(bsmClmx).then(res => {
143 // if (res.code == 200) {
144 // that.$emit('updateList', res.result)
145 // that.$message({
146 // message: '删除成功!',
147 // type: 'success'
148 // })
149 // }
150 // })
151 this.$message({
152 type: 'success',
153 message: '删除成功!'
154 });
155 }).catch(() => {
156 this.$message({
157 type: 'info',
158 message: '已取消删除'
159 });
160 });
161
162 }
98 }, 163 },
99 }; 164 };
100 </script> 165 </script>
......
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', 23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
24 ]"> 24 ]">
25 <div class="setbut" v-if="item.prop == 'cz'">
26 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
27 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
28 </div>
25 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 29 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
26 正在办理 30 正在办理
27 </div> 31 </div>
...@@ -66,6 +70,11 @@ ...@@ -66,6 +70,11 @@
66 }, 70 },
67 methods: { 71 methods: {
68 loadData () { 72 loadData () {
73 if(this.$parent.addRepairRecord){
74 this.columns.unshift({prop:"cz",
75 label:"操作"
76 })
77 }
69 getJsydsyqList({ 78 getJsydsyqList({
70 bdcdyid: this.propsParam.bdcdyid, 79 bdcdyid: this.propsParam.bdcdyid,
71 qllx: this.propsParam.qllx, 80 qllx: this.propsParam.qllx,
......
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', 23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
24 ]"> 24 ]">
25 <div class="setbut" v-if="item.prop == 'cz'">
26 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
27 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
28 </div>
25 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 29 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
26 正在办理 30 正在办理
27 </div> 31 </div>
...@@ -95,6 +99,11 @@ ...@@ -95,6 +99,11 @@
95 }, 99 },
96 methods: { 100 methods: {
97 loadData () { 101 loadData () {
102 if(this.$parent.addRepairRecord){
103 this.columns.unshift({prop:"cz",
104 label:"操作"
105 })
106 }
98 getNydsyqList({ 107 getNydsyqList({
99 bdcdyid: this.propsParam.bdcdyid, 108 bdcdyid: this.propsParam.bdcdyid,
100 qllx: this.propsParam.qllx, 109 qllx: this.propsParam.qllx,
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
20 row.qszt == '0' ? 'linshi' : '', 20 row.qszt == '0' ? 'linshi' : '',
21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
22 ]"> 22 ]">
23 <div class="setbut" v-if="item.prop == 'cz'">
24 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
25 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
26 </div>
23 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 27 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
24 正在办理 28 正在办理
25 </div> 29 </div>
...@@ -61,6 +65,12 @@ export default { ...@@ -61,6 +65,12 @@ export default {
61 }, 65 },
62 methods: { 66 methods: {
63 loadData () { 67 loadData () {
68 // 判断是否在登记簿补录调的子页面
69 if(this.$parent.addRepairRecord){
70 this.columns.unshift({prop:"cz",
71 label:"操作"
72 })
73 }
64 getYgdjList({ 74 getYgdjList({
65 bdcdyid: this.propsParam.bdcdyid, 75 bdcdyid: this.propsParam.bdcdyid,
66 qllx: this.propsParam.qllx, 76 qllx: this.propsParam.qllx,
......
...@@ -61,6 +61,11 @@ export default { ...@@ -61,6 +61,11 @@ export default {
61 }, 61 },
62 methods: { 62 methods: {
63 loadData () { 63 loadData () {
64 if(this.$parent.addRepairRecord){
65 this.columns.unshift({prop:"cz",
66 label:"操作"
67 })
68 }
64 getYydjList({ 69 getYydjList({
65 bdcdyid: this.propsParam.bdcdyid, 70 bdcdyid: this.propsParam.bdcdyid,
66 qllx: this.propsParam.qllx, 71 qllx: this.propsParam.qllx,
...@@ -95,6 +100,62 @@ export default { ...@@ -95,6 +100,62 @@ export default {
95 } 100 }
96 return name; 101 return name;
97 }, 102 },
103 // 编辑
104 editDialog(row){
105 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
106 confirmButtonText: '确定',
107 cancelButtonText: '取消',
108 type: 'warning'
109 }).then(() => {
110 this.$parent.addRepairRecord(row)
111
112 this.$message({
113 type: 'success',
114 message: '补录成功!'
115 });
116 }).catch(() => {
117 this.$message({
118 type: 'info',
119 message: '取消编辑'
120 });
121 });
122
123 // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", {
124 // datalist:this.columns,
125 // data: row,
126
127 // })
128
129 },
130 // 删除
131 deleteDialog(row){
132 this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
133 confirmButtonText: '确定',
134 cancelButtonText: '取消',
135 type: 'warning'
136 }).then(() => {
137 // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx
138 // deleteClmx(bsmClmx).then(res => {
139 // if (res.code == 200) {
140 // that.$emit('updateList', res.result)
141 // that.$message({
142 // message: '删除成功!',
143 // type: 'success'
144 // })
145 // }
146 // })
147 this.$message({
148 type: 'success',
149 message: '删除成功!'
150 });
151 }).catch(() => {
152 this.$message({
153 type: 'info',
154 message: '已取消删除'
155 });
156 });
157
158 }
98 }, 159 },
99 }; 160 };
100 </script> 161 </script>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
26 </tr> 26 </tr>
27 <tr> 27 <tr>
28 <td style="width:15%">宗地面积</td> 28 <td style="width:15%">宗地面积</td>
29 <td style="width:30%">{{ zdjbxx.zdmj }}</td> 29 <td style="width:30%">{{ zdjbxx.zdmj }}</td>
30 <td style="width:15%">用途</td> 30 <td style="width:15%">用途</td>
31 <td style="width:30%">{{ zdjbxx.ghytmc }}</td> 31 <td style="width:30%">{{ zdjbxx.ghytmc }}</td>
32 </tr> 32 </tr>
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
193 }, 193 },
194 methods: { 194 methods: {
195 loadData () { 195 loadData () {
196 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { 196 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
197 if (res.code === 200) { 197 if (res.code === 200) {
198 this.zdjbxx = res.result.zdjbxx; 198 this.zdjbxx = res.result.zdjbxx;
199 this.zdbhqks = res.result.zdbhqkList; 199 this.zdbhqks = res.result.zdbhqkList;
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
201 this.showGroup = true; 201 this.showGroup = true;
202 } 202 }
203 } 203 }
204 }) 204 })
205 } 205 }
206 } 206 }
207 } 207 }
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </template> 42 </template>
43 <script> 43 <script>
44 import { mapGetters } from "vuex"; 44 import { mapGetters } from "vuex";
45 import clxxAddDialog from "./dialog/clxxAddDialog.vue"; 45 import clxxAddDialog from "../dialog/clxxAddDialog.vue";
46 import imagePreview from '@/views/components/imagePreview.vue' 46 import imagePreview from '@/views/components/imagePreview.vue'
47 import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; 47 import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js";
48 export default { 48 export default {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:38 4 * @LastEditTime: 2023-06-19 13:15:13
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -24,18 +24,17 @@ ...@@ -24,18 +24,17 @@
24 </div> 24 </div>
25 <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()" v-if="!this.$route.query.viewtype">新增</el-button> 25 <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()" v-if="!this.$route.query.viewtype">新增</el-button>
26 </div> 26 </div>
27 <image-preview ref='imageRef' :previewImg="previewImg" @updateList="updateList" @nextPriview="nextPriview" 27 <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" @updateList="updateList" @nextPriview="nextPriview"
28 @prevPriview="prevPriview" /> 28 @prevPriview="prevPriview" />
29 </div> 29 </div>
30 </div> 30 </div>
31 <clxxAddDialog v-model="isDialog" /> 31 <clxxAddDialog v-model="isDialog" />
32 <!-- <clxxDetailDialog v-model="detailDialog" :data="tableData" /> -->
33 </div> 32 </div>
34 </template> 33 </template>
35 <script> 34 <script>
36 import { mapGetters } from "vuex"; 35 import { mapGetters } from "vuex";
37 import clxxAddDialog from "./dialog/clxxAddDialog.vue"; 36 import clxxAddDialog from "../dialog/clxxAddDialog.vue";
38 import clxxDetailDialog from "./dialog/clxxDetailDialog.vue"; 37 import clxxDetailDialog from "../dialog/clxxDetailDialog.vue";
39 import imagePreview from '@/views/components/imagePreview.vue' 38 import imagePreview from '@/views/components/imagePreview.vue'
40 import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; 39 import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js";
41 import { popupDialog } from "@/utils/popup.js"; 40 import { popupDialog } from "@/utils/popup.js";
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-07 13:32:24 4 * @LastEditTime: 2023-06-19 13:16:53
5 */ 5 */
6 //流程环节操作按钮 6 //流程环节操作按钮
7 export function getForm (tabName, djywbm) { 7 export function getForm (tabName, djywbm) {
...@@ -42,7 +42,7 @@ export function getForm (tabName, djywbm) { ...@@ -42,7 +42,7 @@ export function getForm (tabName, djywbm) {
42 form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue"); 42 form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue");
43 break; 43 break;
44 case "clxx": 44 case "clxx":
45 form = require("@/views/workflow/components/clxxUnify.vue"); 45 form = require("@/views/workflow/components/clxx/clxxUnify.vue");
46 break; 46 break;
47 case "spyj": 47 case "spyj":
48 form = require("@/views/workflow/components/spyj.vue"); 48 form = require("@/views/workflow/components/spyj.vue");
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
6 :model="queryForm" 6 :model="queryForm"
7 ref="queryForm" 7 ref="queryForm"
8 @submit.native.prevent 8 @submit.native.prevent
9 label-width="80px" 9 label-width="80px">
10 >
11 <el-row> 10 <el-row>
12 <el-col :span="5"> 11 <el-col :span="5">
13 <el-form-item label="业务来源" label-width="70px"> 12 <el-form-item label="业务来源" label-width="70px">
...@@ -18,14 +17,12 @@ ...@@ -18,14 +17,12 @@
18 class="width100" 17 class="width100"
19 filterable 18 filterable
20 clearable 19 clearable
21 placeholder="请选择业务来源" 20 placeholder="请选择业务来源">
22 >
23 <el-option 21 <el-option
24 v-for="item in dictData['ywly']" 22 v-for="item in dictData['ywly']"
25 :key="item.dcode" 23 :key="item.dcode"
26 :label="item.dname" 24 :label="item.dname"
27 :value="item.dcode" 25 :value="item.dcode">
28 >
29 </el-option> 26 </el-option>
30 </el-select> 27 </el-select>
31 </el-form-item> 28 </el-form-item>
...@@ -39,14 +36,12 @@ ...@@ -39,14 +36,12 @@
39 class="width100" 36 class="width100"
40 filterable 37 filterable
41 clearable 38 clearable
42 placeholder="请选择权利类型" 39 placeholder="请选择权利类型">
43 >
44 <el-option 40 <el-option
45 v-for="item in dictData['A8']" 41 v-for="item in dictData['A8']"
46 :key="item.dcode" 42 :key="item.dcode"
47 :label="item.dname" 43 :label="item.dname"
48 :value="item.dcode" 44 :value="item.dcode">
49 >
50 </el-option> 45 </el-option>
51 </el-select> 46 </el-select>
52 </el-form-item> 47 </el-form-item>
...@@ -60,14 +55,12 @@ ...@@ -60,14 +55,12 @@
60 class="width100" 55 class="width100"
61 filterable 56 filterable
62 clearable 57 clearable
63 placeholder="请选择登记类型" 58 placeholder="请选择登记类型">
64 >
65 <el-option 59 <el-option
66 v-for="item in dictData['A21']" 60 v-for="item in dictData['A21']"
67 :key="item.dcode" 61 :key="item.dcode"
68 :label="item.dname" 62 :label="item.dname"
69 :value="item.dcode" 63 :value="item.dcode">
70 >
71 </el-option> 64 </el-option>
72 </el-select> 65 </el-select>
73 </el-form-item> 66 </el-form-item>
...@@ -78,17 +71,14 @@ ...@@ -78,17 +71,14 @@
78 placeholder="请输入业务号" 71 placeholder="请输入业务号"
79 v-model="queryForm.ywh" 72 v-model="queryForm.ywh"
80 clearable 73 clearable
81 class="width200px" 74 class="width200px">
82 >
83 </el-input> 75 </el-input>
84 </el-form-item> 76 </el-form-item>
85 </el-col> 77 </el-col>
86 78
87 <el-col :span="4" class="btnColRight"> 79 <el-col :span="4" class="btnColRight">
88 <el-form-item> 80 <el-form-item>
89 <el-button type="primary" native-type="submit" @click="handleSearch" 81 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
90 >查询</el-button
91 >
92 <el-button @click="moreQueryClick">高级查询</el-button> 82 <el-button @click="moreQueryClick">高级查询</el-button>
93 </el-form-item> 83 </el-form-item>
94 </el-col> 84 </el-col>
...@@ -100,16 +90,14 @@ ...@@ -100,16 +90,14 @@
100 {{ item.name }}:{{ item.value }} 90 {{ item.name }}:{{ item.value }}
101 <i 91 <i
102 class="el-icon-circle-close" 92 class="el-icon-circle-close"
103 @click="handelItem(item, index)" 93 @click="handelItem(item, index)"></i>
104 ></i>
105 </li> 94 </li>
106 </ul> 95 </ul>
107 <el-button 96 <el-button
108 class="clean-btn" 97 class="clean-btn"
109 type="text" 98 type="text"
110 v-if="searchList.length > 0" 99 v-if="searchList.length > 0"
111 @click.native="hanldeCleanAll" 100 @click.native="hanldeCleanAll">清除全部
112 >清除全部
113 </el-button> 101 </el-button>
114 </el-row> 102 </el-row>
115 </el-form> 103 </el-form>
...@@ -126,98 +114,97 @@ ...@@ -126,98 +114,97 @@
126 @size-change="handleSizeChange" 114 @size-change="handleSizeChange"
127 @p-current-change="handleCurrentChange" 115 @p-current-change="handleCurrentChange"
128 :column="tableData.columns" 116 :column="tableData.columns"
129 :data="tableData.data" 117 :data="tableData.data">
130 >
131 </lb-table> 118 </lb-table>
132 </div> 119 </div>
133 <searchBox v-model="isSearch" @getSearch="getSearch" :advancedForm="otherForm" /> 120 <searchBox v-model="isSearch" @getSearch="getSearch" :advancedForm="otherForm" />
134 </div> 121 </div>
135 </template> 122 </template>
136 <script> 123 <script>
137 import { mapGetters } from "vuex"; 124 import { mapGetters } from "vuex";
138 import searchMin from "../components/mixin/index"; 125 import searchMin from "../components/mixin/index";
139 import table from "@/utils/mixin/table"; 126 import table from "@/utils/mixin/table";
140 import { datas, sendThis } from "./ybxdata"; 127 import { datas, sendThis } from "./ybxdata";
141 import { searchTaskDone } from "@/api/ywbl"; 128 import { searchTaskDone } from "@/api/ywbl";
142 import searchBox from "../components/search.vue"; 129 import searchBox from "../components/search.vue";
143 export default { 130 export default {
144 name: "ybx", 131 name: "ybx",
145 components: { searchBox }, 132 components: { searchBox },
146 mixins: [table, searchMin], 133 mixins: [table, searchMin],
147 mounted() { 134 mounted () {
148 window["getBpageList"] = () => { 135 window["getBpageList"] = () => {
149 this.queryClick(); 136 this.queryClick();
150 }; 137 };
151 sendThis(this); 138 sendThis(this);
152 }, 139 },
153 computed: { 140 computed: {
154 ...mapGetters(["dictData"]), 141 ...mapGetters(["dictData"]),
155 },
156 data() {
157 return {
158 queryForm: {
159 ywly: "",
160 qllx: "",
161 djlx: "",
162 ywh: "",
163 },
164 searchForm: {
165 ywlymc: "",
166 qllxmc: "",
167 djlxmc: "",
168 ywh: "",
169 },
170 tableData: {
171 total: 0,
172 columns: datas.columns(),
173 data: [],
174 },
175 };
176 },
177 methods: {
178 // 列表渲染接口
179 queryClick() {
180 this.$startLoading();
181 this.searchForm.ywh = this.queryForm.ywh;
182 this.iterationData();
183 searchTaskDone({
184 ...this.queryForm,
185 ...this.otherForm,
186 ...this.pageData,
187 }).then((res) => {
188 this.$endLoading();
189 if (res.code === 200) {
190 let { total, records } = res.result;
191 records.forEach((item) => {
192 item.qlrmc = item.qlrmc.join(",");
193 item.ywh = item.ywh.join(",");
194 item.zl = item.zl.join(",");
195 item.outstepdate = item.outstepdate[0];
196 });
197 this.tableData.total = total ? total : 0;
198 this.tableData.data = records ? records : [];
199 }
200 });
201 }, 142 },
202 handleSort(val) { 143 data () {
203 this.queryForm.sortField = val.prop; 144 return {
204 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; 145 queryForm: {
205 this.queryClick(); 146 ywly: "",
147 qllx: "",
148 djlx: "",
149 ywh: "",
150 },
151 searchForm: {
152 ywlymc: "",
153 qllxmc: "",
154 djlxmc: "",
155 ywh: "",
156 },
157 tableData: {
158 total: 0,
159 columns: datas.columns(),
160 data: [],
161 },
162 };
206 }, 163 },
207 ywhClick(item) { 164 methods: {
208 const { href } = this.$router.resolve( 165 // 列表渲染接口
209 "/workFrameView?bsmSlsq=" + 166 queryClick () {
167 this.$startLoading();
168 this.searchForm.ywh = this.queryForm.ywh;
169 this.iterationData();
170 searchTaskDone({
171 ...this.queryForm,
172 ...this.otherForm,
173 ...this.pageData,
174 }).then((res) => {
175 this.$endLoading();
176 if (res.code === 200) {
177 let { total, records } = res.result;
178 records.forEach((item) => {
179 item.qlrmc = item.qlrmc.join(",");
180 item.ywh = item.ywh.join(",");
181 item.zl = item.zl.join(",");
182 item.outstepdate = item.outstepdate[0];
183 });
184 this.tableData.total = total ? total : 0;
185 this.tableData.data = records ? records : [];
186 }
187 });
188 },
189 handleSort (val) {
190 this.queryForm.sortField = val.prop;
191 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc";
192 this.queryClick();
193 },
194 ywhClick (item) {
195 const { href } = this.$router.resolve(
196 "/workFrameView?bsmSlsq=" +
210 item.bsmSlsq + 197 item.bsmSlsq +
211 "&bestepid=" + 198 "&bestepid=" +
212 item.bestepid + 199 item.bestepid +
213 "&bsmBusiness=" + 200 "&bsmBusiness=" +
214 "&viewtype=1" 201 "&viewtype=1"
215 ); 202 );
216 window.open(href, `urlname${item.bsmSlsq}`); 203 window.open(href, `urlname${item.bsmSlsq}`);
204 },
217 }, 205 },
218 }, 206 };
219 };
220 </script> 207 </script>
221 <style scoped lang="scss"> 208 <style scoped lang="scss">
222 @import "~@/styles/public.scss"; 209 @import "~@/styles/public.scss";
223 </style> 210 </style>
......
...@@ -113,22 +113,22 @@ export default { ...@@ -113,22 +113,22 @@ export default {
113 bsm: '' 113 bsm: ''
114 }, '85%') 114 }, '85%')
115 }, 115 },
116 ywhClick (item) { 116 // ywhClick (item) {
117 const { href } = this.$router.resolve( 117 // const { href } = this.$router.resolve(
118 "/djbworkFrame?bdcdyid=" + 118 // "/djbworkFrame?bdcdyid=" +
119 item.bdcdyid+ 119 // item.bdcdyid+
120 "&bdcdyh=" + 120 // "&bdcdyh=" +
121 item.bdcdyh+ 121 // item.bdcdyh+
122 "&qllx="+ 122 // "&qllx="+
123 item.qllx+ 123 // item.qllx+
124 "&bsmQlxx="+ 124 // "&bsmQlxx="+
125 item.bsmQlxx+ 125 // item.bsmQlxx+
126 "&viewtype=1" 126 // "&viewtype=1"
127 ); 127 // );
128 localStorage.setItem('ywbl', JSON.stringify(item)); 128 // localStorage.setItem('ywbl', JSON.stringify(item));
129 window.open(href, `urlname${item.bdcdyid}`); 129 // window.open(href, `urlname${item.bdcdyid}`);
130 130
131 }, 131 // },
132 } 132 }
133 } 133 }
134 </script> 134 </script>
......
...@@ -25,9 +25,9 @@ class data extends filter { ...@@ -25,9 +25,9 @@ class data extends filter {
25 { 25 {
26 label: "数据类型", 26 label: "数据类型",
27 width: '80', 27 width: '80',
28 render: (h, scope) => { 28 render: (h, scope) => {
29 return ( 29 return (
30 <div> 30 <div>
31 <span v-show={scope.row.sjlx == 1} >系统数据</span> 31 <span v-show={scope.row.sjlx == 1} >系统数据</span>
32 <span v-show={scope.row.sjlx == 2} >存量数据</span> 32 <span v-show={scope.row.sjlx == 2} >存量数据</span>
33 <span v-show={scope.row.sjlx == 3} >补录数据</span> 33 <span v-show={scope.row.sjlx == 3} >补录数据</span>
...@@ -67,9 +67,9 @@ class data extends filter { ...@@ -67,9 +67,9 @@ class data extends filter {
67 prop: "ywh", 67 prop: "ywh",
68 label: "业务号", 68 label: "业务号",
69 width: '110', 69 width: '110',
70 render: (h, scope) => { 70 // render: (h, scope) => {
71 return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button> 71 // return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
72 } 72 // }
73 }, 73 },
74 { 74 {
75 prop: "qllxmc", 75 prop: "qllxmc",
......
...@@ -102,11 +102,6 @@ ...@@ -102,11 +102,6 @@
102 djlx: "", 102 djlx: "",
103 ywh: "", 103 ywh: "",
104 }, 104 },
105 // pageData: {
106 // currentPage: 1,
107 // pageSize: 10,
108 // total: 0,
109 // },
110 tableData: { 105 tableData: {
111 total: 0, 106 total: 0,
112 columns: datas.columns(), 107 columns: datas.columns(),
...@@ -122,24 +117,6 @@ ...@@ -122,24 +117,6 @@
122 this.$endLoading() 117 this.$endLoading()
123 if (res.code === 200) { 118 if (res.code === 200) {
124 let { total, records } = res.result 119 let { total, records } = res.result
125 // let str = ''
126 // records.forEach(item => {
127 // if (item.userNameList.length != 0) {
128 // str = String(item.userNameList)
129 // item.blStatus = item.zbhj + '(' + str.replace(/,/g, "+") + ')'
130 // }
131 // if (item.qlrmc.length != 0) {
132 // item.qlrmcStr = String(item.qlrmc)
133 // }
134 // if (item.ywrmc.length != 0) {
135 // item.ywrmcStr = String(item.ywrmc)
136 // }
137 // if (item.zlList.length != 0) {
138 // item.zlStr = String(item.zlList)
139 // }
140 // })
141 // this.pageData.total = total;
142 // this.tableData.data = records
143 this.tableData.total = total ? total : 0; 120 this.tableData.total = total ? total : 0;
144 this.tableData.data = records ? records : []; 121 this.tableData.data = records ? records : [];
145 } 122 }
...@@ -148,10 +125,10 @@ ...@@ -148,10 +125,10 @@
148 handleSort (name, sort) { 125 handleSort (name, sort) {
149 console.log(name, sort); 126 console.log(name, sort);
150 }, 127 },
128 moreQueryClick () { },
151 openDialog (item) { 129 openDialog (item) {
152 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') 130 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
153 // window.open(href, '_blank'); 131 window.open(href, `urlname${item.bsmSlsq}`)
154 window.open(href, `urlname${item.bsmSlsq}`);
155 } 132 }
156 } 133 }
157 } 134 }
......
...@@ -6,25 +6,25 @@ ...@@ -6,25 +6,25 @@
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="项目名称" label-width="70px"> 8 <el-form-item label="项目名称" label-width="70px">
9 <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable class="width100"> 9 <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" 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="5"> 13 <el-col :span="5">
14 <el-form-item label="项目编号"> 14 <el-form-item label="项目编号">
15 <el-input placeholder="请输入项目编号" v-model="queryForm.xmbh" clearable class="width100"> 15 <el-input placeholder="请输入项目编号" v-model="queryForm.xmbh" 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="5"> 19 <el-col :span="5">
20 <el-form-item label="宗地代码"> 20 <el-form-item label="宗地代码">
21 <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable class="width100"> 21 <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" 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="5"> 25 <el-col :span="5">
26 <el-form-item label="自然幢号"> 26 <el-form-item label="自然幢号">
27 <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width100"> 27 <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width100">
28 </el-input> 28 </el-input>
29 </el-form-item> 29 </el-form-item>
30 </el-col> 30 </el-col>
...@@ -48,64 +48,60 @@ ...@@ -48,64 +48,60 @@
48 </div> 48 </div>
49 </template> 49 </template>
50 <script> 50 <script>
51 import table from "@/utils/mixin/table"; 51 import table from "@/utils/mixin/table";
52 import { datas, sendThis } from "./lpcxdata"; 52 import { datas, sendThis } from "./lpcxdata";
53 import { getLpZrz } from "@/api/lpb.js"; 53 import { getLpZrz } from "@/api/lpb.js";
54 export default { 54 export default {
55 name: "lpcx", 55 name: "lpcx",
56 components: {}, 56 components: {},
57 mixins: [table], 57 mixins: [table],
58 mounted () { 58 mounted () {
59 sendThis(this) 59 sendThis(this)
60 },
61 data () {
62 return {
63 queryForm: {
64 xmmc: "",
65 xmbh: "",
66 zddm: "",
67 zrzh: "",
68 },
69 pageData: {
70 currentPage: 1,
71 pageSize: 10,
72 total: 0,
73 },
74 tableData: {
75 columns: datas.columns(),
76 data: [],
77 },
78 };
79 },
80 methods: {
81 // 初始化数据
82 queryClick () {
83 this.$startLoading();
84 getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
85 this.$endLoading();
86 if (res.code === 200) {
87 this.pageData.total = res.result.total;
88 this.tableData.data = res.result.records;
89 }
90 });
91 }, 60 },
92 handleSort (name, sort) { 61 data () {
93 console.log(name, sort); 62 return {
94 }, 63 queryForm: {
95 //打开楼盘表 64 xmmc: "",
96 openlpbClick (scope) { 65 xmbh: "",
97 // var zrzbsm = scope.row.bsm; 66 zddm: "",
98 this.$popup('楼盘表', 'lpb/index', { 67 zrzh: "",
99 width: '90%', 68 },
100 height: "92%", 69 tableData: {
101 formData: { 70 total: 0,
102 bsm: scope.row.bsm 71 columns: datas.columns(),
72 data: [],
103 } 73 }
104 }) 74 }
105 }, 75 },
106 }, 76 methods: {
107 }; 77 // 初始化数据
78 queryClick () {
79 this.$startLoading();
80 getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
81 this.$endLoading();
82 if (res.code === 200) {
83 this.tableData.total = total ? total : 0;
84 this.tableData.data = res.result.records;
85 }
86 });
87 },
88 handleSort (name, sort) {
89 console.log(name, sort);
90 },
91 moreQueryClick () { },
92 //打开楼盘表
93 openlpbClick (scope) {
94 this.$popup('楼盘表', 'lpb/index', {
95 width: '90%',
96 height: "92%",
97 formData: {
98 bsm: scope.row.bsm
99 }
100 })
101 }
102 }
103 }
108 </script> 104 </script>
109 <style scoped lang="scss"> 105 <style scoped lang="scss">
110 @import "~@/styles/public.scss"; 106 @import "~@/styles/public.scss";
111 </style> 107 </style>
......
...@@ -40,71 +40,68 @@ ...@@ -40,71 +40,68 @@
40 </div> 40 </div>
41 <!-- 表格 --> 41 <!-- 表格 -->
42 <div class="from-clues-content"> 42 <div class="from-clues-content">
43 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" 43 <lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current" :total="tableData.total"
44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
45 :data="tableData.data"> 45 :data="tableData.data">
46 </lb-table> 46 </lb-table>
47 </div> 47 </div>
48 <!-- <el-dialog :visible.sync="dialogVisible" width="52%" :before-close="handleClose">
49
50 </el-dialog> -->
51 </div> 48 </div>
52 </template> 49 </template>
53 <script> 50 <script>
54 import table from "@/utils/mixin/table"; 51 import table from "@/utils/mixin/table";
55 import { datas, sendThis } from "./zslqcx"; 52 import { datas, sendThis } from "./zslqcx";
56 import { getBdcqzReceiveList } from "@/api/zhcx" 53 import { getBdcqzReceiveList } from "@/api/zhcx"
57 import { bdcqzPreview } from "@/api/bdcqz" 54 import { bdcqzPreview } from "@/api/bdcqz"
58 export default { 55 export default {
59 components: {}, 56 components: {},
60 mixins: [table], 57 mixins: [table],
61 mounted () { 58 mounted () {
62 sendThis(this); 59 sendThis(this);
63 }, 60 },
64 data () { 61 data () {
65 return { 62 return {
66 queryForm: { 63 queryForm: {
67 bdcqzh: "", 64 bdcqzh: "",
68 ysxlh: "", 65 ysxlh: "",
69 ywh: "", 66 ywh: "",
70 lzrxm: "", 67 lzrxm: "",
68 },
69 dialogVisible: false,
70 tableData: {
71 total: 0,
72 columns: datas.columns(),
73 data: [],
74 },
75 };
76 },
77 methods: {
78 // 查询
79 queryClick () {
80 this.$startLoading()
81 getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => {
82 this.$endLoading()
83 if (res.code === 200) {
84 let { total, records } = res.result
85 this.tableData.total = total;
86 this.tableData.data = records ? records : []
87 }
88 })
71 }, 89 },
72 dialogVisible: false, 90 openDialog (item) {
73 tableData: { 91 this.$startLoading()
74 total: 0, 92 bdcqzPreview(item).then(res => {
75 columns: datas.columns(), 93 this.$endLoading()
76 data: [], 94 this.dialogVisible = true;
95 let blob = new Blob([res]);
96 this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) })
97 })
77 }, 98 },
78 }; 99 handleClose () {
79 }, 100 this.dialogVisible = false;
80 methods: { 101 }
81 // 查询
82 queryClick () {
83 this.$startLoading()
84 getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => {
85 this.$endLoading()
86 if (res.code === 200) {
87 let { total, records } = res.result
88 this.tableData.total = total;
89 this.tableData.data = records ? records : []
90 }
91 })
92 },
93 openDialog (item) {
94 this.$startLoading()
95 bdcqzPreview(item).then(res => {
96 this.$endLoading()
97 this.dialogVisible = true;
98 let blob = new Blob([res]);
99 this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) })
100 })
101 }, 102 },
102 handleClose () { 103 };
103 this.dialogVisible = false;
104 }
105 },
106 };
107 </script> 104 </script>
108 <style scoped lang="scss"> 105 <style scoped lang="scss">
109 @import "~@/styles/public.scss"; 106 @import "~@/styles/public.scss";
110 </style> 107 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-06-19 13:32:04
5 -->
1 <template> 6 <template>
2 <div class="from-clues"> 7 <div class="from-clues">
3 <!-- 表单部分 --> 8 <!-- 表单部分 -->
...@@ -33,7 +38,7 @@ ...@@ -33,7 +38,7 @@
33 </div> 38 </div>
34 <!-- 表格 --> 39 <!-- 表格 -->
35 <div class="from-clues-content"> 40 <div class="from-clues-content">
36 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" 41 <lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current" :total="tableData.total"
37 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 42 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
38 :data="tableData.data"> 43 :data="tableData.data">
39 </lb-table> 44 </lb-table>
...@@ -41,46 +46,46 @@ ...@@ -41,46 +46,46 @@
41 </div> 46 </div>
42 </template> 47 </template>
43 <script> 48 <script>
44 import table from "@/utils/mixin/table"; 49 import table from "@/utils/mixin/table";
45 import { datas, sendThis } from "./zxgcdycx"; 50 import { datas, sendThis } from "./zxgcdycx";
46 import { getZjgcdyList } from "@/api/zhcx" 51 import { getZjgcdyList } from "@/api/zhcx"
47 export default { 52 export default {
48 components: {}, 53 components: {},
49 mixins: [table], 54 mixins: [table],
50 mounted () { 55 mounted () {
51 sendThis(this); 56 sendThis(this);
52 },
53 data () {
54 return {
55 queryForm: {
56 xmmc: "",
57 qymc: "",
58 zrzh: "",
59 },
60 tableData: {
61 total: 0,
62 columns: datas.columns(),
63 data: [],
64 },
65 };
66 },
67 methods: {
68 // 查询
69 queryClick () {
70 this.$startLoading()
71 getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => {
72 this.$endLoading()
73 if (res.code === 200) {
74 let { total, records } = res.result
75 this.tableData.total = total;
76 this.tableData.data = records ? records : []
77 }
78 })
79 }, 57 },
80 58 data () {
81 }, 59 return {
82 }; 60 queryForm: {
61 xmmc: "",
62 qymc: "",
63 zrzh: "",
64 },
65 tableData: {
66 total: 0,
67 columns: datas.columns(),
68 data: [],
69 },
70 };
71 },
72 methods: {
73 // 查询
74 queryClick () {
75 this.$startLoading()
76 getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => {
77 this.$endLoading()
78 if (res.code === 200) {
79 let { total, records } = res.result
80 this.tableData.total = total ? total : 0
81 this.tableData.data = records ? records : []
82 }
83 })
84 },
85 moreQueryClick () { }
86 }
87 }
83 </script> 88 </script>
84 <style scoped lang="scss"> 89 <style scoped lang="scss">
85 @import "~@/styles/public.scss"; 90 @import "~@/styles/public.scss";
86 </style> 91 </style>
......