Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
25 changed files
with
508 additions
and
597 deletions
src/api/lpb.js
0 → 100644
1 | import request from '@/utils/request' | ||
2 | import SERVER from './config' | ||
3 | |||
4 | /* | ||
5 | 楼盘查询 | ||
6 | */ | ||
7 | // 根据条件进行列表查询 | ||
8 | export function getLpZrz (data) { | ||
9 | return request({ | ||
10 | // url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpZrz', | ||
11 | url: 'service-lpb/rest/zhcx/lpcx/getLpZrz', | ||
12 | method: 'post', | ||
13 | data: data | ||
14 | }) | ||
15 | } | ||
16 | |||
17 | // 获取楼盘表 | ||
18 | export function getLpb (zrzbsm) { | ||
19 | return request({ | ||
20 | url: 'service-lpb/rest/zhcx/lpcx/getLpb?zrzbsm=' + zrzbsm, | ||
21 | method: 'get' | ||
22 | }) | ||
23 | } |
... | @@ -142,22 +142,3 @@ export function getJdcxBysearch (data) { | ... | @@ -142,22 +142,3 @@ export function getJdcxBysearch (data) { |
142 | } | 142 | } |
143 | 143 | ||
144 | 144 | ||
145 | /* | ||
146 | 楼盘查询 | ||
147 | */ | ||
148 | // 根据条件进行列表查询 | ||
149 | export function getLpZrz (data) { | ||
150 | return request({ | ||
151 | url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpZrz', | ||
152 | method: 'post', | ||
153 | data: data | ||
154 | }) | ||
155 | } | ||
156 | |||
157 | // 获取楼盘表 | ||
158 | export function getLpb (zrzbsm) { | ||
159 | return request({ | ||
160 | url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpb?zrzbsm=' + zrzbsm, | ||
161 | method: 'get' | ||
162 | }) | ||
163 | } | ... | ... |
... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
16 | :data="data" style="width: 100%" :span-method="this.merge ? this.mergeMethod : this.spanMethod"> | 16 | :data="data" style="width: 100%" :span-method="this.merge ? this.mergeMethod : this.spanMethod"> |
17 | <el-table-column width="45" align="center" v-if="isRadio"> | 17 | <el-table-column width="45" align="center" v-if="isRadio"> |
18 | <template slot-scope="scope"> | 18 | <template slot-scope="scope"> |
19 | <el-radio v-model="selected" :label="scope.$index"></el-radio> | 19 | <el-radio v-model="selected" :label="scope.$index" class="table-radio"></el-radio> |
20 | </template> | 20 | </template> |
21 | </el-table-column> | 21 | </el-table-column> |
22 | 22 | ||
... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
31 | 31 | ||
32 | <el-table-column width="45" align="center" v-if="isRadio"> | 32 | <el-table-column width="45" align="center" v-if="isRadio"> |
33 | <template slot-scope="scope"> | 33 | <template slot-scope="scope"> |
34 | <el-radio v-model="selected" :label="scope.$index"></el-radio> | 34 | <el-radio v-model="selected" :label="scope.$index" class="table-radio"></el-radio> |
35 | </template> | 35 | </template> |
36 | </el-table-column> | 36 | </el-table-column> |
37 | <lb-column v-bind="$attrs" v-for="(item, index) in column" :key="index" :column="item"> | 37 | <lb-column v-bind="$attrs" v-for="(item, index) in column" :key="index" :column="item"> |
... | @@ -222,7 +222,13 @@ export default { | ... | @@ -222,7 +222,13 @@ export default { |
222 | padding-right: 3px; | 222 | padding-right: 3px; |
223 | } | 223 | } |
224 | 224 | ||
225 | /deep/.el-radio__label { | 225 | .table-radio { |
226 | display: none; | 226 | /deep/.el-radio__label { |
227 | display: none; | ||
228 | } | ||
229 | } | ||
230 | |||
231 | /deep/.el-radio { | ||
232 | margin-right: 5px !important; | ||
227 | } | 233 | } |
228 | </style> | 234 | </style> | ... | ... |
... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
16 | :data="data" style="width: 100%" :span-method="this.merge ? this.mergeMethod : this.spanMethod"> | 16 | :data="data" style="width: 100%" :span-method="this.merge ? this.mergeMethod : this.spanMethod"> |
17 | <el-table-column width="45" align="center" v-if="isRadio"> | 17 | <el-table-column width="45" align="center" v-if="isRadio"> |
18 | <template slot-scope="scope"> | 18 | <template slot-scope="scope"> |
19 | <el-radio v-model="selected" :label="scope.$index"></el-radio> | 19 | <el-radio v-model="selected" :label="scope.$index" class="table-radio"></el-radio> |
20 | </template> | 20 | </template> |
21 | </el-table-column> | 21 | </el-table-column> |
22 | 22 | ||
... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
31 | 31 | ||
32 | <el-table-column width="45" align="center" v-if="isRadio"> | 32 | <el-table-column width="45" align="center" v-if="isRadio"> |
33 | <template slot-scope="scope"> | 33 | <template slot-scope="scope"> |
34 | <el-radio v-model="selected" :label="scope.$index"></el-radio> | 34 | <el-radio v-model="selected" :label="scope.$index" class="table-radio"></el-radio> |
35 | </template> | 35 | </template> |
36 | </el-table-column> | 36 | </el-table-column> |
37 | <lb-column v-bind="$attrs" v-for="(item, index) in column" :key="index" :column="item"> | 37 | <lb-column v-bind="$attrs" v-for="(item, index) in column" :key="index" :column="item"> |
... | @@ -222,7 +222,13 @@ export default { | ... | @@ -222,7 +222,13 @@ export default { |
222 | padding-right: 3px; | 222 | padding-right: 3px; |
223 | } | 223 | } |
224 | 224 | ||
225 | /deep/.el-radio__label { | 225 | .table-radio { |
226 | display: none; | 226 | /deep/.el-radio__label { |
227 | display: none; | ||
228 | } | ||
229 | } | ||
230 | |||
231 | /deep/.el-radio { | ||
232 | margin-right: 5px !important; | ||
227 | } | 233 | } |
228 | </style> | 234 | </style> | ... | ... |
... | @@ -189,7 +189,7 @@ | ... | @@ -189,7 +189,7 @@ |
189 | </div> | 189 | </div> |
190 | </template> | 190 | </template> |
191 | <script> | 191 | <script> |
192 | import { getLpb } from '@/api/zhcx' | 192 | import { getLpb } from '@/api/lpb' |
193 | export default { | 193 | export default { |
194 | name: "", | 194 | name: "", |
195 | components: { }, | 195 | components: { }, | ... | ... |
src/views/system/sqywgz/sqywDetail.js
0 → 100644
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | djqxCol () { | ||
12 | return [ | ||
13 | { | ||
14 | width: '60', | ||
15 | renderHeader: (h, scope) => { | ||
16 | return <i class="el-icon-plus pointer" onClick={() => { vm.handleAdd() }} style="color:#409EFF"></i> | ||
17 | }, | ||
18 | render: (h, scope) => { | ||
19 | return ( | ||
20 | <i class="el-icon-minus pointer" onClick={() => { vm.handleMinus(scope.$index, scope.row) }}></i> | ||
21 | ) | ||
22 | } | ||
23 | }, | ||
24 | { | ||
25 | width: '60', | ||
26 | label: '序号', | ||
27 | type: 'index' | ||
28 | }, | ||
29 | { | ||
30 | prop: 'nodecode', | ||
31 | width: '105', | ||
32 | label: '登记情形编码', | ||
33 | render: (h, scope) => { | ||
34 | return ( | ||
35 | <div> | ||
36 | <el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} disabled={scope.row.sftsdjqx == '1'} | ||
37 | value={scope.row[scope.column.property]} | ||
38 | onInput={(val) => { scope.row[scope.column.property] = val }} onBlur={() => { vm.nodecodeBlur(scope.$index, scope.row) }} maxlength="8"> | ||
39 | </el-input> | ||
40 | </div> | ||
41 | ) | ||
42 | } | ||
43 | }, | ||
44 | { | ||
45 | prop: 'nodename', | ||
46 | label: '登记情形名称', | ||
47 | render: (h, scope) => { | ||
48 | return ( | ||
49 | <div> | ||
50 | <el-input placeholder="登记情形名称" disabled={scope.row.sftsdjqx == '1'} | ||
51 | value={scope.row[scope.column.property]} | ||
52 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | ||
53 | </div> | ||
54 | ) | ||
55 | } | ||
56 | }, | ||
57 | { | ||
58 | label: '是否启用登记情形', | ||
59 | width: '141', | ||
60 | render: (h, scope) => { | ||
61 | return ( | ||
62 | <el-radio-group v-model={scope.row.enabled} disabled={scope.row.sftsdjqx == '1'} onChange={(val) => { scope.row[scope.column.property] = val }}> | ||
63 | <el-radio label={'1'}>启用</el-radio> | ||
64 | <el-radio label={'0'}>禁用</el-radio> | ||
65 | </el-radio-group> | ||
66 | ) | ||
67 | } | ||
68 | }, | ||
69 | { | ||
70 | prop: 'djyy', | ||
71 | label: '登记原因模板', | ||
72 | render: (h, scope) => { | ||
73 | return ( | ||
74 | <div> | ||
75 | <el-input placeholder="登记原因模板" disabled={scope.row.sftsdjqx == '1'} value={scope.row[scope.column.property]} | ||
76 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | ||
77 | </div> | ||
78 | |||
79 | ) | ||
80 | } | ||
81 | }, | ||
82 | { | ||
83 | label: '是否启用模板', | ||
84 | width: '140', | ||
85 | render: (h, scope) => { | ||
86 | return ( | ||
87 | <el-radio-group v-model={scope.row.sfqydjyymb} disabled={scope.row.sftsdjqx == '1'} onChange={(val) => { scope.row[scope.column.property] = val }}> | ||
88 | <el-radio label={'1'}>启用</el-radio> | ||
89 | <el-radio label={'0'}>禁用</el-radio> | ||
90 | </el-radio-group> | ||
91 | ) | ||
92 | } | ||
93 | }, | ||
94 | { | ||
95 | label: '移动', | ||
96 | width: '100', | ||
97 | render: (h, scope) => { | ||
98 | return ( | ||
99 | <div> | ||
100 | <el-button type='text' disabled={scope.$index == 0} onClick={() => { vm.moveUpward(scope.$index, scope.row, 'djqx') }}>上移</el-button> | ||
101 | <el-button type='text' disabled={(scope.$index + 1) == vm.form.djqx.length} onClick={() => { vm.moveDown(scope.$index, scope.row, 'djqx') }}>下移</el-button > | ||
102 | </div> | ||
103 | ) | ||
104 | } | ||
105 | } | ||
106 | ] | ||
107 | } | ||
108 | |||
109 | clxxCol () { | ||
110 | return [ | ||
111 | { | ||
112 | width: '60', | ||
113 | renderHeader: (h, scope) => { | ||
114 | return <i class="el-icon-plus pointer" onClick={() => { vm.handleAdd() }} style="color:#409EFF"></i> | ||
115 | }, | ||
116 | render: (h, scope) => { | ||
117 | return ( | ||
118 | <i class="el-icon-minus pointer" onClick={() => { vm.handleMinus(scope.$index, scope.row) }}></i> | ||
119 | ) | ||
120 | } | ||
121 | }, | ||
122 | { | ||
123 | width: '60', | ||
124 | label: '序号', | ||
125 | type: 'index' | ||
126 | }, | ||
127 | { | ||
128 | label: '是否必填', | ||
129 | prop: 'isrequired', | ||
130 | width: '110', | ||
131 | render: (h, scope) => { | ||
132 | return ( | ||
133 | <el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { | ||
134 | scope.row[scope.column.property] = val | ||
135 | }}> | ||
136 | <el-radio label={'0'}>否</el-radio> | ||
137 | <el-radio label={'1'}>是</el-radio> | ||
138 | </el-radio-group> | ||
139 | ) | ||
140 | } | ||
141 | }, | ||
142 | { | ||
143 | prop: 'clbm', | ||
144 | label: '材料编码', | ||
145 | width: '100', | ||
146 | render: (h, scope) => { | ||
147 | return ( | ||
148 | <el-input placeholder="材料编码" value={scope.row[scope.column.property]} | ||
149 | onInput={(val) => { scope.row[scope.column.property] = val }} maxlength="8"></el-input> | ||
150 | ) | ||
151 | } | ||
152 | }, | ||
153 | { | ||
154 | prop: 'clmc', | ||
155 | label: '材料名称', | ||
156 | render: (h, scope) => { | ||
157 | return ( | ||
158 | <el-input placeholder="材料名称" value={scope.row[scope.column.property]} | ||
159 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | ||
160 | ) | ||
161 | } | ||
162 | }, | ||
163 | { | ||
164 | prop: 'cllx', | ||
165 | label: '材料类型', | ||
166 | width: '115', | ||
167 | render: (h, scope) => { | ||
168 | return ( | ||
169 | <el-select value={scope.row[scope.column.property]} | ||
170 | onChange={(val) => { scope.row[scope.column.property] = val }} clearable> | ||
171 | { | ||
172 | vm.dictData['A40'].map(option => { | ||
173 | return ( | ||
174 | <el-option label={option.dname} value={option.dcode}></el-option> | ||
175 | ) | ||
176 | }) | ||
177 | } | ||
178 | </el-select> | ||
179 | ) | ||
180 | } | ||
181 | }, | ||
182 | { | ||
183 | label: '是否公共材料', | ||
184 | width: '110', | ||
185 | render: (h, scope) => { | ||
186 | return ( | ||
187 | <el-radio-group v-model={scope.row.sfggcl} onChange={(val) => { scope.row[scope.column.property] = val; vm.handleSelectGgcl(scope.row) }}> | ||
188 | <el-radio label={'1'}>是</el-radio> | ||
189 | <el-radio label={'0'}>否</el-radio> | ||
190 | </el-radio-group> | ||
191 | ) | ||
192 | } | ||
193 | }, | ||
194 | { | ||
195 | prop: 'djqxbm', | ||
196 | label: '登记情形', | ||
197 | width: '180', | ||
198 | render: (h, scope) => { | ||
199 | return ( | ||
200 | <el-select disabled={scope.row.sfggcl == '1'} value={scope.row[scope.column.property]} | ||
201 | onChange={(val) => { scope.row[scope.column.property] = val }} clearable> | ||
202 | { | ||
203 | vm.form.djqx.map(option => { | ||
204 | return ( | ||
205 | <el-option label={option.nodename} value={option.nodecode}></el-option> | ||
206 | ) | ||
207 | }) | ||
208 | } | ||
209 | </el-select> | ||
210 | ) | ||
211 | } | ||
212 | }, | ||
213 | { | ||
214 | label: '移动', | ||
215 | width: '90', | ||
216 | render: (h, scope) => { | ||
217 | return ( | ||
218 | <div> | ||
219 | <el-button type='text' disabled={scope.$index == 0} onClick={() => { vm.moveUpward(scope.$index, scope.row, 'clxx') }}>上移</el-button> | ||
220 | <el-button type='text' disabled={(scope.$index + 1) == vm.form.clxx.length} onClick={() => { vm.moveDown(scope.$index, scope.row, 'clxx') }}>下移</el-button > | ||
221 | </div> | ||
222 | ) | ||
223 | } | ||
224 | } | ||
225 | ] | ||
226 | } | ||
227 | |||
228 | } | ||
229 | let datas = new data() | ||
230 | export { | ||
231 | datas, | ||
232 | sendThis | ||
233 | } |
... | @@ -69,7 +69,7 @@ | ... | @@ -69,7 +69,7 @@ |
69 | </el-col> | 69 | </el-col> |
70 | <el-col :span="1"> | 70 | <el-col :span="1"> |
71 | <el-upload ref="upload" :action="imgUploadUrl" :limit="1" accept=".xls, .xlsx" :show-file-list="false" | 71 | <el-upload ref="upload" :action="imgUploadUrl" :limit="1" accept=".xls, .xlsx" :show-file-list="false" |
72 | :disabled='requested' :file-list="fileList" :before-upload="uploadRecord" :on-success="handleSuccess"> | 72 | :disabled="requested" :file-list="fileList" :before-upload="uploadRecord" :on-success="handleSuccess"> |
73 | <el-button type="primary" icon="el-icon-upload" :loading="requested">上传材料</el-button> | 73 | <el-button type="primary" icon="el-icon-upload" :loading="requested">上传材料</el-button> |
74 | </el-upload> | 74 | </el-upload> |
75 | </el-col> | 75 | </el-col> |
... | @@ -96,14 +96,17 @@ | ... | @@ -96,14 +96,17 @@ |
96 | <div class="dyztsd-title"> | 96 | <div class="dyztsd-title"> |
97 | <b>请勾选需要查询的权利信息</b> | 97 | <b>请勾选需要查询的权利信息</b> |
98 | <div> | 98 | <div> |
99 | <el-button type="text" @click="handleSelectall">选择全部 </el-button> | 99 | <el-button type="text" @click="handleSelectall">选择全部 |
100 | </el-button> | ||
100 | <el-button type="text" @click="handleInvert">清除全部</el-button> | 101 | <el-button type="text" @click="handleInvert">清除全部</el-button> |
101 | </div> | 102 | </div> |
102 | </div> | 103 | </div> |
103 | <el-divider></el-divider> | 104 | <el-divider></el-divider> |
104 | <ul class="qlxx-list"> | 105 | <ul class="qlxx-list"> |
105 | <li v-for="(item, index) in form.sxql" :key="index"> | 106 | <li v-for="(item, index) in form.sxql" :key="index"> |
106 | <el-checkbox v-model="item.checked">{{ item.sxzdmc }}</el-checkbox> | 107 | <el-checkbox v-model="item.checked">{{ |
108 | item.sxzdmc | ||
109 | }}</el-checkbox> | ||
107 | </li> | 110 | </li> |
108 | </ul> | 111 | </ul> |
109 | </el-collapse-item> | 112 | </el-collapse-item> |
... | @@ -112,10 +115,11 @@ | ... | @@ -112,10 +115,11 @@ |
112 | <li v-for="(item, index) in form.sxzt" :key="index"> | 115 | <li v-for="(item, index) in form.sxzt" :key="index"> |
113 | <div class="screen-list-left"> | 116 | <div class="screen-list-left"> |
114 | {{ item.sxzdmc }} : | 117 | {{ item.sxzdmc }} : |
115 | <el-radio-group v-model="item.selected"> | 118 | <el-checkbox v-model="item.checked">禁止办理</el-checkbox> |
119 | <!-- <el-radio-group v-model="item.selected"> | ||
116 | <el-radio label="1">禁止办理</el-radio> | 120 | <el-radio label="1">禁止办理</el-radio> |
117 | <el-radio label="0">忽略</el-radio> | 121 | <el-radio label="0">忽略</el-radio> |
118 | </el-radio-group> | 122 | </el-radio-group> --> |
119 | </div> | 123 | </div> |
120 | </li> | 124 | </li> |
121 | </ul> | 125 | </ul> |
... | @@ -129,9 +133,10 @@ | ... | @@ -129,9 +133,10 @@ |
129 | </el-dialog> | 133 | </el-dialog> |
130 | </template> | 134 | </template> |
131 | <script> | 135 | <script> |
132 | import { mapGetters } from 'vuex'; | 136 | import { mapGetters } from "vuex"; |
133 | import { upward, down } from '@/utils/operation' | 137 | import { upward, down } from "@/utils/operation"; |
134 | import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/system.js"; | 138 | import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/system.js"; |
139 | import { datas, sendThis } from "./sqywDetail"; | ||
135 | export default { | 140 | export default { |
136 | //父组件 传 过来的 值 | 141 | //父组件 传 过来的 值 |
137 | props: { | 142 | props: { |
... | @@ -158,220 +163,16 @@ export default { | ... | @@ -158,220 +163,16 @@ export default { |
158 | title: "", | 163 | title: "", |
159 | activeName: "1", | 164 | activeName: "1", |
160 | form: {}, | 165 | form: {}, |
161 | djqxCol: [ | 166 | djqxCol: datas.djqxCol(), |
162 | { | 167 | clxxCol: datas.clxxCol(), |
163 | width: '60', | ||
164 | renderHeader: (h, scope) => { | ||
165 | return <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }} style="color:#409EFF"></i> | ||
166 | }, | ||
167 | render: (h, scope) => { | ||
168 | return ( | ||
169 | <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> | ||
170 | ) | ||
171 | } | ||
172 | }, | ||
173 | { | ||
174 | width: '60', | ||
175 | label: '序号', | ||
176 | type: 'index' | ||
177 | }, | ||
178 | { | ||
179 | prop: 'nodecode', | ||
180 | width: '105', | ||
181 | label: '登记情形编码', | ||
182 | render: (h, scope) => { | ||
183 | return ( | ||
184 | <div> | ||
185 | <el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} disabled={scope.row.sftsdjqx == '1'} | ||
186 | value={scope.row[scope.column.property]} | ||
187 | onInput={(val) => { scope.row[scope.column.property] = val }} onBlur={() => { this.nodecodeBlur(scope.$index, scope.row) }} maxlength="8"> | ||
188 | </el-input> | ||
189 | </div> | ||
190 | ) | ||
191 | } | ||
192 | }, | ||
193 | { | ||
194 | prop: 'nodename', | ||
195 | label: '登记情形名称', | ||
196 | render: (h, scope) => { | ||
197 | return ( | ||
198 | <div> | ||
199 | <el-input placeholder="登记情形名称" disabled={scope.row.sftsdjqx == '1'} | ||
200 | value={scope.row[scope.column.property]} | ||
201 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | ||
202 | </div> | ||
203 | ) | ||
204 | } | ||
205 | }, | ||
206 | { | ||
207 | label: '是否启用登记情形', | ||
208 | width: '141', | ||
209 | render: (h, scope) => { | ||
210 | return ( | ||
211 | <el-radio-group v-model={scope.row.enabled} disabled={scope.row.sftsdjqx == '1'} onChange={(val) => { scope.row[scope.column.property] = val }}> | ||
212 | <el-radio label={'1'}>启用</el-radio> | ||
213 | <el-radio label={'0'}>禁用</el-radio> | ||
214 | </el-radio-group> | ||
215 | ) | ||
216 | } | ||
217 | }, | ||
218 | { | ||
219 | prop: 'djyy', | ||
220 | label: '登记原因模板', | ||
221 | render: (h, scope) => { | ||
222 | return ( | ||
223 | <div> | ||
224 | <el-input placeholder="登记原因模板" disabled={scope.row.sftsdjqx == '1'} value={scope.row[scope.column.property]} | ||
225 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | ||
226 | </div> | ||
227 | |||
228 | ) | ||
229 | } | ||
230 | }, | ||
231 | { | ||
232 | label: '是否启用模板', | ||
233 | width: '140', | ||
234 | render: (h, scope) => { | ||
235 | return ( | ||
236 | <el-radio-group v-model={scope.row.sfqydjyymb} disabled={scope.row.sftsdjqx == '1'} onChange={(val) => { scope.row[scope.column.property] = val }}> | ||
237 | <el-radio label={'1'}>启用</el-radio> | ||
238 | <el-radio label={'0'}>禁用</el-radio> | ||
239 | </el-radio-group> | ||
240 | ) | ||
241 | } | ||
242 | }, | ||
243 | { | ||
244 | label: '移动', | ||
245 | width: '100', | ||
246 | render: (h, scope) => { | ||
247 | return ( | ||
248 | <div> | ||
249 | <el-button type='text' disabled={scope.$index == 0} onClick={() => { this.moveUpward(scope.$index, scope.row) }}>上移</el-button> | ||
250 | <el-button type='text' disabled={(scope.$index + 1) == this.form.djqx.length} onClick={() => { this.moveDown(scope.$index, scope.row) }}>下移</el-button > | ||
251 | </div> | ||
252 | ) | ||
253 | } | ||
254 | } | ||
255 | ], | ||
256 | clxxCol: [ | ||
257 | { | ||
258 | width: '60', | ||
259 | renderHeader: (h, scope) => { | ||
260 | return <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }} style="color:#409EFF"></i> | ||
261 | }, | ||
262 | render: (h, scope) => { | ||
263 | return ( | ||
264 | <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> | ||
265 | ) | ||
266 | } | ||
267 | }, | ||
268 | { | ||
269 | width: '60', | ||
270 | label: '序号', | ||
271 | type: 'index' | ||
272 | }, | ||
273 | { | ||
274 | label: '是否必填', | ||
275 | width: '100', | ||
276 | render: (h, scope) => { | ||
277 | return ( | ||
278 | <el-radio-group v-model={scope.row.isrequired} onChange={(val) => { scope.row[scope.column.property] = val }}> | ||
279 | <el-radio label={'1'}>是</el-radio> | ||
280 | <el-radio label={'0'}>否</el-radio> | ||
281 | </el-radio-group> | ||
282 | ) | ||
283 | } | ||
284 | }, | ||
285 | { | ||
286 | prop: 'clbm', | ||
287 | label: '材料编码', | ||
288 | width: '100', | ||
289 | render: (h, scope) => { | ||
290 | return ( | ||
291 | <el-input placeholder="材料编码" value={scope.row[scope.column.property]} | ||
292 | onInput={(val) => { scope.row[scope.column.property] = val }} maxlength="8"></el-input> | ||
293 | ) | ||
294 | } | ||
295 | }, | ||
296 | { | ||
297 | prop: 'clmc', | ||
298 | label: '材料名称', | ||
299 | render: (h, scope) => { | ||
300 | return ( | ||
301 | <el-input placeholder="材料名称" value={scope.row[scope.column.property]} | ||
302 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | ||
303 | ) | ||
304 | } | ||
305 | }, | ||
306 | { | ||
307 | prop: 'cllx', | ||
308 | label: '材料类型', | ||
309 | width: '115', | ||
310 | render: (h, scope) => { | ||
311 | return ( | ||
312 | <el-select value={scope.row[scope.column.property]} | ||
313 | onChange={(val) => { scope.row[scope.column.property] = val }} clearable> | ||
314 | { | ||
315 | this.dictData['A40'].map(option => { | ||
316 | return ( | ||
317 | <el-option label={option.dname} value={option.dcode}></el-option> | ||
318 | ) | ||
319 | }) | ||
320 | } | ||
321 | </el-select> | ||
322 | ) | ||
323 | } | ||
324 | }, | ||
325 | { | ||
326 | label: '是否公共材料', | ||
327 | width: '110', | ||
328 | render: (h, scope) => { | ||
329 | return ( | ||
330 | <el-radio-group v-model={scope.row.sfggcl} onChange={(val) => { scope.row[scope.column.property] = val; this.handleSelectGgcl(scope.row) }}> | ||
331 | <el-radio label={'1'}>是</el-radio> | ||
332 | <el-radio label={'0'}>否</el-radio> | ||
333 | </el-radio-group> | ||
334 | ) | ||
335 | } | ||
336 | }, | ||
337 | { | ||
338 | prop: 'djqxbm', | ||
339 | label: '登记情形', | ||
340 | width: '180', | ||
341 | render: (h, scope) => { | ||
342 | return ( | ||
343 | <el-select disabled={scope.row.sfggcl == '1'} value={scope.row[scope.column.property]} | ||
344 | onChange={(val) => { scope.row[scope.column.property] = val }} clearable> | ||
345 | { | ||
346 | this.form.djqx.map(option => { | ||
347 | return ( | ||
348 | <el-option label={option.nodename} value={option.nodecode}></el-option> | ||
349 | ) | ||
350 | }) | ||
351 | } | ||
352 | </el-select> | ||
353 | ) | ||
354 | } | ||
355 | }, | ||
356 | { | ||
357 | label: '移动', | ||
358 | width: '90', | ||
359 | render: (h, scope) => { | ||
360 | return ( | ||
361 | <div> | ||
362 | <el-button type='text' disabled={scope.$index == 0} onClick={() => { this.moveUpward(scope.$index, scope.row) }}>上移</el-button> | ||
363 | <el-button type='text' disabled={(scope.$index + 1) == this.form.clxx.length} onClick={() => { this.moveDown(scope.$index, scope.row) }}>下移</el-button > | ||
364 | </div> | ||
365 | ) | ||
366 | } | ||
367 | } | ||
368 | ], | ||
369 | }; | 168 | }; |
370 | }, | 169 | }, |
371 | computed: { | 170 | computed: { |
372 | ...mapGetters(['dictData']) | 171 | ...mapGetters(["dictData"]), |
172 | }, | ||
173 | mounted () { | ||
174 | sendThis(this); | ||
373 | }, | 175 | }, |
374 | mounted () { }, | ||
375 | methods: { | 176 | methods: { |
376 | //页面初始化 | 177 | //页面初始化 |
377 | init () { | 178 | init () { |
... | @@ -379,11 +180,11 @@ export default { | ... | @@ -379,11 +180,11 @@ export default { |
379 | getDjlxInfo(this.sqqlRule.bsmSqyw).then((res) => { | 180 | getDjlxInfo(this.sqqlRule.bsmSqyw).then((res) => { |
380 | let { result } = res; | 181 | let { result } = res; |
381 | this.djlxList = result ? result : []; | 182 | this.djlxList = result ? result : []; |
382 | if(this.djlxList.length>0){ | 183 | if (this.djlxList.length > 0) { |
383 | this.getDetail(this.djlxList[0].bsmSqyw); | 184 | this.getDetail(this.djlxList[0].bsmSqyw); |
384 | }else{ | 185 | } else { |
385 | this.getDetail(this.sqqlRule.bsmSqyw); | 186 | this.getDetail(this.sqqlRule.bsmSqyw); |
386 | } | 187 | } |
387 | }); | 188 | }); |
388 | //} | 189 | //} |
389 | }, | 190 | }, |
... | @@ -406,20 +207,36 @@ export default { | ... | @@ -406,20 +207,36 @@ export default { |
406 | //提交保存数据 | 207 | //提交保存数据 |
407 | submit () { | 208 | submit () { |
408 | let that = this; | 209 | let that = this; |
409 | saveSqdjyw(this.form).then(res => { | 210 | saveSqdjyw(this.form).then((res) => { |
410 | if (res.code == 200) { | 211 | if (res.code == 200) { |
411 | that.$message({ | 212 | that.$message({ |
412 | message: '修改成功', | 213 | message: "修改成功", |
413 | type: 'success' | 214 | type: "success", |
414 | }) | 215 | }); |
415 | // that.$emit('input', false) | 216 | // that.$emit('input', false) |
416 | } | 217 | } |
417 | }) | 218 | }); |
418 | }, | 219 | }, |
419 | //修改父组件传过来的值 | 220 | //修改父组件传过来的值 |
420 | cancelDialog () { | 221 | cancelDialog () { |
421 | this.$emit("update:dialogVisible", false); | 222 | this.$emit("update:dialogVisible", false); |
422 | }, | 223 | }, |
224 | // 上移下移 | ||
225 | moveUpward (index, row, type) { | ||
226 | if (type == "clxx") { | ||
227 | upward(index, this.form.clxx) | ||
228 | } else { | ||
229 | upward(index, this.form.djqx) | ||
230 | } | ||
231 | |||
232 | }, | ||
233 | moveDown (index, row, type) { | ||
234 | if (type == "clxx") { | ||
235 | down(index, this.form.clxx) | ||
236 | } else { | ||
237 | down(index, this.form.djqx) | ||
238 | } | ||
239 | }, | ||
423 | }, | 240 | }, |
424 | }; | 241 | }; |
425 | </script> | 242 | </script> | ... | ... |
... | @@ -6,22 +6,44 @@ | ... | @@ -6,22 +6,44 @@ |
6 | <el-row :gutter="20"> | 6 | <el-row :gutter="20"> |
7 | <el-col :span="6"> | 7 | <el-col :span="6"> |
8 | <el-form-item label="权利类型"> | 8 | <el-form-item label="权利类型"> |
9 | <el-select v-model="queryForm.qllx" @change="queryClick" filterable class="width100" clearable | 9 | <el-select |
10 | placeholder="请选择权利类型"> | 10 | v-model="queryForm.qllx" |
11 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> | 11 | @change="queryClick" |
12 | filterable | ||
13 | class="width100" | ||
14 | clearable | ||
15 | placeholder="请选择权利类型" | ||
16 | > | ||
17 | <el-option | ||
18 | v-for="item in qllxs" | ||
19 | :key="item.value" | ||
20 | :label="item.label" | ||
21 | :value="item.value" | ||
22 | > | ||
12 | </el-option> | 23 | </el-option> |
13 | </el-select> | 24 | </el-select> |
14 | </el-form-item> | 25 | </el-form-item> |
15 | </el-col> | 26 | </el-col> |
16 | <el-col :span="6"> | 27 | <el-col :span="6"> |
17 | <el-form-item label="登记业务编码"> | 28 | <el-form-item label="登记业务编码"> |
18 | <el-input placeholder="请输入登记业务编码" @clear="queryClick" v-model="queryForm.djywbm" clearable> | 29 | <el-input |
30 | placeholder="请输入登记业务编码" | ||
31 | @clear="queryClick" | ||
32 | v-model="queryForm.djywbm" | ||
33 | clearable | ||
34 | > | ||
19 | </el-input> | 35 | </el-input> |
20 | </el-form-item> | 36 | </el-form-item> |
21 | </el-col> | 37 | </el-col> |
22 | <el-col :span="12" class="btnColRight"> | 38 | <el-col :span="12" class="btnColRight"> |
23 | <el-form-item> | 39 | <el-form-item> |
24 | <el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick">查询</el-button> | 40 | <el-button |
41 | type="primary" | ||
42 | native-type="submit" | ||
43 | icon="el-icon-search" | ||
44 | @click="queryClick" | ||
45 | >查询</el-button | ||
46 | > | ||
25 | </el-form-item> | 47 | </el-form-item> |
26 | </el-col> | 48 | </el-col> |
27 | </el-row> | 49 | </el-row> |
... | @@ -29,38 +51,50 @@ | ... | @@ -29,38 +51,50 @@ |
29 | </div> | 51 | </div> |
30 | <!-- 表格 --> | 52 | <!-- 表格 --> |
31 | <div class="from-clues-content"> | 53 | <div class="from-clues-content"> |
32 | <lb-table :page-size="pageData.pageSize" class="loadingtext" :current-page.sync="pageData.currentPage" | 54 | <lb-table |
33 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 55 | :page-size="pageData.pageSize" |
34 | :column="tableData.columns" :data="tableData.data"> | 56 | class="loadingtext" |
57 | :current-page.sync="pageData.currentPage" | ||
58 | :total="tableData.total" | ||
59 | @size-change="handleSizeChange" | ||
60 | @p-current-change="handleCurrentChange" | ||
61 | :column="tableData.columns" | ||
62 | :data="tableData.data" | ||
63 | > | ||
35 | </lb-table> | 64 | </lb-table> |
36 | </div> | 65 | </div> |
37 | <!-- <editDialog v-model="isDialog" :detailList="detailList" :bsmSqyw="bsmSqyw" /> --> | 66 | <!-- <editDialog v-model="isDialog" :detailList="detailList" :bsmSqyw="bsmSqyw" /> --> |
38 | <component-dialog :dialogVisible="dialogVisible" v-if="sqqlRule&&flag" :sqqlRule="sqqlRule" @update:dialogVisible="dialogVisibles"></component-dialog> | 67 | <component-dialog |
68 | :dialogVisible="dialogVisible" | ||
69 | v-if="sqqlRule && flag" | ||
70 | :sqqlRule="sqqlRule" | ||
71 | @update:dialogVisible="dialogVisibles" | ||
72 | ></component-dialog> | ||
39 | </div> | 73 | </div> |
40 | </template> | 74 | </template> |
41 | <script> | 75 | <script> |
42 | import table from "@/utils/mixin/table" | 76 | import table from "@/utils/mixin/table"; |
43 | import editDialog from "./components/editDialog.vue" | 77 | import editDialog from "./components/editDialog.vue"; |
44 | import componentDialog from "./sqywDetail.vue" | 78 | import componentDialog from "./sqywDetail.vue"; |
45 | import { datas, sendThis } from "./sqywgzdata" | 79 | import { datas, sendThis } from "./sqywgzdata"; |
46 | import { getSysSqdjywBysearch, getDjlxInfo } from "@/api/system.js" | 80 | import { getSysSqdjywBysearch, getDjlxInfo } from "@/api/system.js"; |
47 | export default { | 81 | export default { |
48 | name: "djbcx", | 82 | name: "djbcx", |
49 | components: { | 83 | components: { |
50 | editDialog, | 84 | editDialog, |
51 | componentDialog | 85 | componentDialog, |
52 | }, | 86 | }, |
53 | mixins: [table], | 87 | mixins: [table], |
54 | mounted () { | 88 | mounted() { |
55 | sendThis(this); | 89 | sendThis(this); |
56 | this.queryClick() | 90 | this.queryClick(); |
57 | }, | 91 | }, |
58 | data () { | 92 | data() { |
59 | return { | 93 | return { |
60 | flag:false, | 94 | flag: false, |
61 | //控制弹窗 显示 | 95 | //控制弹窗 显示 |
62 | dialogVisible: false, | 96 | dialogVisible: false, |
63 | qllxmc:"", | 97 | qllxmc: "", |
64 | isDialog: false, | 98 | isDialog: false, |
65 | queryForm: { | 99 | queryForm: { |
66 | qllx: "", | 100 | qllx: "", |
... | @@ -70,31 +104,33 @@ export default { | ... | @@ -70,31 +104,33 @@ export default { |
70 | tableData: { | 104 | tableData: { |
71 | total: 0, | 105 | total: 0, |
72 | columns: datas.columns(), | 106 | columns: datas.columns(), |
73 | data: [] | 107 | data: [], |
74 | }, | 108 | }, |
75 | detailList: [], | 109 | detailList: [], |
76 | bsmSqyw:"", | 110 | bsmSqyw: "", |
77 | sqqlRule:"", | 111 | sqqlRule: "", |
78 | } | 112 | }; |
79 | }, | 113 | }, |
80 | methods: { | 114 | methods: { |
81 | // 初始化数据 | 115 | // 初始化数据 |
82 | queryClick () { | 116 | queryClick() { |
83 | this.$startLoading(); | 117 | this.$startLoading(); |
84 | getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then(res => { | 118 | getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then( |
85 | this.$endLoading(); | 119 | (res) => { |
86 | if (res.code === 200) { | 120 | this.$endLoading(); |
87 | let { total, records } = res.result | 121 | if (res.code === 200) { |
88 | this.tableData.total = total ? total : 0 | 122 | let { total, records } = res.result; |
89 | this.tableData.data = records ? records : [] | 123 | this.tableData.total = total ? total : 0; |
124 | this.tableData.data = records ? records : []; | ||
125 | } | ||
90 | } | 126 | } |
91 | }) | 127 | ); |
92 | }, | 128 | }, |
93 | //编辑 | 129 | //编辑 |
94 | editClick (row) { | 130 | editClick(row) { |
95 | this.flag=true; | 131 | this.flag = true; |
96 | this.sqqlRule = row; | 132 | this.sqqlRule = row; |
97 | this.dialogVisible = true; | 133 | this.dialogVisible = true; |
98 | // if (row.nodecode === 'B50') { | 134 | // if (row.nodecode === 'B50') { |
99 | // this.detailList = [] | 135 | // this.detailList = [] |
100 | // this.bsmSqyw = row.bsmSqyw | 136 | // this.bsmSqyw = row.bsmSqyw |
... | @@ -107,10 +143,10 @@ export default { | ... | @@ -107,10 +143,10 @@ export default { |
107 | // }) | 143 | // }) |
108 | // } | 144 | // } |
109 | }, | 145 | }, |
110 | //子组件传 过来的 数据 | 146 | //子组件传 过来的 数据 |
111 | dialogVisibles(v){ | 147 | dialogVisibles(v) { |
112 | this.dialogVisible = v; | 148 | this.dialogVisible = v; |
113 | } | 149 | }, |
114 | }, | 150 | }, |
115 | }; | 151 | }; |
116 | </script> | 152 | </script> | ... | ... |
... | @@ -196,18 +196,6 @@ export default { | ... | @@ -196,18 +196,6 @@ export default { |
196 | this.$refs["ruleForm"].resetFields(); | 196 | this.$refs["ruleForm"].resetFields(); |
197 | }, | 197 | }, |
198 | submitForm () { | 198 | submitForm () { |
199 | // this.$refs['ruleForm'].validate((valid) => { | ||
200 | // if (valid) { | ||
201 | // this.$message({ | ||
202 | // message: '修改成功!', | ||
203 | // type: 'success' | ||
204 | // }) | ||
205 | |||
206 | // } else { | ||
207 | // this.$message.error('请完善必填项'); | ||
208 | // } | ||
209 | // }) | ||
210 | |||
211 | this.$refs.ruleForm.validate((valid) => { | 199 | this.$refs.ruleForm.validate((valid) => { |
212 | if (valid) { | 200 | if (valid) { |
213 | this.$emit("input", false); | 201 | this.$emit("input", false); | ... | ... |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | <lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList"> | 3 | <lb-table :column="column" :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="handleupdateDetail" /> |
6 | </div> | 6 | </div> |
7 | </template> | 7 | </template> |
8 | <script> | 8 | <script> |
... | @@ -67,15 +67,14 @@ export default { | ... | @@ -67,15 +67,14 @@ export default { |
67 | }, | 67 | }, |
68 | { | 68 | { |
69 | prop: "zjzl", | 69 | prop: "zjzl", |
70 | label: "证件种类2", | 70 | label: "证件种类", |
71 | render: (h, scope) => { | 71 | render: (h, scope) => { |
72 | this.dictData['A30'].forEach(item => { | 72 | return this.dictData['A30'].map(option => { |
73 | if (item.dcode == scope.row.zjzl) { | 73 | if (option.dcode == scope.row.zjzl) { |
74 | var varName =item.dname | 74 | return <span>{option.dname}</span> |
75 | return <div>varName</div> | ||
76 | } | 75 | } |
77 | }) | 76 | }) |
78 | } | 77 | } |
79 | }, | 78 | }, |
80 | { | 79 | { |
81 | prop: "zjh", | 80 | prop: "zjh", |
... | @@ -104,25 +103,27 @@ export default { | ... | @@ -104,25 +103,27 @@ export default { |
104 | } | 103 | } |
105 | } | 104 | } |
106 | ], | 105 | ], |
107 | column: this.InformationTable | 106 | column: [] |
108 | } | 107 | } |
109 | }, | 108 | }, |
110 | watch: { | 109 | watch: { |
111 | tableData: { | 110 | tableData: { |
112 | handler: function (val, oldVal) { | 111 | handler: function (val, oldVal) { |
113 | let that = this | 112 | let that = this |
114 | if (val.length == 0 || !val) { | 113 | this.$nextTick(() => { |
115 | that.tableDataList = _.cloneDeep([{ | 114 | if (val.length == 0 || !val) { |
116 | sqrmc: '', | 115 | that.tableDataList = _.cloneDeep([{ |
117 | dlrzjlx: '', | 116 | sqrmc: '', |
118 | dlrzjh: '', | 117 | dlrzjlx: '', |
119 | fr: '' | 118 | dlrzjh: '', |
120 | }]) | 119 | fr: '' |
121 | } else { | 120 | }]) |
122 | that.tableDataList = _.cloneDeep(val) | 121 | } else { |
123 | } | 122 | that.tableDataList = _.cloneDeep(val) |
123 | } | ||
124 | this.column = this.InformationTable | ||
125 | }) | ||
124 | }, | 126 | }, |
125 | immediate: true, | ||
126 | deep: true | 127 | deep: true |
127 | }, | 128 | }, |
128 | gyfs: { | 129 | gyfs: { |
... | @@ -130,7 +131,7 @@ export default { | ... | @@ -130,7 +131,7 @@ export default { |
130 | let dataList = _.cloneDeep(this.InformationTable) | 131 | let dataList = _.cloneDeep(this.InformationTable) |
131 | if (newVal == '0') { | 132 | if (newVal == '0') { |
132 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | 133 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) |
133 | } else if ((newVal == '1'||newVal == '3')) { | 134 | } else if ((newVal == '1' || newVal == '3')) { |
134 | this.column = dataList | 135 | this.column = dataList |
135 | } else { | 136 | } else { |
136 | this.column = _.cloneDeep(dataList) | 137 | this.column = _.cloneDeep(dataList) |
... | @@ -145,13 +146,14 @@ export default { | ... | @@ -145,13 +146,14 @@ export default { |
145 | } | 146 | } |
146 | }, | 147 | }, |
147 | methods: { | 148 | methods: { |
148 | updateDetail (value) { | 149 | handleupdateDetail (value) { |
149 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | 150 | if (!_.isEqual(value, this.tableData)) { |
150 | console.log(this.tableDataList); | 151 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); |
151 | // | 152 | // this.key++ |
152 | this.$emit('upDateQlrxxList', _.cloneDeep(this.tableDataList)) | 153 | this.$emit('upDateQlrxxList', this.tableDataList) |
154 | } | ||
153 | }, | 155 | }, |
154 | 156 | ||
155 | // 新增 | 157 | // 新增 |
156 | addClick () { | 158 | addClick () { |
157 | this.dialog = true | 159 | this.dialog = true | ... | ... |
... | @@ -81,7 +81,7 @@ | ... | @@ -81,7 +81,7 @@ |
81 | </el-form-item> | 81 | </el-form-item> |
82 | </el-col> | 82 | </el-col> |
83 | </el-row> | 83 | </el-row> |
84 | <el-row :gutter="10"> | 84 | <el-row :gutter="10"> |
85 | <el-col :span="8"> | 85 | <el-col :span="8"> |
86 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:"> | 86 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:"> |
87 | <el-input disabled v-model="ruleForm.qlxxold.bdcdyh"></el-input> | 87 | <el-input disabled v-model="ruleForm.qlxxold.bdcdyh"></el-input> |
... | @@ -155,7 +155,8 @@ | ... | @@ -155,7 +155,8 @@ |
155 | <el-row> | 155 | <el-row> |
156 | <el-col :span="24"> | 156 | <el-col :span="24"> |
157 | <el-form-item :class="flag ? 'marginBot0' : ''" label="担保范围:"> | 157 | <el-form-item :class="flag ? 'marginBot0' : ''" label="担保范围:"> |
158 | <el-input v-model="ruleForm.diyaq.dbfw" :disabled="$route.query.viewtype == 1||ruleForm.slywxx.djlx=='300'"></el-input> | 158 | <el-input v-model="ruleForm.diyaq.dbfw" |
159 | :disabled="$route.query.viewtype == 1 || ruleForm.slywxx.djlx == '300'"></el-input> | ||
159 | </el-form-item> | 160 | </el-form-item> |
160 | </el-col> | 161 | </el-col> |
161 | </el-row> | 162 | </el-row> |
... | @@ -221,12 +222,13 @@ | ... | @@ -221,12 +222,13 @@ |
221 | </div> | 222 | </div> |
222 | <el-row :gutter="10"> | 223 | <el-row :gutter="10"> |
223 | <el-col> | 224 | <el-col> |
224 | <el-form-item v-if="ruleForm.slywxx.djlx=='400'" :class="flag ? 'marginBot0' : ''" label="注销抵押原因:" prop="djyy"> | 225 | <el-form-item v-if="ruleForm.slywxx.djlx == '400'" :class="flag ? 'marginBot0' : ''" label="注销抵押原因:" |
226 | prop="djyy"> | ||
225 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" | 227 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" |
226 | v-model="ruleForm.diyaq.zxdyyy"> | 228 | v-model="ruleForm.diyaq.zxdyyy"> |
227 | </el-input> | 229 | </el-input> |
228 | </el-form-item> | 230 | </el-form-item> |
229 | <el-form-item v-else :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | 231 | <el-form-item v-else :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> |
230 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" | 232 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" |
231 | v-model="ruleForm.diyaq.djyy"> | 233 | v-model="ruleForm.diyaq.djyy"> |
232 | </el-input> | 234 | </el-input> |
... | @@ -259,7 +261,7 @@ export default { | ... | @@ -259,7 +261,7 @@ export default { |
259 | this.ruleForm = res.result; | 261 | this.ruleForm = res.result; |
260 | this.ruleForm.diyaq.sfczjzhxz = "0"; | 262 | this.ruleForm.diyaq.sfczjzhxz = "0"; |
261 | } | 263 | } |
262 | }); | 264 | }) |
263 | }, | 265 | }, |
264 | components: { qlrCommonTable }, | 266 | components: { qlrCommonTable }, |
265 | computed: { | 267 | computed: { |
... | @@ -301,13 +303,17 @@ export default { | ... | @@ -301,13 +303,17 @@ export default { |
301 | 303 | ||
302 | // 更新权利人信息 | 304 | // 更新权利人信息 |
303 | upDateQlrxxList (val) { | 305 | upDateQlrxxList (val) { |
304 | this.ruleForm.qlrList = _.cloneDeep(val); | 306 | if (!_.isEqual(val, this.ruleForm.qlrList)) { |
307 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
308 | } | ||
305 | }, | 309 | }, |
306 | // 更新义务人信息 | 310 | // 更新义务人信息 |
307 | upDateYwrxxList (val) { | 311 | upDateYwrxxList (val) { |
308 | this.ruleForm.ywrList = _.cloneDeep(val); | 312 | if (!_.isEqual(val, this.ruleForm.ywrList)) { |
309 | }, | 313 | this.ruleForm.ywrList = _.cloneDeep(val); |
310 | }, | 314 | } |
315 | } | ||
316 | } | ||
311 | }; | 317 | }; |
312 | </script> | 318 | </script> |
313 | <style scoped lang='scss'> | 319 | <style scoped lang='scss'> | ... | ... |
1 | <template> | ||
2 | <div class="from-clues" id="bdcql"> | ||
3 | <!-- 表单部分 --> | ||
4 | <div class="from-clues-header"> | ||
5 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
6 | <el-row> | ||
7 | <el-col :span="5"> | ||
8 | <el-form-item label="权利类型"> | ||
9 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | ||
10 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> | ||
11 | </el-option> | ||
12 | </el-select> | ||
13 | </el-form-item> | ||
14 | </el-col> | ||
15 | <el-col :span="6"> | ||
16 | <el-form-item label="不动产单元号"> | ||
17 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px"> | ||
18 | </el-input> | ||
19 | </el-form-item> | ||
20 | </el-col> | ||
21 | <el-col :span="5"> | ||
22 | <el-form-item label="业务号"> | ||
23 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> | ||
24 | </el-input> | ||
25 | </el-form-item> | ||
26 | </el-col> | ||
27 | <el-col :span="6"> | ||
28 | <el-form-item label="不动产权证号"> | ||
29 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px"> | ||
30 | </el-input> | ||
31 | </el-form-item> | ||
32 | </el-col> | ||
33 | <el-col :span="2" class="btnColRight"> | ||
34 | <el-form-item> | ||
35 | <el-button type="primary" @click="fetchData">查询</el-button> | ||
36 | </el-form-item> | ||
37 | </el-col> | ||
38 | </el-row> | ||
39 | </el-form> | ||
40 | </div> | ||
41 | <!-- 表格 --> | ||
42 | <div class="from-clues-content"> | ||
43 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" | ||
44 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" | ||
45 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | ||
46 | :data="tableData.data"> | ||
47 | </lb-table> | ||
48 | </div> | ||
49 | <div class="submit_button"> | ||
50 | <el-button @click="closeDialog">取消</el-button> | ||
51 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | ||
52 | </div> | ||
53 | </div> | ||
54 | </template> | ||
55 | <script> | ||
56 | //查封登记 | ||
57 | import { datas, sendThis } from "../javascript/bdcql.js"; | ||
58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
59 | import table from "@/utils/mixin/table"; | ||
60 | import jump from "../components/mixin/jump"; | ||
61 | import { selectQlxx, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; | ||
62 | export default { | ||
63 | mixins: [table, jump], | ||
64 | props: { | ||
65 | isJump: { type: Boolean, default: false }, | ||
66 | djywbm: { type: String, default: '' }, | ||
67 | djqxObj: { | ||
68 | type: Object, | ||
69 | default: {} | ||
70 | }, | ||
71 | bsmSqyw: { type: String, default: '' }, | ||
72 | }, | ||
73 | data () { | ||
74 | return { | ||
75 | queryForm: defaultParameters.defaultParameters(), | ||
76 | qllxs: [], | ||
77 | tableData: { | ||
78 | total: 0, | ||
79 | columns: datas.columns(), | ||
80 | data: [], | ||
81 | }, | ||
82 | bdcdysz: [], | ||
83 | saveloding: false | ||
84 | }; | ||
85 | }, | ||
86 | mounted () { | ||
87 | sendThis(this) | ||
88 | }, | ||
89 | methods: { | ||
90 | //点击行选中或取消复选框 | ||
91 | handleRowClick (row, column, event) { | ||
92 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
93 | this.$refs.table.toggleRowSelection(row); | ||
94 | }, | ||
95 | closeDialog () { | ||
96 | this.$emit("closeDialog") | ||
97 | }, | ||
98 | fetchData () { | ||
99 | this.queryForm.sqywbm = this.djywbm; | ||
100 | selectQlxx({ ...this.queryForm, ...this.pageData }) | ||
101 | .then((res) => { | ||
102 | if (res.code === 200) { | ||
103 | let { total, records } = res.result; | ||
104 | this.tableData.total = total; | ||
105 | this.tableData.data = records; | ||
106 | } | ||
107 | }) | ||
108 | }, | ||
109 | submitForm () { | ||
110 | if (this.bdcdysz.length == 0) { | ||
111 | this.$message.error("请至少选择一条数据"); | ||
112 | return; | ||
113 | } | ||
114 | if (!this.isJump) { | ||
115 | startBusinessFlow({ | ||
116 | bsmSqyw: this.bsmSqyw, | ||
117 | bdcdysz: this.bdcdysz, | ||
118 | djqxbm: this.djqxObj?.djqxbm, | ||
119 | djqxmc: this.djqxObj?.djqxmc | ||
120 | }).then((res) => { | ||
121 | if (res.code == 200) { | ||
122 | this.$message({ | ||
123 | showClose: true, | ||
124 | message: '发起申请成功', | ||
125 | type: 'success' | ||
126 | }) | ||
127 | this.jump(res.result, this.djywbm) | ||
128 | } else { | ||
129 | this.$message.error(res.message) | ||
130 | } | ||
131 | }) | ||
132 | } else { | ||
133 | choiceBdcdy({ | ||
134 | bsmSlsq: this.$route.query.bsmSlsq, | ||
135 | bdcdysz: this.bdcdysz | ||
136 | }).then(res => { | ||
137 | if (res.code == 200) { | ||
138 | this.$message({ | ||
139 | showClose: true, | ||
140 | message: '发起申请成功', | ||
141 | type: 'success' | ||
142 | }) | ||
143 | this.$emit('updateDialog', true) | ||
144 | } else { | ||
145 | this.$message.error(res.message); | ||
146 | } | ||
147 | }) | ||
148 | } | ||
149 | }, | ||
150 | handleSelectionChange (val) { | ||
151 | val.forEach((item, index) => { | ||
152 | item.bsmSsql = item.bsmQlxx | ||
153 | item.ybdcqzsh = item.bdcqzh | ||
154 | item.yqllx = item.qllx | ||
155 | item.ydjlx = item.djlx | ||
156 | }) | ||
157 | this.bdcdysz = val | ||
158 | } | ||
159 | } | ||
160 | }; | ||
161 | </script> | ||
162 | <style scoped lang="scss"> | ||
163 | @import "~@/styles/mixin.scss"; | ||
164 | @import "~@/styles/public.scss"; | ||
165 | </style> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </template> | 40 | </template> |
41 | <script> | 41 | <script> |
42 | //首次登记 | 42 | //首次登记 |
43 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | 43 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; |
44 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 44 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
45 | import table from "@/utils/mixin/table"; | 45 | import table from "@/utils/mixin/table"; |
46 | import jump from "../components/mixin/jump"; | 46 | import jump from "../components/mixin/jump"; | ... | ... |
... | @@ -88,7 +88,7 @@ | ... | @@ -88,7 +88,7 @@ |
88 | </div> | 88 | </div> |
89 | </template> | 89 | </template> |
90 | <script> | 90 | <script> |
91 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; | 91 | import { datas, sendThis } from "../javascript/selecBdcql.js"; |
92 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 92 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
93 | import table from "@/utils/mixin/table"; | 93 | import table from "@/utils/mixin/table"; |
94 | import jump from "./mixin/jump"; | 94 | import jump from "./mixin/jump"; | ... | ... |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | </template> | 54 | </template> |
55 | <script> | 55 | <script> |
56 | //首次登记 | 56 | //首次登记 |
57 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | 57 | import { datas, sendThis } from "../javascript/selectJsydsyq.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 "./mixin/jump"; | 60 | import jump from "./mixin/jump"; | ... | ... |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </template> | 40 | </template> |
41 | <script> | 41 | <script> |
42 | //首次登记 | 42 | //首次登记 |
43 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; | 43 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; |
44 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 44 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
45 | import table from "@/utils/mixin/table"; | 45 | import table from "@/utils/mixin/table"; |
46 | import jump from "./mixin/jump"; | 46 | import jump from "./mixin/jump"; | ... | ... |
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | columns () { | ||
12 | return [ | ||
13 | { | ||
14 | type: 'selection', | ||
15 | label: '全选' | ||
16 | }, | ||
17 | { | ||
18 | label: '序号', | ||
19 | type: 'index', | ||
20 | width: '50', | ||
21 | render: (h, scope) => { | ||
22 | return ( | ||
23 | <div> | ||
24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
25 | </div> | ||
26 | ) | ||
27 | } | ||
28 | }, | ||
29 | { | ||
30 | prop: "status", | ||
31 | label: "状态", | ||
32 | }, | ||
33 | { | ||
34 | prop: "qllxmc", | ||
35 | label: "权利类型", | ||
36 | }, | ||
37 | { | ||
38 | prop: "bdcdyh", | ||
39 | label: "不动产单元号", | ||
40 | }, | ||
41 | { | ||
42 | prop: "bdcqzh", | ||
43 | label: "不动产权证号", | ||
44 | }, | ||
45 | { | ||
46 | prop: "qlrmc", | ||
47 | label: "权利人", | ||
48 | }, | ||
49 | { | ||
50 | prop: "zjh", | ||
51 | label: "证件号", | ||
52 | }, | ||
53 | { | ||
54 | prop: "mj", | ||
55 | label: "面积", | ||
56 | }, | ||
57 | { | ||
58 | prop: "showTdyt", | ||
59 | label: "用途", | ||
60 | }, | ||
61 | { | ||
62 | prop: "zl", | ||
63 | label: "坐落", | ||
64 | } | ||
65 | ] | ||
66 | } | ||
67 | |||
68 | |||
69 | } | ||
70 | let datas = new data() | ||
71 | export { | ||
72 | datas, | ||
73 | sendThis | ||
74 | } |
... | @@ -29,6 +29,24 @@ class data extends filter { | ... | @@ -29,6 +29,24 @@ class data extends filter { |
29 | { | 29 | { |
30 | prop: "status", | 30 | prop: "status", |
31 | label: "状态", | 31 | label: "状态", |
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | {/* <a v-on:click="doSomething"></a> */} | ||
36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
37 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
39 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
40 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
41 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
42 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
43 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
44 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
45 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
46 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
47 | </div> | ||
48 | ) | ||
49 | } | ||
32 | }, | 50 | }, |
33 | { | 51 | { |
34 | prop: "ywh", | 52 | prop: "ywh", | ... | ... |
... | @@ -29,6 +29,24 @@ class data extends filter { | ... | @@ -29,6 +29,24 @@ class data extends filter { |
29 | { | 29 | { |
30 | prop: "status", | 30 | prop: "status", |
31 | label: "状态", | 31 | label: "状态", |
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | {/* <a v-on:click="doSomething"></a> */} | ||
36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
37 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
39 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
40 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
41 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
42 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
43 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
44 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
45 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
46 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
47 | </div> | ||
48 | ) | ||
49 | } | ||
32 | }, | 50 | }, |
33 | { | 51 | { |
34 | prop: "bdcqzh", | 52 | prop: "bdcqzh", |
... | @@ -55,10 +73,18 @@ class data extends filter { | ... | @@ -55,10 +73,18 @@ class data extends filter { |
55 | label: "抵押权人", | 73 | label: "抵押权人", |
56 | }, | 74 | }, |
57 | { | 75 | { |
76 | prop: "qlrzjhm", | ||
77 | label: "抵押权人证件号", | ||
78 | }, | ||
79 | { | ||
58 | prop: "ywrmc", | 80 | prop: "ywrmc", |
59 | label: "抵押人", | 81 | label: "抵押人", |
60 | }, | 82 | }, |
61 | { | 83 | { |
84 | prop: "ywrzjhm", | ||
85 | label: "抵押人证件号", | ||
86 | }, | ||
87 | { | ||
62 | prop: "dyje", | 88 | prop: "dyje", |
63 | label: "抵押金额(万元)", | 89 | label: "抵押金额(万元)", |
64 | }, | 90 | }, | ... | ... |
File moved
... | @@ -29,6 +29,24 @@ class data extends filter { | ... | @@ -29,6 +29,24 @@ class data extends filter { |
29 | { | 29 | { |
30 | prop: "status", | 30 | prop: "status", |
31 | label: "状态", | 31 | label: "状态", |
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | {/* <a v-on:click="doSomething"></a> */} | ||
36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
37 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
39 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
40 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
41 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
42 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
43 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
44 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
45 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
46 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
47 | </div> | ||
48 | ) | ||
49 | } | ||
32 | }, | 50 | }, |
33 | { | 51 | { |
34 | prop: "qllxmc", | 52 | prop: "qllxmc", | ... | ... |
File moved
File moved
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
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, getLpb } from "@/api/zhcx.js"; | 53 | import { getLpZrz } from "@/api/lpb.js"; |
54 | export default { | 54 | export default { |
55 | name: "lpcx", | 55 | name: "lpcx", |
56 | components: {}, | 56 | components: {}, |
... | @@ -103,15 +103,6 @@ export default { | ... | @@ -103,15 +103,6 @@ export default { |
103 | bsm: scope.row.bsm | 103 | bsm: scope.row.bsm |
104 | } | 104 | } |
105 | }) | 105 | }) |
106 | // getLpb({ zrzbsm: zrzbsm }) | ||
107 | // .then((res) => { | ||
108 | // if (res.code == 200) { | ||
109 | // var lpbdata = res.result; | ||
110 | // } | ||
111 | // }) | ||
112 | // .catch((error) => { | ||
113 | // console.log(error); | ||
114 | // }); | ||
115 | }, | 106 | }, |
116 | }, | 107 | }, |
117 | }; | 108 | }; | ... | ... |
-
Please register or sign in to post a comment