27b7b15f by 田浩浩
2 parents 2f6c5f7e 2dbde617
...@@ -3,14 +3,14 @@ import request from '@/utils/request' ...@@ -3,14 +3,14 @@ import request from '@/utils/request'
3 // 初始化内容 3 // 初始化内容
4 export function Init(data) { 4 export function Init(data) {
5 let apiUrl = ""; 5 let apiUrl = "";
6 switch (data.get("sqywbm")) { 6 switch (data.get("djlx")) {
7 case "B39300": 7 case "300":
8 apiUrl = "/ywbl/cfdj/xfInit"; 8 apiUrl = "/ywbl/cfdj/xfInit";
9 break; 9 break;
10 case "B39400": 10 case "400":
11 apiUrl = "/ywbl/cfdj/jfInit"; 11 apiUrl = "/ywbl/cfdj/jfInit";
12 break; 12 break;
13 case "B39800": 13 case "800":
14 apiUrl = "/ywbl/cfdj/cfInit"; 14 apiUrl = "/ywbl/cfdj/cfInit";
15 break; 15 break;
16 } 16 }
...@@ -20,11 +20,22 @@ export function Init(data) { ...@@ -20,11 +20,22 @@ export function Init(data) {
20 data 20 data
21 }) 21 })
22 } 22 }
23 23 //批量初始化
24 //批量查封 24 export function BatchInit(data) {
25 export function cfBatchInit (data) { 25 let apiUrl = "";
26 switch (data.get("djlx")) {
27 case "300":
28 apiUrl = "/ywbl/cfdj/xfBatchInit";
29 break;
30 case "400":
31 apiUrl = "/ywbl/cfdj/jfBatchInit";
32 break;
33 case "800":
34 apiUrl = "/ywbl/cfdj/cfBatchInit";
35 break;
36 }
26 return request({ 37 return request({
27 url: '/ywbl/cfdj/cfBatchInit', 38 url: apiUrl,
28 method: 'post', 39 method: 'post',
29 data 40 data
30 }) 41 })
......
1 <template> 1 <template>
2 <div> 2 <div>
3 <lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList"> 3 <lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
4 </lb-table> 4 </lb-table>
5 <addQlr v-model="dialog" :details="details" @updateDetail="updateDetail" /> 5 <addQlr v-model="dialog" :details="details" @updateDetail="updateDetail" />
6 </div> 6 </div>
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
39 width: '50', 39 width: '50',
40 renderHeader: (h, scope) => { 40 renderHeader: (h, scope) => {
41 return <div> { 41 return <div> {
42 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i> 42 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
43 } 43 }
44 </div> 44 </div>
45 }, 45 },
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
48 <div> 48 <div>
49 { 49 {
50 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 50 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
51 <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> 51 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
52 } 52 }
53 </div> 53 </div>
54 ) 54 )
...@@ -86,10 +86,10 @@ export default { ...@@ -86,10 +86,10 @@ export default {
86 this.$route.query.viewtype == 1 ? <el-button 86 this.$route.query.viewtype == 1 ? <el-button
87 icon="el-icon-view" 87 icon="el-icon-view"
88 type="text" 88 type="text"
89 onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button> : <el-button 89 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
90 icon="el-icon-edit-outline" 90 icon="el-icon-edit-outline"
91 type="text" 91 type="text"
92 onClick={() => { this.handleEdit(scope.$index, scope.row) }}>编辑</el-button> 92 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
93 } 93 }
94 </div> 94 </div>
95 ) 95 )
...@@ -142,24 +142,29 @@ export default { ...@@ -142,24 +142,29 @@ export default {
142 this.key++ 142 this.key++
143 this.$emit('upDateQlrxxList', this.tableDataList) 143 this.$emit('upDateQlrxxList', this.tableDataList)
144 }, 144 },
145 // 添加 145
146 handleAdd () { 146 // 新增
147 addClick () {
147 this.dialog = true 148 this.dialog = true
148 }, 149 },
149 // 减 150
150 handleMinus (index, row) { 151 // 删除
152 deleClick (index, row) {
151 this.tableData.splice(index, 1) 153 this.tableData.splice(index, 1)
152 }, 154 },
155
153 // 身份证读取 156 // 身份证读取
154 readClick () { }, 157 readClick () { },
158
155 // 修改 159 // 修改
156 handleEdit (index, row) { 160 editClick (index, row) {
157 console.log(row, 'rowrowrowrowrow'); 161 console.log(row, 'rowrowrowrowrow');
158 this.dataIndex = index 162 this.dataIndex = index
159 this.dialog = true 163 this.dialog = true
160 this.details = row 164 this.details = row
161 }, 165 },
162 handleView () { 166
167 queryViewClick () {
163 this.dialog = true 168 this.dialog = true
164 } 169 }
165 } 170 }
......
...@@ -20,15 +20,24 @@ export function getForm(tabName, djywbm) { ...@@ -20,15 +20,24 @@ export function getForm(tabName, djywbm) {
20 case "fwsyqslxx300": 20 case "fwsyqslxx300":
21 form = require("@/views/ywbl/fdcq2/slxx300.vue"); 21 form = require("@/views/ywbl/fdcq2/slxx300.vue");
22 break; 22 break;
23 // case "fwsyqslxx400":
24 // form = require("@/views/ywbl/fdcq2/slxx400.vue");
25 // break;
23 case "tdslxxCfdj": 26 case "tdslxxCfdj":
24 form = require("@/views/ywbl/cfdj/tdslxx.vue"); 27 form = require("@/views/ywbl/cfdj/tdslxx.vue");
25 break; 28 break;
26 case "fwslxxCfdj": 29 case "fwslxxCfdj":
27 form = require("@/views/ywbl/cfdj/fwslxx.vue"); 30 form = require("@/views/ywbl/cfdj/fwslxx.vue");
28 break; 31 break;
29 case "plslxxCfdj": 32 case "plslxxCfdj":
30 form = require("@/views/ywbl/cfdj/plcfslxx.vue"); 33 form = require("@/views/ywbl/cfdj/plcfslxx.vue");
31 break; 34 break;
35 case "plslxxjfdj":
36 form = require("@/views/ywbl/cfdj/pljfslxx.vue");
37 break;
38 case "jfslxxCfdj":
39 form = require("@/views/ywbl/cfdj/jfslxx.vue");
40 break;
32 case "clxx": 41 case "clxx":
33 form = require("@/views/workflow/components/clxx.vue"); 42 form = require("@/views/workflow/components/clxx.vue");
34 break; 43 break;
...@@ -40,7 +49,7 @@ export function getForm(tabName, djywbm) { ...@@ -40,7 +49,7 @@ export function getForm(tabName, djywbm) {
40 break; 49 break;
41 case "cfdjxx": 50 case "cfdjxx":
42 form = require("@/views/registerBook/cfdj.vue"); 51 form = require("@/views/registerBook/cfdj.vue");
43 break; 52 break;
44 case "jsydsyqQlxx": 53 case "jsydsyqQlxx":
45 form = require("@/views/registerBook/jsydsyq.vue"); 54 form = require("@/views/registerBook/jsydsyq.vue");
46 break; 55 break;
......
...@@ -110,10 +110,6 @@ ...@@ -110,10 +110,6 @@
110 </el-form-item> 110 </el-form-item>
111 </el-col> 111 </el-col>
112 </el-row> 112 </el-row>
113 <div class="slxx_title title-block">
114 登记原因
115 <div class="triangle"></div>
116 </div>
117 <el-row :gutter="10"> 113 <el-row :gutter="10">
118 <el-col> 114 <el-col>
119 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> 115 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
...@@ -132,7 +128,7 @@ ...@@ -132,7 +128,7 @@
132 </template> 128 </template>
133 <script> 129 <script>
134 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable"; 130 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
135 import { cfBatchInit, batchSaveData } from "@/api/cfdjFlow.js"; 131 import { BatchInit, batchSaveData } from "@/api/cfdjFlow.js";
136 import { mapGetters } from "vuex"; 132 import { mapGetters } from "vuex";
137 export default { 133 export default {
138 data () { 134 data () {
...@@ -148,7 +144,15 @@ export default { ...@@ -148,7 +144,15 @@ export default {
148 }; 144 };
149 }, 145 },
150 created () { 146 created () {
151 this.list(); 147 this.propsParam = this.$attrs;
148 var formdata = new FormData();
149 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
150 formdata.append("djlx", this.propsParam.djlx);
151 BatchInit(formdata).then((res) => {
152 if (res.code === 200 && res.result) {
153 this.ruleForm = res.result
154 }
155 });
152 }, 156 },
153 watch: { 157 watch: {
154 158
...@@ -169,15 +173,6 @@ export default { ...@@ -169,15 +173,6 @@ export default {
169 }, 173 },
170 174
171 methods: { 175 methods: {
172 list () {
173 var formdata = new FormData();
174 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
175 cfBatchInit(formdata).then((res) => {
176 if (res.code === 200 && res.result) {
177 this.ruleForm = res.result
178 }
179 });
180 },
181 onSubmit () { 176 onSubmit () {
182 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; 177 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
183 batchSaveData(this.ruleForm).then((res) => { 178 batchSaveData(this.ruleForm).then((res) => {
......
1 <template>
2 <div class="slxx">
3 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag"
4 label-width="120px">
5 <div class="slxx_con">
6 <div class="slxx_title title-block">
7 受理信息
8 <div class="triangle"></div>
9 </div>
10 <el-row :gutter="10">
11 <el-col :span="8">
12 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:" prop="slywxx.ywh">
13 <el-input disabled v-model="ruleForm.slywxx.ywh"></el-input>
14 </el-form-item>
15 </el-col>
16 <el-col :span="8">
17 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:" prop="slywxx.slry">
18 <el-input disabled v-model="ruleForm.slywxx.slry"></el-input>
19 </el-form-item>
20 </el-col>
21 <el-col :span="8">
22 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:" prop="slywxx.slsj">
23 <el-input disabled v-model="ruleForm.slywxx.slsj"></el-input>
24 </el-form-item>
25 </el-col>
26 </el-row>
27 <el-row :gutter="10">
28 <el-col :span="8">
29 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slywxx.qllx">
30 <el-select disabled v-model="ruleForm.slywxx.qllx" filterable clearable placeholder="请选择权利类型">
31 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
32 </el-option>
33 </el-select>
34 </el-form-item>
35 </el-col>
36 <el-col :span="8">
37 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slywxx.djlx">
38 <el-select disabled v-model="ruleForm.slywxx.djlx" filterable clearable placeholder="请选择登记类型">
39 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
40 </el-option>
41 </el-select>
42 </el-form-item>
43 </el-col>
44 <el-col :span="8">
45 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="slywxx.djqx">
46 <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
47 </el-form-item>
48 </el-col>
49 </el-row>
50 <div class="slxx_title title-block">
51 解封不动产列表
52 <div class="triangle"></div>
53 </div>
54 <cfBdcdyTable :tableData="ruleForm.qlxx" />
55 <div class="slxx_title title-block">
56 批量查封信息
57 <div class="triangle"></div>
58 </div>
59 <el-row :gutter="10">
60 <el-col :span="8">
61 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
62 <el-input v-model="ruleForm.cfdj.cfjg" disabled></el-input>
63 </el-form-item>
64 </el-col>
65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
67 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
68 disabled @change="changeCflx">
69 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
70 </el-option>
71 </el-select>
72 </el-form-item>
73 </el-col>
74 <el-col :span="8">
75 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
76 <el-input v-model="ruleForm.cfdj.cfwj" disabled></el-input>
77 </el-form-item>
78 </el-col>
79 </el-row>
80 <el-row :gutter="10">
81 <el-col :span="8">
82 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
83 <el-input v-model="ruleForm.cfdj.cfwh" disabled></el-input>
84 </el-form-item>
85 </el-col>
86 <el-col :span="8">
87 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
88 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled
89 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
90 </el-form-item>
91 </el-col>
92 <el-col :span="8">
93 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
94 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" disabled
95 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
96 </el-form-item>
97 </el-col>
98 </el-row>
99 <el-row :gutter="10">
100 <el-col :span="24">
101 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
102 <el-input v-model="ruleForm.cfdj.cffw" disabled></el-input>
103 </el-form-item>
104 </el-col>
105 </el-row>
106 <el-row :gutter="10">
107 <el-col :span="24">
108 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
109 <el-input v-model="ruleForm.cfdj.fj" type="textarea" disabled></el-input>
110 </el-form-item>
111 </el-col>
112 </el-row>
113 <el-row :gutter="10">
114 <el-col>
115 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
116 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" disabled></el-input>
117 </el-form-item>
118 </el-col>
119 </el-row>
120 <div class="slxx_title title-block">
121 批量解封信息
122 <div class="triangle"></div>
123 </div>
124 <el-row :gutter="10">
125 <el-col :span="8">
126 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
127 <el-input v-model="ruleForm.cfdj.jfjg" :disabled="$route.query.viewtype || ableEdit"></el-input>
128 </el-form-item>
129 </el-col>
130 <el-col :span="8">
131 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
132 <el-input v-model="ruleForm.cfdj.jfwj" :disabled="$route.query.viewtype || ableEdit"></el-input>
133 </el-form-item>
134 </el-col>
135 <el-col :span="8">
136 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
137 <el-input v-model="ruleForm.cfdj.jfwh" :disabled="$route.query.viewtype || ableEdit"></el-input>
138 </el-form-item>
139 </el-col>
140 </el-row>
141 </div>
142 <el-row class="btn" v-if="!$route.query.viewtype">
143 <el-form-item :class="flag ? 'marginBot0' : ''">
144 <el-button type="primary" @click="onSubmit">保存</el-button>
145 </el-form-item>
146 </el-row>
147 </el-form>
148 </div>
149 </template>
150 <script>
151 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
152 import { BatchInit, batchSaveData } from "@/api/cfdjFlow.js";
153 import { mapGetters } from "vuex";
154 export default {
155 data () {
156 return {
157 disabled: true,
158 flagTop: this.flag ? "top" : "",
159 rules: {},
160 //传递参数
161 propsParam: {},
162 //页面数据
163 ruleForm: {},
164 tableData: []
165 };
166 },
167 created () {
168 this.propsParam = this.$attrs;
169 var formdata = new FormData();
170 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
171 formdata.append("djlx", this.propsParam.djlx);
172 BatchInit(formdata).then((res) => {
173 if (res.code === 200 && res.result) {
174 this.ruleForm = res.result
175 }
176 });
177 },
178 watch: {
179
180 },
181 components: { cfBdcdyTable },
182 props: {
183 flag: {
184 type: Boolean,
185 default: false,
186 },
187 fetch: {
188 type: Boolean,
189 default: false,
190 },
191 },
192 computed: {
193 ...mapGetters(["dictData"]),
194 },
195
196 methods: {
197 onSubmit () {
198 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
199 batchSaveData(this.ruleForm).then((res) => {
200 if (res.code === 200) {
201 this.$message.success('保存成功');
202 }
203 });
204 },
205 changeCflx(e){
206 let cflxItem = {}
207 cflxItem = this.dictData['A32'].find((item) => {
208 return item.dcode == e
209 })
210 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
211 }
212 },
213 };
214 </script>
215 <style scoped lang='scss'>
216 @import "~@/styles/public.scss";
217 @import "~@/styles/slxx/slxx.scss";
218
219 </style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -83,17 +83,17 @@ ...@@ -83,17 +83,17 @@
83 <el-row :gutter="10"> 83 <el-row :gutter="10">
84 <el-col :span="8"> 84 <el-col :span="8">
85 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc"> 85 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc">
86 <el-input disabled v-model="ruleForm.qlxx.ywrmc"></el-input> 86 <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input>
87 </el-form-item> 87 </el-form-item>
88 </el-col> 88 </el-col>
89 <el-col :span="8"> 89 <el-col :span="8">
90 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:"> 90 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:">
91 <el-input disabled v-model="ruleForm.qlxx.ywrzjhm"></el-input> 91 <el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input>
92 </el-form-item> 92 </el-form-item>
93 </el-col> 93 </el-col>
94 <el-col :span="8"> 94 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:"> 95 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:">
96 <el-input disabled v-model="ruleForm.qlxx.ywrzjzl"></el-input> 96 <el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input>
97 </el-form-item> 97 </el-form-item>
98 </el-col> 98 </el-col>
99 </el-row> 99 </el-row>
...@@ -189,10 +189,17 @@ export default { ...@@ -189,10 +189,17 @@ export default {
189 ableEdit: false 189 ableEdit: false
190 }; 190 };
191 }, 191 },
192 created () { 192 async created () {
193 this.propsParam = this.$attrs; 193 this.propsParam = this.$attrs;
194 this.ableEdit = this.$parent.showBatch; 194 this.ableEdit = this.$parent.showBatch;
195 this.list(this.propsParam.bsmSldy); 195 var formdata = new FormData();
196 formdata.append("bsmSldy", this.propsParam.bsmSldy);
197 formdata.append("djlx", this.propsParam.djlx);
198 Init(formdata).then((res) => {
199 if (res.code === 200 && res.result) {
200 this.ruleForm = res.result
201 }
202 });
196 }, 203 },
197 watch: { 204 watch: {
198 205
...@@ -213,16 +220,6 @@ export default { ...@@ -213,16 +220,6 @@ export default {
213 }, 220 },
214 221
215 methods: { 222 methods: {
216 list (bsmSldy) {
217 var formdata = new FormData();
218 formdata.append("bsmSldy", bsmSldy);
219 formdata.append("sqywbm", this.$route.query.sqywbm);
220 Init(formdata).then((res) => {
221 if (res.code === 200 && res.result) {
222 this.ruleForm = res.result
223 }
224 });
225 },
226 onSubmit () { 223 onSubmit () {
227 saveData(this.ruleForm).then((res) => { 224 saveData(this.ruleForm).then((res) => {
228 if (res.code === 200) { 225 if (res.code === 200) {
......
...@@ -50,7 +50,7 @@ class data extends filter { ...@@ -50,7 +50,7 @@ class data extends filter {
50 { 50 {
51 prop: "zbhj", 51 prop: "zbhj",
52 label: "在办环节", 52 label: "在办环节",
53 width: '70' 53 width: '80'
54 }, 54 },
55 { 55 {
56 label: '业务号', 56 label: '业务号',
......
...@@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js"; ...@@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js";
58 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 58 import { defaultParameters } from "../javascript/publicDefaultPar.js";
59 import table from "@/utils/mixin/table"; 59 import table from "@/utils/mixin/table";
60 import jump from "../components/mixin/jump"; 60 import jump from "../components/mixin/jump";
61 import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; 61 import { selectCfdj, startBusinessFlow ,choiceBdcdy} from "@/api/ywbl.js";
62 export default { 62 export default {
63 props: { 63 props: {
64 isJump: { type: Boolean, default: false }, 64 isJump: { type: Boolean, default: false },
...@@ -102,28 +102,43 @@ export default { ...@@ -102,28 +102,43 @@ export default {
102 return; 102 return;
103 } 103 }
104 this.saveloding = true; 104 this.saveloding = true;
105 startBusinessFlow({ 105 if (!this.isJump) {
106 bsmSqyw: Cookies.get("bsmSqyw"), 106 startBusinessFlow({
107 bdcdysz: this.bdcdysz, 107 bsmSqyw: Cookies.get("bsmSqyw"),
108 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 108 bdcdysz: this.bdcdysz,
109 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 109 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
110 }).then((res) => { 110 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
111 this.saveloding = false; 111 }).then((res) => {
112 if (res.code == 200) { 112 this.saveloding = false;
113 this.$message({ 113 if (res.code == 200) {
114 showClose: true, 114 this.$message({
115 message: '发起申请成功', 115 showClose: true,
116 type: 'success' 116 message: '发起申请成功',
117 }) 117 type: 'success'
118 if (!this.isJump) { 118 })
119 this.jump(res.result, this.djywbm) 119 this.jump(res.result, this.djywbm)
120 } else { 120 } else {
121 this.$message.error(res.message);
122 }
123 })
124 } else {
125 choiceBdcdy({
126 bsmSlsq: this.$route.query.bsmSlsq,
127 bdcdysz: this.bdcdysz
128 }).then(res => {
129 this.saveloding = false;
130 if (res.code == 200) {
131 this.$message({
132 showClose: true,
133 message: '发起申请成功',
134 type: 'success'
135 })
121 this.$emit('updateDialog', true) 136 this.$emit('updateDialog', true)
137 } else {
138 this.$message.error(res.message);
122 } 139 }
123 } else { 140 })
124 this.$message.error(res.message); 141 }
125 }
126 });
127 }, 142 },
128 handleSelectionChange (val) { 143 handleSelectionChange (val) {
129 val.forEach((item, index) => { 144 val.forEach((item, index) => {
......
...@@ -100,6 +100,7 @@ export default { ...@@ -100,6 +100,7 @@ export default {
100 if (!this.isJump) { 100 if (!this.isJump) {
101 startBusinessFlow({ 101 startBusinessFlow({
102 bsmSqyw: Cookies.get("bsmSqyw"), 102 bsmSqyw: Cookies.get("bsmSqyw"),
103 fwlx: this.activeName,
103 bdcdysz: this.bdcdysz, 104 bdcdysz: this.bdcdysz,
104 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 105 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
105 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 106 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
......
...@@ -2,17 +2,23 @@ ...@@ -2,17 +2,23 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
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" label-width="100px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="不动产权证号"> 8 <el-form-item label="不动产权证号">
9 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh"> 9 <el-input
10 placeholder="请输入不动产权证号"
11 v-model="queryForm.bdcqzh"
12 >
10 </el-input> 13 </el-input>
11 </el-form-item> 14 </el-form-item>
12 </el-col> 15 </el-col>
13 <el-col :span="5"> 16 <el-col :span="5">
14 <el-form-item label="印刷序列号"> 17 <el-form-item label="印刷序列号">
15 <el-input placeholder="请输入印刷序列号" v-model="queryForm.ysxlh"> 18 <el-input
19 placeholder="请输入印刷序列号"
20 v-model="queryForm.ysxlh"
21 >
16 </el-input> 22 </el-input>
17 </el-form-item> 23 </el-form-item>
18 </el-col> 24 </el-col>
...@@ -31,7 +37,11 @@ ...@@ -31,7 +37,11 @@
31 37
32 <el-col :span="4" class="btnColRight"> 38 <el-col :span="4" class="btnColRight">
33 <el-form-item> 39 <el-form-item>
34 <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> 40 <el-button
41 type="primary"
42 @click="queryClick()"
43 >查询</el-button
44 >
35 <el-button @click="moreQueryClick()">高级查询</el-button> 45 <el-button @click="moreQueryClick()">高级查询</el-button>
36 </el-form-item> 46 </el-form-item>
37 </el-col> 47 </el-col>
...@@ -40,9 +50,15 @@ ...@@ -40,9 +50,15 @@
40 </div> 50 </div>
41 <!-- 表格 --> 51 <!-- 表格 -->
42 <div class="from-clues-content"> 52 <div class="from-clues-content">
43 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" 53 <lb-table
44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 54 :page-size="pageData.size"
45 :data="tableData.data"> 55 :current-page.sync="pageData.current"
56 :total="tableData.total"
57 @size-change="handleSizeChange"
58 @p-current-change="handleCurrentChange"
59 :column="tableData.columns"
60 :data="tableData.data"
61 >
46 </lb-table> 62 </lb-table>
47 </div> 63 </div>
48 </div> 64 </div>
...@@ -53,32 +69,34 @@ import { datas, sendThis } from "./zslqcx"; ...@@ -53,32 +69,34 @@ import { datas, sendThis } from "./zslqcx";
53 export default { 69 export default {
54 components: {}, 70 components: {},
55 mixins: [table], 71 mixins: [table],
56 mounted () { 72 mounted() {
57 sendThis(this); 73 sendThis(this);
58 }, 74 },
59 data () { 75 data() {
60 return { 76 return {
61 queryForm: { 77 queryForm: {
62 bdcqzh: '', 78 bdcqzh: "",
63 ysxlh: '', 79 ysxlh: "",
64 ywh: '', 80 ywh: "",
65 lqr: '' 81 lqr: "",
66 }, 82 },
67 tableData: { 83 tableData: {
68 columns: datas.columns(), 84 columns: datas.columns(),
69 data: [ 85 data: [],
70 { 86 },
71 qllx: 'A01' 87 };
72 }
73 ]
74 }
75 }
76 }, 88 },
77 methods: { 89 methods: {
90 // 查询
91 queryClick() {
92 this.fetchData();
93 },
94
78 // 初始化数据 95 // 初始化数据
79 fetchData () { }, 96 fetchData() {
80 } 97 },
81 } 98 },
99 };
82 </script> 100 </script>
83 <style scoped lang="scss"> 101 <style scoped lang="scss">
84 @import "~@/styles/public.scss"; 102 @import "~@/styles/public.scss";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
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" label-width="80px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="项目名称"> 8 <el-form-item label="项目名称">
...@@ -31,7 +31,11 @@ ...@@ -31,7 +31,11 @@
31 31
32 <el-col :span="4" class="btnColRight"> 32 <el-col :span="4" class="btnColRight">
33 <el-form-item> 33 <el-form-item>
34 <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> 34 <el-button
35 type="primary"
36 @click="queryClick()"
37 >查询</el-button
38 >
35 <el-button @click="moreQueryClick()">高级查询</el-button> 39 <el-button @click="moreQueryClick()">高级查询</el-button>
36 </el-form-item> 40 </el-form-item>
37 </el-col> 41 </el-col>
...@@ -40,9 +44,15 @@ ...@@ -40,9 +44,15 @@
40 </div> 44 </div>
41 <!-- 表格 --> 45 <!-- 表格 -->
42 <div class="from-clues-content"> 46 <div class="from-clues-content">
43 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" 47 <lb-table
44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 48 :page-size="pageData.size"
45 :data="tableData.data"> 49 :current-page.sync="pageData.current"
50 :total="tableData.total"
51 @size-change="handleSizeChange"
52 @p-current-change="handleCurrentChange"
53 :column="tableData.columns"
54 :data="tableData.data"
55 >
46 </lb-table> 56 </lb-table>
47 </div> 57 </div>
48 </div> 58 </div>
...@@ -53,29 +63,33 @@ import { datas, sendThis } from "./zxgcdycx"; ...@@ -53,29 +63,33 @@ import { datas, sendThis } from "./zxgcdycx";
53 export default { 63 export default {
54 components: {}, 64 components: {},
55 mixins: [table], 65 mixins: [table],
56 mounted () { 66 mounted() {
57 sendThis(this); 67 sendThis(this);
58 }, 68 },
59 data () { 69 data() {
60 return { 70 return {
61 queryForm: { 71 queryForm: {
62 xmmc: '', 72 xmmc: "",
63 xmbh: '', 73 xmbh: "",
64 zrzh: '', 74 zrzh: "",
65 zddm: '' 75 zddm: "",
66 }, 76 },
67 tableData: { 77 tableData: {
68 columns: datas.columns(), 78 columns: datas.columns(),
69 data: [ 79 data: [],
70 ] 80 },
71 } 81 };
72 }
73 }, 82 },
74 methods: { 83 methods: {
84 // 查询
85 queryClick() {
86 this.fetchData();
87 },
88
75 // 初始化数据 89 // 初始化数据
76 fetchData () { }, 90 fetchData() {},
77 } 91 },
78 } 92 };
79 </script> 93 </script>
80 <style scoped lang="scss"> 94 <style scoped lang="scss">
81 @import "~@/styles/public.scss"; 95 @import "~@/styles/public.scss";
......