Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
8 changed files
with
792 additions
and
19 deletions
| 1 | <!-- | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-09-07 09:51:38 | ||
| 5 | --> | ||
| 6 | <template> | ||
| 7 | <div class="from-clues"> | ||
| 8 | <!-- 表单部分 --> | ||
| 9 | <div class="from-clues-header"> | ||
| 10 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
| 11 | <el-row> | ||
| 12 | <el-col :span="6"> | ||
| 13 | <el-form-item label="不动产权证号"> | ||
| 14 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> | ||
| 15 | </el-input> | ||
| 16 | </el-form-item> | ||
| 17 | </el-col> | ||
| 18 | <el-col :span="6"> | ||
| 19 | <el-form-item label="不动产单元号"> | ||
| 20 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | ||
| 21 | </el-input> | ||
| 22 | </el-form-item> | ||
| 23 | </el-col> | ||
| 24 | <el-col :span="8"> | ||
| 25 | <el-form-item label="坐落" label-width="60px"> | ||
| 26 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | ||
| 27 | </el-input> | ||
| 28 | </el-form-item> | ||
| 29 | </el-col> | ||
| 30 | <el-col :span="4" class="btnColRight"> | ||
| 31 | <el-form-item> | ||
| 32 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
| 33 | </el-form-item> | ||
| 34 | </el-col> | ||
| 35 | </el-row> | ||
| 36 | </el-form> | ||
| 37 | </div> | ||
| 38 | <!-- 表格 --> | ||
| 39 | <div class="from-clues-content loadingtext"> | ||
| 40 | 国有房屋变更信息 | ||
| 41 | <el-table | ||
| 42 | :data="tableData.data" | ||
| 43 | height="210" | ||
| 44 | border | ||
| 45 | :cell-style="{ textAlign: 'center' }" | ||
| 46 | :header-cell-style="{textAlign: 'center'}" | ||
| 47 | @row-click="clickChange" | ||
| 48 | style="width: 100%"> | ||
| 49 | <el-table-column | ||
| 50 | label="选择" | ||
| 51 | width="50"> | ||
| 52 | <template slot-scope="scope"> | ||
| 53 | <el-radio v-model="radioVal" | ||
| 54 | @click.native.stop.prevent="getCurrentRow(scope.row)" | ||
| 55 | |||
| 56 | :label="scope.row.bdcdyh">{{''}}</el-radio> | ||
| 57 | </template> | ||
| 58 | </el-table-column> | ||
| 59 | <el-table-column | ||
| 60 | label="序号" | ||
| 61 | type="index" | ||
| 62 | width="50" | ||
| 63 | align="center"> | ||
| 64 | <template scope="scope"> | ||
| 65 | {{ scope.$index + (pageData.currentPage - 1) * pageData.pageSize + 1 }} | ||
| 66 | </template> | ||
| 67 | </el-table-column> | ||
| 68 | |||
| 69 | <el-table-column | ||
| 70 | label="状态" | ||
| 71 | width="100"> | ||
| 72 | <template slot-scope="scope"> | ||
| 73 | <a style='color:#3498db;' v-show="scope.row.djblzt==1">正在办理</a> | ||
| 74 | <span v-show="scope.row.zjgcdyzt==1">,在建工程抵押</span> | ||
| 75 | <span v-show="scope.row.ycfzt==1">,已预查封</span> | ||
| 76 | <span v-show="scope.row.ycfzt==1">,已预查封</span> | ||
| 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> | ||
| 85 | </el-table-column> | ||
| 86 | <el-table-column | ||
| 87 | width="100" | ||
| 88 | label="权利类型"> | ||
| 89 | <template slot-scope="scope"> | ||
| 90 | <el-tooltip effect="dark" :content="scope.row.qllxmc" placement="top" popper-class="tooltip-width "> | ||
| 91 | <span class="ellipsis-table"> {{scope.row.qllxmc}}</span> | ||
| 92 | </el-tooltip> | ||
| 93 | </template> | ||
| 94 | </el-table-column> | ||
| 95 | <el-table-column | ||
| 96 | property="bdcdyh" | ||
| 97 | label="不动产单元号" | ||
| 98 | width="150"> | ||
| 99 | </el-table-column> | ||
| 100 | <el-table-column | ||
| 101 | width="150" | ||
| 102 | label="不动产权证号"> | ||
| 103 | <template slot-scope="scope"> | ||
| 104 | <el-tooltip effect="dark" :content="scope.row.bdcqzh" placement="top" popper-class="tooltip-width"> | ||
| 105 | <span class="ellipsis-table"> {{scope.row.bdcqzh}}</span> | ||
| 106 | </el-tooltip> | ||
| 107 | </template> | ||
| 108 | </el-table-column> | ||
| 109 | <el-table-column | ||
| 110 | property="gyqk" | ||
| 111 | label="共有情况"> | ||
| 112 | </el-table-column> | ||
| 113 | <el-table-column | ||
| 114 | width="100" | ||
| 115 | label="权利人"> | ||
| 116 | <template slot-scope="scope"> | ||
| 117 | <el-tooltip effect="dark" :content="scope.row.qlrmc" placement="top" popper-class="tooltip-width"> | ||
| 118 | <span class="ellipsis-table"> {{scope.row.qlrmc}}</span> | ||
| 119 | </el-tooltip> | ||
| 120 | </template> | ||
| 121 | </el-table-column> | ||
| 122 | <el-table-column | ||
| 123 | width="100" | ||
| 124 | label="证件号"> | ||
| 125 | <template slot-scope="scope"> | ||
| 126 | <el-tooltip effect="dark" :content="scope.row.qlrzjhm" placement="top" popper-class="tooltip-width"> | ||
| 127 | <span class="ellipsis-table"> {{scope.row.qlrzjhm}}</span> | ||
| 128 | </el-tooltip> | ||
| 129 | </template> | ||
| 130 | </el-table-column> | ||
| 131 | <el-table-column | ||
| 132 | property="qlxzmc" | ||
| 133 | label="权利性质"> | ||
| 134 | </el-table-column> | ||
| 135 | <el-table-column | ||
| 136 | property="qlytmc" | ||
| 137 | label="用途"> | ||
| 138 | </el-table-column> | ||
| 139 | <el-table-column | ||
| 140 | property="qlmjmc" | ||
| 141 | label="面积"> | ||
| 142 | </el-table-column> | ||
| 143 | <el-table-column | ||
| 144 | width="150" | ||
| 145 | label="坐落"> | ||
| 146 | <template slot-scope="scope"> | ||
| 147 | <el-tooltip effect="dark" :content="scope.row.zl" placement="top" popper-class="tooltip-width"> | ||
| 148 | <span class="ellipsis-table"> {{scope.row.zl}}</span> | ||
| 149 | </el-tooltip> | ||
| 150 | </template> | ||
| 151 | </el-table-column> | ||
| 152 | <el-table-column | ||
| 153 | label="操作" | ||
| 154 | width="80"> | ||
| 155 | <template slot-scope="scope"> | ||
| 156 | <el-button type="text" icon="el-icon-edit-outline" @click="openBook(scope.row)">登记薄</el-button> | ||
| 157 | </template> | ||
| 158 | </el-table-column> | ||
| 159 | </el-table> | ||
| 160 | <el-pagination background layout="prev, pager, next,total" :total="tableData.total" | ||
| 161 | @current-change="handleCurrentChange"></el-pagination> | ||
| 162 | </div> | ||
| 163 | <div class="from-clues-content loadingtext"> | ||
| 164 | 抵押变更信息 | ||
| 165 | <lb-table ref="table" :pagination="false" :calcHeight="500" :column="tableData.columns" | ||
| 166 | :data="tableData.dataList"> | ||
| 167 | </lb-table> | ||
| 168 | </div> | ||
| 169 | <div class="submit_button"> | ||
| 170 | <el-button @click="$popupCacel">取消</el-button> | ||
| 171 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> | ||
| 172 | </div> | ||
| 173 | </div> | ||
| 174 | </template> | ||
| 175 | <script> | ||
| 176 | //首次登记 | ||
| 177 | import jump from "./mixin/jump"; | ||
| 178 | import store from '@/store/index.js' | ||
| 179 | import table from "@/utils/mixin/table"; | ||
| 180 | import { ywPopupDialog } from "@/utils/popup.js"; | ||
| 181 | import { datas, sendThis } from "../javascript/selectFwbjDybgSplitMerge.js"; | ||
| 182 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
| 183 | import { selectFwsyq } from "@/api/ywsq.js"; | ||
| 184 | import { startBusinessFlow } from "@/api/workFlow.js"; | ||
| 185 | export default { | ||
| 186 | mixins: [table, jump], | ||
| 187 | props: { | ||
| 188 | isJump: { type: Boolean, default: false }, | ||
| 189 | sqywInfo: { type: Object, default: () => { } }, | ||
| 190 | }, | ||
| 191 | data () { | ||
| 192 | return { | ||
| 193 | loading: false, | ||
| 194 | queryForm: defaultParameters.defaultParameters(), | ||
| 195 | // 表格数据 | ||
| 196 | tableData: { | ||
| 197 | columns: datas.columns(), | ||
| 198 | data: [], | ||
| 199 | total: 0, | ||
| 200 | dataList: [] | ||
| 201 | }, | ||
| 202 | bdcdysz: [], | ||
| 203 | radioVal: "" | ||
| 204 | } | ||
| 205 | }, | ||
| 206 | mounted () { | ||
| 207 | sendThis(this) | ||
| 208 | }, | ||
| 209 | methods: { | ||
| 210 | clickChange (row) { | ||
| 211 | this.getCurrentRow(row) | ||
| 212 | }, | ||
| 213 | /** | ||
| 214 | * @description: 单选事件 | ||
| 215 | * @author: renchao | ||
| 216 | */ | ||
| 217 | getCurrentRow (row) { | ||
| 218 | this.radioVal = row.bdcdyh; | ||
| 219 | this.bdcdysz = [row] | ||
| 220 | selectFwsyq({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10, sqywbm: this.sqywInfo.djywbm }).then((res) => { | ||
| 221 | if (res.code === 200) { | ||
| 222 | this.tableData.dataList = res.result.records | ||
| 223 | this.bdcdysz = [this.bdcdysz[0], ...this.tableData.dataList] | ||
| 224 | } | ||
| 225 | console.log(this.bdcdysz, 'this.bdcdysz'); | ||
| 226 | }) | ||
| 227 | }, | ||
| 228 | /** | ||
| 229 | * @description: queryClick | ||
| 230 | * @author: renchao | ||
| 231 | */ | ||
| 232 | queryClick () { | ||
| 233 | this.$startLoading(); | ||
| 234 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
| 235 | selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 236 | this.$endLoading(); | ||
| 237 | if (res.code === 200) { | ||
| 238 | let { total, records } = res.result; | ||
| 239 | this.tableData.total = total; | ||
| 240 | this.tableData.data = records; | ||
| 241 | } | ||
| 242 | }) | ||
| 243 | }, | ||
| 244 | handleCurrentChange (val) { | ||
| 245 | this.pageData.currentPage = val | ||
| 246 | this.queryClick() | ||
| 247 | }, | ||
| 248 | /** | ||
| 249 | * @description: submitForm | ||
| 250 | * @author: renchao | ||
| 251 | */ | ||
| 252 | submitForm () { | ||
| 253 | this.loading = true | ||
| 254 | startBusinessFlow({ | ||
| 255 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
| 256 | bdcdysz: this.bdcdysz, | ||
| 257 | }).then((res) => { | ||
| 258 | this.loading = false | ||
| 259 | if (res.code == 200) { | ||
| 260 | this.$message({ | ||
| 261 | showClose: true, | ||
| 262 | message: "发起申请成功", | ||
| 263 | type: "success", | ||
| 264 | }); | ||
| 265 | if (!this.isJump) { | ||
| 266 | this.jump(res.result, this.sqywInfo.djywbm); | ||
| 267 | } else { | ||
| 268 | store.dispatch('user/refreshPage', true); | ||
| 269 | } | ||
| 270 | this.$popupCacel() | ||
| 271 | } else { | ||
| 272 | if (res.result && res.result.length > 0) { | ||
| 273 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 274 | } else { | ||
| 275 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 276 | } | ||
| 277 | } | ||
| 278 | }).catch(() => { | ||
| 279 | this.loading = false | ||
| 280 | }) | ||
| 281 | }, | ||
| 282 | /** | ||
| 283 | * @description: openBook | ||
| 284 | * @param {*} row | ||
| 285 | * @author: renchao | ||
| 286 | */ | ||
| 287 | openBook (row) { | ||
| 288 | var param = { | ||
| 289 | bdcdyid: row.bdcdyid, | ||
| 290 | qllx: row.qllx, | ||
| 291 | bdcdyh: row.bdcdyh, | ||
| 292 | bsmQlxx: row.bsmQlxx, | ||
| 293 | }; | ||
| 294 | this.$popup("登记簿详情", "registerBook/djbFrame", { | ||
| 295 | formData: param | ||
| 296 | }) | ||
| 297 | } | ||
| 298 | } | ||
| 299 | } | ||
| 300 | </script> | ||
| 301 | <style scoped lang="scss"> | ||
| 302 | @import "~@/styles/mixin.scss"; | ||
| 303 | @import "~@/styles/public.scss"; | ||
| 304 | /deep/.el-radio__label { | ||
| 305 | display: none; | ||
| 306 | } | ||
| 307 | /deep/.el-table .cell { | ||
| 308 | line-height: 20px; | ||
| 309 | } | ||
| 310 | </style> |
| 1 | <!-- | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-09-07 10:13:50 | ||
| 5 | --> | ||
| 6 | <template> | ||
| 7 | <div class="from-clues"> | ||
| 8 | <!-- 表单部分 --> | ||
| 9 | <div class="from-clues-header"> | ||
| 10 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
| 11 | <el-row> | ||
| 12 | <el-col :span="6"> | ||
| 13 | <el-form-item label="不动产权证号"> | ||
| 14 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> | ||
| 15 | </el-input> | ||
| 16 | </el-form-item> | ||
| 17 | </el-col> | ||
| 18 | <el-col :span="6"> | ||
| 19 | <el-form-item label="不动产单元号"> | ||
| 20 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | ||
| 21 | </el-input> | ||
| 22 | </el-form-item> | ||
| 23 | </el-col> | ||
| 24 | <el-col :span="8"> | ||
| 25 | <el-form-item label="坐落" label-width="60px"> | ||
| 26 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | ||
| 27 | </el-input> | ||
| 28 | </el-form-item> | ||
| 29 | </el-col> | ||
| 30 | <el-col :span="4" class="btnColRight"> | ||
| 31 | <el-form-item> | ||
| 32 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
| 33 | </el-form-item> | ||
| 34 | </el-col> | ||
| 35 | </el-row> | ||
| 36 | </el-form> | ||
| 37 | </div> | ||
| 38 | <!-- 表格 --> | ||
| 39 | <div class="from-clues-content loadingtext"> | ||
| 40 | 国有房屋变更信息 | ||
| 41 | <el-table | ||
| 42 | :data="tableData.data" | ||
| 43 | height="210" | ||
| 44 | border | ||
| 45 | :cell-style="{ textAlign: 'center' }" | ||
| 46 | :header-cell-style="{textAlign: 'center'}" | ||
| 47 | @row-click="clickChange" | ||
| 48 | style="width: 100%"> | ||
| 49 | <el-table-column | ||
| 50 | label="选择" | ||
| 51 | width="50"> | ||
| 52 | <template slot-scope="scope"> | ||
| 53 | <el-radio v-model="radioVal" | ||
| 54 | @click.native.stop.prevent="getCurrentRow(scope.row)" | ||
| 55 | :label="scope.row.bdcdyh">{{''}}</el-radio> | ||
| 56 | </template> | ||
| 57 | </el-table-column> | ||
| 58 | <el-table-column | ||
| 59 | label="序号" | ||
| 60 | type="index" | ||
| 61 | width="50" | ||
| 62 | align="center"> | ||
| 63 | <template slot-scope="scope"> | ||
| 64 | {{ scope.$index + (pageData.currentPage - 1) * pageData.pageSize + 1 }} | ||
| 65 | </template> | ||
| 66 | </el-table-column> | ||
| 67 | |||
| 68 | <el-table-column | ||
| 69 | label="状态" | ||
| 70 | width="100"> | ||
| 71 | <template slot-scope="scope"> | ||
| 72 | <a style='color:#3498db;' v-show="scope.row.djblzt==1">正在办理</a> | ||
| 73 | <span v-show="scope.row.zjgcdyzt==1">,在建工程抵押</span> | ||
| 74 | <span v-show="scope.row.ycfzt==1">,已预查封</span> | ||
| 75 | <span v-show="scope.row.ycfzt==1">,已预查封</span> | ||
| 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> | ||
| 84 | </el-table-column> | ||
| 85 | <el-table-column | ||
| 86 | width="100" | ||
| 87 | label="预告登记种类"> | ||
| 88 | <template slot-scope="scope"> | ||
| 89 | <el-tooltip effect="dark" :content="scope.row.ygdjzlmc" placement="top" popper-class="tooltip-width "> | ||
| 90 | <span class="ellipsis-table"> {{scope.row.ygdjzlmc}}</span> | ||
| 91 | </el-tooltip> | ||
| 92 | </template> | ||
| 93 | </el-table-column> | ||
| 94 | <el-table-column | ||
| 95 | property="bdcdyh" | ||
| 96 | label="不动产单元号" | ||
| 97 | width="150"> | ||
| 98 | </el-table-column> | ||
| 99 | <el-table-column | ||
| 100 | width="150" | ||
| 101 | label="不动产登记证明号"> | ||
| 102 | <template slot-scope="scope"> | ||
| 103 | <el-tooltip effect="dark" :content="scope.row.bdcqzh" placement="top" popper-class="tooltip-width"> | ||
| 104 | <span class="ellipsis-table"> {{scope.row.bdcqzh}}</span> | ||
| 105 | </el-tooltip> | ||
| 106 | </template> | ||
| 107 | </el-table-column> | ||
| 108 | <el-table-column | ||
| 109 | width="100" | ||
| 110 | label="权利人"> | ||
| 111 | <template slot-scope="scope"> | ||
| 112 | <el-tooltip effect="dark" :content="scope.row.qlrmc" placement="top" popper-class="tooltip-width"> | ||
| 113 | <span class="ellipsis-table"> {{scope.row.qlrmc}}</span> | ||
| 114 | </el-tooltip> | ||
| 115 | </template> | ||
| 116 | </el-table-column> | ||
| 117 | <el-table-column | ||
| 118 | width="100" | ||
| 119 | label="证件号"> | ||
| 120 | <template slot-scope="scope"> | ||
| 121 | <el-tooltip effect="dark" :content="scope.row.qlrzjhm" placement="top" popper-class="tooltip-width"> | ||
| 122 | <span class="ellipsis-table"> {{scope.row.qlrzjhm}}</span> | ||
| 123 | </el-tooltip> | ||
| 124 | </template> | ||
| 125 | </el-table-column> | ||
| 126 | <el-table-column | ||
| 127 | property="ywrmc" | ||
| 128 | label="义务人"> | ||
| 129 | </el-table-column> | ||
| 130 | <el-table-column | ||
| 131 | property="ywrzjhm" | ||
| 132 | label="义务人证件号"> | ||
| 133 | </el-table-column> | ||
| 134 | <el-table-column | ||
| 135 | property="fwxzmc" | ||
| 136 | label="房屋性质"> | ||
| 137 | </el-table-column> | ||
| 138 | <el-table-column | ||
| 139 | property="ytmc" | ||
| 140 | label="房屋用途"> | ||
| 141 | </el-table-column> | ||
| 142 | |||
| 143 | <el-table-column | ||
| 144 | property="fwjgmc" | ||
| 145 | label="房屋结构"> | ||
| 146 | </el-table-column> | ||
| 147 | <el-table-column | ||
| 148 | property="jzmj" | ||
| 149 | label="房屋面积(㎡)"> | ||
| 150 | </el-table-column> | ||
| 151 | <el-table-column | ||
| 152 | width="150" | ||
| 153 | label="坐落"> | ||
| 154 | <template slot-scope="scope"> | ||
| 155 | <el-tooltip effect="dark" :content="scope.row.zl" placement="top" popper-class="tooltip-width"> | ||
| 156 | <span class="ellipsis-table"> {{scope.row.zl}}</span> | ||
| 157 | </el-tooltip> | ||
| 158 | </template> | ||
| 159 | </el-table-column> | ||
| 160 | <el-table-column | ||
| 161 | label="操作" | ||
| 162 | width="80"> | ||
| 163 | <template slot-scope="scope"> | ||
| 164 | <el-button type="text" icon="el-icon-edit-outline" @click="openBook(scope.row)">登记薄</el-button> | ||
| 165 | </template> | ||
| 166 | </el-table-column> | ||
| 167 | </el-table> | ||
| 168 | <el-pagination background layout="prev, pager, next,total" :total="tableData.total" | ||
| 169 | @current-change="handleCurrentChange"></el-pagination> | ||
| 170 | </div> | ||
| 171 | <div class="from-clues-content loadingtext"> | ||
| 172 | 抵押变更信息 | ||
| 173 | <lb-table ref="table" :pagination="false" :calcHeight="500" :column="tableData.columns" | ||
| 174 | :data="tableData.dataList"> | ||
| 175 | </lb-table> | ||
| 176 | </div> | ||
| 177 | <div class="submit_button"> | ||
| 178 | <el-button @click="$popupCacel">取消</el-button> | ||
| 179 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> | ||
| 180 | </div> | ||
| 181 | </div> | ||
| 182 | </template> | ||
| 183 | <script> | ||
| 184 | //首次登记 | ||
| 185 | import jump from "./mixin/jump"; | ||
| 186 | import store from '@/store/index.js' | ||
| 187 | import table from "@/utils/mixin/table"; | ||
| 188 | import { ywPopupDialog } from "@/utils/popup.js"; | ||
| 189 | import { datas, sendThis } from "../javascript/selectFwbjDybgSplitMerge.js"; | ||
| 190 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
| 191 | import { selectYgdj200 } from "@/api/ywsq.js"; | ||
| 192 | import { startBusinessFlow } from "@/api/workFlow.js"; | ||
| 193 | export default { | ||
| 194 | mixins: [table, jump], | ||
| 195 | props: { | ||
| 196 | isJump: { type: Boolean, default: false }, | ||
| 197 | sqywInfo: { type: Object, default: () => { } }, | ||
| 198 | }, | ||
| 199 | data () { | ||
| 200 | return { | ||
| 201 | loading: false, | ||
| 202 | queryForm: defaultParameters.defaultParameters(), | ||
| 203 | // 表格数据 | ||
| 204 | tableData: { | ||
| 205 | columns: datas.columns(), | ||
| 206 | data: [], | ||
| 207 | total: 0, | ||
| 208 | dataList: [] | ||
| 209 | }, | ||
| 210 | bdcdysz: [], | ||
| 211 | radioVal: "" | ||
| 212 | } | ||
| 213 | }, | ||
| 214 | mounted () { | ||
| 215 | sendThis(this) | ||
| 216 | }, | ||
| 217 | methods: { | ||
| 218 | clickChange (row) { | ||
| 219 | this.getCurrentRow(row) | ||
| 220 | }, | ||
| 221 | /** | ||
| 222 | * @description: 单选事件 | ||
| 223 | * @author: renchao | ||
| 224 | */ | ||
| 225 | getCurrentRow (row) { | ||
| 226 | this.radioVal = row.bdcdyh; | ||
| 227 | this.bdcdysz = [row] | ||
| 228 | selectYgdj200({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10, sqywbm: this.sqywInfo.djywbm }).then((res) => { | ||
| 229 | if (res.code === 200) { | ||
| 230 | this.tableData.dataList = res.result.records | ||
| 231 | this.bdcdysz = [this.bdcdysz[0], ...this.tableData.dataList] | ||
| 232 | } | ||
| 233 | console.log(this.bdcdysz, 'this.bdcdysz'); | ||
| 234 | }) | ||
| 235 | }, | ||
| 236 | /** | ||
| 237 | * @description: queryClick | ||
| 238 | * @author: renchao | ||
| 239 | */ | ||
| 240 | queryClick () { | ||
| 241 | this.$startLoading(); | ||
| 242 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
| 243 | selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 244 | this.$endLoading(); | ||
| 245 | if (res.code === 200) { | ||
| 246 | let { total, records } = res.result; | ||
| 247 | this.tableData.total = total; | ||
| 248 | this.tableData.data = records; | ||
| 249 | } | ||
| 250 | }) | ||
| 251 | }, | ||
| 252 | handleCurrentChange (val) { | ||
| 253 | this.pageData.currentPage = val | ||
| 254 | this.queryClick() | ||
| 255 | }, | ||
| 256 | /** | ||
| 257 | * @description: submitForm | ||
| 258 | * @author: renchao | ||
| 259 | */ | ||
| 260 | submitForm () { | ||
| 261 | this.loading = true | ||
| 262 | startBusinessFlow({ | ||
| 263 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
| 264 | bdcdysz: this.bdcdysz, | ||
| 265 | }).then((res) => { | ||
| 266 | this.loading = false | ||
| 267 | if (res.code == 200) { | ||
| 268 | this.$message({ | ||
| 269 | showClose: true, | ||
| 270 | message: "发起申请成功", | ||
| 271 | type: "success", | ||
| 272 | }); | ||
| 273 | if (!this.isJump) { | ||
| 274 | this.jump(res.result, this.sqywInfo.djywbm); | ||
| 275 | } else { | ||
| 276 | store.dispatch('user/refreshPage', true); | ||
| 277 | } | ||
| 278 | this.$popupCacel() | ||
| 279 | } else { | ||
| 280 | if (res.result && res.result.length > 0) { | ||
| 281 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 282 | } else { | ||
| 283 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 284 | } | ||
| 285 | } | ||
| 286 | }).catch(() => { | ||
| 287 | this.loading = false | ||
| 288 | }) | ||
| 289 | }, | ||
| 290 | /** | ||
| 291 | * @description: openBook | ||
| 292 | * @param {*} row | ||
| 293 | * @author: renchao | ||
| 294 | */ | ||
| 295 | openBook (row) { | ||
| 296 | var param = { | ||
| 297 | bdcdyid: row.bdcdyid, | ||
| 298 | qllx: row.qllx, | ||
| 299 | bdcdyh: row.bdcdyh, | ||
| 300 | bsmQlxx: row.bsmQlxx, | ||
| 301 | }; | ||
| 302 | this.$popup("登记簿详情", "registerBook/djbFrame", { | ||
| 303 | formData: param | ||
| 304 | }) | ||
| 305 | } | ||
| 306 | } | ||
| 307 | } | ||
| 308 | </script> | ||
| 309 | <style scoped lang="scss"> | ||
| 310 | @import "~@/styles/mixin.scss"; | ||
| 311 | @import "~@/styles/public.scss"; | ||
| 312 | /deep/.el-radio__label { | ||
| 313 | display: none; | ||
| 314 | } | ||
| 315 | /deep/.el-table .cell { | ||
| 316 | line-height: 20px; | ||
| 317 | } | ||
| 318 | </style> |
| ... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
| 68 | }, | 68 | }, |
| 69 | data () { | 69 | data () { |
| 70 | return { | 70 | return { |
| 71 | loading: false, | ||
| 71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
| 72 | tableData: { | 73 | tableData: { |
| 73 | total: 0, | 74 | total: 0, |
| ... | @@ -106,10 +107,12 @@ | ... | @@ -106,10 +107,12 @@ |
| 106 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
| 107 | return; | 108 | return; |
| 108 | } | 109 | } |
| 110 | this.loading = true | ||
| 109 | startTogetherFlow({ | 111 | startTogetherFlow({ |
| 110 | bsmSqyw: this.sqywInfo.bsmSqyw, | 112 | bsmSqyw: this.sqywInfo.bsmSqyw, |
| 111 | bdcdysz: this.bdcdysz, | 113 | bdcdysz: this.bdcdysz, |
| 112 | }).then((res) => { | 114 | }).then((res) => { |
| 115 | this.loading = false | ||
| 113 | if (res.code == 200) { | 116 | if (res.code == 200) { |
| 114 | this.$message({ | 117 | this.$message({ |
| 115 | showClose: true, | 118 | showClose: true, | ... | ... |
| ... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
| 32 | <div v-if="selectType == 'together'" class="right-situation el-card"> | 32 | <div v-if="selectType == 'together'" class="right-situation el-card"> |
| 33 | <div class="right-title">一并申请</div> | 33 | <div class="right-title">一并申请</div> |
| 34 | <ul> | 34 | <ul> |
| 35 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" | 35 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :tag="item.selected" :key="index" |
| 36 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> | 36 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> |
| 37 | <dt>{{ item.nodename }}</dt> | 37 | <dt>{{ item.nodename }}</dt> |
| 38 | <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> | 38 | <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> |
| ... | @@ -189,7 +189,7 @@ | ... | @@ -189,7 +189,7 @@ |
| 189 | */ | 189 | */ |
| 190 | selectSqywClick (data, index) { | 190 | selectSqywClick (data, index) { |
| 191 | data.forEach(item => { | 191 | data.forEach(item => { |
| 192 | item.selected = false; | 192 | this.$set(item, "selected", false) |
| 193 | }); | 193 | }); |
| 194 | data[index].selected = true; | 194 | data[index].selected = true; |
| 195 | if (data[index].sffqlc == "1") { | 195 | if (data[index].sffqlc == "1") { | ... | ... |
| 1 | /* | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-09-07 09:50:26 | ||
| 5 | */ | ||
| 6 | import filter from '@/utils/filter.js' | ||
| 7 | let vm = null | ||
| 8 | |||
| 9 | const sendThis = (_this) => { | ||
| 10 | vm = _this | ||
| 11 | } | ||
| 12 | class data extends filter { | ||
| 13 | constructor() { | ||
| 14 | super() | ||
| 15 | } | ||
| 16 | columns () { | ||
| 17 | return [ | ||
| 18 | { | ||
| 19 | label: '序号', | ||
| 20 | type: 'index', | ||
| 21 | width: '50', | ||
| 22 | render: (h, scope) => { | ||
| 23 | return ( | ||
| 24 | <div> | ||
| 25 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
| 26 | </div> | ||
| 27 | ) | ||
| 28 | } | ||
| 29 | }, | ||
| 30 | { | ||
| 31 | prop: "status", | ||
| 32 | label: "状态", | ||
| 33 | minWidth: '120', | ||
| 34 | render: (h, scope) => { | ||
| 35 | return ( | ||
| 36 | <div> | ||
| 37 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> | ||
| 38 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> | ||
| 39 | </div> | ||
| 40 | ) | ||
| 41 | } | ||
| 42 | }, | ||
| 43 | { | ||
| 44 | label: "不动产证明号", | ||
| 45 | width: '150', | ||
| 46 | render: (h, scope) => { | ||
| 47 | return ( | ||
| 48 | <el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width"> | ||
| 49 | <span class="ellipsis-table"> {scope.row.bdcqzh}</span> | ||
| 50 | </el-tooltip> | ||
| 51 | ) | ||
| 52 | } | ||
| 53 | }, | ||
| 54 | { | ||
| 55 | prop: "bdcdyh", | ||
| 56 | label: "不动产单元号", | ||
| 57 | minWidth: '150' | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | prop: "dyfs", | ||
| 61 | label: "抵押方式", | ||
| 62 | render: (h, scope) => { | ||
| 63 | switch (scope.row.dyfs) { | ||
| 64 | case '1': | ||
| 65 | return <span>一般抵押</span> | ||
| 66 | case '2': | ||
| 67 | return <span>最高额抵押</span> | ||
| 68 | } | ||
| 69 | } | ||
| 70 | }, | ||
| 71 | { | ||
| 72 | label: "抵押权人", | ||
| 73 | minWidth: '130', | ||
| 74 | render: (h, scope) => { | ||
| 75 | return ( | ||
| 76 | <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width "> | ||
| 77 | <span class="ellipsis-table"> {scope.row.qlrmc}</span> | ||
| 78 | </el-tooltip> | ||
| 79 | ) | ||
| 80 | } | ||
| 81 | }, | ||
| 82 | { | ||
| 83 | label: "抵押权人证件号", | ||
| 84 | minWidth: '130', | ||
| 85 | render: (h, scope) => { | ||
| 86 | return ( | ||
| 87 | <el-tooltip effect="dark" content={scope.row.qlrzjhm} placement="top" popper-class="tooltip-width "> | ||
| 88 | <span class="ellipsis-table"> {scope.row.qlrzjhm}</span> | ||
| 89 | </el-tooltip> | ||
| 90 | ) | ||
| 91 | } | ||
| 92 | }, | ||
| 93 | { | ||
| 94 | prop: "ywrmc", | ||
| 95 | label: "抵押人", | ||
| 96 | }, | ||
| 97 | { | ||
| 98 | label: "抵押人证件号", | ||
| 99 | minWidth: '130', | ||
| 100 | render: (h, scope) => { | ||
| 101 | return ( | ||
| 102 | <el-tooltip effect="dark" content={scope.row.ywrzjhm} placement="top" popper-class="tooltip-width "> | ||
| 103 | <span class="ellipsis-table"> {scope.row.ywrzjhm}</span> | ||
| 104 | </el-tooltip> | ||
| 105 | ) | ||
| 106 | } | ||
| 107 | }, | ||
| 108 | { | ||
| 109 | prop: "dyje", | ||
| 110 | label: "抵押金额(万元)", | ||
| 111 | }, | ||
| 112 | { | ||
| 113 | prop: "dymj", | ||
| 114 | label: "抵押面积", | ||
| 115 | }, | ||
| 116 | { | ||
| 117 | prop: "dyqx", | ||
| 118 | label: "债务履行期限", | ||
| 119 | }, | ||
| 120 | { | ||
| 121 | label: "坐落", | ||
| 122 | minWidth: '130', | ||
| 123 | render: (h, scope) => { | ||
| 124 | return ( | ||
| 125 | <el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width "> | ||
| 126 | <span class="ellipsis-table"> {scope.row.zl}</span> | ||
| 127 | </el-tooltip> | ||
| 128 | ) | ||
| 129 | } | ||
| 130 | }, | ||
| 131 | { | ||
| 132 | label: '操作', | ||
| 133 | width: '100', | ||
| 134 | render: (h, scope) => { | ||
| 135 | return ( | ||
| 136 | <div> | ||
| 137 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope.row) }}>登记薄</el-button> | ||
| 138 | </div> | ||
| 139 | ) | ||
| 140 | } | ||
| 141 | } | ||
| 142 | ] | ||
| 143 | } | ||
| 144 | } | ||
| 145 | let datas = new data() | ||
| 146 | export { | ||
| 147 | datas, | ||
| 148 | sendThis | ||
| 149 | } |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-29 13:09:45 | 4 | * @LastEditTime: 2023-09-06 17:03:59 |
| 5 | */ | 5 | */ |
| 6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
| 7 | let vm = null | 7 | let vm = null |
| ... | @@ -130,21 +130,12 @@ class datatwo extends filter { | ... | @@ -130,21 +130,12 @@ class datatwo extends filter { |
| 130 | }, | 130 | }, |
| 131 | { | 131 | { |
| 132 | label: "状态", | 132 | label: "状态", |
| 133 | width: '130', | ||
| 133 | render: (h, scope) => { | 134 | render: (h, scope) => { |
| 134 | return ( | 135 | return ( |
| 135 | <div> | 136 | <div> |
| 136 | {/* <a v-on:click="doSomething"></a> */} | 137 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
| 137 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 138 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
| 138 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
| 139 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
| 140 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
| 141 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
| 142 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
| 143 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
| 144 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
| 145 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
| 146 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
| 147 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
| 148 | </div> | 139 | </div> |
| 149 | ) | 140 | ) |
| 150 | } | 141 | } | ... | ... |
| 1 | export function queueDjywmc(djywbm, djqxbm) { | 1 | export function queueDjywmc (djywbm, djqxbm) { |
| 2 | console.log(djywbm, 'djywbm'); | 2 | console.log(djywbm, 'djywbm'); |
| 3 | if (djqxbm == "A0320099" || djqxbm == "A0330099") { | 3 | if (djqxbm == "A0320099" || djqxbm == "A0330099") { |
| 4 | return "selectJsydsyqSplitMerge"; | 4 | return "selectJsydsyqSplitMerge"; |
| ... | @@ -94,13 +94,15 @@ export function queueDjywmc(djywbm, djqxbm) { | ... | @@ -94,13 +94,15 @@ export function queueDjywmc(djywbm, djqxbm) { |
| 94 | break; | 94 | break; |
| 95 | case "C40300": //一并申请变更 | 95 | case "C40300": //一并申请变更 |
| 96 | case "C40400": //一并申请注销 | 96 | case "C40400": //一并申请注销 |
| 97 | vm = "selectYbbg"; | 97 | // vm = "selectYbbg"; |
| 98 | vm = "selectYbbgSplitMerge" | ||
| 98 | break; | 99 | break; |
| 99 | case "C04371": //一并国有房屋转移 | 100 | case "C04371": //一并国有房屋转移 |
| 100 | vm = "selectFwsyq"; | 101 | vm = "selectFwsyq"; |
| 101 | break; | 102 | break; |
| 102 | case "C04372": //一并国有房屋变更 | 103 | case "C04372": //一并国有房屋变更 |
| 103 | vm = "selectYbgybg"; | 104 | // vm = "selectYbgybg"; |
| 105 | vm = "selectFwbjDybgSplitMerge" | ||
| 104 | break; | 106 | break; |
| 105 | case "A11100"://林地使用权首次 | 107 | case "A11100"://林地使用权首次 |
| 106 | vm = "selectLqsc"; | 108 | vm = "selectLqsc"; | ... | ... |
-
Please register or sign in to post a comment