Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
28 changed files
with
630 additions
and
101 deletions
| ... | @@ -243,3 +243,27 @@ export function selectFwsyq (data) { | ... | @@ -243,3 +243,27 @@ export function selectFwsyq (data) { |
| 243 | data | 243 | data |
| 244 | }) | 244 | }) |
| 245 | } | 245 | } |
| 246 | /** | ||
| 247 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | ||
| 248 | * @param data | ||
| 249 | * @returns {*} | ||
| 250 | */ | ||
| 251 | export function selectYgdj100 (data) { | ||
| 252 | return request({ | ||
| 253 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100', | ||
| 254 | method: 'post', | ||
| 255 | data | ||
| 256 | }) | ||
| 257 | } | ||
| 258 | /** | ||
| 259 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | ||
| 260 | * @param data | ||
| 261 | * @returns {*} | ||
| 262 | */ | ||
| 263 | export function selectYgdj200 (data) { | ||
| 264 | return request({ | ||
| 265 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200', | ||
| 266 | method: 'post', | ||
| 267 | data | ||
| 268 | }) | ||
| 269 | } | ... | ... |
| ... | @@ -63,9 +63,8 @@ export default { | ... | @@ -63,9 +63,8 @@ export default { |
| 63 | return true | 63 | return true |
| 64 | } | 64 | } |
| 65 | }) | 65 | }) |
| 66 | 66 | // // When there is only one child router, the child router is displayed by default | |
| 67 | // When there is only one child router, the child router is displayed by default | 67 | if (showingChildren.length === 1 && showingChildren[0].name == 'home') { |
| 68 | if (showingChildren.length === 1) { | ||
| 69 | return true | 68 | return true |
| 70 | } | 69 | } |
| 71 | 70 | ||
| ... | @@ -74,7 +73,6 @@ export default { | ... | @@ -74,7 +73,6 @@ export default { |
| 74 | this.onlyOneChild = { ...parent, path: '', noShowingChildren: true } | 73 | this.onlyOneChild = { ...parent, path: '', noShowingChildren: true } |
| 75 | return true | 74 | return true |
| 76 | } | 75 | } |
| 77 | |||
| 78 | return false | 76 | return false |
| 79 | }, | 77 | }, |
| 80 | resolvePath (routePath) { | 78 | resolvePath (routePath) { | ... | ... |
| ... | @@ -27,25 +27,25 @@ | ... | @@ -27,25 +27,25 @@ |
| 27 | </div> | 27 | </div> |
| 28 | <!-- 表格 --> | 28 | <!-- 表格 --> |
| 29 | <div class="from-clues-content"> | 29 | <div class="from-clues-content"> |
| 30 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" | 30 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" |
| 31 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 31 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
| 32 | :data="tableData.data"> | 32 | :data="tableData.data"> |
| 33 | </lb-table> | 33 | </lb-table> |
| 34 | </div> | 34 | </div> |
| 35 | <addDialog ref="addDialog" v-model="addDialog" :editFlag="editFlag"/> | 35 | <addDialog ref="addDialog" v-model="addDialog" :editFlag="editFlag" /> |
| 36 | <retrieveDialog ref="retrieveDialog" v-model="retrieveDialog"/> | 36 | <retrieveDialog ref="retrieveDialog" v-model="retrieveDialog" /> |
| 37 | </div> | 37 | </div> |
| 38 | </template> | 38 | </template> |
| 39 | <script> | 39 | <script> |
| 40 | import { mapGetters } from 'vuex' | 40 | import { mapGetters } from 'vuex' |
| 41 | import table from "@/utils/mixin/table" | 41 | import table from "@/utils/mixin/table" |
| 42 | import { datas, sendThis } from "./ptjkdata" | 42 | import { datas, sendThis } from "./ptjkdata" |
| 43 | import { getSysInterfaceList} from '@/api/jkfw' | 43 | import { getSysInterfaceList } from '@/api/jkfw' |
| 44 | import addDialog from "./components/addDialog.vue" | 44 | import addDialog from "./components/addDialog.vue" |
| 45 | import retrieveDialog from "./components/retrieveDialog.vue" | 45 | import retrieveDialog from "./components/retrieveDialog.vue" |
| 46 | export default { | 46 | export default { |
| 47 | name: "ptjk", | 47 | name: "ptjk", |
| 48 | components: { addDialog,retrieveDialog }, | 48 | components: { addDialog, retrieveDialog }, |
| 49 | mixins: [table], | 49 | mixins: [table], |
| 50 | mounted () { | 50 | mounted () { |
| 51 | sendThis(this); | 51 | sendThis(this); |
| ... | @@ -73,11 +73,11 @@ export default { | ... | @@ -73,11 +73,11 @@ export default { |
| 73 | }; | 73 | }; |
| 74 | }, | 74 | }, |
| 75 | methods: { | 75 | methods: { |
| 76 | queryClick(){ | 76 | queryClick () { |
| 77 | this.$startLoading() | 77 | this.$startLoading() |
| 78 | getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => { | 78 | getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => { |
| 79 | this.$endLoading() | 79 | this.$endLoading() |
| 80 | if(res.code == 200){ | 80 | if (res.code == 200) { |
| 81 | let { total, records } = res.result | 81 | let { total, records } = res.result |
| 82 | this.tableData.total = total; | 82 | this.tableData.total = total; |
| 83 | this.tableData.data = records ? records : [] | 83 | this.tableData.data = records ? records : [] |
| ... | @@ -85,18 +85,18 @@ export default { | ... | @@ -85,18 +85,18 @@ export default { |
| 85 | }) | 85 | }) |
| 86 | }, | 86 | }, |
| 87 | //打开新增 | 87 | //打开新增 |
| 88 | openDialog(){ | 88 | openDialog () { |
| 89 | this.editFlag = false; | 89 | this.editFlag = false; |
| 90 | this.addDialog = true; | 90 | this.addDialog = true; |
| 91 | }, | 91 | }, |
| 92 | //打开编辑 | 92 | //打开编辑 |
| 93 | editInterface(item){ | 93 | editInterface (item) { |
| 94 | this.editFlag = true; | 94 | this.editFlag = true; |
| 95 | this.addDialog = true; | 95 | this.addDialog = true; |
| 96 | this.$refs.addDialog.getDetailInfo(item); | 96 | this.$refs.addDialog.getDetailInfo(item); |
| 97 | }, | 97 | }, |
| 98 | //打开调试窗口 | 98 | //打开调试窗口 |
| 99 | tuneInterface(item){ | 99 | tuneInterface (item) { |
| 100 | this.retrieveDialog = true; | 100 | this.retrieveDialog = true; |
| 101 | this.$refs.retrieveDialog.getDetailInfo(item); | 101 | this.$refs.retrieveDialog.getDetailInfo(item); |
| 102 | } | 102 | } | ... | ... |
| ... | @@ -66,7 +66,7 @@ | ... | @@ -66,7 +66,7 @@ |
| 66 | <el-row> | 66 | <el-row> |
| 67 | <el-col :span="16"> | 67 | <el-col :span="16"> |
| 68 | <el-form-item label="地址"> | 68 | <el-form-item label="地址"> |
| 69 | <el-input v-model="ruleForm.dz"></el-input> | 69 | <el-input v-model="ruleForm.txdz"></el-input> |
| 70 | </el-form-item> | 70 | </el-form-item> |
| 71 | </el-col> | 71 | </el-col> |
| 72 | <el-col :span="8"> | 72 | <el-col :span="8"> |
| ... | @@ -160,7 +160,7 @@ export default { | ... | @@ -160,7 +160,7 @@ export default { |
| 160 | frmc: "", | 160 | frmc: "", |
| 161 | gjdq: "", | 161 | gjdq: "", |
| 162 | szss: "", | 162 | szss: "", |
| 163 | dz: "", | 163 | txdz: "", |
| 164 | yb: "", | 164 | yb: "", |
| 165 | fzjg: "", | 165 | fzjg: "", |
| 166 | dzyj: "", | 166 | dzyj: "", | ... | ... |
| 1 | <!-- | ||
| 2 | 功能:申请单元列表批量删除 | ||
| 3 | 作者:calliope | ||
| 4 | --> | ||
| 5 | <template> | 1 | <template> |
| 6 | <div class='batchDel'> | 2 | <div class='batchDel'> |
| 7 | <lb-table :column="columns" :data="formData.dataList" :maxHeight="460" :heightNumSetting="true" :pagination="false" | 3 | <lb-table :column="columns" :data="formData.dataList" :maxHeight="460" :heightNumSetting="true" :pagination="false" | ... | ... |
| ... | @@ -32,6 +32,7 @@ export default { | ... | @@ -32,6 +32,7 @@ export default { |
| 32 | key: 0, | 32 | key: 0, |
| 33 | dataIndex: 0, | 33 | dataIndex: 0, |
| 34 | dialog: false, | 34 | dialog: false, |
| 35 | isaddupdate:false, | ||
| 35 | details: {}, | 36 | details: {}, |
| 36 | tableDataList: [], | 37 | tableDataList: [], |
| 37 | InformationTable: [ | 38 | InformationTable: [ |
| ... | @@ -121,15 +122,15 @@ export default { | ... | @@ -121,15 +122,15 @@ export default { |
| 121 | } else { | 122 | } else { |
| 122 | that.tableDataList = _.cloneDeep(val) | 123 | that.tableDataList = _.cloneDeep(val) |
| 123 | } | 124 | } |
| 124 | this.column = this.InformationTable | ||
| 125 | }) | 125 | }) |
| 126 | }, | 126 | }, |
| 127 | immediate: true, | ||
| 127 | deep: true | 128 | deep: true |
| 128 | }, | 129 | }, |
| 129 | gyfs: { | 130 | gyfs: { |
| 130 | handler (newVal, oldValue) { | 131 | handler (newVal, oldValue) { |
| 131 | let dataList = _.cloneDeep(this.InformationTable) | 132 | let dataList = _.cloneDeep(this.InformationTable) |
| 132 | if (newVal == '0') { | 133 | if (newVal == 0) { |
| 133 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | 134 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) |
| 134 | } else if ((newVal == '1' || newVal == '3')) { | 135 | } else if ((newVal == '1' || newVal == '3')) { |
| 135 | this.column = dataList | 136 | this.column = dataList |
| ... | @@ -147,16 +148,24 @@ export default { | ... | @@ -147,16 +148,24 @@ export default { |
| 147 | }, | 148 | }, |
| 148 | methods: { | 149 | methods: { |
| 149 | handleupdateDetail (value) { | 150 | handleupdateDetail (value) { |
| 151 | debugger | ||
| 152 | if(this.isaddupdate){ | ||
| 153 | if (!_.isEqual(value, this.tableData)) { | ||
| 154 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | ||
| 155 | this.$emit('upDateQlrxxList', this.tableDataList) | ||
| 156 | } | ||
| 157 | }else{ | ||
| 150 | if (!_.isEqual(value, this.tableData)) { | 158 | if (!_.isEqual(value, this.tableData)) { |
| 151 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | 159 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); |
| 152 | // this.key++ | ||
| 153 | this.$emit('upDateQlrxxList', this.tableDataList) | 160 | this.$emit('upDateQlrxxList', this.tableDataList) |
| 154 | } | 161 | } |
| 162 | } | ||
| 155 | }, | 163 | }, |
| 156 | 164 | ||
| 157 | // 新增 | 165 | // 新增 |
| 158 | addClick () { | 166 | addClick () { |
| 159 | this.dialog = true | 167 | this.dialog = true |
| 168 | this.isaddupdate=true | ||
| 160 | }, | 169 | }, |
| 161 | 170 | ||
| 162 | // 删除 | 171 | // 删除 |
| ... | @@ -169,12 +178,11 @@ export default { | ... | @@ -169,12 +178,11 @@ export default { |
| 169 | 178 | ||
| 170 | // 修改 | 179 | // 修改 |
| 171 | editClick (index, row) { | 180 | editClick (index, row) { |
| 172 | //console.log(row, 'rowrowrowrowrow'); | ||
| 173 | this.dataIndex = index | 181 | this.dataIndex = index |
| 174 | this.dialog = true | 182 | this.dialog = true |
| 175 | this.details = row | 183 | this.details = row |
| 184 | this.isaddupdate=false | ||
| 176 | }, | 185 | }, |
| 177 | |||
| 178 | queryViewClick () { | 186 | queryViewClick () { |
| 179 | this.dialog = true | 187 | this.dialog = true |
| 180 | } | 188 | } | ... | ... |
| ... | @@ -42,7 +42,7 @@ export default { | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | this.judgeBatchShow(); | 42 | this.judgeBatchShow(); |
| 43 | if (this.showBatch) { | 43 | if (this.showBatch) { |
| 44 | //满足批量查封/批量抵押按钮出现 即先展示批量表单 | 44 | //满足批量查封/批量抵押按钮出现 即先展示批量表单 |
| 45 | this.unitClick(-1); | 45 | this.batchUnitClick(); |
| 46 | } else { | 46 | } else { |
| 47 | //默认选择单元列表第一个 | 47 | //默认选择单元列表第一个 |
| 48 | this.unitClick(0); | 48 | this.unitClick(0); |
| ... | @@ -54,8 +54,8 @@ export default { | ... | @@ -54,8 +54,8 @@ export default { |
| 54 | //批量按钮判断 | 54 | //批量按钮判断 |
| 55 | judgeBatchShow () { | 55 | judgeBatchShow () { |
| 56 | this.showBatch = false; | 56 | this.showBatch = false; |
| 57 | let qllx = this.$route.query.sqywbm.substring(0, 3); | ||
| 58 | if (this.unitData.length > 1) { | 57 | if (this.unitData.length > 1) { |
| 58 | let qllx = this.$route.query.sqywbm.substring(0, 3); | ||
| 59 | switch (qllx) { | 59 | switch (qllx) { |
| 60 | case 'B39': | 60 | case 'B39': |
| 61 | this.showBatch = true; | 61 | this.showBatch = true; |
| ... | @@ -65,6 +65,8 @@ export default { | ... | @@ -65,6 +65,8 @@ export default { |
| 65 | this.showBatch = true; | 65 | this.showBatch = true; |
| 66 | this.batchButtonName = '批量抵押'; | 66 | this.batchButtonName = '批量抵押'; |
| 67 | break; | 67 | break; |
| 68 | default: | ||
| 69 | this.batchButtonName = '批量操作'; | ||
| 68 | } | 70 | } |
| 69 | } | 71 | } |
| 70 | }, | 72 | }, |
| ... | @@ -279,6 +281,22 @@ export default { | ... | @@ -279,6 +281,22 @@ export default { |
| 279 | message: "action: " + action | 281 | message: "action: " + action |
| 280 | }) | 282 | }) |
| 281 | }) | 283 | }) |
| 284 | }, | ||
| 285 | //批量操作 | ||
| 286 | handleBatchDel () { | ||
| 287 | let that = this; | ||
| 288 | this.$popup("批量删除", "workflow/components/batchDel", { | ||
| 289 | width: "50%", | ||
| 290 | btnShow: true, | ||
| 291 | height: "600px", | ||
| 292 | formData: { | ||
| 293 | bsmSlsq: this.bsmSlsq, | ||
| 294 | dataList: this.unitData, | ||
| 295 | }, | ||
| 296 | confirm: function () { | ||
| 297 | that.loadBdcdylist(); | ||
| 282 | } | 298 | } |
| 299 | }) | ||
| 300 | }, | ||
| 283 | } | 301 | } |
| 284 | } | 302 | } | ... | ... |
| ... | @@ -20,15 +20,13 @@ export default { | ... | @@ -20,15 +20,13 @@ export default { |
| 20 | }, | 20 | }, |
| 21 | //切换选项卡内容组件 | 21 | //切换选项卡内容组件 |
| 22 | getFromRouter (tabname) { | 22 | getFromRouter (tabname) { |
| 23 | //根据tabname获取选中的表单 | 23 | //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 |
| 24 | for(let item of this.tabList){ | 24 | for(let item of this.tabList){ |
| 25 | if(item.value === tabname){ | 25 | if(item.value === tabname){ |
| 26 | this.currentSelectTab = item | 26 | this.currentSelectTab = item |
| 27 | break; | 27 | break; |
| 28 | } | 28 | } |
| 29 | } | 29 | } |
| 30 | console.log(this.currentSelectTab); | ||
| 31 | |||
| 32 | this.componentTag = getForm(tabname, this.$route.query.sqywbm); | 30 | this.componentTag = getForm(tabname, this.$route.query.sqywbm); |
| 33 | } | 31 | } |
| 34 | } | 32 | } | ... | ... |
| ... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
| 22 | <div class="containerFrame"> | 22 | <div class="containerFrame"> |
| 23 | <!-- 左侧菜单栏 --> | 23 | <!-- 左侧菜单栏 --> |
| 24 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 24 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| 25 | <div class="title" @click="unitClick(-1)">{{ batchButtonName }}</div> | 25 | <div class="title" @click="batchUnitClick" v-if="showBatch">{{ batchButtonName }}</div> |
| 26 | <div v-if="this.isShowdrawer"> | 26 | <div v-if="this.isShowdrawer"> |
| 27 | <div class="title"> | 27 | <div class="title"> |
| 28 | 申请单元列表({{ unitData.length }}) | 28 | 申请单元列表({{ unitData.length }}) |
| ... | @@ -115,7 +115,11 @@ export default { | ... | @@ -115,7 +115,11 @@ export default { |
| 115 | //材料信息选项卡对象 | 115 | //材料信息选项卡对象 |
| 116 | clxxTab: {}, | 116 | clxxTab: {}, |
| 117 | //页面监听时间 | 117 | //页面监听时间 |
| 118 | _beforeUnload_time: "" | 118 | _beforeUnload_time: "", |
| 119 | //批量操作 | ||
| 120 | showBatch: false, | ||
| 121 | //批量操作按钮名称 | ||
| 122 | batchButtonName: '', | ||
| 119 | } | 123 | } |
| 120 | }, | 124 | }, |
| 121 | mounted () { | 125 | mounted () { |
| ... | @@ -176,29 +180,8 @@ export default { | ... | @@ -176,29 +180,8 @@ export default { |
| 176 | }); | 180 | }); |
| 177 | }); | 181 | }); |
| 178 | }, | 182 | }, |
| 179 | handleBatchDel () { | ||
| 180 | let that = this; | ||
| 181 | this.$popup("批量删除", "workflow/components/batchDel", { | ||
| 182 | width: "50%", | ||
| 183 | btnShow: true, | ||
| 184 | height: "600px", | ||
| 185 | formData: { | ||
| 186 | bsmSlsq: this.bsmSlsq, | ||
| 187 | dataList: this.unitData, | ||
| 188 | }, | ||
| 189 | confirm: function () { | ||
| 190 | that.loadBdcdylist(); | ||
| 191 | } | ||
| 192 | }) | ||
| 193 | }, | ||
| 194 | //申请单元点击事件 | 183 | //申请单元点击事件 |
| 195 | unitClick (index) { | 184 | stepForm (index) { |
| 196 | if (index >= 0) { | ||
| 197 | this.currentSelectProps = this.unitData[index]; | ||
| 198 | this.currentSelectProps.batchOperation = false; | ||
| 199 | } else { | ||
| 200 | this.currentSelectProps.batchOperation = true; | ||
| 201 | } | ||
| 202 | getStepFormInfo(this.currentSelectProps).then((res) => { | 185 | getStepFormInfo(this.currentSelectProps).then((res) => { |
| 203 | if (res.code === 200) { | 186 | if (res.code === 200) { |
| 204 | this.fresh++; | 187 | this.fresh++; |
| ... | @@ -206,6 +189,8 @@ export default { | ... | @@ -206,6 +189,8 @@ export default { |
| 206 | this.tabList = res.result; | 189 | this.tabList = res.result; |
| 207 | //默认加载第一个表单信息 | 190 | //默认加载第一个表单信息 |
| 208 | this.tabName = res.result[0].value; | 191 | this.tabName = res.result[0].value; |
| 192 | //批量操作无分屏按钮 | ||
| 193 | if(index != null){ | ||
| 209 | //处理分屏材料信息 | 194 | //处理分屏材料信息 |
| 210 | let that = this; | 195 | let that = this; |
| 211 | this.tabList.forEach(function (item, index) { | 196 | this.tabList.forEach(function (item, index) { |
| ... | @@ -216,7 +201,19 @@ export default { | ... | @@ -216,7 +201,19 @@ export default { |
| 216 | } | 201 | } |
| 217 | }) | 202 | }) |
| 218 | } | 203 | } |
| 204 | } | ||
| 219 | }) | 205 | }) |
| 206 | }, | ||
| 207 | //申请单元点击事件 | ||
| 208 | unitClick (index) { | ||
| 209 | this.currentSelectProps = this.unitData[index]; | ||
| 210 | this.currentSelectProps.batchOperation = false; | ||
| 211 | this.stepForm(index); | ||
| 212 | }, | ||
| 213 | //批量按钮点击事件 | ||
| 214 | batchUnitClick(){ | ||
| 215 | this.currentSelectProps.batchOperation = true; | ||
| 216 | this.stepForm(); | ||
| 220 | } | 217 | } |
| 221 | } | 218 | } |
| 222 | } | 219 | } | ... | ... |
| ... | @@ -81,7 +81,7 @@ | ... | @@ -81,7 +81,7 @@ |
| 81 | </el-col> | 81 | </el-col> |
| 82 | <el-col :span="8"> | 82 | <el-col :span="8"> |
| 83 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> | 83 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> |
| 84 | <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled type="date" placeholder="选择日期" | 84 | <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" type="date" placeholder="选择日期" |
| 85 | value-format="yyyy-MM-dd"></el-date-picker> | 85 | value-format="yyyy-MM-dd"></el-date-picker> |
| 86 | </el-form-item> | 86 | </el-form-item> |
| 87 | </el-col> | 87 | </el-col> | ... | ... |
| ... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
| 126 | </el-col> | 126 | </el-col> |
| 127 | <el-col :span="8"> | 127 | <el-col :span="8"> |
| 128 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> | 128 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> |
| 129 | <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled type="date" placeholder="选择日期" | 129 | <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" type="date" placeholder="选择日期" |
| 130 | value-format="yyyy-MM-dd"></el-date-picker> | 130 | value-format="yyyy-MM-dd"></el-date-picker> |
| 131 | </el-form-item> | 131 | </el-form-item> |
| 132 | </el-col> | 132 | </el-col> | ... | ... |
| ... | @@ -133,7 +133,8 @@ | ... | @@ -133,7 +133,8 @@ |
| 133 | <el-row :gutter="10"> | 133 | <el-row :gutter="10"> |
| 134 | <el-col :span="14" v-if="ruleForm.qlxx"> | 134 | <el-col :span="14" v-if="ruleForm.qlxx"> |
| 135 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 135 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
| 136 | <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" v-model="ruleForm.slywxx.gyfs"> | 136 | <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" |
| 137 | v-model="ruleForm.slywxx.gyfs"> | ||
| 137 | <el-radio label="0">单独所有</el-radio> | 138 | <el-radio label="0">单独所有</el-radio> |
| 138 | <el-radio label="1">共同共有</el-radio> | 139 | <el-radio label="1">共同共有</el-radio> |
| 139 | <el-radio label="2">按份所有</el-radio> | 140 | <el-radio label="2">按份所有</el-radio> |
| ... | @@ -273,7 +274,6 @@ export default { | ... | @@ -273,7 +274,6 @@ export default { |
| 273 | display: flex; | 274 | display: flex; |
| 274 | flex-direction: column; | 275 | flex-direction: column; |
| 275 | height: calc(100vh - 130px); | 276 | height: calc(100vh - 130px); |
| 276 | background-color: aqua; | ||
| 277 | } | 277 | } |
| 278 | 278 | ||
| 279 | /deep/.el-form-item__label { | 279 | /deep/.el-form-item__label { | ... | ... |
| ... | @@ -299,7 +299,6 @@ export default { | ... | @@ -299,7 +299,6 @@ export default { |
| 299 | display: flex; | 299 | display: flex; |
| 300 | flex-direction: column; | 300 | flex-direction: column; |
| 301 | height: calc(100vh - 130px); | 301 | height: calc(100vh - 130px); |
| 302 | background-color: aqua; | ||
| 303 | } | 302 | } |
| 304 | 303 | ||
| 305 | /deep/.el-form-item__label { | 304 | /deep/.el-form-item__label { | ... | ... |
| ... | @@ -271,7 +271,6 @@ export default { | ... | @@ -271,7 +271,6 @@ export default { |
| 271 | display: flex; | 271 | display: flex; |
| 272 | flex-direction: column; | 272 | flex-direction: column; |
| 273 | height: calc(100vh - 130px); | 273 | height: calc(100vh - 130px); |
| 274 | background-color: aqua; | ||
| 275 | } | 274 | } |
| 276 | 275 | ||
| 277 | /deep/.el-form-item__label { | 276 | /deep/.el-form-item__label { | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <!-- 受理信息 --> | 2 | <!-- 受理信息 --> |
| 3 | <div class="slxx"> | 3 | <div class="slxx"> |
| 4 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" | 4 | <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''" |
| 5 | label-width="120px"> | 5 | :inline="flag" label-width="120px"> |
| 6 | <div class="slxx_con"> | 6 | <div class="slxx_con" v-if="isShow"> |
| 7 | <div class="slxx_title title-block"> | 7 | <div class="slxx_title title-block"> |
| 8 | 受理信息 | 8 | 受理信息 |
| 9 | <div class="triangle"></div> | 9 | <div class="triangle"></div> |
| ... | @@ -147,12 +147,14 @@ | ... | @@ -147,12 +147,14 @@ |
| 147 | </el-row> | 147 | </el-row> |
| 148 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" | 148 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" |
| 149 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> | 149 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> |
| 150 | <div v-if="ruleForm.ywrList.length > 0"> | 150 | |
| 151 | |||
| 152 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | ||
| 151 | <div class="slxx_title title-block"> | 153 | <div class="slxx_title title-block"> |
| 152 | 义务人信息 | 154 | 义务人信息 |
| 153 | <div class="triangle"></div> | 155 | <div class="triangle"></div> |
| 154 | </div> | 156 | </div> |
| 155 | <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" | 157 | <qlrCommonTable v-if="ruleForm.ywrList" :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" |
| 156 | :viewtype="$route.query.viewtype" /> | 158 | :viewtype="$route.query.viewtype" /> |
| 157 | </div> | 159 | </div> |
| 158 | 160 | ||
| ... | @@ -183,45 +185,28 @@ import { mapGetters } from "vuex" | ... | @@ -183,45 +185,28 @@ import { mapGetters } from "vuex" |
| 183 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js" | 185 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js" |
| 184 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" | 186 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" |
| 185 | export default { | 187 | export default { |
| 186 | created () { | 188 | mounted () { |
| 187 | this.propsParam = this.$attrs; | 189 | this.propsParam = this.$attrs; |
| 188 | var formdata = new FormData(); | 190 | var formdata = new FormData(); |
| 191 | let that = this | ||
| 192 | this.$startLoading(); | ||
| 189 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 193 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
| 190 | formdata.append("djlx", this.propsParam.djlx); | 194 | formdata.append("djlx", this.propsParam.djlx); |
| 191 | Init(formdata).then((res) => { | 195 | Init(formdata).then((res) => { |
| 192 | this.ruleForm = res.result; | 196 | this.$nextTick(() => { |
| 193 | if (res.code === 200) { | 197 | that.ruleForm = res.result; |
| 194 | this.$store.dispatch('slxx/setQlrxxOld', { | 198 | that.$endLoading(); |
| 195 | qlrxx: this.ruleForm.qlrxx, | 199 | that.isShow = true |
| 196 | fj: this.ruleForm.fj, | ||
| 197 | gyfs: this.ruleForm.gyfs, | ||
| 198 | djyy: this.ruleForm.djyy | ||
| 199 | }) | 200 | }) |
| 200 | } | ||
| 201 | else { | ||
| 202 | this.$alert(res.message, '提示'); | ||
| 203 | } | ||
| 204 | }) | 201 | }) |
| 205 | }, | 202 | }, |
| 206 | components: { qlrCommonTable }, | 203 | components: { qlrCommonTable }, |
| 207 | computed: { | 204 | computed: { |
| 208 | ...mapGetters(["dictData", "flag"]) | 205 | ...mapGetters(["dictData", "flag"]) |
| 209 | }, | 206 | }, |
| 210 | watch: { | ||
| 211 | ruleForm: { | ||
| 212 | handler: function (newValue) { | ||
| 213 | this.$store.dispatch('slxx/setQlrxxNew', { | ||
| 214 | qlrxx: this.ruleForm.qlrxx, | ||
| 215 | fj: this.ruleForm.fj, | ||
| 216 | gyfs: this.ruleForm.gyfs, | ||
| 217 | djyy: this.ruleForm.djyy | ||
| 218 | }) | ||
| 219 | }, | ||
| 220 | deep: true | ||
| 221 | } | ||
| 222 | }, | ||
| 223 | data () { | 207 | data () { |
| 224 | return { | 208 | return { |
| 209 | isShow: false, | ||
| 225 | disabled: true, | 210 | disabled: true, |
| 226 | czrOptions: [], | 211 | czrOptions: [], |
| 227 | ruleForm: {}, | 212 | ruleForm: {}, |
| ... | @@ -233,11 +218,11 @@ export default { | ... | @@ -233,11 +218,11 @@ export default { |
| 233 | methods: { | 218 | methods: { |
| 234 | // 更新权利人信息 | 219 | // 更新权利人信息 |
| 235 | upDateQlrxxList (val) { | 220 | upDateQlrxxList (val) { |
| 236 | this.ruleForm.qlrList = _.cloneDeep(val); | 221 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) |
| 237 | }, | 222 | }, |
| 238 | // 更新义务人信息 | 223 | // 更新义务人信息 |
| 239 | upDateYwrxxList (val) { | 224 | upDateYwrxxList (val) { |
| 240 | this.ruleForm.ywrList = _.cloneDeep(val); | 225 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) |
| 241 | }, | 226 | }, |
| 242 | onSubmit () { | 227 | onSubmit () { |
| 243 | saveData(this.ruleForm).then((res) => { | 228 | saveData(this.ruleForm).then((res) => { | ... | ... |
| ... | @@ -126,9 +126,10 @@ | ... | @@ -126,9 +126,10 @@ |
| 126 | <el-col :span="14"> | 126 | <el-col :span="14"> |
| 127 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 127 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
| 128 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> | 128 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> |
| 129 | <el-radio label="1">单独所有</el-radio> | 129 | <el-radio label="0">单独所有</el-radio> |
| 130 | <el-radio label="2">共同共有</el-radio> | 130 | <el-radio label="1">共同共有</el-radio> |
| 131 | <el-radio label="3">按份所有</el-radio> | 131 | <el-radio label="2">按份所有</el-radio> |
| 132 | <el-radio label="3">其它共有</el-radio> | ||
| 132 | </el-radio-group> | 133 | </el-radio-group> |
| 133 | </el-form-item> | 134 | </el-form-item> |
| 134 | </el-col> | 135 | </el-col> | ... | ... |
| ... | @@ -240,7 +240,6 @@ export default { | ... | @@ -240,7 +240,6 @@ export default { |
| 240 | display: flex; | 240 | display: flex; |
| 241 | flex-direction: column; | 241 | flex-direction: column; |
| 242 | height: calc(100vh - 130px); | 242 | height: calc(100vh - 130px); |
| 243 | background-color: aqua; | ||
| 244 | } | 243 | } |
| 245 | 244 | ||
| 246 | /deep/.el-form-item__label { | 245 | /deep/.el-form-item__label { | ... | ... |
| ... | @@ -252,7 +252,6 @@ export default { | ... | @@ -252,7 +252,6 @@ export default { |
| 252 | display: flex; | 252 | display: flex; |
| 253 | flex-direction: column; | 253 | flex-direction: column; |
| 254 | height: calc(100vh - 130px); | 254 | height: calc(100vh - 130px); |
| 255 | background-color: aqua; | ||
| 256 | } | 255 | } |
| 257 | 256 | ||
| 258 | /deep/.el-form-item__label { | 257 | /deep/.el-form-item__label { | ... | ... |
| ... | @@ -157,7 +157,7 @@ export default { | ... | @@ -157,7 +157,7 @@ export default { |
| 157 | } | 157 | } |
| 158 | if (!this.isJump) { | 158 | if (!this.isJump) { |
| 159 | startBusinessFlow({ | 159 | startBusinessFlow({ |
| 160 | bsmSqyw: this.sqywInfo.parentid, | 160 | bsmSqyw: this.bsmSqyw, |
| 161 | fwlx: this.activeName, | 161 | fwlx: this.activeName, |
| 162 | bdcdysz: this.bdcdysz, | 162 | bdcdysz: this.bdcdysz, |
| 163 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | 163 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ... | ... |
| ... | @@ -3,7 +3,7 @@ export default { | ... | @@ -3,7 +3,7 @@ export default { |
| 3 | jump (data, type) { | 3 | jump (data, type) { |
| 4 | this.$emit("closeDialog"); | 4 | this.$emit("closeDialog"); |
| 5 | const { href } = this.$router.resolve( | 5 | const { href } = this.$router.resolve( |
| 6 | "/workFrame?bsmSlsq=" + | 6 | "/workFramecs?bsmSlsq=" + |
| 7 | data.bsmSlsq + | 7 | data.bsmSlsq + |
| 8 | "&bestepid=" + | 8 | "&bestepid=" + |
| 9 | data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type | 9 | data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type | ... | ... |
| ... | @@ -165,7 +165,7 @@ export default { | ... | @@ -165,7 +165,7 @@ export default { |
| 165 | type: "success", | 165 | type: "success", |
| 166 | }); | 166 | }); |
| 167 | if (!this.isJump) { | 167 | if (!this.isJump) { |
| 168 | this.jump(res.result, this.djywbm); | 168 | this.jump(res.result, this.sqywInfo.djywbm); |
| 169 | } else { | 169 | } else { |
| 170 | this.$emit("updateDialog", true); | 170 | this.$emit("updateDialog", true); |
| 171 | } | 171 | } | ... | ... |
| 1 | <template> | ||
| 2 | <!-- 主体权利信息查询 --> | ||
| 3 | <div class="from-clues"> | ||
| 4 | <!-- 表单部分 --> | ||
| 5 | <div class="from-clues-header"> | ||
| 6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
| 7 | <el-row> | ||
| 8 | <el-col :span="8"> | ||
| 9 | <el-form-item label="不动产权证号"> | ||
| 10 | <el-input | ||
| 11 | placeholder="请输入不动产权证号" | ||
| 12 | v-model="queryForm.bdcqzh" | ||
| 13 | clearable | ||
| 14 | class="width200px" | ||
| 15 | > | ||
| 16 | </el-input> | ||
| 17 | </el-form-item> | ||
| 18 | </el-col> | ||
| 19 | <el-col :span="8"> | ||
| 20 | <el-form-item label="不动产单元号"> | ||
| 21 | <el-input | ||
| 22 | placeholder="请输入不动产单元号" | ||
| 23 | v-model="queryForm.bdcdyh" | ||
| 24 | clearable | ||
| 25 | class="width200px" | ||
| 26 | > | ||
| 27 | </el-input> | ||
| 28 | </el-form-item> | ||
| 29 | </el-col> | ||
| 30 | <el-col :span="6"> | ||
| 31 | <el-form-item label="坐落"> | ||
| 32 | <el-input | ||
| 33 | placeholder="" | ||
| 34 | v-model="queryForm.zl" | ||
| 35 | clearable | ||
| 36 | class="width200px" | ||
| 37 | > | ||
| 38 | </el-input> | ||
| 39 | </el-form-item> | ||
| 40 | </el-col> | ||
| 41 | <el-col :span="2" class="btnColRight"> | ||
| 42 | <el-form-item> | ||
| 43 | <el-button type="primary" @click="fetchData()">查询</el-button> | ||
| 44 | </el-form-item> | ||
| 45 | </el-col> | ||
| 46 | </el-row> | ||
| 47 | </el-form> | ||
| 48 | </div> | ||
| 49 | <!-- 表格 --> | ||
| 50 | <div class="from-clues-content"> | ||
| 51 | <lb-table | ||
| 52 | ref="table" | ||
| 53 | @row-click="handleRowClick" | ||
| 54 | :page-size="pageData.pageSize" | ||
| 55 | :heightNum="400" | ||
| 56 | :current-page.sync="pageData.currentPage" | ||
| 57 | :total="tableData.total" | ||
| 58 | @size-change="handleSizeChange" | ||
| 59 | @p-current-change="handleCurrentChange" | ||
| 60 | @selection-change="handleSelectionChange" | ||
| 61 | :column="tableData.columns" | ||
| 62 | :data="tableData.data" | ||
| 63 | > | ||
| 64 | </lb-table> | ||
| 65 | </div> | ||
| 66 | <div class="submit_button"> | ||
| 67 | <el-button @click="closeDialog">取消</el-button> | ||
| 68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | ||
| 69 | </div> | ||
| 70 | </div> | ||
| 71 | </template> | ||
| 72 | <script> | ||
| 73 | import { datas, sendThis } from "../javascript/selectYgdj100.js"; | ||
| 74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
| 75 | import table from "@/utils/mixin/table"; | ||
| 76 | import jump from "./mixin/jump"; | ||
| 77 | import { selectYgdj100, startBusinessFlow } from "@/api/ywbl.js"; | ||
| 78 | export default { | ||
| 79 | mixins: [table, jump], | ||
| 80 | props: { | ||
| 81 | isJump: { type: Boolean, default: false }, | ||
| 82 | sqywInfo: { type: Object, default: () => {} }, | ||
| 83 | }, | ||
| 84 | data() { | ||
| 85 | return { | ||
| 86 | queryForm: defaultParameters.defaultParameters(), | ||
| 87 | tableData: { | ||
| 88 | total: 0, | ||
| 89 | columns: datas.columns(), | ||
| 90 | data: [], | ||
| 91 | }, | ||
| 92 | bdcdysz: [], | ||
| 93 | }; | ||
| 94 | }, | ||
| 95 | mounted() { | ||
| 96 | sendThis(this); | ||
| 97 | }, | ||
| 98 | methods: { | ||
| 99 | //点击行选中或取消复选框 | ||
| 100 | handleRowClick(row, column, event) { | ||
| 101 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
| 102 | this.$refs.table.toggleRowSelection(row); | ||
| 103 | }, | ||
| 104 | closeDialog() { | ||
| 105 | this.$emit("closeDialog"); | ||
| 106 | }, | ||
| 107 | fetchData() { | ||
| 108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
| 109 | selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 110 | if (res.code === 200) { | ||
| 111 | let { total, records } = res.result; | ||
| 112 | this.tableData.total = total; | ||
| 113 | this.tableData.data = records; | ||
| 114 | } | ||
| 115 | }); | ||
| 116 | }, | ||
| 117 | submitForm() { | ||
| 118 | if (this.bdcdysz.length == 0) { | ||
| 119 | this.$message.error("请至少选择一条数据"); | ||
| 120 | return; | ||
| 121 | } | ||
| 122 | startBusinessFlow({ | ||
| 123 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
| 124 | bdcdysz: this.bdcdysz, | ||
| 125 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ||
| 126 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | ||
| 127 | }).then((res) => { | ||
| 128 | if (res.code == 200) { | ||
| 129 | this.$message({ | ||
| 130 | showClose: true, | ||
| 131 | message: '发起申请成功', | ||
| 132 | type: 'success' | ||
| 133 | }) | ||
| 134 | if (!this.isJump) { | ||
| 135 | this.jump(res.result, this.sqywInfo.djywbm) | ||
| 136 | } else { | ||
| 137 | this.$emit('updateDialog', true) | ||
| 138 | } | ||
| 139 | } else { | ||
| 140 | this.$message.error(res.message); | ||
| 141 | } | ||
| 142 | }); | ||
| 143 | }, | ||
| 144 | handleSelectionChange(val) { | ||
| 145 | val.forEach((item, index) => { | ||
| 146 | item.bsmSsql = item.bsmQlxx; | ||
| 147 | item.ybdcqzsh = item.bdcqzh; | ||
| 148 | }); | ||
| 149 | this.bdcdysz = val; | ||
| 150 | }, | ||
| 151 | }, | ||
| 152 | }; | ||
| 153 | </script> | ||
| 154 | <style scoped lang="scss"> | ||
| 155 | @import "~@/styles/mixin.scss"; | ||
| 156 | @import "~@/styles/public.scss"; | ||
| 157 | </style> |
| 1 | <template> | ||
| 2 | <!-- 主体权利信息查询 --> | ||
| 3 | <div class="from-clues"> | ||
| 4 | <!-- 表单部分 --> | ||
| 5 | <div class="from-clues-header"> | ||
| 6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
| 7 | <el-row> | ||
| 8 | <el-col :span="8"> | ||
| 9 | <el-form-item label="不动产权证号"> | ||
| 10 | <el-input | ||
| 11 | placeholder="请输入不动产权证号" | ||
| 12 | v-model="queryForm.bdcqzh" | ||
| 13 | clearable | ||
| 14 | class="width200px" | ||
| 15 | > | ||
| 16 | </el-input> | ||
| 17 | </el-form-item> | ||
| 18 | </el-col> | ||
| 19 | <el-col :span="8"> | ||
| 20 | <el-form-item label="不动产单元号"> | ||
| 21 | <el-input | ||
| 22 | placeholder="请输入不动产单元号" | ||
| 23 | v-model="queryForm.bdcdyh" | ||
| 24 | clearable | ||
| 25 | class="width200px" | ||
| 26 | > | ||
| 27 | </el-input> | ||
| 28 | </el-form-item> | ||
| 29 | </el-col> | ||
| 30 | <el-col :span="6"> | ||
| 31 | <el-form-item label="坐落"> | ||
| 32 | <el-input | ||
| 33 | placeholder="" | ||
| 34 | v-model="queryForm.zl" | ||
| 35 | clearable | ||
| 36 | class="width200px" | ||
| 37 | > | ||
| 38 | </el-input> | ||
| 39 | </el-form-item> | ||
| 40 | </el-col> | ||
| 41 | <el-col :span="2" class="btnColRight"> | ||
| 42 | <el-form-item> | ||
| 43 | <el-button type="primary" @click="fetchData()">查询</el-button> | ||
| 44 | </el-form-item> | ||
| 45 | </el-col> | ||
| 46 | </el-row> | ||
| 47 | </el-form> | ||
| 48 | </div> | ||
| 49 | <!-- 表格 --> | ||
| 50 | <div class="from-clues-content"> | ||
| 51 | <lb-table | ||
| 52 | ref="table" | ||
| 53 | @row-click="handleRowClick" | ||
| 54 | :page-size="pageData.pageSize" | ||
| 55 | :heightNum="400" | ||
| 56 | :current-page.sync="pageData.currentPage" | ||
| 57 | :total="tableData.total" | ||
| 58 | @size-change="handleSizeChange" | ||
| 59 | @p-current-change="handleCurrentChange" | ||
| 60 | @selection-change="handleSelectionChange" | ||
| 61 | :column="tableData.columns" | ||
| 62 | :data="tableData.data" | ||
| 63 | > | ||
| 64 | </lb-table> | ||
| 65 | </div> | ||
| 66 | <div class="submit_button"> | ||
| 67 | <el-button @click="closeDialog">取消</el-button> | ||
| 68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | ||
| 69 | </div> | ||
| 70 | </div> | ||
| 71 | </template> | ||
| 72 | <script> | ||
| 73 | import { datas, sendThis } from "../javascript/selectYgdj200.js"; | ||
| 74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
| 75 | import table from "@/utils/mixin/table"; | ||
| 76 | import jump from "./mixin/jump"; | ||
| 77 | import { selectYgdj200, startBusinessFlow } from "@/api/ywbl.js"; | ||
| 78 | export default { | ||
| 79 | mixins: [table, jump], | ||
| 80 | props: { | ||
| 81 | isJump: { type: Boolean, default: false }, | ||
| 82 | sqywInfo: { type: Object, default: () => {} }, | ||
| 83 | }, | ||
| 84 | data() { | ||
| 85 | return { | ||
| 86 | queryForm: defaultParameters.defaultParameters(), | ||
| 87 | tableData: { | ||
| 88 | total: 0, | ||
| 89 | columns: datas.columns(), | ||
| 90 | data: [], | ||
| 91 | }, | ||
| 92 | bdcdysz: [], | ||
| 93 | }; | ||
| 94 | }, | ||
| 95 | mounted() { | ||
| 96 | sendThis(this); | ||
| 97 | }, | ||
| 98 | methods: { | ||
| 99 | //点击行选中或取消复选框 | ||
| 100 | handleRowClick(row, column, event) { | ||
| 101 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
| 102 | this.$refs.table.toggleRowSelection(row); | ||
| 103 | }, | ||
| 104 | closeDialog() { | ||
| 105 | this.$emit("closeDialog"); | ||
| 106 | }, | ||
| 107 | fetchData() { | ||
| 108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
| 109 | selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 110 | if (res.code === 200) { | ||
| 111 | let { total, records } = res.result; | ||
| 112 | this.tableData.total = total; | ||
| 113 | this.tableData.data = records; | ||
| 114 | } | ||
| 115 | }); | ||
| 116 | }, | ||
| 117 | submitForm() { | ||
| 118 | if (this.bdcdysz.length == 0) { | ||
| 119 | this.$message.error("请至少选择一条数据"); | ||
| 120 | return; | ||
| 121 | } | ||
| 122 | startBusinessFlow({ | ||
| 123 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
| 124 | bdcdysz: this.bdcdysz, | ||
| 125 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ||
| 126 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | ||
| 127 | }).then((res) => { | ||
| 128 | if (res.code == 200) { | ||
| 129 | this.$message({ | ||
| 130 | showClose: true, | ||
| 131 | message: '发起申请成功', | ||
| 132 | type: 'success' | ||
| 133 | }) | ||
| 134 | if (!this.isJump) { | ||
| 135 | this.jump(res.result, this.sqywInfo.djywbm) | ||
| 136 | } else { | ||
| 137 | this.$emit('updateDialog', true) | ||
| 138 | } | ||
| 139 | } else { | ||
| 140 | this.$message.error(res.message); | ||
| 141 | } | ||
| 142 | }); | ||
| 143 | }, | ||
| 144 | handleSelectionChange(val) { | ||
| 145 | val.forEach((item, index) => { | ||
| 146 | item.bsmSsql = item.bsmQlxx; | ||
| 147 | item.ybdcqzsh = item.bdcqzh; | ||
| 148 | }); | ||
| 149 | this.bdcdysz = val; | ||
| 150 | }, | ||
| 151 | }, | ||
| 152 | }; | ||
| 153 | </script> | ||
| 154 | <style scoped lang="scss"> | ||
| 155 | @import "~@/styles/mixin.scss"; | ||
| 156 | @import "~@/styles/public.scss"; | ||
| 157 | </style> |
| 1 | import filter from '@/utils/filter.js' | ||
| 2 | let vm = null | ||
| 3 | |||
| 4 | const sendThis = (_this) => { | ||
| 5 | vm = _this | ||
| 6 | } | ||
| 7 | class data extends filter { | ||
| 8 | constructor() { | ||
| 9 | super() | ||
| 10 | } | ||
| 11 | columns () { | ||
| 12 | return [ | ||
| 13 | { | ||
| 14 | type: 'selection', | ||
| 15 | label: '全选' | ||
| 16 | }, | ||
| 17 | { | ||
| 18 | label: '序号', | ||
| 19 | type: 'index', | ||
| 20 | width: '50', | ||
| 21 | render: (h, scope) => { | ||
| 22 | return ( | ||
| 23 | <div> | ||
| 24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
| 25 | </div> | ||
| 26 | ) | ||
| 27 | } | ||
| 28 | }, | ||
| 29 | { | ||
| 30 | label: "状态", | ||
| 31 | render: (h, scope) => { | ||
| 32 | return ( | ||
| 33 | <div> | ||
| 34 | {/* <a v-on:click="doSomething"></a> */} | ||
| 35 | <a style='color:#3498db;' v-show={scope.row.zt == 1} >正在办理</a> | ||
| 36 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
| 37 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
| 38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
| 39 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
| 40 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
| 41 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
| 42 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
| 43 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
| 44 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
| 45 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
| 46 | </div> | ||
| 47 | ) | ||
| 48 | } | ||
| 49 | }, | ||
| 50 | { | ||
| 51 | prop: "qllxmc", | ||
| 52 | label: "权利类型", | ||
| 53 | }, | ||
| 54 | { | ||
| 55 | prop: "bdcdyh", | ||
| 56 | label: "不动产单元号", | ||
| 57 | }, | ||
| 58 | { | ||
| 59 | prop: "szc", | ||
| 60 | label: "房屋所在层数", | ||
| 61 | }, | ||
| 62 | { | ||
| 63 | prop: "mj", | ||
| 64 | label: "房屋面积", | ||
| 65 | }, | ||
| 66 | { | ||
| 67 | prop: "fwjgmc", | ||
| 68 | label: "房屋结构", | ||
| 69 | }, | ||
| 70 | { | ||
| 71 | prop: "zl", | ||
| 72 | label: "坐落", | ||
| 73 | } | ||
| 74 | ] | ||
| 75 | } | ||
| 76 | |||
| 77 | |||
| 78 | } | ||
| 79 | let datas = new data() | ||
| 80 | export { | ||
| 81 | datas, | ||
| 82 | sendThis | ||
| 83 | } |
| 1 | import filter from '@/utils/filter.js' | ||
| 2 | let vm = null | ||
| 3 | |||
| 4 | const sendThis = (_this) => { | ||
| 5 | vm = _this | ||
| 6 | } | ||
| 7 | class data extends filter { | ||
| 8 | constructor() { | ||
| 9 | super() | ||
| 10 | } | ||
| 11 | columns () { | ||
| 12 | return [ | ||
| 13 | { | ||
| 14 | type: 'selection', | ||
| 15 | label: '全选' | ||
| 16 | }, | ||
| 17 | { | ||
| 18 | label: '序号', | ||
| 19 | type: 'index', | ||
| 20 | width: '50', | ||
| 21 | render: (h, scope) => { | ||
| 22 | return ( | ||
| 23 | <div> | ||
| 24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
| 25 | </div> | ||
| 26 | ) | ||
| 27 | } | ||
| 28 | }, | ||
| 29 | { | ||
| 30 | prop: "status", | ||
| 31 | label: "状态", | ||
| 32 | render: (h, scope) => { | ||
| 33 | return ( | ||
| 34 | <div> | ||
| 35 | {/* <a v-on:click="doSomething"></a> */} | ||
| 36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
| 37 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
| 38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
| 39 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
| 40 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
| 41 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
| 42 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
| 43 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
| 44 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
| 45 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
| 46 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
| 47 | </div> | ||
| 48 | ) | ||
| 49 | } | ||
| 50 | }, | ||
| 51 | { | ||
| 52 | prop: "qllxmc", | ||
| 53 | label: "权利类型", | ||
| 54 | }, | ||
| 55 | { | ||
| 56 | prop: "bdcdyh", | ||
| 57 | label: "不动产单元号", | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | prop: "bdcqzh", | ||
| 61 | label: "不动产权证号", | ||
| 62 | }, | ||
| 63 | { | ||
| 64 | prop: "fwxz", | ||
| 65 | label: "房屋性质", | ||
| 66 | }, | ||
| 67 | { | ||
| 68 | prop: "fwjgmc", | ||
| 69 | label: "房屋结构", | ||
| 70 | }, | ||
| 71 | { | ||
| 72 | prop: "qlrmc", | ||
| 73 | label: "权利人", | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | prop: "qlrzjhm", | ||
| 77 | label: "证件号", | ||
| 78 | }, | ||
| 79 | { | ||
| 80 | prop: "mj", | ||
| 81 | label: "面积", | ||
| 82 | }, | ||
| 83 | { | ||
| 84 | prop: "showTdyt", | ||
| 85 | label: "用途", | ||
| 86 | }, | ||
| 87 | { | ||
| 88 | prop: "zdmj", | ||
| 89 | label: "宗地面积", | ||
| 90 | }, | ||
| 91 | { | ||
| 92 | prop: "zl", | ||
| 93 | label: "坐落", | ||
| 94 | } | ||
| 95 | ] | ||
| 96 | } | ||
| 97 | |||
| 98 | |||
| 99 | } | ||
| 100 | let datas = new data() | ||
| 101 | export { | ||
| 102 | datas, | ||
| 103 | sendThis | ||
| 104 | } |
| ... | @@ -48,6 +48,14 @@ export function queueDjywmc(djywbm) { | ... | @@ -48,6 +48,14 @@ export function queueDjywmc(djywbm) { |
| 48 | case "B39400"://解封 | 48 | case "B39400"://解封 |
| 49 | vm = "cfdj"; | 49 | vm = "cfdj"; |
| 50 | break; | 50 | break; |
| 51 | case "B40100"://预告首次 | ||
| 52 | vm ="selectYgdj100"; | ||
| 53 | break; | ||
| 54 | case "B40200"://预告转移 | ||
| 55 | case "B40300"://预告变更 | ||
| 56 | case "B40400"://预告注销 | ||
| 57 | vm ="selectYgdj200"; | ||
| 58 | break; | ||
| 51 | default: | 59 | default: |
| 52 | vm = "selecBdcql"; | 60 | vm = "selecBdcql"; |
| 53 | break; | 61 | break; | ... | ... |
-
Please register or sign in to post a comment