style:抵押
Showing
2 changed files
with
76 additions
and
29 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-07 09:51:38 | 4 | * @LastEditTime: 2023-09-11 09:53:42 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -70,17 +70,10 @@ | ... | @@ -70,17 +70,10 @@ |
70 | label="状态" | 70 | label="状态" |
71 | width="100"> | 71 | width="100"> |
72 | <template slot-scope="scope"> | 72 | <template slot-scope="scope"> |
73 | <a style='color:#3498db;' v-show="scope.row.djblzt==1">正在办理</a> | 73 | <div> |
74 | <span v-show="scope.row.zjgcdyzt==1">,在建工程抵押</span> | 74 | <a style='color:#3498db;' v-show="scope.row.djblzt==1">{{yWstatus(scope.row)}}</a> |
75 | <span v-show="scope.row.ycfzt==1">,已预查封</span> | 75 | <span v-show="scope.row.djblzt !=1">{{yWstatus(scope.row)}}</span> |
76 | <span v-show="scope.row.ycfzt==1">,已预查封</span> | 76 | </div> |
77 | <span v-show="scope.row.cfzt==1">,已查封</span> | ||
78 | <span v-show="scope.row.diyizt==1">,已地役</span> | ||
79 | <span v-show="scope.row.yyzt==1">,异议中</span> | ||
80 | <span v-show="scope.row.xzzt==1">,已限制</span> | ||
81 | <span v-show="scope.row.ygmmzt==1">,已预告买卖</span> | ||
82 | <span v-show="scope.row.ygdyzt==1">,已预告抵押</span> | ||
83 | <span v-show="scope.row.dyzt==1">,已抵押</span> | ||
84 | </template> | 77 | </template> |
85 | </el-table-column> | 78 | </el-table-column> |
86 | <el-table-column | 79 | <el-table-column |
... | @@ -180,7 +173,7 @@ | ... | @@ -180,7 +173,7 @@ |
180 | import { ywPopupDialog } from "@/utils/popup.js"; | 173 | import { ywPopupDialog } from "@/utils/popup.js"; |
181 | import { datas, sendThis } from "../javascript/selectFwbjDybgSplitMerge.js"; | 174 | import { datas, sendThis } from "../javascript/selectFwbjDybgSplitMerge.js"; |
182 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 175 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
183 | import { selectFwsyq } from "@/api/ywsq.js"; | 176 | import { selectFwsyq, selectDiyaq } from "@/api/ywsq.js"; |
184 | import { startBusinessFlow } from "@/api/workFlow.js"; | 177 | import { startBusinessFlow } from "@/api/workFlow.js"; |
185 | export default { | 178 | export default { |
186 | mixins: [table, jump], | 179 | mixins: [table, jump], |
... | @@ -207,6 +200,37 @@ | ... | @@ -207,6 +200,37 @@ |
207 | sendThis(this) | 200 | sendThis(this) |
208 | }, | 201 | }, |
209 | methods: { | 202 | methods: { |
203 | yWstatus (row) { | ||
204 | let text = ""; | ||
205 | let keys = 0; | ||
206 | // 定义策略对象 | ||
207 | const strategies = { | ||
208 | djblzt: "正在办理", | ||
209 | zjgcdyzt: "在建工程抵押", | ||
210 | ycfzt: "已预查封", | ||
211 | cfzt: "已查封", | ||
212 | diyizt: "已地役", | ||
213 | yyzt: "异议中", | ||
214 | xzzt: "已限制", | ||
215 | ygmmzt: "已预告买卖", | ||
216 | ygdyzt: "已预告抵押", | ||
217 | dyzt: "已抵押", | ||
218 | sfbl: "正在补录" | ||
219 | }; | ||
220 | |||
221 | for (let key in row) { | ||
222 | if (row[key] === 1 && strategies[key]) { | ||
223 | keys++; | ||
224 | if (keys == 1) { | ||
225 | text += strategies[key]; | ||
226 | } else { | ||
227 | text += ',' + strategies[key]; | ||
228 | } | ||
229 | } | ||
230 | } | ||
231 | |||
232 | return text; | ||
233 | }, | ||
210 | /** | 234 | /** |
211 | * @description: clickChange | 235 | * @description: clickChange |
212 | * @param {*} row | 236 | * @param {*} row |
... | @@ -222,12 +246,11 @@ | ... | @@ -222,12 +246,11 @@ |
222 | getCurrentRow (row) { | 246 | getCurrentRow (row) { |
223 | this.radioVal = row.bdcdyh; | 247 | this.radioVal = row.bdcdyh; |
224 | this.bdcdysz = [row] | 248 | this.bdcdysz = [row] |
225 | selectFwsyq({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10, sqywbm: this.sqywInfo.djywbm }).then((res) => { | 249 | selectDiyaq({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10 }).then((res) => { |
226 | if (res.code === 200) { | 250 | if (res.code === 200) { |
227 | this.tableData.dataList = res.result.records | 251 | this.tableData.dataList = res.result.records |
228 | this.bdcdysz = [this.bdcdysz[0], ...this.tableData.dataList] | 252 | this.bdcdysz = [this.bdcdysz[0], ...this.tableData.dataList] |
229 | } | 253 | } |
230 | console.log(this.bdcdysz, 'this.bdcdysz'); | ||
231 | }) | 254 | }) |
232 | }, | 255 | }, |
233 | /** | 256 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-07 10:13:50 | 4 | * @LastEditTime: 2023-09-11 09:54:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -69,17 +69,10 @@ | ... | @@ -69,17 +69,10 @@ |
69 | label="状态" | 69 | label="状态" |
70 | width="100"> | 70 | width="100"> |
71 | <template slot-scope="scope"> | 71 | <template slot-scope="scope"> |
72 | <a style='color:#3498db;' v-show="scope.row.djblzt==1">正在办理</a> | 72 | <div> |
73 | <span v-show="scope.row.zjgcdyzt==1">,在建工程抵押</span> | 73 | <a style='color:#3498db;' v-show="scope.row.djblzt==1">{{yWstatus(scope.row)}}</a> |
74 | <span v-show="scope.row.ycfzt==1">,已预查封</span> | 74 | <span v-show="scope.row.djblzt !=1">{{yWstatus(scope.row)}}</span> |
75 | <span v-show="scope.row.ycfzt==1">,已预查封</span> | 75 | </div> |
76 | <span v-show="scope.row.cfzt==1">,已查封</span> | ||
77 | <span v-show="scope.row.diyizt==1">,已地役</span> | ||
78 | <span v-show="scope.row.yyzt==1">,异议中</span> | ||
79 | <span v-show="scope.row.xzzt==1">,已限制</span> | ||
80 | <span v-show="scope.row.ygmmzt==1">,已预告买卖</span> | ||
81 | <span v-show="scope.row.ygdyzt==1">,已预告抵押</span> | ||
82 | <span v-show="scope.row.dyzt==1">,已抵押</span> | ||
83 | </template> | 76 | </template> |
84 | </el-table-column> | 77 | </el-table-column> |
85 | <el-table-column | 78 | <el-table-column |
... | @@ -188,7 +181,7 @@ | ... | @@ -188,7 +181,7 @@ |
188 | import { ywPopupDialog } from "@/utils/popup.js"; | 181 | import { ywPopupDialog } from "@/utils/popup.js"; |
189 | import { datas, sendThis } from "../javascript/selectFwbjDybgSplitMerge.js"; | 182 | import { datas, sendThis } from "../javascript/selectFwbjDybgSplitMerge.js"; |
190 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 183 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
191 | import { selectYgdj200 } from "@/api/ywsq.js"; | 184 | import { selectYgdj200, selectDiyaq } from "@/api/ywsq.js"; |
192 | import { startBusinessFlow } from "@/api/workFlow.js"; | 185 | import { startBusinessFlow } from "@/api/workFlow.js"; |
193 | export default { | 186 | export default { |
194 | mixins: [table, jump], | 187 | mixins: [table, jump], |
... | @@ -215,6 +208,37 @@ | ... | @@ -215,6 +208,37 @@ |
215 | sendThis(this) | 208 | sendThis(this) |
216 | }, | 209 | }, |
217 | methods: { | 210 | methods: { |
211 | yWstatus (row) { | ||
212 | let text = ""; | ||
213 | let keys = 0; | ||
214 | // 定义策略对象 | ||
215 | const strategies = { | ||
216 | djblzt: "正在办理", | ||
217 | zjgcdyzt: "在建工程抵押", | ||
218 | ycfzt: "已预查封", | ||
219 | cfzt: "已查封", | ||
220 | diyizt: "已地役", | ||
221 | yyzt: "异议中", | ||
222 | xzzt: "已限制", | ||
223 | ygmmzt: "已预告买卖", | ||
224 | ygdyzt: "已预告抵押", | ||
225 | dyzt: "已抵押", | ||
226 | sfbl: "正在补录" | ||
227 | }; | ||
228 | |||
229 | for (let key in row) { | ||
230 | if (row[key] === 1 && strategies[key]) { | ||
231 | keys++; | ||
232 | if (keys == 1) { | ||
233 | text += strategies[key]; | ||
234 | } else { | ||
235 | text += ',' + strategies[key]; | ||
236 | } | ||
237 | } | ||
238 | } | ||
239 | |||
240 | return text; | ||
241 | }, | ||
218 | /** | 242 | /** |
219 | * @description: clickChange | 243 | * @description: clickChange |
220 | * @param {*} row | 244 | * @param {*} row |
... | @@ -230,7 +254,7 @@ | ... | @@ -230,7 +254,7 @@ |
230 | getCurrentRow (row) { | 254 | getCurrentRow (row) { |
231 | this.radioVal = row.bdcdyh; | 255 | this.radioVal = row.bdcdyh; |
232 | this.bdcdysz = [row] | 256 | this.bdcdysz = [row] |
233 | selectYgdj200({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10, sqywbm: this.sqywInfo.djywbm }).then((res) => { | 257 | selectDiyaq({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10 }).then((res) => { |
234 | if (res.code === 200) { | 258 | if (res.code === 200) { |
235 | this.tableData.dataList = res.result.records | 259 | this.tableData.dataList = res.result.records |
236 | this.bdcdysz = [this.bdcdysz[0], ...this.tableData.dataList] | 260 | this.bdcdysz = [this.bdcdysz[0], ...this.tableData.dataList] | ... | ... |
-
Please register or sign in to post a comment