Merge remote-tracking branch 'origin/master'
Showing
18 changed files
with
415 additions
and
327 deletions
| ... | @@ -33,7 +33,7 @@ export function invalidCertificate (data) { | ... | @@ -33,7 +33,7 @@ export function invalidCertificate (data) { |
| 33 | data | 33 | data |
| 34 | }) | 34 | }) |
| 35 | } | 35 | } |
| 36 | // 缮证列表 | 36 | //根据受理申请标识码获取所有缮证列表 |
| 37 | export function getCertificateList (data) { | 37 | export function getCertificateList (data) { |
| 38 | return request({ | 38 | return request({ |
| 39 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList', | 39 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList', |
| ... | @@ -42,6 +42,15 @@ export function getCertificateList (data) { | ... | @@ -42,6 +42,15 @@ export function getCertificateList (data) { |
| 42 | }) | 42 | }) |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | //获取不动产权证对应缮证列表 | ||
| 46 | export function getSzRecordList (params) { | ||
| 47 | return request({ | ||
| 48 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSzRecordList', | ||
| 49 | method: 'get', | ||
| 50 | params | ||
| 51 | }) | ||
| 52 | } | ||
| 53 | |||
| 45 | //获取未领取的证书信息 | 54 | //获取未领取的证书信息 |
| 46 | export function getUnclaimedBdcqz (data) { | 55 | export function getUnclaimedBdcqz (data) { |
| 47 | return request({ | 56 | return request({ | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <dialogBox title="家庭房产查询" @closeDialog="closeDialog" width="70%" height="700" :isButton="false" v-model="myValue"> | 2 | <dialogBox title="家庭房产查询" @closeDialog="closeDialog" width="70%" :isButton="false" v-model="myValue"> |
| 3 | <div class="jtfccx-edit"> | 3 | <div class="jtfccx-edit"> |
| 4 | <div class="jtfccx-edit-con"> | 4 | <div class="jtfccx-edit-con"> |
| 5 | <b class="title">申请信息</b> | 5 | <b class="title">申请信息</b> |
| 6 | <el-form :model="ruleForm" label-width="120px"> | 6 | <el-form :model="form" label-width="120px"> |
| 7 | <el-row> | 7 | <el-row> |
| 8 | <el-col :span="8"> | 8 | <el-col :span="8"> |
| 9 | <el-form-item label="查询用途" label-width="90px"> | 9 | <el-form-item label="查询用途" label-width="90px"> |
| 10 | <el-input v-model="ruleForm.cxyt" class="width200px"></el-input> | 10 | <el-input v-model="form.djSqcxDO.cxyt" class="width200px"></el-input> |
| 11 | </el-form-item> | 11 | </el-form-item> |
| 12 | </el-col> | 12 | </el-col> |
| 13 | <el-col :span="16"> | 13 | <el-col :span="16"> |
| 14 | <el-form-item label="与产权人的关系"> | 14 | <el-form-item label="与产权人的关系"> |
| 15 | <el-radio-group v-model="ruleForm.ycyrgx"> | 15 | <el-radio-group v-model="form.djSqcxDO.ycyrgx"> |
| 16 | <el-radio :label="1">房屋权利人</el-radio> | 16 | <el-radio label="1">房屋权利人</el-radio> |
| 17 | <el-radio :label="2">产权利害关系人</el-radio> | 17 | <el-radio label="2">产权利害关系人</el-radio> |
| 18 | <el-radio :label="3">委托人</el-radio> | 18 | <el-radio label="3">委托人</el-radio> |
| 19 | </el-radio-group> | 19 | </el-radio-group> |
| 20 | </el-form-item> | 20 | </el-form-item> |
| 21 | </el-col> | 21 | </el-col> |
| 22 | </el-row> | 22 | </el-row> |
| 23 | </el-form> | 23 | </el-form> |
| 24 | <personInfoTable @getInfoList="handleGetSqList" :dataList="sqdataList" /> | 24 | <personInfoTable @getInfoList="handleGetSqList" :dataList="form.sqrList" /> |
| 25 | 25 | ||
| 26 | <b class="title">权利人</b> | 26 | <b class="title">权利人</b> |
| 27 | <personInfoTable @getInfoList="handleGetQlList" :dataList="qldataList" /> | 27 | <personInfoTable @getInfoList="handleGetQlList" :dataList="form.qlrList" /> |
| 28 | <div class="submit-button"> | 28 | <div v-show="isSearch"> |
| 29 | <el-button @click="resetClick">重置</el-button> | 29 | <b class="title">查询结果</b> |
| 30 | <el-button type="primary" @click="queryChick">查询</el-button> | 30 | <lb-table :column="cxjgColumns" :data="form.cxjgList" :maxHeight="200" heightNumSetting :pagination="false"> |
| 31 | </lb-table> | ||
| 31 | </div> | 32 | </div> |
| 32 | <b class="title" v-show="isSearch">查询结果</b> | ||
| 33 | <lb-table :column="searchData.columns" v-if="isSearch" :data="searchData.data" :maxHeight="200" heightNumSetting | ||
| 34 | :pagination="false"> | ||
| 35 | </lb-table> | ||
| 36 | </div> | 33 | </div> |
| 37 | 34 | <el-divider></el-divider> | |
| 38 | <div class="submit-button" v-show="isSearch" style="padding-bottom:20px"> | 35 | <div class="submit-button" style="padding-bottom:50px"> |
| 39 | <el-button type="primary" v-if="searchData.data.length > 0">房产结果打印(1)</el-button> | 36 | <el-button @click="resetClick">重置</el-button> |
| 40 | <el-button type="primary" v-else>无房证明打印(1)</el-button> | 37 | <el-button type="primary" v-show="isSearch==false" @click="queryChick">查询</el-button> |
| 38 | <el-button type="primary" v-show="isSearch&&form.dyjlList.length > 0">房产结果打印(1)</el-button> | ||
| 39 | <el-button type="primary" v-show="isSearch&&form.dyjlList.length == 0">无房证明打印(1)</el-button> | ||
| 41 | <el-button @click="closeDialog">关闭</el-button> | 40 | <el-button @click="closeDialog">关闭</el-button> |
| 42 | </div> | 41 | </div> |
| 43 | </div> | 42 | </div> |
| ... | @@ -45,113 +44,105 @@ | ... | @@ -45,113 +44,105 @@ |
| 45 | </template> | 44 | </template> |
| 46 | 45 | ||
| 47 | <script> | 46 | <script> |
| 48 | import personInfoTable from './personInfoTable' | 47 | import personInfoTable from "./personInfoTable"; |
| 49 | import { addJtfcCxjgXx } from '@/api/sqcx' | 48 | import { addJtfcCxjgXx } from "@/api/sqcx"; |
| 50 | import { datas, sendThis } from "./addjtfcdata"; | 49 | import { datas, sendThis } from "./addjtfcdata"; |
| 51 | 50 | ||
| 52 | export default { | 51 | export default { |
| 53 | components: { | 52 | components: { |
| 54 | personInfoTable | 53 | personInfoTable, |
| 55 | }, | 54 | }, |
| 56 | props: { | 55 | props: { |
| 57 | value: { type: Boolean, default: false }, | 56 | value: { type: Boolean, default: false }, |
| 58 | }, | 57 | }, |
| 59 | mounted () { | 58 | mounted() { |
| 60 | sendThis(this); | 59 | sendThis(this); |
| 60 | // this.form.sqrList=_.cloneDeep(this.newData); | ||
| 61 | // this.form.qlrList=_.cloneDeep(this.newData); | ||
| 61 | }, | 62 | }, |
| 62 | data () { | 63 | data() { |
| 63 | return { | 64 | return { |
| 64 | myValue: this.value, | 65 | myValue: this.value, |
| 65 | ruleForm: { | ||
| 66 | cxyt: '', | ||
| 67 | ycyrgx: 1, | ||
| 68 | cxlx: '1' //查询类型 1:房产查询 2:登记簿查询 | ||
| 69 | }, | ||
| 70 | isSearch: false, | 66 | isSearch: false, |
| 71 | dataList: [{ | 67 | newData: [ |
| 72 | sqrxm: '', | 68 | { |
| 73 | sqrzjlxbm: '', | 69 | sqrxm: "", |
| 74 | sqrzjhm: '', | 70 | sqrzjlxbm: "", |
| 75 | lxdh: '', | 71 | sqrzjhm: "", |
| 76 | inputErr: false | 72 | lxdh: "", |
| 77 | }], | 73 | inputErr: false, |
| 78 | sqdataList: [], | 74 | }, |
| 79 | qldataList: [], | 75 | ], |
| 80 | options: [{ | 76 | cxjgColumns: datas.columns(), |
| 81 | name: '1', | 77 | form: { |
| 82 | value: 1 | 78 | djSqcxDO: { ycyrgx: "1", cxyt: "" }, |
| 83 | }], | 79 | sqrList: this.newData, |
| 84 | 80 | qlrList: this.newData, | |
| 85 | searchData: { | 81 | cxjgList: [], |
| 86 | columns: datas.columns(), | 82 | dyjlList: [], |
| 87 | data: [], | ||
| 88 | }, | 83 | }, |
| 89 | 84 | }; | |
| 90 | addJtfc: { | ||
| 91 | djSqcxDO: {}, | ||
| 92 | sqrList: [], | ||
| 93 | qlrList: [], | ||
| 94 | } | ||
| 95 | } | ||
| 96 | }, | 85 | }, |
| 97 | watch: { | 86 | watch: { |
| 98 | value (val) { | 87 | value(val) { |
| 99 | this.myValue = val | 88 | this.myValue = val; |
| 100 | this.qldataList = _.cloneDeep(this.dataList) | 89 | // this.qldataList = _.cloneDeep(this.dataList) |
| 101 | this.sqdataList = _.cloneDeep(this.dataList) | 90 | // this.sqdataList = _.cloneDeep(this.dataList) |
| 102 | this.addJtfc.sqrList = _.cloneDeep(this.dataList) | 91 | // this.addJtfc.sqrList = _.cloneDeep(this.dataList) |
| 103 | this.addJtfc.qlrList = _.cloneDeep(this.dataList) | 92 | // this.addJtfc.qlrList = _.cloneDeep(this.dataList) |
| 104 | }, | 93 | }, |
| 105 | 'ruleForm.ycyrgx' (val) { | 94 | "form.djSqcxDO.ycyrgx"(val) { |
| 106 | if (val != 1) { | 95 | if (val == "1") { |
| 107 | this.qldataList = _.cloneDeep(this.dataList) | 96 | this.$alert(this.form.sqrList); |
| 108 | this.addJtfc.qlrList = _.cloneDeep(this.dataList) | 97 | this.form.qlrList = this.form.sqrList; |
| 109 | } else { | 98 | } else { |
| 110 | this.qldataList = this.addJtfc.sqrList | 99 | this.form.qlrList = []; |
| 111 | this.addJtfc.qlrList = this.addJtfc.sqrList | 100 | this.form.qlrList.push(this.newData); |
| 112 | } | 101 | } |
| 113 | } | 102 | }, |
| 103 | "form.djSqcxDO.ycyrgx": { | ||
| 104 | handler(newValue, oldName) {}, | ||
| 105 | }, | ||
| 114 | }, | 106 | }, |
| 115 | methods: { | 107 | methods: { |
| 116 | closeDialog () { | 108 | closeDialog() { |
| 117 | this.$emit('input', false) | 109 | this.$emit("input", false); |
| 118 | }, | 110 | }, |
| 119 | handleGetSqList (val) { | 111 | handleGetSqList(val) { |
| 120 | if (!_.isEqual(val, this.dataList) && this.ruleForm.ycyrgx == 1) { | 112 | // if (!_.isEqual(val, this.dataList) && this.ruleForm.ycyrgx == 1) { |
| 121 | this.qldataList = val | 113 | // this.qldataList = val |
| 122 | this.addJtfc.qlrList = val | 114 | // this.addJtfc.qlrList = val |
| 123 | } else | 115 | // } else |
| 124 | this.addJtfc.sqrList = val | 116 | // this.addJtfc.sqrList = val |
| 125 | }, | 117 | }, |
| 126 | handleGetQlList (val) { | 118 | handleGetQlList(val) { |
| 127 | if (this.ruleForm.ycyrgx != 1) { | 119 | // if (this.ruleForm.ycyrgx != 1) { |
| 128 | this.addJtfc.qlrList = val | 120 | // this.addJtfc.qlrList = val |
| 129 | } | 121 | // } |
| 130 | }, | 122 | }, |
| 131 | queryChick () { | 123 | queryChick() { |
| 132 | this.addJtfc.djSqcxDO = { ...this.ruleForm } | 124 | addJtfcCxjgXx(this.form).then((res) => { |
| 133 | addJtfcCxjgXx(this.addJtfc).then(res => { | 125 | if (res.code == 200) { |
| 134 | this.searchData.data = res.result; | 126 | this.$alert("ddd"); |
| 135 | this.isSearch = true | 127 | } |
| 136 | }) | 128 | // this.searchData.data = res.result; |
| 129 | // this.isSearch = true | ||
| 130 | }); | ||
| 137 | }, | 131 | }, |
| 138 | resetClick () { | 132 | resetClick() { |
| 139 | this.qldataList = _.cloneDeep(this.dataList) | 133 | this.form.djSqcxDO = { ycyrgx: "1", cxyt: "" }; |
| 140 | this.sqdataList = _.cloneDeep(this.dataList) | 134 | this.form.sqrList = _.cloneDeep(this.dataList); |
| 135 | this.form.qlrList = _.cloneDeep(this.dataList); | ||
| 141 | }, | 136 | }, |
| 142 | handleRead (row) { }, | 137 | handleRead(row) {}, |
| 143 | 138 | ||
| 144 | //抵押 | 139 | //抵押 |
| 145 | dyClick () { | 140 | dyClick() {}, |
| 146 | |||
| 147 | }, | ||
| 148 | 141 | ||
| 149 | //查封 | 142 | //查封 |
| 150 | cfClick () { | 143 | cfClick() {}, |
| 151 | 144 | }, | |
| 152 | } | 145 | }; |
| 153 | } | ||
| 154 | } | ||
| 155 | </script> | 146 | </script> |
| 156 | <style scoped lang="scss"> | 147 | <style scoped lang="scss"> |
| 157 | @import "~@/styles/mixin.scss"; | 148 | @import "~@/styles/mixin.scss"; | ... | ... |
| ... | @@ -32,11 +32,11 @@ export default { | ... | @@ -32,11 +32,11 @@ export default { |
| 32 | { | 32 | { |
| 33 | width: '60', | 33 | width: '60', |
| 34 | renderHeader: (h, scope) => { | 34 | renderHeader: (h, scope) => { |
| 35 | return <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }} style="color:#409EFF"></i> | 35 | return <i class="el-icon-plus pointer" onClick={() => { this.add() }} style="color:#409EFF"></i> |
| 36 | }, | 36 | }, |
| 37 | render: (h, scope) => { | 37 | render: (h, scope) => { |
| 38 | return ( | 38 | return ( |
| 39 | <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> | 39 | <i class="el-icon-minus pointer" onClick={() => { this.remove(scope.$index, scope.row) }}></i> |
| 40 | ) | 40 | ) |
| 41 | } | 41 | } |
| 42 | }, | 42 | }, |
| ... | @@ -113,27 +113,28 @@ export default { | ... | @@ -113,27 +113,28 @@ export default { |
| 113 | } | 113 | } |
| 114 | } | 114 | } |
| 115 | }, | 115 | }, |
| 116 | watch: { | 116 | // watch: { |
| 117 | 'tableData.data': { | 117 | // 'tableData.data': { |
| 118 | handler (newValue, oldName) { | 118 | // handler (newValue, oldName) { |
| 119 | if (newValue.length != 0) { | 119 | // if (newValue.length != 0) { |
| 120 | this.$emit('getInfoList', newValue) | 120 | // this.$alert(newValue); |
| 121 | } | 121 | // //this.$emit('getInfoList', newValue) |
| 122 | }, | 122 | // } |
| 123 | deep: true, | 123 | // }, |
| 124 | immediate: true | 124 | // deep: true, |
| 125 | }, | 125 | // immediate: true |
| 126 | dataList: { | 126 | // }, |
| 127 | handler (newValue, oldName) { | 127 | // dataList: { |
| 128 | this.tableData.data = _.cloneDeep(newValue) | 128 | // handler (newValue, oldName) { |
| 129 | console.log(this.tableData.data, 'this.tableData.datathis.tableData.data'); | 129 | // this.tableData.data = _.cloneDeep(newValue) |
| 130 | }, | 130 | // console.log(this.tableData.data, 'this.tableData.datathis.tableData.data'); |
| 131 | deep: true, | 131 | // }, |
| 132 | immediate: true | 132 | // deep: true, |
| 133 | }, | 133 | // immediate: true |
| 134 | }, | 134 | // }, |
| 135 | // }, | ||
| 135 | methods: { | 136 | methods: { |
| 136 | handleAdd () { | 137 | add () { |
| 137 | this.tableData.data.push({ | 138 | this.tableData.data.push({ |
| 138 | sqrxm: '', | 139 | sqrxm: '', |
| 139 | sqrzjlxbm: '', | 140 | sqrzjlxbm: '', |
| ... | @@ -142,7 +143,7 @@ export default { | ... | @@ -142,7 +143,7 @@ export default { |
| 142 | inputErr: false | 143 | inputErr: false |
| 143 | }) | 144 | }) |
| 144 | }, | 145 | }, |
| 145 | handleMinus (index, row) { | 146 | remove (index, row) { |
| 146 | this.tableData.data.splice(index, 1) | 147 | this.tableData.data.splice(index, 1) |
| 147 | }, | 148 | }, |
| 148 | teltest (row) { | 149 | teltest (row) { | ... | ... |
| ... | @@ -54,7 +54,7 @@ class data extends filter { | ... | @@ -54,7 +54,7 @@ class data extends filter { |
| 54 | render: (h, scope) => { | 54 | render: (h, scope) => { |
| 55 | switch (scope.row.ycyrgx) { | 55 | switch (scope.row.ycyrgx) { |
| 56 | case '1': | 56 | case '1': |
| 57 | return <div>权利人</div> | 57 | return <div>房屋权利人</div> |
| 58 | case '2': | 58 | case '2': |
| 59 | return <div>产权利害关系人</div> | 59 | return <div>产权利害关系人</div> |
| 60 | case '3': | 60 | case '3': | ... | ... |
| ... | @@ -122,9 +122,23 @@ export default { | ... | @@ -122,9 +122,23 @@ export default { |
| 122 | }, | 122 | }, |
| 123 | }, | 123 | }, |
| 124 | { | 124 | { |
| 125 | prop: "ys", | ||
| 126 | label: "扫描页数", | 125 | label: "扫描页数", |
| 127 | width: "50" | 126 | width: "50", |
| 127 | render: (h, scope) => { | ||
| 128 | if (scope.row.children && scope.row.children.length > 0) { | ||
| 129 | return ( | ||
| 130 | <div> | ||
| 131 | <span>{scope.row.children.length}</span> | ||
| 132 | </div> | ||
| 133 | ); | ||
| 134 | } else { | ||
| 135 | return ( | ||
| 136 | <div> | ||
| 137 | <span>0</span> | ||
| 138 | </div> | ||
| 139 | ); | ||
| 140 | } | ||
| 141 | }, | ||
| 128 | }, | 142 | }, |
| 129 | { | 143 | { |
| 130 | label: "操作", | 144 | label: "操作", | ... | ... |
src/views/workflow/components/szRecord.vue
0 → 100644
| 1 | <template> | ||
| 2 | <div> | ||
| 3 | <lb-table :column="tableData.columns" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableData.data"> | ||
| 4 | </lb-table> | ||
| 5 | </div> | ||
| 6 | </template> | ||
| 7 | <script> | ||
| 8 | import { mapGetters } from 'vuex' | ||
| 9 | import { getSzRecordList } from "@/api/bdcqz.js"; | ||
| 10 | import table from "@/utils/mixin/table"; | ||
| 11 | import { datas } from "../javascript/szxxdata"; | ||
| 12 | export default { | ||
| 13 | components: { | ||
| 14 | |||
| 15 | }, | ||
| 16 | mixins: [table], | ||
| 17 | computed: { | ||
| 18 | ...mapGetters(["dictData"]), | ||
| 19 | }, | ||
| 20 | props: { | ||
| 21 | formData: { | ||
| 22 | type: Object, | ||
| 23 | default: {} | ||
| 24 | }, | ||
| 25 | }, | ||
| 26 | data () { | ||
| 27 | return { | ||
| 28 | key: 0, | ||
| 29 | dataIndex: 0, | ||
| 30 | dialog: false, | ||
| 31 | details: {}, | ||
| 32 | tableData: { | ||
| 33 | total: 0, | ||
| 34 | columns: datas.columns(), | ||
| 35 | data: [], | ||
| 36 | }, | ||
| 37 | } | ||
| 38 | }, | ||
| 39 | mounted() { | ||
| 40 | this.query() | ||
| 41 | }, | ||
| 42 | methods: { | ||
| 43 | query(){ | ||
| 44 | getSzRecordList({bsmBdcqz: this.formData.bsmBdcqz}).then(res => { | ||
| 45 | if(res.code == 200){ | ||
| 46 | this.tableData.data = res.result; | ||
| 47 | } | ||
| 48 | }) | ||
| 49 | } | ||
| 50 | } | ||
| 51 | } | ||
| 52 | </script> | ||
| 53 | <style scoped lang='scss'> | ||
| 54 | |||
| 55 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -49,7 +49,7 @@ | ... | @@ -49,7 +49,7 @@ |
| 49 | <el-button | 49 | <el-button |
| 50 | class="operation_button" | 50 | class="operation_button" |
| 51 | type="text" | 51 | type="text" |
| 52 | @click="openZsylDialog(item, 1)" | 52 | @click="openRecordPop(item)" |
| 53 | >缮证记录</el-button | 53 | >缮证记录</el-button |
| 54 | > | 54 | > |
| 55 | </div> | 55 | </div> |
| ... | @@ -57,14 +57,20 @@ | ... | @@ -57,14 +57,20 @@ |
| 57 | <el-button | 57 | <el-button |
| 58 | class="operation_button" | 58 | class="operation_button" |
| 59 | type="text" | 59 | type="text" |
| 60 | @click="openZsylDialog(item, 2)" | 60 | @click="openZsylDialog(item,2)" |
| 61 | >证书打印({{ item.szcs }})</el-button | 61 | >证书打印({{ item.szcs }})</el-button |
| 62 | > | 62 | > |
| 63 | <el-button | ||
| 64 | class="operation_button" | ||
| 65 | type="text" | ||
| 66 | @click="openRecordPop(item)" | ||
| 67 | >缮证记录</el-button | ||
| 68 | > | ||
| 63 | </div> | 69 | </div> |
| 64 | </div> | 70 | </div> |
| 65 | </el-card> | 71 | </el-card> |
| 66 | <el-dialog | 72 | <el-dialog |
| 67 | title="证书打印" | 73 | title="证书作废" |
| 68 | :visible.sync="invalidDiglog" | 74 | :visible.sync="invalidDiglog" |
| 69 | width="30%" | 75 | width="30%" |
| 70 | :modal-append-to-body="false" | 76 | :modal-append-to-body="false" |
| ... | @@ -93,8 +99,9 @@ | ... | @@ -93,8 +99,9 @@ |
| 93 | </div> | 99 | </div> |
| 94 | </template> | 100 | </template> |
| 95 | <script> | 101 | <script> |
| 96 | import { getSlsqBdcqzList, invalidCertificate } from "@/api/bdcqz.js"; | 102 | import { getSlsqBdcqzList, invalidCertificate,getSzRecordList } from "@/api/bdcqz.js"; |
| 97 | import bdcqzPrint from "./zsdy.vue"; | 103 | import bdcqzPrint from "./zsdy.vue"; |
| 104 | import { popupDialog } from "@/utils/popup.js"; | ||
| 98 | export default { | 105 | export default { |
| 99 | components: { bdcqzPrint }, | 106 | components: { bdcqzPrint }, |
| 100 | props: {}, | 107 | props: {}, |
| ... | @@ -172,6 +179,8 @@ export default { | ... | @@ -172,6 +179,8 @@ export default { |
| 172 | //再次打印 | 179 | //再次打印 |
| 173 | openInvalidDiglog(item) { | 180 | openInvalidDiglog(item) { |
| 174 | this.bsmSz = item.bsmSz; | 181 | this.bsmSz = item.bsmSz; |
| 182 | console.log(item); | ||
| 183 | |||
| 175 | this.invalidDiglog = true; | 184 | this.invalidDiglog = true; |
| 176 | }, | 185 | }, |
| 177 | closeInvalidDiglog() { | 186 | closeInvalidDiglog() { |
| ... | @@ -192,6 +201,9 @@ export default { | ... | @@ -192,6 +201,9 @@ export default { |
| 192 | } | 201 | } |
| 193 | }); | 202 | }); |
| 194 | }, | 203 | }, |
| 204 | openRecordPop(item) { | ||
| 205 | popupDialog("缮证记录", "workflow/components/szRecord", {bsmBdcqz: item.bsmBdcqz}, '50%') | ||
| 206 | } | ||
| 195 | }, | 207 | }, |
| 196 | }; | 208 | }; |
| 197 | </script> | 209 | </script> | ... | ... |
| ... | @@ -2,9 +2,10 @@ | ... | @@ -2,9 +2,10 @@ |
| 2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
| 3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
| 4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
| 5 | <div class="title">请选择要退回到的环节:</div> | ||
| 5 | <el-form ref="queryForm" label-width="90px"> | 6 | <el-form ref="queryForm" label-width="90px"> |
| 6 | <ul style="margin-bottom:15px"> | 7 | <ul style="margin-bottom:15px"> |
| 7 | <li v-for="(item,index) in dataList" class="listDetail" :key="index"> | 8 | <li v-for="(item,index) in dataList" class="listDetail" :key="index" @click="changeSelectItem(item)"> |
| 8 | <p class="icon"> | 9 | <p class="icon"> |
| 9 | <el-radio v-model="selectActivity" :label="item.activityId" @change="changeSelectItem(item)"></el-radio> | 10 | <el-radio v-model="selectActivity" :label="item.activityId" @change="changeSelectItem(item)"></el-radio> |
| 10 | </p> | 11 | </p> |
| ... | @@ -12,11 +13,12 @@ | ... | @@ -12,11 +13,12 @@ |
| 12 | <p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p> | 13 | <p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p> |
| 13 | </li> | 14 | </li> |
| 14 | </ul> | 15 | </ul> |
| 15 | <el-form-item label="退回意见:"> | 16 | <div class="title">退回意见:</div> |
| 16 | <el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input> | 17 | <el-form-item> |
| 18 | <el-input class="textArea" type="textarea" v-model="outstepopinion" placeholder="请输入退回意见"></el-input> | ||
| 17 | </el-form-item> | 19 | </el-form-item> |
| 18 | <el-form-item> | 20 | <el-form-item> |
| 19 | <el-button style="float:right">取消</el-button> | 21 | <!-- <el-button style="float:right">取消</el-button> --> |
| 20 | <el-button type="primary" @click="onSubmit" style="float:right">退回</el-button> | 22 | <el-button type="primary" @click="onSubmit" style="float:right">退回</el-button> |
| 21 | </el-form-item> | 23 | </el-form-item> |
| 22 | </el-form> | 24 | </el-form> |
| ... | @@ -59,10 +61,12 @@ export default { | ... | @@ -59,10 +61,12 @@ export default { |
| 59 | }, 1000); | 61 | }, 1000); |
| 60 | }) | 62 | }) |
| 61 | }, | 63 | }, |
| 62 | changeSelectItem(item){ | 64 | changeSelectItem(item){ |
| 63 | this.selectItem = item | 65 | this.selectItem = item |
| 66 | this.selectActivity = item.activityId | ||
| 64 | }, | 67 | }, |
| 65 | getBackNode () { | 68 | //获取可回退环节信息 |
| 69 | getBackNode () { | ||
| 66 | getTaskBackNode(this.formData).then(res => { | 70 | getTaskBackNode(this.formData).then(res => { |
| 67 | if (res.code == 200) { | 71 | if (res.code == 200) { |
| 68 | this.dataList = res.result | 72 | this.dataList = res.result |
| ... | @@ -72,7 +76,7 @@ export default { | ... | @@ -72,7 +76,7 @@ export default { |
| 72 | } | 76 | } |
| 73 | } | 77 | } |
| 74 | }) | 78 | }) |
| 75 | } | 79 | }, |
| 76 | } | 80 | } |
| 77 | } | 81 | } |
| 78 | </script> | 82 | </script> |
| ... | @@ -100,6 +104,10 @@ export default { | ... | @@ -100,6 +104,10 @@ export default { |
| 100 | } | 104 | } |
| 101 | } | 105 | } |
| 102 | 106 | ||
| 107 | .title{ | ||
| 108 | margin-bottom: 10px; | ||
| 109 | } | ||
| 110 | |||
| 103 | .textArea { | 111 | .textArea { |
| 104 | /deep/.el-textarea__inner { | 112 | /deep/.el-textarea__inner { |
| 105 | min-height: 90px !important; | 113 | min-height: 90px !important; | ... | ... |
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | @submitForm="handleSubmit" | 7 | @submitForm="handleSubmit" |
| 8 | > | 8 | > |
| 9 | <div> | 9 | <div> |
| 10 | <div class="middle_padding"> | 10 | <div> |
| 11 | <el-form | 11 | <el-form |
| 12 | :model="ruleForm" | 12 | :model="ruleForm" |
| 13 | :rules="rules" | 13 | :rules="rules" |
| ... | @@ -27,7 +27,8 @@ | ... | @@ -27,7 +27,8 @@ |
| 27 | </el-form-item> | 27 | </el-form-item> |
| 28 | </el-form> | 28 | </el-form> |
| 29 | </div> | 29 | </div> |
| 30 | <div | 30 | <img :src="previewImage"> |
| 31 | <!-- <div | ||
| 31 | class="aaaa" | 32 | class="aaaa" |
| 32 | v-if="bdcqz.bdcqzlx == 1" | 33 | v-if="bdcqz.bdcqzlx == 1" |
| 33 | :style="{ | 34 | :style="{ |
| ... | @@ -120,7 +121,7 @@ | ... | @@ -120,7 +121,7 @@ |
| 120 | </div> | 121 | </div> |
| 121 | <div class="fj">{{ bdcqz.fj }}</div> | 122 | <div class="fj">{{ bdcqz.fj }}</div> |
| 122 | </div> | 123 | </div> |
| 123 | </div> | 124 | </div> --> |
| 124 | </div> | 125 | </div> |
| 125 | </dialogBox> | 126 | </dialogBox> |
| 126 | </template> | 127 | </template> |
| ... | @@ -139,6 +140,8 @@ export default { | ... | @@ -139,6 +140,8 @@ export default { |
| 139 | myValue: this.value, | 140 | myValue: this.value, |
| 140 | //印刷序列号集合 | 141 | //印刷序列号集合 |
| 141 | ysxlh: [], | 142 | ysxlh: [], |
| 143 | //证书预览图片 | ||
| 144 | previewImage: '', | ||
| 142 | //列名称对象 | 145 | //列名称对象 |
| 143 | columns: [], | 146 | columns: [], |
| 144 | ruleForm: { | 147 | ruleForm: { |
| ... | @@ -185,7 +188,13 @@ export default { | ... | @@ -185,7 +188,13 @@ export default { |
| 185 | return value; | 188 | return value; |
| 186 | }, | 189 | }, |
| 187 | getBdcqzPreview() { | 190 | getBdcqzPreview() { |
| 188 | bdcqzPreview(this.bdcqz).then((res) => {}); | 191 | this.$startLoading() |
| 192 | bdcqzPreview(this.bdcqz).then(res => { | ||
| 193 | this.$endLoading() | ||
| 194 | let blob = new Blob([res]); | ||
| 195 | let url = window.URL.createObjectURL(blob); | ||
| 196 | this.previewImage = url; | ||
| 197 | }) | ||
| 189 | }, | 198 | }, |
| 190 | //保存打印记录 | 199 | //保存打印记录 |
| 191 | savePrintRecord() { | 200 | savePrintRecord() { |
| ... | @@ -195,6 +204,9 @@ export default { | ... | @@ -195,6 +204,9 @@ export default { |
| 195 | certificate(this.ruleForm).then((res) => { | 204 | certificate(this.ruleForm).then((res) => { |
| 196 | if (res.code === 200) { | 205 | if (res.code === 200) { |
| 197 | this.$emit("input", false); | 206 | this.$emit("input", false); |
| 207 | this.$message.success("提交成功"); | ||
| 208 | //刷新列表 | ||
| 209 | this.$parent.list(); | ||
| 198 | } else { | 210 | } else { |
| 199 | this.$message.error(res.message); | 211 | this.$message.error(res.message); |
| 200 | } | 212 | } | ... | ... |
src/views/workflow/javascript/szxxdata.js
0 → 100644
| 1 | import filter from '@/utils/filter.js' | ||
| 2 | let vm = null | ||
| 3 | |||
| 4 | const sendThis = (_this) => { | ||
| 5 | vm = _this | ||
| 6 | } | ||
| 7 | class data extends filter { | ||
| 8 | constructor() { | ||
| 9 | super() | ||
| 10 | } | ||
| 11 | columns () { | ||
| 12 | return [ | ||
| 13 | { | ||
| 14 | label: '序号', | ||
| 15 | type: 'index', | ||
| 16 | render: (h, scope) => { | ||
| 17 | return ( | ||
| 18 | <div> | ||
| 19 | {scope.$index + 1} | ||
| 20 | </div> | ||
| 21 | ) | ||
| 22 | } | ||
| 23 | }, | ||
| 24 | { | ||
| 25 | prop: "szzh", | ||
| 26 | label: "缮证证号", | ||
| 27 | }, | ||
| 28 | { | ||
| 29 | prop: "ysxlh", | ||
| 30 | label: "印刷序列号", | ||
| 31 | }, | ||
| 32 | { | ||
| 33 | prop: "szry", | ||
| 34 | label: "缮证人员", | ||
| 35 | }, | ||
| 36 | { | ||
| 37 | prop: "szsj", | ||
| 38 | label: "缮证时间", | ||
| 39 | }, | ||
| 40 | { | ||
| 41 | label: "是否作废", | ||
| 42 | render: (h, scope) => { | ||
| 43 | if(scope.row.sfzf == '0'){ | ||
| 44 | return <div>否</div> | ||
| 45 | }else{ | ||
| 46 | return <div>已作废</div> | ||
| 47 | } | ||
| 48 | } | ||
| 49 | }, | ||
| 50 | { | ||
| 51 | prop: "bz", | ||
| 52 | label: "备注信息", | ||
| 53 | }, | ||
| 54 | ] | ||
| 55 | } | ||
| 56 | } | ||
| 57 | let datas = new data() | ||
| 58 | export { | ||
| 59 | datas, | ||
| 60 | sendThis | ||
| 61 | } |
| ... | @@ -138,9 +138,9 @@ export default { | ... | @@ -138,9 +138,9 @@ export default { |
| 138 | break; | 138 | break; |
| 139 | case "back": //退回按钮 | 139 | case "back": //退回按钮 |
| 140 | popupDialog("退回", "workflow/components/th", { | 140 | popupDialog("退回", "workflow/components/th", { |
| 141 | bsmSlsq: this.bsmSlsq, | 141 | bsmSlsq: this.bsmSlsq, |
| 142 | bestepid: this.bestepid | 142 | bestepid: this.bestepid |
| 143 | }, '800px') | 143 | }, '800px') |
| 144 | break; | 144 | break; |
| 145 | case "transfer": //转件按钮 | 145 | case "transfer": //转件按钮 |
| 146 | getNextLinkInfo({ | 146 | getNextLinkInfo({ | ... | ... |
| ... | @@ -22,7 +22,11 @@ | ... | @@ -22,7 +22,11 @@ |
| 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="batchUnitClick" v-if="showBatch">{{ batchButtonName }}</div> | 25 | <el-menu :default-active="activeIndex" @select="batchUnitClick" class="title-batch" v-if="showBatch"> |
| 26 | <el-menu-item index="-1" key="-1" class="menus"> | ||
| 27 | <div>{{ batchButtonName }}</div> | ||
| 28 | </el-menu-item> | ||
| 29 | </el-menu> | ||
| 26 | <div v-if="this.isShowdrawer"> | 30 | <div v-if="this.isShowdrawer"> |
| 27 | <div class="title"> | 31 | <div class="title"> |
| 28 | 申请单元列表({{ unitData.length }}) | 32 | 申请单元列表({{ unitData.length }}) |
| ... | @@ -208,11 +212,13 @@ export default { | ... | @@ -208,11 +212,13 @@ export default { |
| 208 | unitClick (index) { | 212 | unitClick (index) { |
| 209 | this.currentSelectProps = this.unitData[index]; | 213 | this.currentSelectProps = this.unitData[index]; |
| 210 | this.currentSelectProps.batchOperation = false; | 214 | this.currentSelectProps.batchOperation = false; |
| 215 | this.activeIndex = index.toString(); | ||
| 211 | this.stepForm(index); | 216 | this.stepForm(index); |
| 212 | }, | 217 | }, |
| 213 | //批量按钮点击事件 | 218 | //批量按钮点击事件 |
| 214 | batchUnitClick(){ | 219 | batchUnitClick(){ |
| 215 | this.currentSelectProps.batchOperation = true; | 220 | this.currentSelectProps.batchOperation = true; |
| 221 | this.activeIndex = "-1"; | ||
| 216 | this.stepForm(); | 222 | this.stepForm(); |
| 217 | } | 223 | } |
| 218 | } | 224 | } | ... | ... |
| ... | @@ -7,52 +7,27 @@ | ... | @@ -7,52 +7,27 @@ |
| 7 | <el-row> | 7 | <el-row> |
| 8 | <el-col :span="5"> | 8 | <el-col :span="5"> |
| 9 | <el-form-item label="权利类型"> | 9 | <el-form-item label="权利类型"> |
| 10 | <el-select | 10 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> |
| 11 | v-model="queryForm.qllx" | 11 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> |
| 12 | filterable | ||
| 13 | clearable | ||
| 14 | placeholder="请选择权利类型" | ||
| 15 | > | ||
| 16 | <el-option | ||
| 17 | v-for="item in qllxs" | ||
| 18 | :key="item.value" | ||
| 19 | :label="item.label" | ||
| 20 | :value="item.value" | ||
| 21 | > | ||
| 22 | </el-option> | 12 | </el-option> |
| 23 | </el-select> | 13 | </el-select> |
| 24 | </el-form-item> | 14 | </el-form-item> |
| 25 | </el-col> | 15 | </el-col> |
| 26 | <el-col :span="6"> | 16 | <el-col :span="6"> |
| 27 | <el-form-item label="不动产单元号"> | 17 | <el-form-item label="不动产单元号"> |
| 28 | <el-input | 18 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px"> |
| 29 | placeholder="请输入不动产单元号" | ||
| 30 | v-model="queryForm.bdcdyh" | ||
| 31 | clearable | ||
| 32 | class="width200px" | ||
| 33 | > | ||
| 34 | </el-input> | 19 | </el-input> |
| 35 | </el-form-item> | 20 | </el-form-item> |
| 36 | </el-col> | 21 | </el-col> |
| 37 | <el-col :span="5"> | 22 | <el-col :span="5"> |
| 38 | <el-form-item label="业务号"> | 23 | <el-form-item label="业务号"> |
| 39 | <el-input | 24 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> |
| 40 | placeholder="请输入业务号" | ||
| 41 | v-model="queryForm.ywh" | ||
| 42 | clearable | ||
| 43 | class="width200px" | ||
| 44 | > | ||
| 45 | </el-input> | 25 | </el-input> |
| 46 | </el-form-item> | 26 | </el-form-item> |
| 47 | </el-col> | 27 | </el-col> |
| 48 | <el-col :span="6"> | 28 | <el-col :span="6"> |
| 49 | <el-form-item label="不动产权证号"> | 29 | <el-form-item label="不动产权证号"> |
| 50 | <el-input | 30 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px"> |
| 51 | placeholder="请输入不动产权证号" | ||
| 52 | v-model="queryForm.bdcqzh" | ||
| 53 | clearable | ||
| 54 | class="width200px" | ||
| 55 | > | ||
| 56 | </el-input> | 31 | </el-input> |
| 57 | </el-form-item> | 32 | </el-form-item> |
| 58 | </el-col> | 33 | </el-col> |
| ... | @@ -66,26 +41,15 @@ | ... | @@ -66,26 +41,15 @@ |
| 66 | </div> | 41 | </div> |
| 67 | <!-- 表格 --> | 42 | <!-- 表格 --> |
| 68 | <div class="from-clues-content"> | 43 | <div class="from-clues-content"> |
| 69 | <lb-table | 44 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
| 70 | ref="table" | 45 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
| 71 | @row-click="handleRowClick" | 46 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
| 72 | :page-size="pageData.pageSize" | 47 | :data="tableData.data"> |
| 73 | :heightNum="400" | ||
| 74 | :current-page.sync="pageData.currentPage" | ||
| 75 | :total="tableData.total" | ||
| 76 | @size-change="handleSizeChange" | ||
| 77 | @p-current-change="handleCurrentChange" | ||
| 78 | @selection-change="handleSelectionChange" | ||
| 79 | :column="tableData.columns" | ||
| 80 | :data="tableData.data" | ||
| 81 | > | ||
| 82 | </lb-table> | 48 | </lb-table> |
| 83 | </div> | 49 | </div> |
| 84 | <div class="submit_button"> | 50 | <div class="submit_button"> |
| 85 | <el-button @click="closeDialog">取消</el-button> | 51 | <el-button @click="closeDialog">取消</el-button> |
| 86 | <el-button type="primary" plain @click="submitFormClick()" | 52 | <el-button type="primary" plain @click="submitFormClick()">发起申请</el-button> |
| 87 | >发起申请</el-button | ||
| 88 | > | ||
| 89 | </div> | 53 | </div> |
| 90 | </div> | 54 | </div> |
| 91 | </template> | 55 | </template> |
| ... | @@ -143,8 +107,8 @@ export default { | ... | @@ -143,8 +107,8 @@ export default { |
| 143 | startBusinessFlow({ | 107 | startBusinessFlow({ |
| 144 | bsmSqyw: this.sqywInfo.parentid, | 108 | bsmSqyw: this.sqywInfo.parentid, |
| 145 | bdcdysz: this.bdcdysz, | 109 | bdcdysz: this.bdcdysz, |
| 146 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | 110 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 147 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | 111 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 148 | }).then((res) => { | 112 | }).then((res) => { |
| 149 | if (res.code == 200) { | 113 | if (res.code == 200) { |
| 150 | this.$message({ | 114 | this.$message({ | ... | ... |
| ... | @@ -7,52 +7,27 @@ | ... | @@ -7,52 +7,27 @@ |
| 7 | <el-row> | 7 | <el-row> |
| 8 | <el-col :span="5"> | 8 | <el-col :span="5"> |
| 9 | <el-form-item label="权利类型"> | 9 | <el-form-item label="权利类型"> |
| 10 | <el-select | 10 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> |
| 11 | v-model="queryForm.qllx" | 11 | <el-option v-for="item in qllxData" :key="item.sxzdz" :label="item.sxzdmc" :value="item.sxzdz"> |
| 12 | filterable | ||
| 13 | clearable | ||
| 14 | placeholder="请选择权利类型" | ||
| 15 | > | ||
| 16 | <el-option | ||
| 17 | v-for="item in qllxData" | ||
| 18 | :key="item.sxzdz" | ||
| 19 | :label="item.sxzdmc" | ||
| 20 | :value="item.sxzdz" | ||
| 21 | > | ||
| 22 | </el-option> | 12 | </el-option> |
| 23 | </el-select> | 13 | </el-select> |
| 24 | </el-form-item> | 14 | </el-form-item> |
| 25 | </el-col> | 15 | </el-col> |
| 26 | <el-col :span="6"> | 16 | <el-col :span="6"> |
| 27 | <el-form-item label="不动产单元号"> | 17 | <el-form-item label="不动产单元号"> |
| 28 | <el-input | 18 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px"> |
| 29 | placeholder="请输入不动产单元号" | ||
| 30 | v-model="queryForm.bdcdyh" | ||
| 31 | clearable | ||
| 32 | class="width200px" | ||
| 33 | > | ||
| 34 | </el-input> | 19 | </el-input> |
| 35 | </el-form-item> | 20 | </el-form-item> |
| 36 | </el-col> | 21 | </el-col> |
| 37 | <el-col :span="5"> | 22 | <el-col :span="5"> |
| 38 | <el-form-item label="业务号"> | 23 | <el-form-item label="业务号"> |
| 39 | <el-input | 24 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> |
| 40 | placeholder="请输入业务号" | ||
| 41 | v-model="queryForm.ywh" | ||
| 42 | clearable | ||
| 43 | class="width200px" | ||
| 44 | > | ||
| 45 | </el-input> | 25 | </el-input> |
| 46 | </el-form-item> | 26 | </el-form-item> |
| 47 | </el-col> | 27 | </el-col> |
| 48 | <el-col :span="6"> | 28 | <el-col :span="6"> |
| 49 | <el-form-item label="不动产权证号"> | 29 | <el-form-item label="不动产权证号"> |
| 50 | <el-input | 30 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px"> |
| 51 | placeholder="请输入不动产权证号" | ||
| 52 | v-model="queryForm.bdcqzh" | ||
| 53 | clearable | ||
| 54 | class="width200px" | ||
| 55 | > | ||
| 56 | </el-input> | 31 | </el-input> |
| 57 | </el-form-item> | 32 | </el-form-item> |
| 58 | </el-col> | 33 | </el-col> |
| ... | @@ -66,19 +41,10 @@ | ... | @@ -66,19 +41,10 @@ |
| 66 | </div> | 41 | </div> |
| 67 | <!-- 表格 --> | 42 | <!-- 表格 --> |
| 68 | <div class="from-clues-content"> | 43 | <div class="from-clues-content"> |
| 69 | <lb-table | 44 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
| 70 | ref="table" | 45 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
| 71 | @row-click="handleRowClick" | 46 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
| 72 | :page-size="pageData.pageSize" | 47 | :data="tableData.data"> |
| 73 | :heightNum="400" | ||
| 74 | :current-page.sync="pageData.currentPage" | ||
| 75 | :total="tableData.total" | ||
| 76 | @size-change="handleSizeChange" | ||
| 77 | @p-current-change="handleCurrentChange" | ||
| 78 | @selection-change="handleSelectionChange" | ||
| 79 | :column="tableData.columns" | ||
| 80 | :data="tableData.data" | ||
| 81 | > | ||
| 82 | </lb-table> | 48 | </lb-table> |
| 83 | </div> | 49 | </div> |
| 84 | <div class="submit_button"> | 50 | <div class="submit_button"> |
| ... | @@ -155,8 +121,8 @@ export default { | ... | @@ -155,8 +121,8 @@ export default { |
| 155 | startBusinessFlow({ | 121 | startBusinessFlow({ |
| 156 | bsmSqyw: this.bsmSqyw, | 122 | bsmSqyw: this.bsmSqyw, |
| 157 | bdcdysz: this.bdcdysz, | 123 | bdcdysz: this.bdcdysz, |
| 158 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | 124 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 159 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | 125 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 160 | }).then((res) => { | 126 | }).then((res) => { |
| 161 | if (res.code == 200) { | 127 | if (res.code == 200) { |
| 162 | this.$message({ | 128 | this.$message({ | ... | ... |
| ... | @@ -4,37 +4,22 @@ | ... | @@ -4,37 +4,22 @@ |
| 4 | <!-- 表单部分 --> | 4 | <!-- 表单部分 --> |
| 5 | <div class="from-clues-header"> | 5 | <div class="from-clues-header"> |
| 6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | 6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> |
| 7 | <el-row> | 7 | <el-row> |
| 8 | <el-col :span="8"> | 8 | <el-col :span="8"> |
| 9 | <el-form-item label="不动产权证号"> | 9 | <el-form-item label="不动产权证号"> |
| 10 | <el-input | 10 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px"> |
| 11 | placeholder="请输入不动产权证号" | ||
| 12 | v-model="queryForm.bdcqzh" | ||
| 13 | clearable | ||
| 14 | class="width200px" | ||
| 15 | > | ||
| 16 | </el-input> | 11 | </el-input> |
| 17 | </el-form-item> | 12 | </el-form-item> |
| 18 | </el-col> | 13 | </el-col> |
| 19 | <el-col :span="8"> | 14 | <el-col :span="8"> |
| 20 | <el-form-item label="不动产单元号"> | 15 | <el-form-item label="不动产单元号"> |
| 21 | <el-input | 16 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px"> |
| 22 | placeholder="请输入不动产单元号" | ||
| 23 | v-model="queryForm.bdcdyh" | ||
| 24 | clearable | ||
| 25 | class="width200px" | ||
| 26 | > | ||
| 27 | </el-input> | 17 | </el-input> |
| 28 | </el-form-item> | 18 | </el-form-item> |
| 29 | </el-col> | 19 | </el-col> |
| 30 | <el-col :span="6"> | 20 | <el-col :span="6"> |
| 31 | <el-form-item label="坐落"> | 21 | <el-form-item label="坐落"> |
| 32 | <el-input | 22 | <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px"> |
| 33 | placeholder="" | ||
| 34 | v-model="queryForm.zl" | ||
| 35 | clearable | ||
| 36 | class="width200px" | ||
| 37 | > | ||
| 38 | </el-input> | 23 | </el-input> |
| 39 | </el-form-item> | 24 | </el-form-item> |
| 40 | </el-col> | 25 | </el-col> |
| ... | @@ -48,19 +33,10 @@ | ... | @@ -48,19 +33,10 @@ |
| 48 | </div> | 33 | </div> |
| 49 | <!-- 表格 --> | 34 | <!-- 表格 --> |
| 50 | <div class="from-clues-content"> | 35 | <div class="from-clues-content"> |
| 51 | <lb-table | 36 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
| 52 | ref="table" | 37 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
| 53 | @row-click="handleRowClick" | 38 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
| 54 | :page-size="pageData.pageSize" | 39 | :data="tableData.data"> |
| 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> | 40 | </lb-table> |
| 65 | </div> | 41 | </div> |
| 66 | <div class="submit_button"> | 42 | <div class="submit_button"> |
| ... | @@ -83,7 +59,7 @@ export default { | ... | @@ -83,7 +59,7 @@ export default { |
| 83 | }, | 59 | }, |
| 84 | data() { | 60 | data() { |
| 85 | return { | 61 | return { |
| 86 | queryForm: defaultParameters.defaultParameters(), | 62 | queryForm: defaultParameters.defaultParameters(), |
| 87 | tableData: { | 63 | tableData: { |
| 88 | total: 0, | 64 | total: 0, |
| 89 | columns: datas.columns(), | 65 | columns: datas.columns(), |
| ... | @@ -104,8 +80,8 @@ export default { | ... | @@ -104,8 +80,8 @@ export default { |
| 104 | closeDialog() { | 80 | closeDialog() { |
| 105 | this.$emit("closeDialog"); | 81 | this.$emit("closeDialog"); |
| 106 | }, | 82 | }, |
| 107 | fetchData() { | 83 | fetchData() { |
| 108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 84 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 109 | selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { | 85 | selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { |
| 110 | if (res.code === 200) { | 86 | if (res.code === 200) { |
| 111 | let { total, records } = res.result; | 87 | let { total, records } = res.result; |
| ... | @@ -122,19 +98,19 @@ export default { | ... | @@ -122,19 +98,19 @@ export default { |
| 122 | startBusinessFlow({ | 98 | startBusinessFlow({ |
| 123 | bsmSqyw: this.sqywInfo.bsmSqyw, | 99 | bsmSqyw: this.sqywInfo.bsmSqyw, |
| 124 | bdcdysz: this.bdcdysz, | 100 | bdcdysz: this.bdcdysz, |
| 125 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | 101 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 126 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | 102 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 127 | }).then((res) => { | 103 | }).then((res) => { |
| 128 | if (res.code == 200) { | 104 | if (res.code == 200) { |
| 129 | this.$message({ | 105 | this.$message({ |
| 130 | showClose: true, | 106 | showClose: true, |
| 131 | message: '发起申请成功', | 107 | message: "发起申请成功", |
| 132 | type: 'success' | 108 | type: "success", |
| 133 | }) | 109 | }); |
| 134 | if (!this.isJump) { | 110 | if (!this.isJump) { |
| 135 | this.jump(res.result, this.sqywInfo.djywbm) | 111 | this.jump(res.result, this.sqywInfo.djywbm); |
| 136 | } else { | 112 | } else { |
| 137 | this.$emit('updateDialog', true) | 113 | this.$emit("updateDialog", true); |
| 138 | } | 114 | } |
| 139 | } else { | 115 | } else { |
| 140 | this.$message.error(res.message); | 116 | this.$message.error(res.message); | ... | ... |
| ... | @@ -65,7 +65,7 @@ export default { | ... | @@ -65,7 +65,7 @@ export default { |
| 65 | isJump: { type: Boolean, default: false }, | 65 | isJump: { type: Boolean, default: false }, |
| 66 | sqywInfo: { type: Object, default: () => {} }, | 66 | sqywInfo: { type: Object, default: () => {} }, |
| 67 | }, | 67 | }, |
| 68 | data () { | 68 | data() { |
| 69 | return { | 69 | return { |
| 70 | queryForm: defaultParameters.defaultParameters(), | 70 | queryForm: defaultParameters.defaultParameters(), |
| 71 | tableData: { | 71 | tableData: { |
| ... | @@ -76,19 +76,19 @@ export default { | ... | @@ -76,19 +76,19 @@ export default { |
| 76 | bdcdysz: [], | 76 | bdcdysz: [], |
| 77 | }; | 77 | }; |
| 78 | }, | 78 | }, |
| 79 | mounted () { | 79 | mounted() { |
| 80 | sendThis(this); | 80 | sendThis(this); |
| 81 | }, | 81 | }, |
| 82 | methods: { | 82 | methods: { |
| 83 | //点击行选中或取消复选框 | 83 | //点击行选中或取消复选框 |
| 84 | handleRowClick (row, column, event) { | 84 | handleRowClick(row, column, event) { |
| 85 | //通过ref绑定后这里使用$refs.table来操作bom元素 | 85 | //通过ref绑定后这里使用$refs.table来操作bom元素 |
| 86 | this.$refs.table.toggleRowSelection(row); | 86 | this.$refs.table.toggleRowSelection(row); |
| 87 | }, | 87 | }, |
| 88 | closeDialog () { | 88 | closeDialog() { |
| 89 | this.$emit("closeDialog"); | 89 | this.$emit("closeDialog"); |
| 90 | }, | 90 | }, |
| 91 | fetchData () { | 91 | fetchData() { |
| 92 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 92 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 93 | selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 93 | selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
| 94 | if (res.code === 200) { | 94 | if (res.code === 200) { |
| ... | @@ -96,9 +96,9 @@ export default { | ... | @@ -96,9 +96,9 @@ export default { |
| 96 | this.tableData.total = total; | 96 | this.tableData.total = total; |
| 97 | this.tableData.data = records; | 97 | this.tableData.data = records; |
| 98 | } | 98 | } |
| 99 | }) | 99 | }); |
| 100 | }, | 100 | }, |
| 101 | submitForm () { | 101 | submitForm() { |
| 102 | if (this.bdcdysz.length == 0) { | 102 | if (this.bdcdysz.length == 0) { |
| 103 | this.$message.error("请至少选择一条数据"); | 103 | this.$message.error("请至少选择一条数据"); |
| 104 | return; | 104 | return; |
| ... | @@ -106,40 +106,45 @@ export default { | ... | @@ -106,40 +106,45 @@ export default { |
| 106 | startBusinessFlow({ | 106 | startBusinessFlow({ |
| 107 | bsmSqyw: this.sqywInfo.parentid, | 107 | bsmSqyw: this.sqywInfo.parentid, |
| 108 | bdcdysz: this.bdcdysz, | 108 | bdcdysz: this.bdcdysz, |
| 109 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | 109 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 110 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | 110 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 111 | }).then((res) => { | 111 | }).then((res) => { |
| 112 | if (res.code == 200) { | 112 | if (res.code == 200) { |
| 113 | this.$message({ | 113 | this.$message({ |
| 114 | showClose: true, | 114 | showClose: true, |
| 115 | message: '发起申请成功', | 115 | message: "发起申请成功", |
| 116 | type: 'success' | 116 | type: "success", |
| 117 | }) | 117 | }); |
| 118 | if (!this.isJump) { | 118 | if (!this.isJump) { |
| 119 | this.jump(res.result, this.sqywInfo.djywbm) | 119 | this.jump(res.result, this.sqywInfo.djywbm); |
| 120 | } else { | 120 | } else { |
| 121 | this.$emit('updateDialog', true) | 121 | this.$emit("updateDialog", true); |
| 122 | } | 122 | } |
| 123 | } else { | 123 | } else { |
| 124 | this.$message.error(res.message); | 124 | this.$message.error(res.message); |
| 125 | } | 125 | } |
| 126 | }) | 126 | }); |
| 127 | }, | 127 | }, |
| 128 | handleSelectionChange (val) { | 128 | handleSelectionChange(val) { |
| 129 | val.forEach((item, index) => { | 129 | val.forEach((item, index) => { |
| 130 | item.bsmSsql = item.bsmQlxx | 130 | item.bsmSsql = item.bsmQlxx; |
| 131 | item.ybdcqzsh = item.bdcqzh | 131 | item.ybdcqzsh = item.bdcqzh; |
| 132 | }) | 132 | }); |
| 133 | this.bdcdysz = val; | 133 | this.bdcdysz = val; |
| 134 | }, | 134 | }, |
| 135 | openBook (row) { | 135 | openBook(row) { |
| 136 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; | 136 | var param = { |
| 137 | this.$popup('登记簿详情', 'registerBook/djbFrame', { | 137 | bdcdyid: row.bdcdyid, |
| 138 | formData: param | 138 | qllx: row.qllx, |
| 139 | }) | 139 | bdcdyh: row.bdcdyh, |
| 140 | } | 140 | bsmQlxx: row.bsmQlxx, |
| 141 | } | 141 | }; |
| 142 | } | 142 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
| 143 | formData: param, | ||
| 144 | }); | ||
| 145 | }, | ||
| 146 | }, | ||
| 147 | }; | ||
| 143 | </script> | 148 | </script> |
| 144 | <style scoped lang="scss"> | 149 | <style scoped lang="scss"> |
| 145 | @import "~@/styles/mixin.scss"; | 150 | @import "~@/styles/mixin.scss"; | ... | ... |
| ... | @@ -51,7 +51,7 @@ export default { | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | isJump: { type: Boolean, default: false }, | 51 | isJump: { type: Boolean, default: false }, |
| 52 | sqywInfo: { type: Object, default: () => {} }, | 52 | sqywInfo: { type: Object, default: () => {} }, |
| 53 | }, | 53 | }, |
| 54 | data () { | 54 | data() { |
| 55 | return { | 55 | return { |
| 56 | queryForm: defaultParameters.defaultParameters(), | 56 | queryForm: defaultParameters.defaultParameters(), |
| 57 | tableData: { | 57 | tableData: { |
| ... | @@ -66,22 +66,22 @@ export default { | ... | @@ -66,22 +66,22 @@ export default { |
| 66 | : this.sqywInfo.parentid, | 66 | : this.sqywInfo.parentid, |
| 67 | }; | 67 | }; |
| 68 | }, | 68 | }, |
| 69 | mounted () { | 69 | mounted() { |
| 70 | sendThis(this); | 70 | sendThis(this); |
| 71 | }, | 71 | }, |
| 72 | methods: { | 72 | methods: { |
| 73 | //点击行选中或取消复选框 | 73 | //点击行选中或取消复选框 |
| 74 | handleRowClick (row, column, event) { | 74 | handleRowClick(row, column, event) { |
| 75 | //通过ref绑定后这里使用$refs.table来操作bom元素 | 75 | //通过ref绑定后这里使用$refs.table来操作bom元素 |
| 76 | this.$refs.table.toggleRowSelection(row); | 76 | this.$refs.table.toggleRowSelection(row); |
| 77 | }, | 77 | }, |
| 78 | closeDialog () { | 78 | closeDialog() { |
| 79 | this.$emit("closeDialog"); | 79 | this.$emit("closeDialog"); |
| 80 | }, | 80 | }, |
| 81 | queryClick () { | 81 | queryClick() { |
| 82 | this.fetchData() | 82 | this.fetchData(); |
| 83 | }, | 83 | }, |
| 84 | fetchData () { | 84 | fetchData() { |
| 85 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 85 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 86 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 86 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
| 87 | if (res.code === 200) { | 87 | if (res.code === 200) { |
| ... | @@ -91,7 +91,7 @@ export default { | ... | @@ -91,7 +91,7 @@ export default { |
| 91 | } | 91 | } |
| 92 | }); | 92 | }); |
| 93 | }, | 93 | }, |
| 94 | submitForm () { | 94 | submitForm() { |
| 95 | if (this.bdcdysz.length == 0) { | 95 | if (this.bdcdysz.length == 0) { |
| 96 | this.$alert("请至少选择一条数据"); | 96 | this.$alert("请至少选择一条数据"); |
| 97 | return; | 97 | return; |
| ... | @@ -99,30 +99,30 @@ export default { | ... | @@ -99,30 +99,30 @@ export default { |
| 99 | startBusinessFlow({ | 99 | startBusinessFlow({ |
| 100 | bsmSqyw: this.bsmSqyw, | 100 | bsmSqyw: this.bsmSqyw, |
| 101 | bdcdysz: this.bdcdysz, | 101 | bdcdysz: this.bdcdysz, |
| 102 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | 102 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 103 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | 103 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| 104 | }).then((res) => { | 104 | }).then((res) => { |
| 105 | if (res.code == 200) { | 105 | if (res.code == 200) { |
| 106 | this.$message({ | 106 | this.$message({ |
| 107 | showClose: true, | 107 | showClose: true, |
| 108 | message: '发起申请成功', | 108 | message: "发起申请成功", |
| 109 | type: 'success' | 109 | type: "success", |
| 110 | }) | 110 | }); |
| 111 | if (!this.isJump) { | 111 | if (!this.isJump) { |
| 112 | this.jump(res.result, this.djywbm) | 112 | this.jump(res.result, this.djywbm); |
| 113 | } else { | 113 | } else { |
| 114 | this.$emit('updateDialog', true) | 114 | this.$emit("updateDialog", true); |
| 115 | } | 115 | } |
| 116 | } else { | 116 | } else { |
| 117 | this.$alert(res.message); | 117 | this.$alert(res.message); |
| 118 | } | 118 | } |
| 119 | }) | 119 | }); |
| 120 | }, | 120 | }, |
| 121 | handleSelectionChange (val) { | 121 | handleSelectionChange(val) { |
| 122 | this.bdcdysz = val; | 122 | this.bdcdysz = val; |
| 123 | } | 123 | }, |
| 124 | } | 124 | }, |
| 125 | } | 125 | }; |
| 126 | </script> | 126 | </script> |
| 127 | <style scoped lang="scss"> | 127 | <style scoped lang="scss"> |
| 128 | @import "~@/styles/mixin.scss"; | 128 | @import "~@/styles/mixin.scss"; | ... | ... |
-
Please register or sign in to post a comment