Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
28 changed files
with
725 additions
and
364 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 15:52:44 | 4 | * @LastEditTime: 2023-09-22 09:30:34 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class='ywdialog'> | 7 | <div class='ywdialog'> |
... | @@ -35,5 +35,6 @@ | ... | @@ -35,5 +35,6 @@ |
35 | @import "~@/styles/public.scss"; | 35 | @import "~@/styles/public.scss"; |
36 | .ywdialog { | 36 | .ywdialog { |
37 | min-width: 230px; | 37 | min-width: 230px; |
38 | padding-bottom: 20px; | ||
38 | } | 39 | } |
39 | </style> | 40 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:39:47 | 4 | * @LastEditTime: 2023-09-21 16:03:36 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
8 | title="权利人信息" | 8 | title="权利人信息" |
9 | width="60%" | 9 | width="75%" |
10 | isMain | 10 | isMain |
11 | v-model="myValue" | 11 | v-model="myValue" |
12 | :isFullscreen="false" | 12 | :isFullscreen="false" |
13 | @submitForm="submitForm" | 13 | @submitForm="submitForm" |
14 | @closeDialog="closeDialog" | 14 | @closeDialog="closeDialog" |
15 | :isButton="showButton" | 15 | :isButton="isShow"> |
16 | > | 16 | <el-tabs v-model="activeName" @tab-click="handleClick" class="from-clues-header"> |
17 | <el-tab-pane label="基本信息" name="1"></el-tab-pane> | ||
18 | <el-tab-pane label="企业信息" v-if="showButton" name="2"></el-tab-pane> | ||
19 | <el-tab-pane label="银行机构" v-if="showButton" name="3"></el-tab-pane> | ||
20 | </el-tabs> | ||
21 | |||
17 | <el-form | 22 | <el-form |
18 | :model="ruleForm" | 23 | :model="ruleForm" |
24 | v-if="activeName==1" | ||
19 | :rules="rules" | 25 | :rules="rules" |
20 | ref="ruleForm" | 26 | ref="ruleForm" |
21 | label-width="120px" | 27 | label-width="120px"> |
22 | > | 28 | <el-form-item label="身份证读卡器"> |
29 | <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button> | ||
30 | <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button> | ||
31 | </el-form-item> | ||
23 | <el-row> | 32 | <el-row> |
24 | <el-col :span="8"> | 33 | <el-col :span="8"> |
25 | <el-form-item label="权利人类型" prop="qlrlx"> | 34 | <el-form-item label="权利人类型" prop="qlrlx"> |
... | @@ -28,14 +37,12 @@ | ... | @@ -28,14 +37,12 @@ |
28 | v-model="ruleForm.qlrlx" | 37 | v-model="ruleForm.qlrlx" |
29 | class="width100" | 38 | class="width100" |
30 | :disabled="!showButton" | 39 | :disabled="!showButton" |
31 | placeholder="请选择" | 40 | placeholder="请选择"> |
32 | > | ||
33 | <el-option | 41 | <el-option |
34 | v-for="item in dictData['A36']" | 42 | v-for="item in dictData['A36']" |
35 | :key="item.dcode" | 43 | :key="item.dcode" |
36 | :label="item.dname" | 44 | :label="item.dname" |
37 | :value="item.dcode" | 45 | :value="item.dcode"> |
38 | > | ||
39 | </el-option> | 46 | </el-option> |
40 | </el-select> | 47 | </el-select> |
41 | </el-form-item> | 48 | </el-form-item> |
... | @@ -45,8 +52,7 @@ | ... | @@ -45,8 +52,7 @@ |
45 | <el-input | 52 | <el-input |
46 | v-model="ruleForm.qlrmc" | 53 | v-model="ruleForm.qlrmc" |
47 | maxlegth="15" | 54 | maxlegth="15" |
48 | :disabled="!showButton" | 55 | :disabled="!showButton"></el-input> |
49 | ></el-input> | ||
50 | </el-form-item> | 56 | </el-form-item> |
51 | </el-col> | 57 | </el-col> |
52 | <el-col :span="8"> | 58 | <el-col :span="8"> |
... | @@ -56,14 +62,13 @@ | ... | @@ -56,14 +62,13 @@ |
56 | v-model="ruleForm.zjzl" | 62 | v-model="ruleForm.zjzl" |
57 | :disabled="!showButton" | 63 | :disabled="!showButton" |
58 | class="width100" | 64 | class="width100" |
59 | placeholder="请选择" | 65 | @change="handleZjzl" |
60 | > | 66 | placeholder="请选择"> |
61 | <el-option | 67 | <el-option |
62 | v-for="item in dictData['A30']" | 68 | v-for="item in dictData['A30']" |
63 | :key="item.dcode" | 69 | :key="item.dcode" |
64 | :label="item.dname" | 70 | :label="item.dname" |
65 | :value="item.dcode" | 71 | :value="item.dcode"> |
66 | > | ||
67 | </el-option> | 72 | </el-option> |
68 | </el-select> | 73 | </el-select> |
69 | </el-form-item> | 74 | </el-form-item> |
... | @@ -76,8 +81,7 @@ | ... | @@ -76,8 +81,7 @@ |
76 | v-model="ruleForm.zjh" | 81 | v-model="ruleForm.zjh" |
77 | :disabled="!showButton" | 82 | :disabled="!showButton" |
78 | maxlength="18" | 83 | maxlength="18" |
79 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')" | 84 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> |
80 | ></el-input> | ||
81 | </el-form-item> | 85 | </el-form-item> |
82 | </el-col> | 86 | </el-col> |
83 | <el-col :span="8"> | 87 | <el-col :span="8"> |
... | @@ -86,8 +90,7 @@ | ... | @@ -86,8 +90,7 @@ |
86 | v-model="ruleForm.dh" | 90 | v-model="ruleForm.dh" |
87 | :disabled="!showButton" | 91 | :disabled="!showButton" |
88 | maxlength="11" | 92 | maxlength="11" |
89 | oninput="value=value.replace(/[^\d]/g,'')" | 93 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
90 | ></el-input> | ||
91 | </el-form-item> | 94 | </el-form-item> |
92 | </el-col> | 95 | </el-col> |
93 | 96 | ||
... | @@ -96,8 +99,7 @@ | ... | @@ -96,8 +99,7 @@ |
96 | <el-input | 99 | <el-input |
97 | v-model="ruleForm.qlbl" | 100 | v-model="ruleForm.qlbl" |
98 | maxlength="32" | 101 | maxlength="32" |
99 | :disabled="!showButton || this.ruleForm.gyfs == 1" | 102 | :disabled="!showButton || this.ruleForm.gyfs == 1"></el-input> |
100 | ></el-input> | ||
101 | </el-form-item> | 103 | </el-form-item> |
102 | </el-col> | 104 | </el-col> |
103 | </el-row> | 105 | </el-row> |
... | @@ -107,8 +109,7 @@ | ... | @@ -107,8 +109,7 @@ |
107 | <el-input | 109 | <el-input |
108 | v-model="ruleForm.frmc" | 110 | v-model="ruleForm.frmc" |
109 | maxlength="32" | 111 | maxlength="32" |
110 | :disabled="!showButton" | 112 | :disabled="!showButton"></el-input> |
111 | ></el-input> | ||
112 | </el-form-item> | 113 | </el-form-item> |
113 | </el-col> | 114 | </el-col> |
114 | <el-col :span="8"> | 115 | <el-col :span="8"> |
... | @@ -116,8 +117,7 @@ | ... | @@ -116,8 +117,7 @@ |
116 | <el-input | 117 | <el-input |
117 | v-model="ruleForm.gj" | 118 | v-model="ruleForm.gj" |
118 | maxlength="3" | 119 | maxlength="3" |
119 | :disabled="!showButton" | 120 | :disabled="!showButton"></el-input> |
120 | ></el-input> | ||
121 | </el-form-item> | 121 | </el-form-item> |
122 | </el-col> | 122 | </el-col> |
123 | <el-col :span="8"> | 123 | <el-col :span="8"> |
... | @@ -125,8 +125,7 @@ | ... | @@ -125,8 +125,7 @@ |
125 | <el-input | 125 | <el-input |
126 | v-model="ruleForm.hjszss" | 126 | v-model="ruleForm.hjszss" |
127 | maxlength="3" | 127 | maxlength="3" |
128 | :disabled="!showButton" | 128 | :disabled="!showButton"></el-input> |
129 | ></el-input> | ||
130 | </el-form-item> | 129 | </el-form-item> |
131 | </el-col> | 130 | </el-col> |
132 | </el-row> | 131 | </el-row> |
... | @@ -137,8 +136,7 @@ | ... | @@ -137,8 +136,7 @@ |
137 | <el-input | 136 | <el-input |
138 | v-model="ruleForm.dz" | 137 | v-model="ruleForm.dz" |
139 | maxlength="100" | 138 | maxlength="100" |
140 | :disabled="!showButton" | 139 | :disabled="!showButton"></el-input> |
141 | ></el-input> | ||
142 | </el-form-item> | 140 | </el-form-item> |
143 | </el-col> | 141 | </el-col> |
144 | </el-row> | 142 | </el-row> |
... | @@ -149,8 +147,7 @@ | ... | @@ -149,8 +147,7 @@ |
149 | <el-input | 147 | <el-input |
150 | v-model="ruleForm.fzjg" | 148 | v-model="ruleForm.fzjg" |
151 | maxlength="10" | 149 | maxlength="10" |
152 | :disabled="!showButton" | 150 | :disabled="!showButton"></el-input> |
153 | ></el-input> | ||
154 | </el-form-item> | 151 | </el-form-item> |
155 | </el-col> | 152 | </el-col> |
156 | <el-col :span="8"> | 153 | <el-col :span="8"> |
... | @@ -158,8 +155,7 @@ | ... | @@ -158,8 +155,7 @@ |
158 | <el-input | 155 | <el-input |
159 | v-model="ruleForm.dzyj" | 156 | v-model="ruleForm.dzyj" |
160 | :disabled="!showButton" | 157 | :disabled="!showButton" |
161 | maxlength="25" | 158 | maxlength="25"></el-input> |
162 | ></el-input> | ||
163 | </el-form-item> | 159 | </el-form-item> |
164 | </el-col> | 160 | </el-col> |
165 | <el-col :span="8"> | 161 | <el-col :span="8"> |
... | @@ -168,8 +164,7 @@ | ... | @@ -168,8 +164,7 @@ |
168 | v-model.number="ruleForm.yb" | 164 | v-model.number="ruleForm.yb" |
169 | :disabled="!showButton" | 165 | :disabled="!showButton" |
170 | maxlength="6" | 166 | maxlength="6" |
171 | oninput="value=value.replace(/[^\d]/g,'')" | 167 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
172 | ></el-input> | ||
173 | </el-form-item> | 168 | </el-form-item> |
174 | </el-col> | 169 | </el-col> |
175 | </el-row> | 170 | </el-row> |
... | @@ -180,8 +175,7 @@ | ... | @@ -180,8 +175,7 @@ |
180 | <el-input | 175 | <el-input |
181 | v-model="ruleForm.gzdw" | 176 | v-model="ruleForm.gzdw" |
182 | maxlength="32" | 177 | maxlength="32" |
183 | :disabled="!showButton" | 178 | :disabled="!showButton"></el-input> |
184 | ></el-input> | ||
185 | </el-form-item> | 179 | </el-form-item> |
186 | </el-col> | 180 | </el-col> |
187 | <el-col :span="16"> | 181 | <el-col :span="16"> |
... | @@ -189,8 +183,7 @@ | ... | @@ -189,8 +183,7 @@ |
189 | <el-input | 183 | <el-input |
190 | v-model="ruleForm.dlrjgmc" | 184 | v-model="ruleForm.dlrjgmc" |
191 | maxlength="32" | 185 | maxlength="32" |
192 | :disabled="!showButton" | 186 | :disabled="!showButton"></el-input> |
193 | ></el-input> | ||
194 | </el-form-item> | 187 | </el-form-item> |
195 | </el-col> | 188 | </el-col> |
196 | </el-row> | 189 | </el-row> |
... | @@ -202,8 +195,7 @@ | ... | @@ -202,8 +195,7 @@ |
202 | v-model="ruleForm.dlrdhhm" | 195 | v-model="ruleForm.dlrdhhm" |
203 | :disabled="!showButton" | 196 | :disabled="!showButton" |
204 | maxlength="11" | 197 | maxlength="11" |
205 | oninput="value=value.replace(/[^\d]/g,'')" | 198 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
206 | ></el-input> | ||
207 | </el-form-item> | 199 | </el-form-item> |
208 | </el-col> | 200 | </el-col> |
209 | <el-col :span="8"> | 201 | <el-col :span="8"> |
... | @@ -211,8 +203,7 @@ | ... | @@ -211,8 +203,7 @@ |
211 | <el-input | 203 | <el-input |
212 | v-model="ruleForm.dlrxm" | 204 | v-model="ruleForm.dlrxm" |
213 | maxlength="15" | 205 | maxlength="15" |
214 | :disabled="!showButton" | 206 | :disabled="!showButton"></el-input> |
215 | ></el-input> | ||
216 | </el-form-item> | 207 | </el-form-item> |
217 | </el-col> | 208 | </el-col> |
218 | <el-col :span="8"> | 209 | <el-col :span="8"> |
... | @@ -222,14 +213,12 @@ | ... | @@ -222,14 +213,12 @@ |
222 | v-model="ruleForm.dlrzjlx" | 213 | v-model="ruleForm.dlrzjlx" |
223 | :disabled="!showButton" | 214 | :disabled="!showButton" |
224 | class="width100" | 215 | class="width100" |
225 | placeholder="请选择" | 216 | placeholder="请选择"> |
226 | > | ||
227 | <el-option | 217 | <el-option |
228 | v-for="item in dictData['A30']" | 218 | v-for="item in dictData['A30']" |
229 | :key="item.dcode" | 219 | :key="item.dcode" |
230 | :label="item.dname" | 220 | :label="item.dname" |
231 | :value="item.dcode" | 221 | :value="item.dcode"> |
232 | > | ||
233 | </el-option> | 222 | </el-option> |
234 | </el-select> | 223 | </el-select> |
235 | </el-form-item> | 224 | </el-form-item> |
... | @@ -243,14 +232,12 @@ | ... | @@ -243,14 +232,12 @@ |
243 | v-model="ruleForm.xb" | 232 | v-model="ruleForm.xb" |
244 | :disabled="!showButton" | 233 | :disabled="!showButton" |
245 | class="width100" | 234 | class="width100" |
246 | placeholder="请选择" | 235 | placeholder="请选择"> |
247 | > | ||
248 | <el-option | 236 | <el-option |
249 | v-for="item in dictData['A43']" | 237 | v-for="item in dictData['A43']" |
250 | :key="item.dcode" | 238 | :key="item.dcode" |
251 | :label="item.dname" | 239 | :label="item.dname" |
252 | :value="item.dcode" | 240 | :value="item.dcode"> |
253 | > | ||
254 | </el-option> | 241 | </el-option> |
255 | </el-select> | 242 | </el-select> |
256 | </el-form-item> | 243 | </el-form-item> |
... | @@ -260,17 +247,101 @@ | ... | @@ -260,17 +247,101 @@ |
260 | <el-input | 247 | <el-input |
261 | v-model="ruleForm.dlrzjh" | 248 | v-model="ruleForm.dlrzjh" |
262 | :disabled="!showButton" | 249 | :disabled="!showButton" |
263 | maxlength="18" | 250 | maxlength="18"></el-input> |
264 | ></el-input> | 251 | </el-form-item> |
252 | </el-col> | ||
253 | </el-row> | ||
254 | </el-form> | ||
255 | |||
256 | <div v-if="activeName==2" class="padding10"> | ||
257 | <el-form :model="queryFormQY" label-width="80px"> | ||
258 | <el-row> | ||
259 | <el-col :span="8"> | ||
260 | <el-form-item label="姓名/名称"> | ||
261 | <el-input placeholder="姓名/名称" v-model="queryFormQY.qymc" clearable class="width100"> | ||
262 | </el-input> | ||
263 | </el-form-item> | ||
264 | </el-col> | ||
265 | <el-col :span="8"> | ||
266 | <el-form-item label="证件号"> | ||
267 | <el-input placeholder="证件号" v-model="queryFormQY.zjh" clearable class="width100"> | ||
268 | </el-input> | ||
269 | </el-form-item> | ||
270 | </el-col> | ||
271 | <el-col :span="8" class="btnColRight"> | ||
272 | <el-form-item> | ||
273 | <el-button type="primary" @click="handleSearchQY">查询</el-button> | ||
265 | </el-form-item> | 274 | </el-form-item> |
266 | </el-col> | 275 | </el-col> |
267 | </el-row> | 276 | </el-row> |
268 | </el-form> | 277 | </el-form> |
278 | <el-table :data="tableDataQy.data" border v-Loading="loading" :height="426.8"> | ||
279 | <el-table-column label="序号" type="index" width="50" align="center"> | ||
280 | <template slot-scope="scope"> | ||
281 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | ||
282 | </template> | ||
283 | </el-table-column> | ||
284 | <el-table-column v-for="item in tableDataQy.columns" :key="item.index" :width="item.width" :prop="item.prop" :label="item.label" align="center"> | ||
285 | </el-table-column> | ||
286 | <el-table-column label="操作" width="50"> | ||
287 | <template slot-scope="scope"> | ||
288 | <el-button type="text" @click="handleSelect(scope.row)">使用</el-button> | ||
289 | </template> | ||
290 | </el-table-column> | ||
291 | </el-table> | ||
292 | <el-pagination background layout="prev, pager, next,total" :total="tableDataQy.total" | ||
293 | @current-change="handleQYCurrentChange"></el-pagination> | ||
294 | </div> | ||
295 | <div v-if="activeName==3" class="padding10"> | ||
296 | <el-form :model="queryFormYH" label-width="80px"> | ||
297 | <el-row> | ||
298 | <el-col :span="8"> | ||
299 | <el-form-item label="姓名/名称"> | ||
300 | <el-input placeholder="姓名/名称" v-model="queryFormYH.qymc" clearable class="width100"> | ||
301 | </el-input> | ||
302 | </el-form-item> | ||
303 | </el-col> | ||
304 | <el-col :span="8"> | ||
305 | <el-form-item label="证件号"> | ||
306 | <el-input placeholder="证件号" v-model="queryFormYH.zjh" clearable class="width100"> | ||
307 | </el-input> | ||
308 | </el-form-item> | ||
309 | </el-col> | ||
310 | <el-col :span="8" class="btnColRight"> | ||
311 | <el-form-item> | ||
312 | <el-button type="primary" @click="handleSearchYH">查询</el-button> | ||
313 | </el-form-item> | ||
314 | </el-col> | ||
315 | </el-row> | ||
316 | </el-form> | ||
317 | <el-table :data="tableDataYh.data" border v-Loading="loading" :height="426.8"> | ||
318 | <el-table-column label="序号" type="index" width="50" align="center"> | ||
319 | <template slot-scope="scope"> | ||
320 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | ||
321 | </template> | ||
322 | </el-table-column> | ||
323 | <el-table-column v-for="item in tableDataYh.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center"> | ||
324 | </el-table-column> | ||
325 | <el-table-column label="操作" width="50"> | ||
326 | <template slot-scope="scope"> | ||
327 | <el-button type="text" @click="handleSelect(scope.row)">使用</el-button> | ||
328 | </template> | ||
329 | </el-table-column> | ||
330 | </el-table> | ||
331 | <el-pagination background layout="prev, pager, next,total" :total="tableDataYh.total" | ||
332 | @current-change="handleYHCurrentChange"></el-pagination> | ||
333 | </div> | ||
269 | </dialogBox> | 334 | </dialogBox> |
270 | </template> | 335 | </template> |
271 | <script> | 336 | <script> |
272 | import { mapGetters } from "vuex"; | 337 | import { mapGetters } from "vuex"; |
273 | export default { | 338 | import store from '@/store/index.js' |
339 | import { replace } from "@/api/company.js" | ||
340 | import { getUuid } from "@/utils/operation.js" | ||
341 | import { getIdCardInfo } from '@/utils/operation.js' | ||
342 | import { queryQyByPage, queryYhByPage, addQy } from "@/api/xxba.js"; | ||
343 | import { dataYh, dataQy, sendThis } from "./addQlrData"; | ||
344 | export default { | ||
274 | props: { | 345 | props: { |
275 | value: { type: Boolean, default: false }, | 346 | value: { type: Boolean, default: false }, |
276 | details: { type: Object, default: {} }, | 347 | details: { type: Object, default: {} }, |
... | @@ -279,8 +350,15 @@ export default { | ... | @@ -279,8 +350,15 @@ export default { |
279 | computed: { | 350 | computed: { |
280 | ...mapGetters(["dictData"]), | 351 | ...mapGetters(["dictData"]), |
281 | }, | 352 | }, |
282 | data() { | 353 | mounted () { |
354 | sendThis(this); | ||
355 | }, | ||
356 | data () { | ||
283 | return { | 357 | return { |
358 | isShow: false, | ||
359 | isBz: false, | ||
360 | activeName: '1', | ||
361 | loading: false, | ||
284 | myValue: this.value, | 362 | myValue: this.value, |
285 | ruleForm: { | 363 | ruleForm: { |
286 | bsmBdcqz: "", | 364 | bsmBdcqz: "", |
... | @@ -320,25 +398,228 @@ export default { | ... | @@ -320,25 +398,228 @@ export default { |
320 | zjzl: [{ required: true, message: "证件种类", trigger: "change" }], | 398 | zjzl: [{ required: true, message: "证件种类", trigger: "change" }], |
321 | zjh: [{ required: true, message: "证件号", trigger: "blur" }], | 399 | zjh: [{ required: true, message: "证件号", trigger: "blur" }], |
322 | }, | 400 | }, |
323 | }; | 401 | pageData: { |
402 | currentPage: 1, | ||
403 | pageSize: 8 | ||
404 | }, | ||
405 | // 企业 | ||
406 | queryFormQY: { | ||
407 | qymc: "", | ||
408 | zjh: "" | ||
409 | }, | ||
410 | tableDataQy: { | ||
411 | total: 0, | ||
412 | columns: dataQy.columns(), | ||
413 | data: [], | ||
414 | }, | ||
415 | // 银行 | ||
416 | queryFormYH: { | ||
417 | qymc: "", | ||
418 | zjh: "" | ||
419 | }, | ||
420 | tableDataYh: { | ||
421 | total: 0, | ||
422 | columns: dataYh.columns(), | ||
423 | data: [ | ||
424 | ] | ||
425 | } | ||
426 | } | ||
324 | }, | 427 | }, |
325 | watch: { | 428 | watch: { |
326 | value(val) { | 429 | value (val) { |
327 | this.myValue = _.cloneDeep(val); | 430 | this.myValue = _.cloneDeep(val) |
431 | if (val && Object.keys(this.details).length > 0) { | ||
432 | this.activeName = '1' | ||
433 | } | ||
434 | this.isShow = this.showButton | ||
328 | }, | 435 | }, |
329 | details: { | 436 | details: { |
330 | handler: function (val, oldVal) { | 437 | handler: function (val, oldVal) { |
331 | this.ruleForm = val; | 438 | this.ruleForm = val; |
332 | }, | 439 | }, |
333 | deep: true, | 440 | deep: true |
334 | }, | 441 | } |
335 | }, | 442 | }, |
336 | methods: { | 443 | methods: { |
444 | handleZjzl (val) { | ||
445 | if (['6', '7', '8'].includes(val)) { | ||
446 | this.isBz = true | ||
447 | } else { | ||
448 | this.isBz = false | ||
449 | } | ||
450 | }, | ||
451 | /** | ||
452 | * @description: 信息备案 | ||
453 | * @author: renchao | ||
454 | */ | ||
455 | handleFilings () { | ||
456 | this.ruleForm.qymc = this.ruleForm.qlrmc | ||
457 | this.ruleForm.dwdz = this.ruleForm.dz | ||
458 | addQy(this.ruleForm).then(res => { | ||
459 | if (res.code == 200) { | ||
460 | this.$message.success('备案成功') | ||
461 | } else { | ||
462 | this.$message.error(res.message); | ||
463 | } | ||
464 | }) | ||
465 | }, | ||
466 | /** | ||
467 | * @description: handleClick | ||
468 | * @author: renchao | ||
469 | */ | ||
470 | handleClick (event, tab) { | ||
471 | if (this.activeName != 1) { | ||
472 | this.isShow = false | ||
473 | } else { | ||
474 | this.isShow = true | ||
475 | } | ||
476 | this.pageData.currentPage = 1 | ||
477 | if (this.activeName == 2) { | ||
478 | this.handleSearchQY() | ||
479 | } else { | ||
480 | this.handleSearchYH() | ||
481 | } | ||
482 | }, | ||
483 | /** | ||
484 | * @description:企业查询 | ||
485 | * @param {*} val | ||
486 | * @param {*} code | ||
487 | * @author: renchao | ||
488 | */ | ||
489 | dicStatus (val, code) { | ||
490 | let data = store.getters.dictData[code], | ||
491 | name = '暂无' | ||
492 | if (data) { | ||
493 | data.map((item) => { | ||
494 | if (item.dcode == val) { | ||
495 | name = item.dname | ||
496 | } | ||
497 | }) | ||
498 | return name | ||
499 | } | ||
500 | }, | ||
501 | /** | ||
502 | * @description: 企业信息搜索 | ||
503 | * @author: renchao | ||
504 | */ | ||
505 | handleSearchQY () { | ||
506 | let data = { ...this.queryFormQY, ...this.pageData } | ||
507 | this.tableDataQy.data = [] | ||
508 | queryQyByPage(data).then((res) => { | ||
509 | if (res.code === 200) { | ||
510 | let { total, records } = res.result; | ||
511 | this.tableDataQy.total = total; | ||
512 | this.tableDataQy.data = records; | ||
513 | this.tableDataQy.data.forEach(item => { | ||
514 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | ||
515 | item.qlrmc = item.qymc | ||
516 | item.dz = item.dwdz | ||
517 | item.id = getUuid(16) | ||
518 | }) | ||
519 | } | ||
520 | }) | ||
521 | }, | ||
522 | /** | ||
523 | * @description: handleQYCurrentChange | ||
524 | * @param {*} val | ||
525 | * @author: renchao | ||
526 | */ | ||
527 | handleQYCurrentChange (val) { | ||
528 | this.pageData.currentPage = val | ||
529 | this.handleSearchQY() | ||
530 | }, | ||
531 | /** | ||
532 | * @description: handlesQYSelect | ||
533 | * @param {*} val | ||
534 | * @author: renchao | ||
535 | */ | ||
536 | handleSelect (val) { | ||
537 | let that = this | ||
538 | let bsmSldy = window.currentSelect.bsmSldy ? window.currentSelect.bsmSldy : '' | ||
539 | this.$confirm('是否同步材料信息?', '提示', { | ||
540 | confirmButtonText: '确定', | ||
541 | cancelButtonText: '取消', | ||
542 | }).then(() => { | ||
543 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { | ||
544 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' })); | ||
545 | that.$emit("input", false); | ||
546 | if (res.code == 200) { | ||
547 | that.$message({ | ||
548 | type: 'success', | ||
549 | message: '同步成功!' | ||
550 | }) | ||
551 | } else { | ||
552 | this.$message.error(res.message); | ||
553 | } | ||
554 | }) | ||
555 | }).catch(() => { | ||
556 | this.$message({ | ||
557 | type: 'info', | ||
558 | message: '已取消' | ||
559 | }) | ||
560 | }) | ||
561 | }, | ||
562 | /** | ||
563 | * @description: 银行信息搜索 | ||
564 | * @author: renchao | ||
565 | */ | ||
566 | handleSearchYH () { | ||
567 | let data = { ...this.queryFormYH, ...this.pageData } | ||
568 | this.tableDataYh.data = [] | ||
569 | queryYhByPage(data).then((res) => { | ||
570 | if (res.code === 200) { | ||
571 | let { total, records } = res.result; | ||
572 | this.tableDataYh.total = total; | ||
573 | this.tableDataYh.data = records; | ||
574 | this.tableDataYh.data.forEach(item => { | ||
575 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | ||
576 | item.qlrmc = item.qymc | ||
577 | item.dz = item.dwdz | ||
578 | item.id = getUuid(16) | ||
579 | }) | ||
580 | } | ||
581 | }) | ||
582 | }, | ||
583 | /** | ||
584 | * @description: handleYHCurrentChange | ||
585 | * @param {*} val | ||
586 | * @author: renchao | ||
587 | */ | ||
588 | handleYHCurrentChange (val) { | ||
589 | this.pageData.currentPage = val | ||
590 | this.handleSearchQY() | ||
591 | }, | ||
592 | /** | ||
593 | * @description: 身份证打卡器 | ||
594 | * @author: renchao | ||
595 | */ | ||
596 | readClick () { | ||
597 | getIdCardInfo().then(res => { | ||
598 | if (res.data.code == 0) { | ||
599 | let data = res.data.IDCardInfo | ||
600 | this.ruleForm.qlrmc = data.name | ||
601 | this.ruleForm.zjzl = '1' | ||
602 | this.ruleForm.zjh = data.cardID | ||
603 | this.ruleForm.xb = data.sexCode | ||
604 | this.ruleForm.dz = data.address | ||
605 | this.ruleForm.fzjg = data.issueOrgan | ||
606 | this.$message({ | ||
607 | message: '读取成功!', | ||
608 | type: 'success' | ||
609 | }) | ||
610 | } else { | ||
611 | this.$message({ | ||
612 | message: res.data.message, | ||
613 | type: 'warning' | ||
614 | }) | ||
615 | } | ||
616 | }) | ||
617 | }, | ||
337 | /** | 618 | /** |
338 | * @description: closeDialog | 619 | * @description: closeDialog |
339 | * @author: renchao | 620 | * @author: renchao |
340 | */ | 621 | */ |
341 | closeDialog() { | 622 | closeDialog () { |
342 | this.$emit("input", false); | 623 | this.$emit("input", false); |
343 | this.$refs["ruleForm"].resetFields(); | 624 | this.$refs["ruleForm"].resetFields(); |
344 | }, | 625 | }, |
... | @@ -346,7 +627,7 @@ export default { | ... | @@ -346,7 +627,7 @@ export default { |
346 | * @description: submitForm | 627 | * @description: submitForm |
347 | * @author: renchao | 628 | * @author: renchao |
348 | */ | 629 | */ |
349 | submitForm() { | 630 | submitForm () { |
350 | this.$refs.ruleForm.validate((valid) => { | 631 | this.$refs.ruleForm.validate((valid) => { |
351 | if (valid) { | 632 | if (valid) { |
352 | this.$emit("input", false); | 633 | this.$emit("input", false); |
... | @@ -357,14 +638,17 @@ export default { | ... | @@ -357,14 +638,17 @@ export default { |
357 | }); | 638 | }); |
358 | }, | 639 | }, |
359 | }, | 640 | }, |
360 | }; | 641 | }; |
361 | </script> | 642 | </script> |
362 | <style scoped lang="scss"> | 643 | <style scoped lang="scss"> |
363 | @import "~@/styles/dialogBoxheader.scss"; | 644 | @import "~@/styles/dialogBoxheader.scss"; |
364 | .submit-button { | 645 | .submit-button { |
365 | text-align: center; | 646 | text-align: center; |
366 | height: 52px; | 647 | height: 52px; |
367 | padding-top: 10px; | 648 | padding-top: 10px; |
368 | background-color: #fff; | 649 | background-color: #fff; |
369 | } | 650 | } |
651 | .padding10 { | ||
652 | padding-bottom: 10px; | ||
653 | } | ||
370 | </style> | 654 | </style> | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-09-21 15:45:27 | ||
5 | */ | ||
6 | import filter from '@/utils/filter.js' | ||
7 | let vm = null | ||
8 | |||
9 | const sendThis = (_this) => { | ||
10 | vm = _this | ||
11 | } | ||
12 | class data1 extends filter { | ||
13 | constructor() { | ||
14 | super() | ||
15 | } | ||
16 | columns () { | ||
17 | return [ | ||
18 | { | ||
19 | prop: "qlrmc", | ||
20 | label: "姓名/名称", | ||
21 | }, | ||
22 | { | ||
23 | prop: "zjzlMc", | ||
24 | label: "证件种类" | ||
25 | }, | ||
26 | { | ||
27 | prop: "zjh", | ||
28 | label: "证件号", | ||
29 | }, | ||
30 | { | ||
31 | prop: "frmc", | ||
32 | label: "法人名称", | ||
33 | }, | ||
34 | { | ||
35 | prop: "dwdz", | ||
36 | label: "地址", | ||
37 | }, | ||
38 | { | ||
39 | prop: "dh", | ||
40 | label: "联系电话", | ||
41 | } | ||
42 | ] | ||
43 | } | ||
44 | |||
45 | } | ||
46 | class data2 extends filter { | ||
47 | constructor() { | ||
48 | super() | ||
49 | |||
50 | } | ||
51 | columns () { | ||
52 | return [ | ||
53 | { | ||
54 | prop: "qlrmc", | ||
55 | label: "姓名/名称", | ||
56 | }, | ||
57 | { | ||
58 | prop: "zjzlMc", | ||
59 | label: "证件种类", | ||
60 | }, | ||
61 | { | ||
62 | prop: "zjh", | ||
63 | label: "证件号", | ||
64 | }, | ||
65 | { | ||
66 | prop: "frmc", | ||
67 | label: "法人名称", | ||
68 | }, | ||
69 | { | ||
70 | prop: "dwdz", | ||
71 | label: "地址", | ||
72 | }, | ||
73 | { | ||
74 | prop: "dh", | ||
75 | label: "联系电话", | ||
76 | }, | ||
77 | ] | ||
78 | } | ||
79 | |||
80 | } | ||
81 | let dataYh = new data1() | ||
82 | let dataQy = new data2() | ||
83 | export { | ||
84 | dataYh, | ||
85 | dataQy, | ||
86 | sendThis | ||
87 | } |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 16:16:13 | 4 | * @LastEditTime: 2023-09-21 16:02:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -171,7 +171,6 @@ | ... | @@ -171,7 +171,6 @@ |
171 | this.$parent.loadComponent(this.currentSelectProps, data); | 171 | this.$parent.loadComponent(this.currentSelectProps, data); |
172 | this.$parent.tabset(); | 172 | this.$parent.tabset(); |
173 | }, | 173 | }, |
174 | //申请单元点击事件 | ||
175 | /** | 174 | /** |
176 | * @description: 申请单元点击事件 | 175 | * @description: 申请单元点击事件 |
177 | * @param {*} index | 176 | * @param {*} index |
... | @@ -180,6 +179,7 @@ | ... | @@ -180,6 +179,7 @@ |
180 | unitClick (index) { | 179 | unitClick (index) { |
181 | this.clickindex = index | 180 | this.clickindex = index |
182 | this.currentSelectProps = this.supplementarylist[index]; | 181 | this.currentSelectProps = this.supplementarylist[index]; |
182 | window.currentSelect = this.supplementarylist[index] | ||
183 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | 183 | this.$emit("getCurrentSelectProps", this.currentSelectProps); |
184 | }, | 184 | }, |
185 | /** | 185 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-01 13:30:54 | 4 | * @LastEditTime: 2023-09-21 16:02:53 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -21,8 +21,9 @@ | ... | @@ -21,8 +21,9 @@ |
21 | </div> | 21 | </div> |
22 | </template> | 22 | </template> |
23 | <script> | 23 | <script> |
24 | import addQlr from "./dialog/addQlr.vue"; | ||
25 | import { mapGetters } from "vuex"; | 24 | import { mapGetters } from "vuex"; |
25 | import addQlr from "./dialog/addQlr.vue"; | ||
26 | import { getIdCardInfo } from '@/utils/operation.js' | ||
26 | export default { | 27 | export default { |
27 | components: { | 28 | components: { |
28 | addQlr, | 29 | addQlr, |
... | @@ -102,7 +103,7 @@ | ... | @@ -102,7 +103,7 @@ |
102 | icon="el-icon-tickets" | 103 | icon="el-icon-tickets" |
103 | disabled={!this.ableOperation} | 104 | disabled={!this.ableOperation} |
104 | onClick={() => { | 105 | onClick={() => { |
105 | this.readClick(scope); | 106 | this.readClick(scope.row) |
106 | }} | 107 | }} |
107 | > | 108 | > |
108 | 读取 | 109 | 读取 |
... | @@ -178,12 +179,12 @@ | ... | @@ -178,12 +179,12 @@ |
178 | this.$nextTick(() => { | 179 | this.$nextTick(() => { |
179 | if (val.length == 0 || !val) { | 180 | if (val.length == 0 || !val) { |
180 | that.tableDataList = _.cloneDeep([ | 181 | that.tableDataList = _.cloneDeep([ |
181 | { | 182 | // { |
182 | qlrmc: "", | 183 | // qlrmc: "", |
183 | dlrzjlx: "", | 184 | // dlrzjlx: "", |
184 | dlrzjh: "", | 185 | // dlrzjh: "", |
185 | fr: "", | 186 | // fr: "", |
186 | }, | 187 | // }, |
187 | ]); | 188 | ]); |
188 | } else { | 189 | } else { |
189 | that.tableDataList = _.cloneDeep(val); | 190 | that.tableDataList = _.cloneDeep(val); |
... | @@ -255,15 +256,32 @@ | ... | @@ -255,15 +256,32 @@ |
255 | this.tableDataList.splice(index, 1); | 256 | this.tableDataList.splice(index, 1); |
256 | this.$emit("upDateQlrxxList", this.tableDataList); | 257 | this.$emit("upDateQlrxxList", this.tableDataList); |
257 | }, | 258 | }, |
258 | |||
259 | // 身份证读取 | ||
260 | /** | 259 | /** |
261 | * @description: 身份证读取 | 260 | * @description: 身份证读取 |
262 | * @author: renchao | 261 | * @author: renchao |
263 | */ | 262 | */ |
264 | readClick () { }, | 263 | readClick (row) { |
265 | 264 | getIdCardInfo().then(res => { | |
266 | // 身份证读取按钮禁用 | 265 | if (res.data.code == 0) { |
266 | let data = res.data.IDCardInfo | ||
267 | row.qlrmc = data.name | ||
268 | row.zjzl = '1' | ||
269 | row.zjh = data.cardID | ||
270 | row.xb = data.sexCode | ||
271 | row.dz = data.address | ||
272 | row.fzjg = data.issueOrgan | ||
273 | this.$message({ | ||
274 | message: '读取成功!', | ||
275 | type: 'success' | ||
276 | }) | ||
277 | } else { | ||
278 | this.$message({ | ||
279 | message: res.data.message, | ||
280 | type: 'warning' | ||
281 | }) | ||
282 | } | ||
283 | }) | ||
284 | }, | ||
267 | /** | 285 | /** |
268 | * @description: 身份证读取按钮禁用 | 286 | * @description: 身份证读取按钮禁用 |
269 | * @author: renchao | 287 | * @author: renchao | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="all"> | 2 | <div class="all"> |
3 | <div class="tbalede"> | 3 | <div class="tbalede"> |
4 | <div class="title"> | 4 | <div class="title"> |
5 | {{ title }} | 5 | {{ title }} |
... | @@ -44,7 +44,7 @@ | ... | @@ -44,7 +44,7 @@ |
44 | {{ getQsztName(row[item.prop]) }} | 44 | {{ getQsztName(row[item.prop]) }} |
45 | </span> | 45 | </span> |
46 | 46 | ||
47 | <el-tooltip v-if="['djyy','fj'].includes(item.prop)" > | 47 | <el-tooltip v-if="['djyy','fj'].includes(item.prop)"> |
48 | <span> | 48 | <span> |
49 | {{ row[item.prop] }} | 49 | {{ row[item.prop] }} |
50 | </span> | 50 | </span> |
... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
63 | </tr> | 63 | </tr> |
64 | </table> | 64 | </table> |
65 | </div> | 65 | </div> |
66 | </div> | 66 | </div> |
67 | </template> | 67 | </template> |
68 | 68 | ||
69 | <script> | 69 | <script> |
... | @@ -199,9 +199,9 @@ | ... | @@ -199,9 +199,9 @@ |
199 | height: 100%; | 199 | height: 100%; |
200 | margin: auto; | 200 | margin: auto; |
201 | background-color: rgb(255, 255, 255); | 201 | background-color: rgb(255, 255, 255); |
202 | overflow: hidden | 202 | overflow: hidden; |
203 | } | 203 | } |
204 | .tbalede { | 204 | .tbalede { |
205 | width: 794px; | 205 | width: 794px; |
206 | height: 1123px; | 206 | height: 1123px; |
207 | margin: auto; | 207 | margin: auto; |
... | @@ -215,49 +215,48 @@ overflow: hidden | ... | @@ -215,49 +215,48 @@ overflow: hidden |
215 | position: relative; | 215 | position: relative; |
216 | margin: 0 3px; | 216 | margin: 0 3px; |
217 | } | 217 | } |
218 | } | 218 | } |
219 | .top { | 219 | .top { |
220 | width: 80%; | 220 | width: 80%; |
221 | height: 100px; | 221 | height: 100px; |
222 | margin: auto; | 222 | margin: auto; |
223 | display: flex; | 223 | display: flex; |
224 | position: relative; | 224 | position: relative; |
225 | } | 225 | } |
226 | p { | 226 | p { |
227 | position: absolute; | 227 | position: absolute; |
228 | bottom: 10px; | 228 | bottom: 10px; |
229 | right: 10px; | 229 | right: 10px; |
230 | } | 230 | } |
231 | table { | 231 | table { |
232 | width: 80%; | 232 | width: 80%; |
233 | border: 1px solid black; | 233 | border: 1px solid black; |
234 | margin: 0 auto; | 234 | margin: 0 auto; |
235 | border-collapse: collapse; | 235 | border-collapse: collapse; |
236 | } | 236 | } |
237 | .head { | 237 | .head { |
238 | font-size: 20px; | 238 | font-size: 20px; |
239 | width: 100%; | 239 | width: 100%; |
240 | height: 40px; | 240 | height: 40px; |
241 | margin: auto; | 241 | margin: auto; |
242 | } | 242 | } |
243 | .dyh { | 243 | .dyh { |
244 | padding: 10px; | 244 | padding: 10px; |
245 | font-size: 12px; | 245 | font-size: 12px; |
246 | text-align: left; | 246 | text-align: left; |
247 | } | 247 | } |
248 | |||
249 | 248 | ||
250 | .content { | 249 | .content { |
251 | height: 40px; | 250 | height: 40px; |
252 | } | 251 | } |
253 | .slash-wrap { | 252 | .slash-wrap { |
254 | position: relative; | 253 | position: relative; |
255 | box-sizing: border-box; | 254 | box-sizing: border-box; |
256 | width: 150px; | 255 | width: 150px; |
257 | height: 40px; | 256 | height: 40px; |
258 | } | 257 | } |
259 | /* 斜线 */ | 258 | /* 斜线 */ |
260 | .slash1 { | 259 | .slash1 { |
261 | position: absolute; | 260 | position: absolute; |
262 | display: block; | 261 | display: block; |
263 | top: 0; | 262 | top: 0; |
... | @@ -267,27 +266,25 @@ table { | ... | @@ -267,27 +266,25 @@ table { |
267 | background-color: #949393; | 266 | background-color: #949393; |
268 | transform: rotate(17.93010235415598deg); | 267 | transform: rotate(17.93010235415598deg); |
269 | transform-origin: top left; | 268 | transform-origin: top left; |
270 | } | 269 | } |
271 | /* 左下角文字 */ | 270 | /* 左下角文字 */ |
272 | .left { | 271 | .left { |
273 | position: absolute; | 272 | position: absolute; |
274 | left: 30px; | 273 | left: 30px; |
275 | bottom: 5px; | 274 | bottom: 5px; |
276 | } | 275 | } |
277 | 276 | ||
278 | /* 右上角文字 */ | 277 | /* 右上角文字 */ |
279 | .mid { | 278 | .mid { |
280 | position: absolute; | 279 | position: absolute; |
281 | /* 右上角 right:0; top: 0; */ | 280 | /* 右上角 right:0; top: 0; */ |
282 | right: 29px; | 281 | right: 29px; |
283 | top: 4px; | 282 | top: 4px; |
284 | } | 283 | } |
285 | .xxTable { | 284 | .xxTable { |
286 | width: 100%; | 285 | width: 100%; |
287 | border-collapse: collapse; | 286 | border-collapse: collapse; |
288 | 287 | ||
289 | |||
290 | |||
291 | tr td { | 288 | tr td { |
292 | border: 2px solid rgb(227, 226, 226); | 289 | border: 2px solid rgb(227, 226, 226); |
293 | text-align: center; | 290 | text-align: center; |
... | @@ -299,25 +296,22 @@ table { | ... | @@ -299,25 +296,22 @@ table { |
299 | // justify-content: center; | 296 | // justify-content: center; |
300 | min-width: 80px; | 297 | min-width: 80px; |
301 | z-index: 1; | 298 | z-index: 1; |
302 | .ooo{ | 299 | .ooo { |
303 | width: 190px!important; | 300 | width: 190px !important; |
304 | |||
305 | } | 301 | } |
306 | } | 302 | } |
307 | td:first-child{ | 303 | td:first-child { |
308 | flex: inherit !important; | 304 | flex: inherit !important; |
309 | // width: 200px !important; | 305 | // min-width: 180px !important; |
310 | min-width: 180px !important; | ||
311 | } | 306 | } |
312 | |||
313 | } | 307 | } |
314 | .ellipsis-line { | 308 | .ellipsis-line { |
315 | display: inline-block; | 309 | display: inline-block; |
316 | width: 300px; | 310 | width: 300px; |
317 | height: 100px!important; | 311 | height: 100px !important; |
318 | line-height: 20px!important; | 312 | line-height: 20px !important; |
319 | word-break: break-all; | 313 | word-break: break-all; |
320 | text-overflow: ellipsis; | 314 | text-overflow: ellipsis; |
321 | overflow: hidden; | 315 | overflow: hidden; |
322 | } | 316 | } |
323 | </style> | 317 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-25 17:16:32 | 4 | * @LastEditTime: 2023-09-22 09:56:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="all"> | 7 | <div class="all"> |
... | @@ -156,54 +156,53 @@ | ... | @@ -156,54 +156,53 @@ |
156 | height: 100%; | 156 | height: 100%; |
157 | margin: auto; | 157 | margin: auto; |
158 | background-color: rgb(255, 255, 255); | 158 | background-color: rgb(255, 255, 255); |
159 | } | 159 | } |
160 | .tbalede { | 160 | .tbalede { |
161 | width: 794px; | 161 | width: 794px; |
162 | height: 1123px; | 162 | height: 1123px; |
163 | margin: auto; | 163 | margin: auto; |
164 | } | 164 | } |
165 | .top { | 165 | .top { |
166 | width: 80%; | 166 | width: 80%; |
167 | height: 100px; | 167 | height: 100px; |
168 | margin: auto; | 168 | margin: auto; |
169 | display: flex; | 169 | display: flex; |
170 | position: relative; | 170 | position: relative; |
171 | } | 171 | } |
172 | p { | 172 | p { |
173 | position: absolute; | 173 | position: absolute; |
174 | bottom: 10px; | 174 | bottom: 10px; |
175 | right: 10px; | 175 | right: 10px; |
176 | } | 176 | } |
177 | table { | 177 | table { |
178 | width: 80%; | 178 | width: 80%; |
179 | border: 1px solid black; | 179 | border: 1px solid black; |
180 | margin: 0 auto; | 180 | margin: 0 auto; |
181 | border-collapse: collapse; | 181 | border-collapse: collapse; |
182 | } | 182 | } |
183 | .head { | 183 | .head { |
184 | font-size: 20px; | 184 | font-size: 20px; |
185 | width: 100%; | 185 | width: 100%; |
186 | height: 40px; | 186 | height: 40px; |
187 | margin: auto; | 187 | margin: auto; |
188 | } | 188 | } |
189 | .dyh { | 189 | .dyh { |
190 | padding: 10px; | 190 | padding: 10px; |
191 | font-size: 12px; | 191 | font-size: 12px; |
192 | text-align: left; | 192 | text-align: left; |
193 | } | 193 | } |
194 | |||
195 | 194 | ||
196 | .content { | 195 | .content { |
197 | height: 40px; | 196 | height: 40px; |
198 | } | 197 | } |
199 | .slash-wrap { | 198 | .slash-wrap { |
200 | position: relative; | 199 | position: relative; |
201 | box-sizing: border-box; | 200 | box-sizing: border-box; |
202 | width: 150px; | 201 | width: 150px; |
203 | height: 40px; | 202 | height: 40px; |
204 | } | 203 | } |
205 | /* 斜线 */ | 204 | /* 斜线 */ |
206 | .slash1 { | 205 | .slash1 { |
207 | position: absolute; | 206 | position: absolute; |
208 | display: block; | 207 | display: block; |
209 | top: 0; | 208 | top: 0; |
... | @@ -213,46 +212,44 @@ table { | ... | @@ -213,46 +212,44 @@ table { |
213 | background-color: #949393; | 212 | background-color: #949393; |
214 | transform: rotate(17.93010235415598deg); | 213 | transform: rotate(17.93010235415598deg); |
215 | transform-origin: top left; | 214 | transform-origin: top left; |
216 | } | 215 | } |
217 | /* 左下角文字 */ | 216 | /* 左下角文字 */ |
218 | .left { | 217 | .left { |
219 | position: absolute; | 218 | position: absolute; |
220 | left: 30px; | 219 | left: 30px; |
221 | bottom: 5px; | 220 | bottom: 5px; |
222 | } | 221 | } |
223 | 222 | ||
224 | /* 右上角文字 */ | 223 | /* 右上角文字 */ |
225 | .mid { | 224 | .mid { |
226 | position: absolute; | 225 | position: absolute; |
227 | /* 右上角 right:0; top: 0; */ | 226 | /* 右上角 right:0; top: 0; */ |
228 | right: 29px; | 227 | right: 29px; |
229 | top: 4px; | 228 | top: 4px; |
230 | } | 229 | } |
231 | .xxTable { | 230 | .xxTable { |
232 | width: 100%; | 231 | width: 100%; |
233 | border-collapse: collapse; | 232 | border-collapse: collapse; |
234 | table-layout:fixed; | 233 | table-layout: fixed; |
235 | |||
236 | 234 | ||
237 | td { | 235 | td { |
238 | border: 1px solid rgb(0, 0, 0); | 236 | border: 1px solid rgb(0, 0, 0); |
239 | text-align: center; | 237 | text-align: center; |
240 | height: 40px; | 238 | height: 40px; |
241 | width: 80px!important; | 239 | width: 80px !important; |
242 | word-wrap:break-word | 240 | word-wrap: break-word; |
243 | } | 241 | } |
244 | td:first-child{ | 242 | td:first-child { |
245 | min-width: 180px !important; | 243 | // min-width: 180px !important; |
246 | } | 244 | } |
247 | |||
248 | } | 245 | } |
249 | .ellipsis-line { | 246 | .ellipsis-line { |
250 | display: inline-block; | 247 | display: inline-block; |
251 | width: 300px; | 248 | width: 300px; |
252 | height: 100px!important; | 249 | height: 100px !important; |
253 | line-height: 20px!important; | 250 | line-height: 20px !important; |
254 | word-break: break-all; | 251 | word-break: break-all; |
255 | text-overflow: ellipsis; | 252 | text-overflow: ellipsis; |
256 | overflow: hidden; | 253 | overflow: hidden; |
257 | } | 254 | } |
258 | </style> | 255 | </style> | ... | ... |
... | @@ -60,7 +60,8 @@ | ... | @@ -60,7 +60,8 @@ |
60 | top: 0px; | 60 | top: 0px; |
61 | z-index: 3; | 61 | z-index: 3; |
62 | margin-top: -2px; | 62 | margin-top: -2px; |
63 | &:after{ | 63 | |
64 | &:after { | ||
64 | content: ""; | 65 | content: ""; |
65 | display: inline-block; | 66 | display: inline-block; |
66 | width: 100%; | 67 | width: 100%; |
... | @@ -77,7 +78,8 @@ | ... | @@ -77,7 +78,8 @@ |
77 | position: sticky; | 78 | position: sticky; |
78 | top: 40px; | 79 | top: 40px; |
79 | z-index: 3; | 80 | z-index: 3; |
80 | &:after{ | 81 | |
82 | &:after { | ||
81 | content: ""; | 83 | content: ""; |
82 | display: inline-block; | 84 | display: inline-block; |
83 | width: 100%; | 85 | width: 100%; |
... | @@ -102,7 +104,9 @@ | ... | @@ -102,7 +104,9 @@ |
102 | left: 0; | 104 | left: 0; |
103 | z-index: 2; | 105 | z-index: 2; |
104 | margin-left: -2px; | 106 | margin-left: -2px; |
105 | &:before{ | 107 | width: 200px; |
108 | |||
109 | &:before { | ||
106 | content: ""; | 110 | content: ""; |
107 | display: inline-block; | 111 | display: inline-block; |
108 | width: 2px; | 112 | width: 2px; |
... | @@ -113,7 +117,8 @@ | ... | @@ -113,7 +117,8 @@ |
113 | left: -2px; | 117 | left: -2px; |
114 | z-index: 3; | 118 | z-index: 3; |
115 | } | 119 | } |
116 | &:after{ | 120 | |
121 | &:after { | ||
117 | content: ""; | 122 | content: ""; |
118 | display: inline-block; | 123 | display: inline-block; |
119 | width: 2px; | 124 | width: 2px; |
... | @@ -228,11 +233,12 @@ | ... | @@ -228,11 +233,12 @@ |
228 | min-width: 340px; | 233 | min-width: 340px; |
229 | z-index: 1; | 234 | z-index: 1; |
230 | } | 235 | } |
231 | td:first-child{ | 236 | |
237 | td:first-child { | ||
232 | flex: inherit !important; | 238 | flex: inherit !important; |
233 | // width: 200px !important; | 239 | // min-width: 180px !important; |
234 | min-width: 180px !important; | ||
235 | } | 240 | } |
241 | |||
236 | >tr:nth-child(odd) td { | 242 | >tr:nth-child(odd) td { |
237 | background: #f2f2f2; | 243 | background: #f2f2f2; |
238 | } | 244 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 15:07:44 | 4 | * @LastEditTime: 2023-09-22 09:49:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -40,14 +40,14 @@ | ... | @@ -40,14 +40,14 @@ |
40 | * @description: loadData | 40 | * @description: loadData |
41 | * @author: renchao | 41 | * @author: renchao |
42 | */ | 42 | */ |
43 | loadData () { | 43 | loadData (checkList = []) { |
44 | if (this.$parent.addRepairRecord) { | 44 | if (this.$parent.addRepairRecord) { |
45 | this.columns.unshift({ prop: "cz", label: "操作" }); | 45 | this.columns.unshift({ prop: "cz", label: "操作" }); |
46 | } | 46 | } |
47 | getCfdjList({ | 47 | getCfdjList({ |
48 | bdcdyid: this.propsParam.bdcdyid, | 48 | bdcdyid: this.propsParam.bdcdyid, |
49 | qllx: this.propsParam.qllx, | 49 | qllx: this.propsParam.qllx, |
50 | qszt: this.checkList, | 50 | qszt: checkList |
51 | }).then((res) => { | 51 | }).then((res) => { |
52 | if (res.code === 200) { | 52 | if (res.code === 200) { |
53 | this.tableData = res.result; | 53 | this.tableData = res.result; | ... | ... |
... | @@ -27,8 +27,7 @@ | ... | @@ -27,8 +27,7 @@ |
27 | {{ index?"变化后": "变化前"}} | 27 | {{ index?"变化后": "变化前"}} |
28 | </div> | 28 | </div> |
29 | <div | 29 | <div |
30 | v-if="item.prop == 'cz' && row.sjlx != '系统数据'" | 30 | v-if="item.prop == 'cz' && row.sjlx != '系统数据'"></div> |
31 | ></div> | ||
32 | <span v-if="item.prop == 'qszt'" :class="item.co"> | 31 | <span v-if="item.prop == 'qszt'" :class="item.co"> |
33 | {{ getQsztName(row[item.prop]) }} | 32 | {{ getQsztName(row[item.prop]) }} |
34 | </span> | 33 | </span> |
... | @@ -42,17 +41,17 @@ | ... | @@ -42,17 +41,17 @@ |
42 | </template> | 41 | </template> |
43 | 42 | ||
44 | <script> | 43 | <script> |
45 | import { datas } from "./qlxxFormData.js"; | 44 | import { datas } from "./qlxxFormData.js"; |
46 | import { getSjlx } from "@/utils/dictionary.js"; | 45 | import { getSjlx } from "@/utils/dictionary.js"; |
47 | import { getDjbQlxxDiff } from "@/api/djbDetail.js"; | 46 | import { getDjbQlxxDiff } from "@/api/djbDetail.js"; |
48 | export default { | 47 | export default { |
49 | props: { | 48 | props: { |
50 | formData: { | 49 | formData: { |
51 | type: Object, | 50 | type: Object, |
52 | default: {}, | 51 | default: {}, |
53 | }, | 52 | }, |
54 | }, | 53 | }, |
55 | data() { | 54 | data () { |
56 | return { | 55 | return { |
57 | radio: 1, | 56 | radio: 1, |
58 | title: "变化情况对比", | 57 | title: "变化情况对比", |
... | @@ -63,11 +62,11 @@ export default { | ... | @@ -63,11 +62,11 @@ export default { |
63 | emptycolNum: 1, | 62 | emptycolNum: 1, |
64 | //列名称对象 | 63 | //列名称对象 |
65 | columns: [], | 64 | columns: [], |
66 | columnsall:[], | 65 | columnsall: [], |
67 | columnsum:[] | 66 | columnsum: [] |
68 | }; | 67 | }; |
69 | }, | 68 | }, |
70 | created() { | 69 | created () { |
71 | switch (this.formData.dqqllx) { | 70 | switch (this.formData.dqqllx) { |
72 | case "JSYDSYQ": | 71 | case "JSYDSYQ": |
73 | this.columns = datas.columns().JSYDSYQ; | 72 | this.columns = datas.columns().JSYDSYQ; |
... | @@ -97,16 +96,16 @@ export default { | ... | @@ -97,16 +96,16 @@ export default { |
97 | this.getdata(); | 96 | this.getdata(); |
98 | }, | 97 | }, |
99 | methods: { | 98 | methods: { |
100 | getArrDifference: function(arr1, arr2){ | 99 | getArrDifference: function (arr1, arr2) { |
101 | return arr1.concat(arr2).filter(function(value, i, arr){ | 100 | return arr1.concat(arr2).filter(function (value, i, arr) { |
102 | return arr.indexOf(value) === arr.lastIndexOf(value); | 101 | return arr.indexOf(value) === arr.lastIndexOf(value); |
103 | }) | 102 | }) |
104 | }, | 103 | }, |
105 | /** | 104 | /** |
106 | * @description: checkChange | 105 | * @description: checkChange |
107 | * @author: renchao | 106 | * @author: renchao |
108 | */ | 107 | */ |
109 | getdata() { | 108 | getdata () { |
110 | getDjbQlxxDiff(this.formData.bsmQlxx).then((res) => { | 109 | getDjbQlxxDiff(this.formData.bsmQlxx).then((res) => { |
111 | if (res.code === 200) { | 110 | if (res.code === 200) { |
112 | this.tableData.push(res.result.ssQlxx) | 111 | this.tableData.push(res.result.ssQlxx) |
... | @@ -116,12 +115,12 @@ export default { | ... | @@ -116,12 +115,12 @@ export default { |
116 | item.sjlx = getSjlx(item.sjlx); | 115 | item.sjlx = getSjlx(item.sjlx); |
117 | }); | 116 | }); |
118 | for (let key in this.tableData[0]) { | 117 | for (let key in this.tableData[0]) { |
119 | this.columnsum=this.columns.filter((item,index) => { | 118 | this.columnsum = this.columns.filter((item, index) => { |
120 | if(this.tableData[1][key]!==this.tableData[0][key]&&this.columns[index].prop==key){ | 119 | if (this.tableData[1][key] !== this.tableData[0][key] && this.columns[index].prop == key) { |
121 | this.columns[index].bt="bgc" | 120 | this.columns[index].bt = "bgc" |
122 | this.columns[index].co="red" | 121 | this.columns[index].co = "red" |
123 | } | 122 | } |
124 | return this.columns[index].bt=="bgc" | 123 | return this.columns[index].bt == "bgc" |
125 | }) | 124 | }) |
126 | } | 125 | } |
127 | this.columns.unshift({ | 126 | this.columns.unshift({ |
... | @@ -132,7 +131,7 @@ export default { | ... | @@ -132,7 +131,7 @@ export default { |
132 | prop: "bhqk", | 131 | prop: "bhqk", |
133 | label: "" | 132 | label: "" |
134 | }) | 133 | }) |
135 | this.columnsall= this.columns | 134 | this.columnsall = this.columns |
136 | 135 | ||
137 | 136 | ||
138 | 137 | ||
... | @@ -144,7 +143,7 @@ export default { | ... | @@ -144,7 +143,7 @@ export default { |
144 | * @param {*} code | 143 | * @param {*} code |
145 | * @author: renchao | 144 | * @author: renchao |
146 | */, | 145 | */, |
147 | getQsztName(code) { | 146 | getQsztName (code) { |
148 | let name = ""; | 147 | let name = ""; |
149 | for (let item of this.qsztList) { | 148 | for (let item of this.qsztList) { |
150 | if (item.value == code) { | 149 | if (item.value == code) { |
... | @@ -155,37 +154,33 @@ export default { | ... | @@ -155,37 +154,33 @@ export default { |
155 | return name; | 154 | return name; |
156 | }, | 155 | }, |
157 | 156 | ||
158 | checkChange() { | 157 | checkChange () { |
159 | if(this.radio==2){ | 158 | if (this.radio == 2) { |
160 | this.columnsall=this.columnsum | 159 | this.columnsall = this.columnsum |
161 | 160 | ||
162 | }else{ | 161 | } else { |
163 | this.columnsall=this.columns | 162 | this.columnsall = this.columns |
164 | 163 | ||
165 | } | 164 | } |
166 | }, | 165 | }, |
167 | }, | 166 | }, |
168 | }; | 167 | }; |
169 | </script> | 168 | </script> |
170 | 169 | ||
171 | <style lang="scss" scoped> | 170 | <style lang="scss" scoped> |
172 | @import "./qlxxCommon.scss"; | 171 | @import "./qlxxCommon.scss"; |
173 | .bgc{ | 172 | .bgc { |
174 | 173 | td { | |
175 | td{ | ||
176 | // background-color: rgb(182, 203, 207) !important; | 174 | // background-color: rgb(182, 203, 207) !important; |
177 | |||
178 | } | 175 | } |
179 | } | 176 | } |
180 | .xxTable tr td{ | 177 | .xxTable tr td { |
181 | 178 | min-width: 520px !important; | |
182 | min-width: 520px!important; | 179 | } |
183 | 180 | .red { | |
184 | } | ||
185 | .red{ | ||
186 | color: red; | 181 | color: red; |
187 | } | 182 | } |
188 | .setbut{ | 183 | .setbut { |
189 | font-size: 18px; | 184 | font-size: 18px; |
190 | font-weight: 700; | 185 | font-weight: 700; |
191 | } | 186 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-21 10:53:44 | 4 | * @LastEditTime: 2023-09-22 09:47:08 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="tableBox"> | 7 | <div class="tableBox"> |
... | @@ -172,7 +172,7 @@ | ... | @@ -172,7 +172,7 @@ |
172 | this.tableData = []; | 172 | this.tableData = []; |
173 | this.emptycolNum = datas.columns().emptycolNum; | 173 | this.emptycolNum = datas.columns().emptycolNum; |
174 | } else { | 174 | } else { |
175 | this.$parent.loadData(); | 175 | this.$parent.loadData(this.checkList); |
176 | } | 176 | } |
177 | }, | 177 | }, |
178 | /** | 178 | /** | ... | ... |
... | @@ -9,8 +9,7 @@ | ... | @@ -9,8 +9,7 @@ |
9 | class="tbalede" | 9 | class="tbalede" |
10 | v-for="(el, indexx) in datass" | 10 | v-for="(el, indexx) in datass" |
11 | :key="indexx" | 11 | :key="indexx" |
12 | style="page-break-after: always" | 12 | style="page-break-after: always"> |
13 | > | ||
14 | <div class="title">{{ title }}</div> | 13 | <div class="title">{{ title }}</div> |
15 | <div class="num">共{{ datass.length }}页,第{{ indexx + 1 }}页</div> | 14 | <div class="num">共{{ datass.length }}页,第{{ indexx + 1 }}页</div> |
16 | <table class="xxTable"> | 15 | <table class="xxTable"> |
... | @@ -25,8 +24,7 @@ | ... | @@ -25,8 +24,7 @@ |
25 | <td | 24 | <td |
26 | v-show="el.emptycolNum" | 25 | v-show="el.emptycolNum" |
27 | v-for="count in emptycolNum" | 26 | v-for="count in emptycolNum" |
28 | :key="count" | 27 | :key="count"></td> |
29 | ></td> | ||
30 | </tr> | 28 | </tr> |
31 | </table> | 29 | </table> |
32 | </div> | 30 | </div> |
... | @@ -34,12 +32,12 @@ | ... | @@ -34,12 +32,12 @@ |
34 | </template> | 32 | </template> |
35 | 33 | ||
36 | <script> | 34 | <script> |
37 | import { datas } from "./qlxxFormData.js"; | 35 | import { datas } from "./qlxxFormData.js"; |
38 | import { getSjlx } from "@/utils/dictionary.js"; | 36 | import { getSjlx } from "@/utils/dictionary.js"; |
39 | import { getFieldListByQlxx } from "@/api/SysDjbFieldDO.js"; | 37 | import { getFieldListByQlxx } from "@/api/SysDjbFieldDO.js"; |
40 | 38 | ||
41 | export default { | 39 | export default { |
42 | data() { | 40 | data () { |
43 | return { | 41 | return { |
44 | title: this.$parent.title, | 42 | title: this.$parent.title, |
45 | //列表数据 | 43 | //列表数据 |
... | @@ -60,17 +58,17 @@ export default { | ... | @@ -60,17 +58,17 @@ export default { |
60 | default: false, | 58 | default: false, |
61 | }, | 59 | }, |
62 | }, | 60 | }, |
63 | created() {}, | 61 | created () { }, |
64 | watch: { | 62 | watch: { |
65 | tableData: { | 63 | tableData: { |
66 | handler(newValue, oldValue) { | 64 | handler (newValue, oldValue) { |
67 | this.tableData = newValue; | 65 | this.tableData = newValue; |
68 | }, | 66 | }, |
69 | }, | 67 | }, |
70 | render: { | 68 | render: { |
71 | handler(newValue, oldValue) { | 69 | handler (newValue, oldValue) { |
72 | console.log("newValue",newValue); | 70 | console.log("newValue", newValue); |
73 | console.log("columns",this.columns); | 71 | console.log("columns", this.columns); |
74 | if (newValue) { | 72 | if (newValue) { |
75 | this.loadData(); | 73 | this.loadData(); |
76 | } | 74 | } |
... | @@ -84,13 +82,13 @@ export default { | ... | @@ -84,13 +82,13 @@ export default { |
84 | * @description: loadData | 82 | * @description: loadData |
85 | * @author: miaofang | 83 | * @author: miaofang |
86 | */ | 84 | */ |
87 | loadData() { | 85 | loadData () { |
88 | getFieldListByQlxx({ | 86 | getFieldListByQlxx({ |
89 | qllx: this.tableData[0].qllx, | 87 | qllx: this.tableData[0].qllx, |
90 | }).then((res) => { | 88 | }).then((res) => { |
91 | if (res.code === 200) { | 89 | if (res.code === 200) { |
92 | this.columns = res.result; | 90 | this.columns = res.result; |
93 | console.log("columnssssssssssss",this.columns); | 91 | console.log("columnssssssssssss", this.columns); |
94 | } | 92 | } |
95 | }); | 93 | }); |
96 | if (this.tableData.length && this.datass.length == 0) { | 94 | if (this.tableData.length && this.datass.length == 0) { |
... | @@ -107,11 +105,11 @@ export default { | ... | @@ -107,11 +105,11 @@ export default { |
107 | } | 105 | } |
108 | }, | 106 | }, |
109 | }, | 107 | }, |
110 | }; | 108 | }; |
111 | </script> | 109 | </script> |
112 | 110 | ||
113 | <style lang="scss" scoped> | 111 | <style lang="scss" scoped> |
114 | .tbalede { | 112 | .tbalede { |
115 | width: 100%; | 113 | width: 100%; |
116 | margin: auto; | 114 | margin: auto; |
117 | position: relative; | 115 | position: relative; |
... | @@ -147,13 +145,7 @@ export default { | ... | @@ -147,13 +145,7 @@ export default { |
147 | td { | 145 | td { |
148 | width: 20px !important; | 146 | width: 20px !important; |
149 | word-break: break-all; | 147 | word-break: break-all; |
150 | // /* 方法一:使用 word-break */ | ||
151 | // word-break: break-all; | ||
152 | // // /* 方法二:使用 white-space */ | ||
153 | // // white-space: pre-wrap; | ||
154 | // // /* 方法三:使用 overflow-wrap */ | ||
155 | // // overflow-wrap: break-word; | ||
156 | } | 148 | } |
157 | } | 149 | } |
158 | } | 150 | } |
159 | </style> | 151 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 15:04:32 | 4 | * @LastEditTime: 2023-09-22 09:50:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -40,14 +40,14 @@ | ... | @@ -40,14 +40,14 @@ |
40 | * @description: loadData | 40 | * @description: loadData |
41 | * @author: renchao | 41 | * @author: renchao |
42 | */ | 42 | */ |
43 | loadData () { | 43 | loadData (checkList = []) { |
44 | if (this.$parent.addRepairRecord) { | 44 | if (this.$parent.addRepairRecord) { |
45 | this.columns.unshift({ prop: "cz", label: "操作" }); | 45 | this.columns.unshift({ prop: "cz", label: "操作" }); |
46 | } | 46 | } |
47 | getDiyaqList({ | 47 | getDiyaqList({ |
48 | bdcdyid: this.propsParam.bdcdyid, | 48 | bdcdyid: this.propsParam.bdcdyid, |
49 | qllx: this.propsParam.qllx, | 49 | qllx: this.propsParam.qllx, |
50 | qszt: this.checkList, | 50 | qszt: checkList |
51 | }).then((res) => { | 51 | }).then((res) => { |
52 | if (res.code === 200) { | 52 | if (res.code === 200) { |
53 | this.tableData = res.result; | 53 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 15:04:54 | 4 | * @LastEditTime: 2023-09-22 09:50:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -36,14 +36,14 @@ | ... | @@ -36,14 +36,14 @@ |
36 | this.loadData(); | 36 | this.loadData(); |
37 | }, | 37 | }, |
38 | methods: { | 38 | methods: { |
39 | loadData () { | 39 | loadData (checkList = []) { |
40 | if (this.$parent.addRepairRecord) { | 40 | if (this.$parent.addRepairRecord) { |
41 | this.columns.unshift({ prop: "cz", label: "操作" }); | 41 | this.columns.unshift({ prop: "cz", label: "操作" }); |
42 | } | 42 | } |
43 | getDiyiqList({ | 43 | getDiyiqList({ |
44 | bdcdyid: this.propsParam.bdcdyid, | 44 | bdcdyid: this.propsParam.bdcdyid, |
45 | qllx: this.propsParam.qllx, | 45 | qllx: this.propsParam.qllx, |
46 | qszt: this.checkList, | 46 | qszt: checkList |
47 | }).then((res) => { | 47 | }).then((res) => { |
48 | if (res.code === 200) { | 48 | if (res.code === 200) { |
49 | this.tableData = res.result; | 49 | this.tableData = res.result; | ... | ... |
... | @@ -14,8 +14,7 @@ | ... | @@ -14,8 +14,7 @@ |
14 | :default-expand-all="true" | 14 | :default-expand-all="true" |
15 | :expand-on-click-node="false" | 15 | :expand-on-click-node="false" |
16 | node-key="id" | 16 | node-key="id" |
17 | :default-checked-keys="[showTab]" | 17 | :default-checked-keys="[showTab]"> |
18 | > | ||
19 | </el-tree> | 18 | </el-tree> |
20 | <el-collapse v-model="activeName" accordion> | 19 | <el-collapse v-model="activeName" accordion> |
21 | <el-collapse-item | 20 | <el-collapse-item |
... | @@ -23,8 +22,7 @@ | ... | @@ -23,8 +22,7 @@ |
23 | ref="sfq" | 22 | ref="sfq" |
24 | v-for="(item, index) in sfqdata" | 23 | v-for="(item, index) in sfqdata" |
25 | :key="index" | 24 | :key="index" |
26 | :name="index" | 25 | :name="index"> |
27 | > | ||
28 | <template slot="title"> | 26 | <template slot="title"> |
29 | <span class="text" @click="tap(item)"> | 27 | <span class="text" @click="tap(item)"> |
30 | <span> | 28 | <span> |
... | @@ -37,8 +35,7 @@ | ... | @@ -37,8 +35,7 @@ |
37 | :re="item" | 35 | :re="item" |
38 | :key="index" | 36 | :key="index" |
39 | :class="[isActive == index ? activeCls : '', errorCls]" | 37 | :class="[isActive == index ? activeCls : '', errorCls]" |
40 | @click="taplist(item, index)" | 38 | @click="taplist(item, index)"> |
41 | > | ||
42 | <span> | 39 | <span> |
43 | {{ item.label }} | 40 | {{ item.label }} |
44 | </span> | 41 | </span> |
... | @@ -53,18 +50,17 @@ | ... | @@ -53,18 +50,17 @@ |
53 | <component | 50 | <component |
54 | :is="componentTag" | 51 | :is="componentTag" |
55 | @getBdcdyh="getBdcdyh" | 52 | @getBdcdyh="getBdcdyh" |
56 | v-bind="currentSelectProps" | 53 | v-bind="currentSelectProps" /> |
57 | /> | ||
58 | </div> | 54 | </div> |
59 | </div> | 55 | </div> |
60 | </template> | 56 | </template> |
61 | <script> | 57 | <script> |
62 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 58 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
63 | import { loadTreeData,loadsfqData, getNode } from "./djbFrameData.js"; | 59 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; |
64 | import { searchTaskToDo } from "@/api/workflow/search.js"; | 60 | import { searchTaskToDo } from "@/api/workflow/search.js"; |
65 | import { leftMenu } from "@/api/workFlow.js"; | 61 | import { leftMenu } from "@/api/workFlow.js"; |
66 | export default { | 62 | export default { |
67 | data() { | 63 | data () { |
68 | return { | 64 | return { |
69 | //接收参数 | 65 | //接收参数 |
70 | // propsParam: this.$attrs, | 66 | // propsParam: this.$attrs, |
... | @@ -95,7 +91,7 @@ export default { | ... | @@ -95,7 +91,7 @@ export default { |
95 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 | 91 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 |
96 | }; | 92 | }; |
97 | }, | 93 | }, |
98 | mounted() { | 94 | mounted () { |
99 | this.getdata(); | 95 | this.getdata(); |
100 | }, | 96 | }, |
101 | methods: { | 97 | methods: { |
... | @@ -105,7 +101,7 @@ export default { | ... | @@ -105,7 +101,7 @@ export default { |
105 | * @param {*} obj | 101 | * @param {*} obj |
106 | * @author: renchao | 102 | * @author: renchao |
107 | */ | 103 | */ |
108 | getCaption(obj) { | 104 | getCaption (obj) { |
109 | let index = obj.lastIndexOf("="); | 105 | let index = obj.lastIndexOf("="); |
110 | obj = obj.substring(index + 1, obj.length); | 106 | obj = obj.substring(index + 1, obj.length); |
111 | return obj; | 107 | return obj; |
... | @@ -115,7 +111,7 @@ export default { | ... | @@ -115,7 +111,7 @@ export default { |
115 | * @description: 通过不动产业务号获取参数 | 111 | * @description: 通过不动产业务号获取参数 |
116 | * @author: renchao | 112 | * @author: renchao |
117 | */ | 113 | */ |
118 | getdata() { | 114 | getdata () { |
119 | this.queryForm = { | 115 | this.queryForm = { |
120 | bdcdyh: this.getCaption(window.location.href), | 116 | bdcdyh: this.getCaption(window.location.href), |
121 | currentPage: 1, | 117 | currentPage: 1, |
... | @@ -147,7 +143,7 @@ export default { | ... | @@ -147,7 +143,7 @@ export default { |
147 | * @param {*} b | 143 | * @param {*} b |
148 | * @author: renchao | 144 | * @author: renchao |
149 | */ | 145 | */ |
150 | loadBdcdylist(a, b) { | 146 | loadBdcdylist (a, b) { |
151 | var formdata = new FormData(); | 147 | var formdata = new FormData(); |
152 | formdata.append("bsmSlsq", a); | 148 | formdata.append("bsmSlsq", a); |
153 | formdata.append("bestepid", b); | 149 | formdata.append("bestepid", b); |
... | @@ -166,14 +162,14 @@ export default { | ... | @@ -166,14 +162,14 @@ export default { |
166 | * @author: miaofang | 162 | * @author: miaofang |
167 | * 点击不动产单元号事件 | 163 | * 点击不动产单元号事件 |
168 | */ | 164 | */ |
169 | getBdcdyh(val) { | 165 | getBdcdyh (val) { |
170 | this.addloadData(val); | 166 | this.addloadData(val); |
171 | }, | 167 | }, |
172 | /** | 168 | /** |
173 | * @description: addloadData | 169 | * @description: addloadData |
174 | * @author: miaofang | 170 | * @author: miaofang |
175 | */ | 171 | */ |
176 | addloadData(val) { | 172 | addloadData (val) { |
177 | getBdcqljqtsx({ | 173 | getBdcqljqtsx({ |
178 | bdcdyid: val.bdcdyid, | 174 | bdcdyid: val.bdcdyid, |
179 | bdcdyh: val.bdcdyh, | 175 | bdcdyh: val.bdcdyh, |
... | @@ -201,7 +197,7 @@ export default { | ... | @@ -201,7 +197,7 @@ export default { |
201 | * @description: loadData | 197 | * @description: loadData |
202 | * @author: renchao | 198 | * @author: renchao |
203 | */ | 199 | */ |
204 | loadData(val) { | 200 | loadData (val) { |
205 | getBdcqljqtsx({ | 201 | getBdcqljqtsx({ |
206 | bdcdyid: this.currentSelectProps.bdcdyid, | 202 | bdcdyid: this.currentSelectProps.bdcdyid, |
207 | bdcdyh: val, | 203 | bdcdyh: val, |
... | @@ -215,7 +211,7 @@ export default { | ... | @@ -215,7 +211,7 @@ export default { |
215 | this.defaultNode = getNode( | 211 | this.defaultNode = getNode( |
216 | this.currentSelectProps.qllx, | 212 | this.currentSelectProps.qllx, |
217 | { linShi: 0, xianShi: 0, liShi: 0 }, | 213 | { linShi: 0, xianShi: 0, liShi: 0 }, |
218 | res.result.bdcdylx|| "" | 214 | res.result.bdcdylx || "" |
219 | ); | 215 | ); |
220 | this.sfqdata[0].children.forEach((item, index) => { | 216 | this.sfqdata[0].children.forEach((item, index) => { |
221 | if (item.id == this.defaultNode.id) { | 217 | if (item.id == this.defaultNode.id) { |
... | @@ -247,16 +243,16 @@ export default { | ... | @@ -247,16 +243,16 @@ export default { |
247 | * @param {*} data | 243 | * @param {*} data |
248 | * @author: renchao | 244 | * @author: renchao |
249 | */ | 245 | */ |
250 | handleNodeClick(data) { | 246 | handleNodeClick (data) { |
251 | this.loadComponent(data.form); | 247 | this.loadComponent(data.form); |
252 | }, | 248 | }, |
253 | 249 | ||
254 | /** | 250 | /** |
255 | * @description: setstyle | 251 | * @description: setstyle |
256 | * @param {*} data | 252 | * @param {*} data |
257 | * @author: renchao | 253 | * @author: renchao |
258 | * 设置样式和点击定位到当前功能 | 254 | * 设置样式和点击定位到当前功能 |
259 | */ | 255 | */ |
260 | // setstyle (newindex, index, key) { | 256 | // setstyle (newindex, index, key) { |
261 | // if (key != undefined || this.keyy == index) { | 257 | // if (key != undefined || this.keyy == index) { |
262 | // if (key != undefined) { | 258 | // if (key != undefined) { |
... | @@ -280,7 +276,7 @@ export default { | ... | @@ -280,7 +276,7 @@ export default { |
280 | * @author: renchao | 276 | * @author: renchao |
281 | * 新增列表功能 | 277 | * 新增列表功能 |
282 | */ | 278 | */ |
283 | tap(data, index) { | 279 | tap (data, index) { |
284 | this.loadComponent(data.form); | 280 | this.loadComponent(data.form); |
285 | }, | 281 | }, |
286 | /** | 282 | /** |
... | @@ -289,7 +285,7 @@ export default { | ... | @@ -289,7 +285,7 @@ export default { |
289 | * @author: renchao | 285 | * @author: renchao |
290 | * 新增列表功能 | 286 | * 新增列表功能 |
291 | */ | 287 | */ |
292 | taplist(data, index) { | 288 | taplist (data, index) { |
293 | this.loadComponent(data.form); | 289 | this.loadComponent(data.form); |
294 | this.isActive = index; | 290 | this.isActive = index; |
295 | }, | 291 | }, |
... | @@ -298,19 +294,19 @@ export default { | ... | @@ -298,19 +294,19 @@ export default { |
298 | * @param {*} form | 294 | * @param {*} form |
299 | * @author: renchao | 295 | * @author: renchao |
300 | */ | 296 | */ |
301 | loadComponent(form) { | 297 | loadComponent (form) { |
302 | this.componentTag = (r) => | 298 | this.componentTag = (r) => |
303 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 299 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
304 | }, | 300 | }, |
305 | }, | 301 | }, |
306 | }; | 302 | }; |
307 | </script> | 303 | </script> |
308 | <style scoped lang="scss"> | 304 | <style scoped lang="scss"> |
309 | /deep/.rollTable { | 305 | /deep/.rollTable { |
310 | height: calc(120vh - 254px) !important; | 306 | height: calc(120vh - 254px) !important; |
311 | } | 307 | } |
312 | 308 | ||
313 | .content { | 309 | .content { |
314 | width: 100%; | 310 | width: 100%; |
315 | height: 100%; | 311 | height: 100%; |
316 | display: flex; | 312 | display: flex; |
... | @@ -331,34 +327,34 @@ export default { | ... | @@ -331,34 +327,34 @@ export default { |
331 | background-color: #f5f5f5; | 327 | background-color: #f5f5f5; |
332 | border: 1px solid rgb(228, 228, 228); | 328 | border: 1px solid rgb(228, 228, 228); |
333 | } | 329 | } |
334 | } | 330 | } |
335 | 331 | ||
336 | /deep/ .expanded.el-tree-node__expand-icon, | 332 | /deep/ .expanded.el-tree-node__expand-icon, |
337 | /deep/ .el-tree-node__expand-icon { | 333 | /deep/ .el-tree-node__expand-icon { |
338 | visibility: hidden; | 334 | visibility: hidden; |
339 | } | 335 | } |
340 | 336 | ||
341 | /deep/ .el-tree-node__content { | 337 | /deep/ .el-tree-node__content { |
342 | border: 1px solid rgb(228, 228, 228); | 338 | border: 1px solid rgb(228, 228, 228); |
343 | height: 45px; | 339 | height: 45px; |
344 | } | 340 | } |
345 | 341 | ||
346 | /deep/ .el-tree-node:focus > .el-tree-node__content { | 342 | /deep/ .el-tree-node:focus > .el-tree-node__content { |
347 | // background-color: #f5f5f5; | 343 | // background-color: #f5f5f5; |
348 | // color: #0079fe; | 344 | // color: #0079fe; |
349 | // border-right: 4px solid #0079fe; | 345 | // border-right: 4px solid #0079fe; |
350 | } | 346 | } |
351 | 347 | ||
352 | /deep/.el-tree-node { | 348 | /deep/.el-tree-node { |
353 | white-space: pre-wrap; | 349 | white-space: pre-wrap; |
354 | } | 350 | } |
355 | 351 | ||
356 | /deep/ .is-current > .el-tree-node__content { | 352 | /deep/ .is-current > .el-tree-node__content { |
357 | // background-color: #f5f5f5; | 353 | // background-color: #f5f5f5; |
358 | // color: #0079fe; | 354 | // color: #0079fe; |
359 | // border-right: 4px solid #0079fe; | 355 | // border-right: 4px solid #0079fe; |
360 | } | 356 | } |
361 | /deep/.el-collapse-item__header { | 357 | /deep/.el-collapse-item__header { |
362 | width: 100%; | 358 | width: 100%; |
363 | cursor: pointer; | 359 | cursor: pointer; |
364 | position: relative; | 360 | position: relative; |
... | @@ -383,11 +379,11 @@ export default { | ... | @@ -383,11 +379,11 @@ export default { |
383 | display: inline-block; | 379 | display: inline-block; |
384 | line-height: 45px; | 380 | line-height: 45px; |
385 | border: 1px solid rgb(228, 228, 228); | 381 | border: 1px solid rgb(228, 228, 228); |
386 | } | 382 | } |
387 | /deep/.el-collapse-item__content { | 383 | /deep/.el-collapse-item__content { |
388 | padding-bottom: 5px; | 384 | padding-bottom: 5px; |
389 | } | 385 | } |
390 | /deep/.unselected { | 386 | /deep/.unselected { |
391 | // white-space: wrap; | 387 | // white-space: wrap; |
392 | border: none; | 388 | border: none; |
393 | cursor: pointer; | 389 | cursor: pointer; |
... | @@ -404,9 +400,9 @@ export default { | ... | @@ -404,9 +400,9 @@ export default { |
404 | justify-content: center; | 400 | justify-content: center; |
405 | align-items: center; | 401 | align-items: center; |
406 | } | 402 | } |
407 | } | 403 | } |
408 | 404 | ||
409 | .select { | 405 | .select { |
410 | border: none; | 406 | border: none; |
411 | cursor: pointer; | 407 | cursor: pointer; |
412 | width: 250px; | 408 | width: 250px; |
... | @@ -423,5 +419,5 @@ export default { | ... | @@ -423,5 +419,5 @@ export default { |
423 | justify-content: center; | 419 | justify-content: center; |
424 | align-items: center; | 420 | align-items: center; |
425 | } | 421 | } |
426 | } | 422 | } |
427 | </style> | 423 | </style> | ... | ... |
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | </p> | 35 | </p> |
36 | </div> | 36 | </div> |
37 | </div> | 37 | </div> |
38 | </div> | 38 | </div> |
39 | 39 | ||
40 | </template> | 40 | </template> |
41 | 41 | ||
... | @@ -78,18 +78,15 @@ | ... | @@ -78,18 +78,15 @@ |
78 | width: 100%; | 78 | width: 100%; |
79 | height: 100%; | 79 | height: 100%; |
80 | position: relative; | 80 | position: relative; |
81 | .print{ | 81 | .print { |
82 | // background-color: #0079fe; | 82 | // background-color: #0079fe; |
83 | z-index: 10; | 83 | z-index: 10; |
84 | position: absolute; | 84 | position: absolute; |
85 | left: 11px; | 85 | left: 11px; |
86 | top: 5px; | 86 | top: 5px; |
87 | |||
88 | |||
89 | } | 87 | } |
90 | |||
91 | } | 88 | } |
92 | .fm{ | 89 | .fm { |
93 | width: 100%; | 90 | width: 100%; |
94 | height: 100%; | 91 | height: 100%; |
95 | background: #fff; | 92 | background: #fff; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 15:01:13 | 4 | * @LastEditTime: 2023-09-22 09:49:44 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -39,14 +39,14 @@ | ... | @@ -39,14 +39,14 @@ |
39 | * @description: loadData | 39 | * @description: loadData |
40 | * @author: miaofang | 40 | * @author: miaofang |
41 | */ | 41 | */ |
42 | loadData () { | 42 | loadData (checkList = []) { |
43 | if (this.$parent.addRepairRecord) { | 43 | if (this.$parent.addRepairRecord) { |
44 | this.columns.unshift({ prop: "cz", label: "操作" }); | 44 | this.columns.unshift({ prop: "cz", label: "操作" }); |
45 | } | 45 | } |
46 | getFdcq2List({ | 46 | getFdcq2List({ |
47 | bdcdyid: this.propsParam.bdcdyid, | 47 | bdcdyid: this.propsParam.bdcdyid, |
48 | qllx: this.propsParam.qllx, | 48 | qllx: this.propsParam.qllx, |
49 | qszt: this.checkList, | 49 | qszt: checkList |
50 | }).then((res) => { | 50 | }).then((res) => { |
51 | if (res.code === 200) { | 51 | if (res.code === 200) { |
52 | this.tableData = res.result; | 52 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:43:36 | 4 | * @LastEditTime: 2023-09-22 09:49:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -40,11 +40,11 @@ | ... | @@ -40,11 +40,11 @@ |
40 | this.loadData(); | 40 | this.loadData(); |
41 | }, | 41 | }, |
42 | methods: { | 42 | methods: { |
43 | loadData () { | 43 | loadData (checkList = []) { |
44 | getJsydsyqList({ | 44 | getJsydsyqList({ |
45 | bdcdyid: this.propsParam.bdcdyid, | 45 | bdcdyid: this.propsParam.bdcdyid, |
46 | qllx: this.propsParam.qllx, | 46 | qllx: this.propsParam.qllx, |
47 | qszt: this.checkList, | 47 | qszt: checkList |
48 | }).then((res) => { | 48 | }).then((res) => { |
49 | if (res.code === 200) { | 49 | if (res.code === 200) { |
50 | this.tableData = res.result; | 50 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:44:04 | 4 | * @LastEditTime: 2023-09-22 09:53:54 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | this.loadData(); | 40 | this.loadData(); |
41 | }, | 41 | }, |
42 | methods: { | 42 | methods: { |
43 | loadData () { | 43 | loadData (checkList = []) { |
44 | if (this.$parent.addRepairRecord) { | 44 | if (this.$parent.addRepairRecord) { |
45 | this.columns.unshift({ | 45 | this.columns.unshift({ |
46 | prop: "cz", | 46 | prop: "cz", |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | getLqList({ | 50 | getLqList({ |
51 | bdcdyid: this.propsParam.bdcdyid, | 51 | bdcdyid: this.propsParam.bdcdyid, |
52 | qllx: this.propsParam.qllx, | 52 | qllx: this.propsParam.qllx, |
53 | qszt: this.checkList, | 53 | qszt: checkList |
54 | }).then((res) => { | 54 | }).then((res) => { |
55 | if (res.code === 200) { | 55 | if (res.code === 200) { |
56 | this.tableData = res.result; | 56 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:44:35 | 4 | * @LastEditTime: 2023-09-22 09:53:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | this.loadData(); | 46 | this.loadData(); |
47 | }, | 47 | }, |
48 | methods: { | 48 | methods: { |
49 | loadData () { | 49 | loadData (checkList = []) { |
50 | if (this.$parent.addRepairRecord) { | 50 | if (this.$parent.addRepairRecord) { |
51 | this.columns.unshift({ | 51 | this.columns.unshift({ |
52 | prop: "cz", | 52 | prop: "cz", |
... | @@ -56,7 +56,7 @@ | ... | @@ -56,7 +56,7 @@ |
56 | getNydsyqList({ | 56 | getNydsyqList({ |
57 | bdcdyid: this.propsParam.bdcdyid, | 57 | bdcdyid: this.propsParam.bdcdyid, |
58 | qllx: this.propsParam.qllx, | 58 | qllx: this.propsParam.qllx, |
59 | qszt: this.checkList, | 59 | qszt: checkList |
60 | }).then((res) => { | 60 | }).then((res) => { |
61 | if (res.code === 200) { | 61 | if (res.code === 200) { |
62 | this.tableData = res.result; | 62 | this.tableData = res.result; |
... | @@ -68,13 +68,13 @@ | ... | @@ -68,13 +68,13 @@ |
68 | this.emptycolNum = | 68 | this.emptycolNum = |
69 | datas.columns().emptycolNum - this.tableData.length; | 69 | datas.columns().emptycolNum - this.tableData.length; |
70 | } else { | 70 | } else { |
71 | this.emptycolNum = 0; | 71 | this.emptycolNum = 0 |
72 | } | 72 | } |
73 | } | 73 | } |
74 | }); | 74 | }) |
75 | } | ||
75 | } | 76 | } |
76 | } | 77 | } |
77 | }; | ||
78 | </script> | 78 | </script> |
79 | 79 | ||
80 | <style lang="scss" scoped> | 80 | <style lang="scss" scoped> | ... | ... |
... | @@ -60,7 +60,8 @@ | ... | @@ -60,7 +60,8 @@ |
60 | top: 0px; | 60 | top: 0px; |
61 | z-index: 3; | 61 | z-index: 3; |
62 | margin-top: -2px; | 62 | margin-top: -2px; |
63 | &:after{ | 63 | |
64 | &:after { | ||
64 | content: ""; | 65 | content: ""; |
65 | display: inline-block; | 66 | display: inline-block; |
66 | width: 100%; | 67 | width: 100%; |
... | @@ -77,7 +78,8 @@ | ... | @@ -77,7 +78,8 @@ |
77 | position: sticky; | 78 | position: sticky; |
78 | top: 40px; | 79 | top: 40px; |
79 | z-index: 3; | 80 | z-index: 3; |
80 | &:after{ | 81 | |
82 | &:after { | ||
81 | content: ""; | 83 | content: ""; |
82 | display: inline-block; | 84 | display: inline-block; |
83 | width: 100%; | 85 | width: 100%; |
... | @@ -102,7 +104,8 @@ | ... | @@ -102,7 +104,8 @@ |
102 | left: 0; | 104 | left: 0; |
103 | z-index: 2; | 105 | z-index: 2; |
104 | margin-left: -2px; | 106 | margin-left: -2px; |
105 | &:before{ | 107 | |
108 | &:before { | ||
106 | content: ""; | 109 | content: ""; |
107 | display: inline-block; | 110 | display: inline-block; |
108 | width: 2px; | 111 | width: 2px; |
... | @@ -113,7 +116,8 @@ | ... | @@ -113,7 +116,8 @@ |
113 | left: -2px; | 116 | left: -2px; |
114 | z-index: 3; | 117 | z-index: 3; |
115 | } | 118 | } |
116 | &:after{ | 119 | |
120 | &:after { | ||
117 | content: ""; | 121 | content: ""; |
118 | display: inline-block; | 122 | display: inline-block; |
119 | width: 2px; | 123 | width: 2px; |
... | @@ -228,11 +232,12 @@ | ... | @@ -228,11 +232,12 @@ |
228 | min-width: 340px; | 232 | min-width: 340px; |
229 | z-index: 1; | 233 | z-index: 1; |
230 | } | 234 | } |
231 | td:first-child{ | 235 | |
236 | td:first-child { | ||
232 | flex: inherit !important; | 237 | flex: inherit !important; |
233 | // width: 200px !important; | 238 | // min-width: 180px !important; |
234 | min-width: 180px !important; | ||
235 | } | 239 | } |
240 | |||
236 | >tr:nth-child(odd) td { | 241 | >tr:nth-child(odd) td { |
237 | background: #f2f2f2; | 242 | background: #f2f2f2; |
238 | } | 243 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:45:03 | 4 | * @LastEditTime: 2023-09-22 09:53:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | this.loadData(); | 36 | this.loadData(); |
37 | }, | 37 | }, |
38 | methods: { | 38 | methods: { |
39 | loadData () { | 39 | loadData (checkList = []) { |
40 | if (this.$parent.addRepairRecord) { | 40 | if (this.$parent.addRepairRecord) { |
41 | this.columns.unshift({ | 41 | this.columns.unshift({ |
42 | prop: "cz", | 42 | prop: "cz", |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | getLqList({ | 46 | getLqList({ |
47 | bdcdyid: this.propsParam.bdcdyid, | 47 | bdcdyid: this.propsParam.bdcdyid, |
48 | qllx: this.propsParam.qllx, | 48 | qllx: this.propsParam.qllx, |
49 | qszt: this.checkList, | 49 | qszt: checkList |
50 | }).then((res) => { | 50 | }).then((res) => { |
51 | if (res.code === 200) { | 51 | if (res.code === 200) { |
52 | this.tableData = res.result; | 52 | this.tableData = res.result; | ... | ... |
... | @@ -44,7 +44,7 @@ | ... | @@ -44,7 +44,7 @@ |
44 | * @description: loadData | 44 | * @description: loadData |
45 | * @author: miaofang | 45 | * @author: miaofang |
46 | */ | 46 | */ |
47 | loadData () { | 47 | loadData (checkList = []) { |
48 | if (this.$parent.addRepairRecord) { | 48 | if (this.$parent.addRepairRecord) { |
49 | this.columns.unshift({ | 49 | this.columns.unshift({ |
50 | prop: "cz", | 50 | prop: "cz", |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | getTdsyqList({ | 54 | getTdsyqList({ |
55 | bdcdyid: this.propsParam.bdcdyid, | 55 | bdcdyid: this.propsParam.bdcdyid, |
56 | qllx: this.propsParam.qllx, | 56 | qllx: this.propsParam.qllx, |
57 | qszt: this.checkList, | 57 | qszt: checkList |
58 | }).then((res) => { | 58 | }).then((res) => { |
59 | if (res.code === 200) { | 59 | if (res.code === 200) { |
60 | this.tableData = res.result; | 60 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:40:33 | 4 | * @LastEditTime: 2023-09-22 09:52:50 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | this.loadData(); | 36 | this.loadData(); |
37 | }, | 37 | }, |
38 | methods: { | 38 | methods: { |
39 | loadData () { | 39 | loadData (checkList = []) { |
40 | // 判断是否在登记簿补录调的子页面 | 40 | // 判断是否在登记簿补录调的子页面 |
41 | if (this.$parent.addRepairRecord) { | 41 | if (this.$parent.addRepairRecord) { |
42 | this.columns.unshift({ | 42 | this.columns.unshift({ |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | getYgdjList({ | 47 | getYgdjList({ |
48 | bdcdyid: this.propsParam.bdcdyid, | 48 | bdcdyid: this.propsParam.bdcdyid, |
49 | qllx: this.propsParam.qllx, | 49 | qllx: this.propsParam.qllx, |
50 | qszt: this.checkList, | 50 | qszt: checkList |
51 | }).then((res) => { | 51 | }).then((res) => { |
52 | if (res.code === 200) { | 52 | if (res.code === 200) { |
53 | this.tableData = res.result; | 53 | this.tableData = res.result; |
... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
60 | this.emptycolNum = | 60 | this.emptycolNum = |
61 | datas.columns().emptycolNum - this.tableData.length; | 61 | datas.columns().emptycolNum - this.tableData.length; |
62 | } else { | 62 | } else { |
63 | this.emptycolNum = 0; | 63 | this.emptycolNum = 0 |
64 | } | 64 | } |
65 | } | 65 | } |
66 | }) | 66 | }) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 15:06:35 | 4 | * @LastEditTime: 2023-09-22 09:52:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | this.loadData(); | 36 | this.loadData(); |
37 | }, | 37 | }, |
38 | methods: { | 38 | methods: { |
39 | loadData () { | 39 | loadData (checkList = []) { |
40 | if (this.$parent.addRepairRecord) { | 40 | if (this.$parent.addRepairRecord) { |
41 | this.columns.unshift({ | 41 | this.columns.unshift({ |
42 | prop: "cz", | 42 | prop: "cz", |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | getYydjList({ | 46 | getYydjList({ |
47 | bdcdyid: this.propsParam.bdcdyid, | 47 | bdcdyid: this.propsParam.bdcdyid, |
48 | qllx: this.propsParam.qllx, | 48 | qllx: this.propsParam.qllx, |
49 | qszt: this.checkList, | 49 | qszt: checkList |
50 | }).then((res) => { | 50 | }).then((res) => { |
51 | if (res.code === 200) { | 51 | if (res.code === 200) { |
52 | this.tableData = res.result; | 52 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-20 16:07:43 | 4 | * @LastEditTime: 2023-09-21 16:42:53 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -543,7 +543,7 @@ | ... | @@ -543,7 +543,7 @@ |
543 | cancelButtonText: '取消', | 543 | cancelButtonText: '取消', |
544 | }).then(() => { | 544 | }).then(() => { |
545 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { | 545 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { |
546 | that.$emit("updateDetail", _.cloneDeep(val)); | 546 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' })); |
547 | that.$emit("input", false); | 547 | that.$emit("input", false); |
548 | if (res.code == 200) { | 548 | if (res.code == 200) { |
549 | that.$message({ | 549 | that.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 14:04:13 | 4 | * @LastEditTime: 2023-09-22 10:09:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> |
... | @@ -224,18 +224,18 @@ | ... | @@ -224,18 +224,18 @@ |
224 | arr.push(currentLine); | 224 | arr.push(currentLine); |
225 | if (i > 0) { | 225 | if (i > 0) { |
226 | arr.forEach((line, index) => { | 226 | arr.forEach((line, index) => { |
227 | context.fillText(line, 129, 490 + (26 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 | 227 | context.fillText(line, 129, 485 + (24 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 |
228 | }) | 228 | }) |
229 | } else { | 229 | } else { |
230 | arr.forEach((line, index) => { | 230 | arr.forEach((line, index) => { |
231 | context.fillText(line, 129, 500 + (26 * (i - 1)) + (index * 14)); // 调整行高 | 231 | context.fillText(line, 129, 495 + (26 * (i - 1)) + (index * 14)); // 调整行高 |
232 | }) | 232 | }) |
233 | } | 233 | } |
234 | } else { | 234 | } else { |
235 | if (i > 0) { | 235 | if (i > 0) { |
236 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + 4 * num + (24 * (i - 1))); | 236 | context.fillText(lines[i] ? lines[i] : '', 129, 495 + 4 * num + (24 * (i - 1))); |
237 | } else { | 237 | } else { |
238 | context.fillText(lines[i] ? lines[i] : '', 129, 505 + (24 * (i - 1))); | 238 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + (24 * (i - 1))); |
239 | } | 239 | } |
240 | } | 240 | } |
241 | } | 241 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-14 16:59:38 | 4 | * @LastEditTime: 2023-09-21 16:18:47 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -39,17 +39,6 @@ class data extends filter { | ... | @@ -39,17 +39,6 @@ class data extends filter { |
39 | <div> | 39 | <div> |
40 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> | 40 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
41 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> | 41 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
42 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
46 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
47 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
48 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} | ||
53 | </div> | 42 | </div> |
54 | ) | 43 | ) |
55 | } | 44 | } |
... | @@ -72,7 +61,7 @@ class data extends filter { | ... | @@ -72,7 +61,7 @@ class data extends filter { |
72 | label: "权利性质", | 61 | label: "权利性质", |
73 | }, | 62 | }, |
74 | { | 63 | { |
75 | prop: "mj", | 64 | prop: "zdmj", |
76 | label: "面积(㎡)", | 65 | label: "面积(㎡)", |
77 | }, | 66 | }, |
78 | { | 67 | { |
... | @@ -80,7 +69,7 @@ class data extends filter { | ... | @@ -80,7 +69,7 @@ class data extends filter { |
80 | label: "权利设定方式", | 69 | label: "权利设定方式", |
81 | }, | 70 | }, |
82 | { | 71 | { |
83 | prop: "ytmc", | 72 | prop: "showTdyt", |
84 | label: "土地用途", | 73 | label: "土地用途", |
85 | }, | 74 | }, |
86 | { | 75 | { | ... | ... |
-
Please register or sign in to post a comment