style:业务办理
Showing
14 changed files
with
280 additions
and
403 deletions
| ... | @@ -2,7 +2,7 @@ import request from '@/utils/request' | ... | @@ -2,7 +2,7 @@ import request from '@/utils/request' |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | // 转出 | 4 | // 转出 |
| 5 | export function completeTask(data) { | 5 | export function completeTask (data) { |
| 6 | return request({ | 6 | return request({ |
| 7 | url: '/business/workFlow/completeTask', | 7 | url: '/business/workFlow/completeTask', |
| 8 | method: 'post', | 8 | method: 'post', |
| ... | @@ -10,7 +10,7 @@ export function completeTask(data) { | ... | @@ -10,7 +10,7 @@ export function completeTask(data) { |
| 10 | }) | 10 | }) |
| 11 | } | 11 | } |
| 12 | // 回退表格数据 | 12 | // 回退表格数据 |
| 13 | export function getTaskBackNode(params) { | 13 | export function getTaskBackNode (params) { |
| 14 | return request({ | 14 | return request({ |
| 15 | url: '/business/workFlow/getTaskBackNode', | 15 | url: '/business/workFlow/getTaskBackNode', |
| 16 | method: 'get', | 16 | method: 'get', |
| ... | @@ -18,7 +18,7 @@ export function getTaskBackNode(params) { | ... | @@ -18,7 +18,7 @@ export function getTaskBackNode(params) { |
| 18 | }) | 18 | }) |
| 19 | } | 19 | } |
| 20 | // 退回确认接口 | 20 | // 退回确认接口 |
| 21 | export function sendBackTask(data) { | 21 | export function sendBackTask (data) { |
| 22 | return request({ | 22 | return request({ |
| 23 | url: '/business/workFlow/sendBackTask', | 23 | url: '/business/workFlow/sendBackTask', |
| 24 | method: 'post', | 24 | method: 'post', |
| ... | @@ -26,7 +26,7 @@ export function sendBackTask(data) { | ... | @@ -26,7 +26,7 @@ export function sendBackTask(data) { |
| 26 | }) | 26 | }) |
| 27 | } | 27 | } |
| 28 | // 获取左侧列表 | 28 | // 获取左侧列表 |
| 29 | export function leftMenu(data) { | 29 | export function leftMenu (data) { |
| 30 | return request({ | 30 | return request({ |
| 31 | url: '/ywbl/tdsyqlr/leftMenu', | 31 | url: '/ywbl/tdsyqlr/leftMenu', |
| 32 | method: 'post', | 32 | method: 'post', |
| ... | @@ -34,17 +34,9 @@ export function leftMenu(data) { | ... | @@ -34,17 +34,9 @@ export function leftMenu(data) { |
| 34 | }) | 34 | }) |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | // 受理信息返显接口 | ||
| 38 | export function Init(data) { | ||
| 39 | return request({ | ||
| 40 | url: '/ywbl/tdsyqlr/Init', | ||
| 41 | method: 'post', | ||
| 42 | data | ||
| 43 | }) | ||
| 44 | } | ||
| 45 | 37 | ||
| 46 | // 材料目录明细初始化 | 38 | // 材料目录明细初始化 |
| 47 | export function clmlInit(data) { | 39 | export function clmlInit (data) { |
| 48 | return request({ | 40 | return request({ |
| 49 | url: '/zhcx/clml/Init', | 41 | url: '/zhcx/clml/Init', |
| 50 | method: 'post', | 42 | method: 'post', |
| ... | @@ -53,7 +45,7 @@ export function clmlInit(data) { | ... | @@ -53,7 +45,7 @@ export function clmlInit(data) { |
| 53 | } | 45 | } |
| 54 | 46 | ||
| 55 | // 材料目录明细移动 | 47 | // 材料目录明细移动 |
| 56 | export function move(data) { | 48 | export function move (data) { |
| 57 | return request({ | 49 | return request({ |
| 58 | url: '/zhcx/clml/move', | 50 | url: '/zhcx/clml/move', |
| 59 | method: 'post', | 51 | method: 'post', |
| ... | @@ -62,7 +54,7 @@ export function move(data) { | ... | @@ -62,7 +54,7 @@ export function move(data) { |
| 62 | } | 54 | } |
| 63 | 55 | ||
| 64 | // 材料目录明细保存 | 56 | // 材料目录明细保存 |
| 65 | export function save(data) { | 57 | export function save (data) { |
| 66 | return request({ | 58 | return request({ |
| 67 | url: '/zhcx/clml/save', | 59 | url: '/zhcx/clml/save', |
| 68 | method: 'post', | 60 | method: 'post', |
| ... | @@ -71,7 +63,7 @@ export function save(data) { | ... | @@ -71,7 +63,7 @@ export function save(data) { |
| 71 | } | 63 | } |
| 72 | 64 | ||
| 73 | // 材料目录批量删除 | 65 | // 材料目录批量删除 |
| 74 | export function clmlDelete(params) { | 66 | export function clmlDelete (params) { |
| 75 | return request({ | 67 | return request({ |
| 76 | url: '/zhcx/clml/delete', | 68 | url: '/zhcx/clml/delete', |
| 77 | method: 'delete', | 69 | method: 'delete', |
| ... | @@ -80,7 +72,7 @@ export function clmlDelete(params) { | ... | @@ -80,7 +72,7 @@ export function clmlDelete(params) { |
| 80 | } | 72 | } |
| 81 | 73 | ||
| 82 | // 获取下一环节信息 | 74 | // 获取下一环节信息 |
| 83 | export function getNextLinkInfo(params) { | 75 | export function getNextLinkInfo (params) { |
| 84 | // return axios({ | 76 | // return axios({ |
| 85 | // url: '/business/workFlow/getNextLinkInfo', | 77 | // url: '/business/workFlow/getNextLinkInfo', |
| 86 | // method: 'get', | 78 | // method: 'get', |
| ... | @@ -95,7 +87,7 @@ export function getNextLinkInfo(params) { | ... | @@ -95,7 +87,7 @@ export function getNextLinkInfo(params) { |
| 95 | } | 87 | } |
| 96 | 88 | ||
| 97 | // 环节扩展信息 | 89 | // 环节扩展信息 |
| 98 | export function stepExpandInfo(data) { | 90 | export function stepExpandInfo (data) { |
| 99 | return request({ | 91 | return request({ |
| 100 | url: '/business/workFlow/stepExpandInfo', | 92 | url: '/business/workFlow/stepExpandInfo', |
| 101 | method: 'post', | 93 | method: 'post', |
| ... | @@ -104,7 +96,7 @@ export function stepExpandInfo(data) { | ... | @@ -104,7 +96,7 @@ export function stepExpandInfo(data) { |
| 104 | } | 96 | } |
| 105 | 97 | ||
| 106 | // 获取审批意见 | 98 | // 获取审批意见 |
| 107 | export function getSpyjList(data) { | 99 | export function getSpyjList (data) { |
| 108 | return request({ | 100 | return request({ |
| 109 | url: '/business/workFlow/getSpyjList', | 101 | url: '/business/workFlow/getSpyjList', |
| 110 | method: 'post', | 102 | method: 'post', |
| ... | @@ -113,7 +105,7 @@ export function getSpyjList(data) { | ... | @@ -113,7 +105,7 @@ export function getSpyjList(data) { |
| 113 | } | 105 | } |
| 114 | 106 | ||
| 115 | // 保存审批意见 | 107 | // 保存审批意见 |
| 116 | export function saveSpyj(data) { | 108 | export function saveSpyj (data) { |
| 117 | return request({ | 109 | return request({ |
| 118 | url: '/business/workFlow/saveSpyj', | 110 | url: '/business/workFlow/saveSpyj', |
| 119 | method: 'post', | 111 | method: 'post', |
| ... | @@ -121,7 +113,7 @@ export function saveSpyj(data) { | ... | @@ -121,7 +113,7 @@ export function saveSpyj(data) { |
| 121 | }) | 113 | }) |
| 122 | } | 114 | } |
| 123 | // 根据受理申请保存审批意见 | 115 | // 根据受理申请保存审批意见 |
| 124 | export function saveSpyjBySlsq(data) { | 116 | export function saveSpyjBySlsq (data) { |
| 125 | return request({ | 117 | return request({ |
| 126 | url: '/business/workFlow/saveSpyjBySlsq', | 118 | url: '/business/workFlow/saveSpyjBySlsq', |
| 127 | method: 'post', | 119 | method: 'post', |
| ... | @@ -129,7 +121,7 @@ export function saveSpyjBySlsq(data) { | ... | @@ -129,7 +121,7 @@ export function saveSpyjBySlsq(data) { |
| 129 | }) | 121 | }) |
| 130 | } | 122 | } |
| 131 | // 登簿接口 | 123 | // 登簿接口 |
| 132 | export function record(data) { | 124 | export function record (data) { |
| 133 | return request({ | 125 | return request({ |
| 134 | url: '/business/workFlow/record', | 126 | url: '/business/workFlow/record', |
| 135 | method: 'post', | 127 | method: 'post', |
| ... | @@ -137,7 +129,7 @@ export function record(data) { | ... | @@ -137,7 +129,7 @@ export function record(data) { |
| 137 | }) | 129 | }) |
| 138 | } | 130 | } |
| 139 | // 获取不动产权证列表 | 131 | // 获取不动产权证列表 |
| 140 | export function getBdcqzList(params) { | 132 | export function getBdcqzList (params) { |
| 141 | return request({ | 133 | return request({ |
| 142 | url: '/business/workFlow/getBdcqzList', | 134 | url: '/business/workFlow/getBdcqzList', |
| 143 | method: 'get', | 135 | method: 'get', |
| ... | @@ -145,7 +137,7 @@ export function getBdcqzList(params) { | ... | @@ -145,7 +137,7 @@ export function getBdcqzList(params) { |
| 145 | }) | 137 | }) |
| 146 | } | 138 | } |
| 147 | // 获取印刷序列号 | 139 | // 获取印刷序列号 |
| 148 | export function readYsxlh(params) { | 140 | export function readYsxlh (params) { |
| 149 | return request({ | 141 | return request({ |
| 150 | url: '/business/workFlow/readYsxlh', | 142 | url: '/business/workFlow/readYsxlh', |
| 151 | method: 'get', | 143 | method: 'get', |
| ... | @@ -153,7 +145,7 @@ export function readYsxlh(params) { | ... | @@ -153,7 +145,7 @@ export function readYsxlh(params) { |
| 153 | }) | 145 | }) |
| 154 | } | 146 | } |
| 155 | // 缮证 | 147 | // 缮证 |
| 156 | export function certificate(data) { | 148 | export function certificate (data) { |
| 157 | return request({ | 149 | return request({ |
| 158 | url: '/business/workFlow/certificate', | 150 | url: '/business/workFlow/certificate', |
| 159 | method: 'post', | 151 | method: 'post', |
| ... | @@ -161,7 +153,7 @@ export function certificate(data) { | ... | @@ -161,7 +153,7 @@ export function certificate(data) { |
| 161 | }) | 153 | }) |
| 162 | } | 154 | } |
| 163 | // 作废缮证信息 | 155 | // 作废缮证信息 |
| 164 | export function invalidCertificate(data) { | 156 | export function invalidCertificate (data) { |
| 165 | return request({ | 157 | return request({ |
| 166 | url: '/business/workFlow/invalidCertificate', | 158 | url: '/business/workFlow/invalidCertificate', |
| 167 | method: 'post', | 159 | method: 'post', |
| ... | @@ -169,7 +161,7 @@ export function invalidCertificate(data) { | ... | @@ -169,7 +161,7 @@ export function invalidCertificate(data) { |
| 169 | }) | 161 | }) |
| 170 | } | 162 | } |
| 171 | // 缮证列表 | 163 | // 缮证列表 |
| 172 | export function getCertificateList(data) { | 164 | export function getCertificateList (data) { |
| 173 | return request({ | 165 | return request({ |
| 174 | url: '/business/workFlow/getCertificateList', | 166 | url: '/business/workFlow/getCertificateList', |
| 175 | method: 'post', | 167 | method: 'post', |
| ... | @@ -177,7 +169,7 @@ export function getCertificateList(data) { | ... | @@ -177,7 +169,7 @@ export function getCertificateList(data) { |
| 177 | }) | 169 | }) |
| 178 | } | 170 | } |
| 179 | // 发证 | 171 | // 发证 |
| 180 | export function issueCertificate(data) { | 172 | export function issueCertificate (data) { |
| 181 | return request({ | 173 | return request({ |
| 182 | url: '/business/workFlow/issueCertificate', | 174 | url: '/business/workFlow/issueCertificate', |
| 183 | method: 'post', | 175 | method: 'post', | ... | ... |
| ... | @@ -26,14 +26,6 @@ export const constantRoutes = [ | ... | @@ -26,14 +26,6 @@ export const constantRoutes = [ |
| 26 | hidden: true | 26 | hidden: true |
| 27 | }, | 27 | }, |
| 28 | { path: '*', redirect: '/404', hidden: true }, | 28 | { path: '*', redirect: '/404', hidden: true }, |
| 29 | // 详情 | ||
| 30 | { | ||
| 31 | path: '/fqsq', | ||
| 32 | component: () => import('@/views/ywbl/fqsq/fqsq.vue'), | ||
| 33 | name: 'fqsq', | ||
| 34 | hidden: true, | ||
| 35 | meta: { title: '发起申请' } | ||
| 36 | }, | ||
| 37 | // 业务流程框架 | 29 | // 业务流程框架 |
| 38 | { | 30 | { |
| 39 | path: '/workFrame', | 31 | path: '/workFrame', | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <dialogBox title="证书领取" @submitForm="submitForm" saveButton="保存" width="60%" | 2 | <dialogBox title="证书领取" @submitForm="submitForm" saveButton="保存" width="60%" height='30%' @closeDialog="closeDialog" |
| 3 | height='30%' @closeDialog="closeDialog" v-model="value"> | 3 | v-model="value"> |
| 4 | <div class="from-clues-content"> | 4 | <div class="from-clues-content"> |
| 5 | <lb-table border :column="tableData.columns" :data="tableData.data" :pagination="false" :heightNum="600"> | 5 | <lb-table border :column="tableData.columns" :data="tableData.data" :pagination="false" :heightNum="600"> |
| 6 | </lb-table> | 6 | </lb-table> |
| 7 | </div> | 7 | </div> |
| 8 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" style="display:flex;"> | 8 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" style="display:flex;"> |
| 9 | <el-form-item label="领证人" prop="lzrxm"> | 9 | <el-form-item label="领证人" prop="lzrxm"> |
| 10 | <el-input v-model="ruleForm.lzrxm"></el-input> | 10 | <el-input v-model="ruleForm.lzrxm"></el-input> |
| 11 | </el-form-item> | 11 | </el-form-item> |
| 12 | <el-form-item label="证件类型" prop="lzrzjlb"> | 12 | <el-form-item label="证件类型" prop="lzrzjlb"> |
| 13 | <el-select v-model="ruleForm.lzrzjlb" filterable clearable placeholder="请选择"> | 13 | <el-select v-model="ruleForm.lzrzjlb" filterable clearable placeholder="请选择"> |
| 14 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 14 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 15 | </el-option> | 15 | </el-option> |
| 16 | </el-select> | 16 | </el-select> |
| 17 | </el-form-item> | 17 | </el-form-item> |
| 18 | <el-form-item label="证件号" prop="lzrzjh"> | 18 | <el-form-item label="证件号" prop="lzrzjh"> |
| 19 | <el-input v-model="ruleForm.lzrzjh"></el-input> | 19 | <el-input v-model="ruleForm.lzrzjh"></el-input> |
| 20 | </el-form-item> | 20 | </el-form-item> |
| 21 | <el-form-item label="领证人电话" prop="lzrdh"> | 21 | <el-form-item label="领证人电话" prop="lzrdh"> |
| 22 | <el-input v-model="ruleForm.lzrdh"></el-input> | 22 | <el-input v-model="ruleForm.lzrdh"></el-input> |
| 23 | </el-form-item> | 23 | </el-form-item> |
| 24 | </el-form> | 24 | </el-form> |
| 25 | </dialogBox> | 25 | </dialogBox> |
| 26 | </template> | 26 | </template> |
| 27 | 27 | ||
| 28 | <script> | 28 | <script> |
| 29 | import table from "@/utils/mixin/table"; | 29 | import table from "@/utils/mixin/table"; |
| 30 | import { getCertificateList,issueCertificate } from "@/api/fqsq.js"; | 30 | import { getCertificateList, issueCertificate } from "@/api/fqsq.js"; |
| 31 | import { datas } from "./fzxxdata"; | 31 | import { datas } from "./fzxxdata"; |
| 32 | import { mapGetters } from 'vuex' | 32 | import { mapGetters } from 'vuex' |
| 33 | export default { | 33 | export default { |
| 34 | mixins: [table], | 34 | mixins: [table], |
| 35 | components: { | 35 | components: { |
| 36 | ...mapGetters(['dictData']), | 36 | ...mapGetters(['dictData']), |
| 37 | }, | 37 | }, |
| 38 | props: { | 38 | props: { |
| 39 | value: { type: Boolean, default: false }, | 39 | value: { type: Boolean, default: false }, |
| 40 | }, | 40 | }, |
| 41 | data () { | 41 | data () { |
| 42 | return { | 42 | return { |
| 43 | ruleForm: { | 43 | ruleForm: { |
| 44 | bsmBdcqz: [], | 44 | bsmBdcqz: [], |
| 45 | lzrxm: '', | 45 | lzrxm: '', |
| 46 | lzrzjlb: '', | 46 | lzrzjlb: '', |
| 47 | lzrzjh: '', | 47 | lzrzjh: '', |
| 48 | lzrdh: '' | 48 | lzrdh: '' |
| 49 | }, | 49 | }, |
| 50 | rules: { | 50 | rules: { |
| 51 | lzrxm: [ | 51 | lzrxm: [ |
| 52 | { required: true, message: '请输入领证人', trigger: 'blur' } | 52 | { required: true, message: '请输入领证人', trigger: 'blur' } |
| 53 | ], | 53 | ], |
| 54 | lzrzjlb: [ | 54 | lzrzjlb: [ |
| 55 | { required: true, message: '请选择证件类型', trigger: 'change' } | 55 | { required: true, message: '请选择证件类型', trigger: 'change' } |
| 56 | ], | 56 | ], |
| 57 | lzrzjh: [ | 57 | lzrzjh: [ |
| 58 | { required: true, message: '请输入证件号', trigger: 'blur' } | 58 | { required: true, message: '请输入证件号', trigger: 'blur' } |
| 59 | ], | 59 | ], |
| 60 | lzrdh: [ | 60 | lzrdh: [ |
| 61 | { required: true, message: '请输入电话号码', trigger: 'blur' } | 61 | { required: true, message: '请输入电话号码', trigger: 'blur' } |
| 62 | ], | 62 | ], |
| 63 | }, | 63 | }, |
| 64 | tableData: { | 64 | tableData: { |
| 65 | total: 0, | 65 | total: 0, |
| 66 | columns: datas.columns(), | 66 | columns: datas.columns(), |
| 67 | data: [], | 67 | data: [], |
| 68 | }, | 68 | }, |
| 69 | } | 69 | } |
| 70 | }, | 70 | }, |
| 71 | |||
| 71 | methods: { | 72 | methods: { |
| 72 | //列表初始化 | 73 | fetchData () { }, |
| 73 | tablelistFn(){ | 74 | //列表初始化 |
| 75 | tablelistFn () { | ||
| 74 | var bsmSldy = this.$parent._data.unitData[0].bsmSldy | 76 | var bsmSldy = this.$parent._data.unitData[0].bsmSldy |
| 75 | getCertificateList({"bsmSldy":bsmSldy}).then(res => { | 77 | getCertificateList({ "bsmSldy": bsmSldy }).then(res => { |
| 76 | if (res.code === 200) { | 78 | if (res.code === 200) { |
| 77 | this.tableData.data = res.result | 79 | this.tableData.data = res.result |
| 78 | if(res.result){ | 80 | if (res.result) { |
| 79 | res.result.forEach((item,index)=>{ | 81 | res.result.forEach((item, index) => { |
| 80 | this.ruleForm.bsmBdcqz.push(item.bsmBdcqz) | 82 | this.ruleForm.bsmBdcqz.push(item.bsmBdcqz) |
| 81 | }) | 83 | }) |
| 82 | } | 84 | } |
| 83 | } | 85 | } |
| 84 | }) | 86 | }) |
| 85 | }, | 87 | }, |
| 86 | submitForm(){ | 88 | submitForm () { |
| 87 | this.$refs.ruleForm.validate(valid => { | 89 | this.$refs.ruleForm.validate(valid => { |
| 88 | if (valid) { | 90 | if (valid) { |
| 89 | issueCertificate(this.ruleForm).then(res => { | 91 | issueCertificate(this.ruleForm).then(res => { |
| 90 | if(res.code == 200){ | 92 | if (res.code == 200) { |
| 91 | this.$message.success('保存成功') | 93 | this.$message.success('保存成功') |
| 92 | this.$emit("input", false); | 94 | this.$emit("input", false); |
| 93 | this.$refs.ruleForm.resetFields(); | 95 | this.$refs.ruleForm.resetFields(); |
| 94 | }else{ | 96 | } else { |
| 95 | this.$message.error(res.message) | 97 | this.$message.error(res.message) |
| 96 | } | 98 | } |
| 97 | }) | 99 | }) |
| 98 | } else { | 100 | } else { |
| 99 | return false; | 101 | return false; |
| 100 | } | 102 | } |
| 101 | }); | 103 | }); |
| 102 | }, | 104 | }, |
| 103 | closeDialog () { | 105 | closeDialog () { |
| ... | @@ -109,5 +111,4 @@ export default { | ... | @@ -109,5 +111,4 @@ export default { |
| 109 | </script> | 111 | </script> |
| 110 | <style scoped lang="scss"> | 112 | <style scoped lang="scss"> |
| 111 | @import "~@/styles/mixin.scss"; | 113 | @import "~@/styles/mixin.scss"; |
| 112 | |||
| 113 | </style> | 114 | </style> | ... | ... |
| ... | @@ -2,21 +2,13 @@ | ... | @@ -2,21 +2,13 @@ |
| 2 | <div class="fqsq"> | 2 | <div class="fqsq"> |
| 3 | <div class="fqsq-header"> | 3 | <div class="fqsq-header"> |
| 4 | <ul> | 4 | <ul> |
| 5 | <li | 5 | <li @click="operation(index, item)" v-for="(item, index) in headerleftList" :key="index"> |
| 6 | @click="operation(index, item)" | ||
| 7 | v-for="(item, index) in headerleftList" | ||
| 8 | :key="index" | ||
| 9 | > | ||
| 10 | <svg-icon :icon-class="item.icon" /> | 6 | <svg-icon :icon-class="item.icon" /> |
| 11 | <span class="iconName">{{ item.name }}</span> | 7 | <span class="iconName">{{ item.name }}</span> |
| 12 | </li> | 8 | </li> |
| 13 | </ul> | 9 | </ul> |
| 14 | <ul> | 10 | <ul> |
| 15 | <li | 11 | <li @click="operation(index, item)" v-for="(item, index) in headerRightList" :key="index"> |
| 16 | @click="operation(index, item)" | ||
| 17 | v-for="(item, index) in headerRightList" | ||
| 18 | :key="index" | ||
| 19 | > | ||
| 20 | <svg-icon class="icon" :icon-class="item.icon" /> | 12 | <svg-icon class="icon" :icon-class="item.icon" /> |
| 21 | <span class="iconName">{{ item.name }}</span> | 13 | <span class="iconName">{{ item.name }}</span> |
| 22 | </li> | 14 | </li> |
| ... | @@ -24,24 +16,16 @@ | ... | @@ -24,24 +16,16 @@ |
| 24 | </div> | 16 | </div> |
| 25 | <div class="tabsList"> | 17 | <div class="tabsList"> |
| 26 | <div class="tabsList-left"> | 18 | <div class="tabsList-left"> |
| 27 | <div | 19 | <div class="map-drawer-click" v-if="!isShowdrawer" @click=" |
| 28 | class="map-drawer-click" | 20 | () => { |
| 29 | v-if="!isShowdrawer" | 21 | this.isShowdrawer = !this.isShowdrawer; |
| 30 | @click=" | 22 | } |
| 31 | () => { | 23 | "></div> |
| 32 | this.isShowdrawer = !this.isShowdrawer; | 24 | <div class="map-drawer-expand" v-else @click=" |
| 33 | } | 25 | () => { |
| 34 | " | 26 | this.isShowdrawer = !this.isShowdrawer; |
| 35 | ></div> | 27 | } |
| 36 | <div | 28 | "></div> |
| 37 | class="map-drawer-expand" | ||
| 38 | v-else | ||
| 39 | @click=" | ||
| 40 | () => { | ||
| 41 | this.isShowdrawer = !this.isShowdrawer; | ||
| 42 | } | ||
| 43 | " | ||
| 44 | ></div> | ||
| 45 | <ul v-if="this.isShowdrawer"> | 29 | <ul v-if="this.isShowdrawer"> |
| 46 | <p class="title">申请单元列表({{ unitData.length }})</p> | 30 | <p class="title">申请单元列表({{ unitData.length }})</p> |
| 47 | <div v-for="(item, index) in unitData" :key="index"> | 31 | <div v-for="(item, index) in unitData" :key="index"> |
| ... | @@ -60,35 +44,18 @@ | ... | @@ -60,35 +44,18 @@ |
| 60 | </div> | 44 | </div> |
| 61 | <div style="width: 100%"> | 45 | <div style="width: 100%"> |
| 62 | <el-tabs v-model="activeName" @tab-click="activeClick"> | 46 | <el-tabs v-model="activeName" @tab-click="activeClick"> |
| 63 | <el-tab-pane | 47 | <el-tab-pane :label="item.name" :name="item.value" v-for="(item, index) in tabList" :key="index"> |
| 64 | :label="item.name" | ||
| 65 | :name="item.value" | ||
| 66 | v-for="(item, index) in tabList" | ||
| 67 | :key="index" | ||
| 68 | > | ||
| 69 | </el-tab-pane> | 48 | </el-tab-pane> |
| 70 | </el-tabs> | 49 | </el-tabs> |
| 71 | <div class="splitScreen-con"> | 50 | <div class="splitScreen-con"> |
| 72 | <component | 51 | <component ref="slxx" v-if="activeName == 'slsq'" :is="editItem" :flag="flag" :fetch='fetch' :key="key" /> |
| 73 | ref="slxx" | ||
| 74 | v-if="activeName == 'slsq'" | ||
| 75 | :is="editItem" | ||
| 76 | :flag="flag" | ||
| 77 | :fetch='fetch' | ||
| 78 | :key="key" | ||
| 79 | /> | ||
| 80 | <component :is="editItem" v-else :key="key" /> | 52 | <component :is="editItem" v-else :key="key" /> |
| 81 | </div> | 53 | </div> |
| 82 | </div> | 54 | </div> |
| 83 | </div> | 55 | </div> |
| 84 | </div> | 56 | </div> |
| 85 | <zc ref="zcDialogRef" v-model="zcDialog" :queryForm="queryForm" /> | 57 | <zc ref="zcDialogRef" v-model="zcDialog" :queryForm="queryForm" /> |
| 86 | <thDialog | 58 | <thDialog ref="thdialogRef" v-model="thflag" :bsmBusiness="bsmBusiness" :queryForm="queryForm" /> |
| 87 | ref="thdialogRef" | ||
| 88 | v-model="thflag" | ||
| 89 | :bsmBusiness="bsmBusiness" | ||
| 90 | :queryForm="queryForm" | ||
| 91 | /> | ||
| 92 | <zslqDialog ref="zslqDialog" v-model="zslqDialog" /> | 59 | <zslqDialog ref="zslqDialog" v-model="zslqDialog" /> |
| 93 | <zsylDialog v-model="zsylFlag" /> | 60 | <zsylDialog v-model="zsylFlag" /> |
| 94 | </div> | 61 | </div> |
| ... | @@ -102,9 +69,10 @@ import zsylDialog from "./components/zsyl"; | ... | @@ -102,9 +69,10 @@ import zsylDialog from "./components/zsyl"; |
| 102 | import zslqDialog from "./components/zslq"; | 69 | import zslqDialog from "./components/zslq"; |
| 103 | export default { | 70 | export default { |
| 104 | /**注册组件*/ | 71 | /**注册组件*/ |
| 105 | components: { zc, thDialog, zsylDialog, comMsg,zslqDialog}, | 72 | components: { zc, thDialog, zsylDialog, comMsg, zslqDialog }, |
| 106 | data() { | 73 | data () { |
| 107 | return { | 74 | return { |
| 75 | activeIndex: '0', | ||
| 108 | zsylFlag: false, | 76 | zsylFlag: false, |
| 109 | zcDialog: false, | 77 | zcDialog: false, |
| 110 | thflag: false, | 78 | thflag: false, |
| ... | @@ -119,7 +87,7 @@ export default { | ... | @@ -119,7 +87,7 @@ export default { |
| 119 | flag: false, | 87 | flag: false, |
| 120 | headerleftList: [], | 88 | headerleftList: [], |
| 121 | headerRightList: [], | 89 | headerRightList: [], |
| 122 | activeName: "", | 90 | activeName: "slxx", |
| 123 | tabList1: [], | 91 | tabList1: [], |
| 124 | tabList: [], | 92 | tabList: [], |
| 125 | editItem: "", | 93 | editItem: "", |
| ... | @@ -131,17 +99,18 @@ export default { | ... | @@ -131,17 +99,18 @@ export default { |
| 131 | }, | 99 | }, |
| 132 | watch: { | 100 | watch: { |
| 133 | activeName: { | 101 | activeName: { |
| 134 | handler(newName, oldName) { | 102 | handler (newName, oldName) { |
| 135 | if (newName === "qlxx") { | 103 | if (newName === "qlxx") { |
| 136 | this.editItem = this.loadViewSlsq(); | 104 | this.editItem = this.loadViewSlsq(); |
| 137 | } else { | 105 | } else { |
| 106 | console.log(newName, 'newNamenewNamenewName'); | ||
| 138 | this.editItem = this.loadView(newName); | 107 | this.editItem = this.loadView(newName); |
| 139 | } | 108 | } |
| 140 | }, | 109 | }, |
| 141 | immediate: true, | 110 | immediate: true, |
| 142 | }, | 111 | }, |
| 143 | }, | 112 | }, |
| 144 | mounted() { | 113 | mounted () { |
| 145 | if (this.$route.query.bsmSlsq) { | 114 | if (this.$route.query.bsmSlsq) { |
| 146 | this.expandInfo(this.$route.query.bsmSlsq, this.$route.query.bestepid); | 115 | this.expandInfo(this.$route.query.bsmSlsq, this.$route.query.bestepid); |
| 147 | this.queryForm.bsmSlsq = this.$route.query.bsmSlsq; | 116 | this.queryForm.bsmSlsq = this.$route.query.bsmSlsq; |
| ... | @@ -152,7 +121,7 @@ export default { | ... | @@ -152,7 +121,7 @@ export default { |
| 152 | }, | 121 | }, |
| 153 | methods: { | 122 | methods: { |
| 154 | // 获取左侧列表 | 123 | // 获取左侧列表 |
| 155 | list() { | 124 | list () { |
| 156 | let that = this; | 125 | let that = this; |
| 157 | var formdata = new FormData(); | 126 | var formdata = new FormData(); |
| 158 | formdata.append("bsmSlsq", that.queryForm.bsmSlsq); | 127 | formdata.append("bsmSlsq", that.queryForm.bsmSlsq); |
| ... | @@ -169,7 +138,7 @@ export default { | ... | @@ -169,7 +138,7 @@ export default { |
| 169 | }); | 138 | }); |
| 170 | }, | 139 | }, |
| 171 | //获取环节扩展信息 | 140 | //获取环节扩展信息 |
| 172 | expandInfo(bsmSlsq, bestepid) { | 141 | expandInfo (bsmSlsq, bestepid) { |
| 173 | let that = this; | 142 | let that = this; |
| 174 | var formdata = new FormData(); | 143 | var formdata = new FormData(); |
| 175 | formdata.append("bsmSlsq", bsmSlsq); | 144 | formdata.append("bsmSlsq", bsmSlsq); |
| ... | @@ -184,28 +153,29 @@ export default { | ... | @@ -184,28 +153,29 @@ export default { |
| 184 | } | 153 | } |
| 185 | }); | 154 | }); |
| 186 | }, | 155 | }, |
| 187 | activeClick(tab, event) { | 156 | activeClick (tab, event) { |
| 188 | if (tab.name == "slxx") { | 157 | if (tab.name == "slxx") { |
| 189 | this.list(); | 158 | this.list(); |
| 190 | } | 159 | } |
| 191 | }, | 160 | }, |
| 192 | // 左侧列表点击调用接口 | 161 | // 左侧列表点击调用接口 |
| 193 | unitClick (item) { | 162 | unitClick (item) { |
| 163 | console.log(item, 'unitClickunitClickunitClick'); | ||
| 194 | this.bsmBusiness = item.bsmBusiness | 164 | this.bsmBusiness = item.bsmBusiness |
| 195 | var activeTabName = this.activeName | 165 | var activeTabName = this.activeName |
| 196 | if(activeTabName == 'slxx'){ | 166 | if (activeTabName == 'slxx') { |
| 197 | //受理信息页面接口调取 | 167 | //受理信息页面接口调取 |
| 198 | this.$nextTick(() => { | 168 | this.$nextTick(() => { |
| 199 | this.$refs.slxx[0].list(item.bsmSldy) | 169 | this.$refs.slxx[0].list(item.bsmSldy) |
| 200 | }) | 170 | }) |
| 201 | }else if(activeTabName == 'spyj'){ | 171 | } else if (activeTabName == 'spyj') { |
| 202 | //审批页面接口调取 | 172 | //审批页面接口调取 |
| 203 | this.$nextTick(() => { | 173 | this.$nextTick(() => { |
| 204 | this.$refs.spyj[0].list(this.bsmBusiness,this.queryForm.bestepid) | 174 | this.$refs.spyj[0].list(this.bsmBusiness, this.queryForm.bestepid) |
| 205 | }) | 175 | }) |
| 206 | } | 176 | } |
| 207 | }, | 177 | }, |
| 208 | operation(index, item) { | 178 | operation (index, item) { |
| 209 | let that = this; | 179 | let that = this; |
| 210 | switch (item.value) { | 180 | switch (item.value) { |
| 211 | case "zsyl": | 181 | case "zsyl": |
| ... | @@ -237,7 +207,7 @@ export default { | ... | @@ -237,7 +207,7 @@ export default { |
| 237 | case "zslq": | 207 | case "zslq": |
| 238 | this.zslqDialog = true; | 208 | this.zslqDialog = true; |
| 239 | this.$refs.zslqDialog.tablelistFn(); | 209 | this.$refs.zslqDialog.tablelistFn(); |
| 240 | break; | 210 | break; |
| 241 | case "db": | 211 | case "db": |
| 242 | var formdata = new FormData(); | 212 | var formdata = new FormData(); |
| 243 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 213 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
| ... | @@ -260,14 +230,14 @@ export default { | ... | @@ -260,14 +230,14 @@ export default { |
| 260 | break; | 230 | break; |
| 261 | } | 231 | } |
| 262 | }, | 232 | }, |
| 263 | loadView(view) { | 233 | loadView (view) { |
| 264 | return (r) => | 234 | return (r) => |
| 265 | require.ensure([], () => r(require(`./components/${view}.vue`))); | 235 | require.ensure([], () => r(require(`./components/${view}.vue`))); |
| 266 | }, | 236 | }, |
| 267 | loadViewSlsq() { | 237 | loadViewSlsq () { |
| 268 | return (r) => | 238 | return (r) => |
| 269 | require.ensure([], () => | 239 | require.ensure([], () => |
| 270 | r(require("../../zhcx/djbcx/components/jsydsyq.vue")) | 240 | r(require("@/views/zhcx/djbcx/components/jsydsyq.vue")) |
| 271 | ); | 241 | ); |
| 272 | }, | 242 | }, |
| 273 | }, | 243 | }, |
| ... | @@ -316,6 +286,7 @@ export default { | ... | @@ -316,6 +286,7 @@ export default { |
| 316 | min-width: 50%; | 286 | min-width: 50%; |
| 317 | } | 287 | } |
| 318 | 288 | ||
| 289 | |||
| 319 | &-header { | 290 | &-header { |
| 320 | @include flex; | 291 | @include flex; |
| 321 | width: 100%; | 292 | width: 100%; |
| ... | @@ -344,6 +315,7 @@ export default { | ... | @@ -344,6 +315,7 @@ export default { |
| 344 | li:hover { | 315 | li:hover { |
| 345 | border: 1px solid #ffffff; | 316 | border: 1px solid #ffffff; |
| 346 | border-radius: 5px; | 317 | border-radius: 5px; |
| 318 | |||
| 347 | .svg-icon { | 319 | .svg-icon { |
| 348 | //color: $light-blue ; | 320 | //color: $light-blue ; |
| 349 | } | 321 | } |
| ... | @@ -351,6 +323,10 @@ export default { | ... | @@ -351,6 +323,10 @@ export default { |
| 351 | } | 323 | } |
| 352 | } | 324 | } |
| 353 | 325 | ||
| 326 | /deep/.el-menu-item.is-active { | ||
| 327 | background-color: #e7f4fe; | ||
| 328 | } | ||
| 329 | |||
| 354 | .map-drawer-expand { | 330 | .map-drawer-expand { |
| 355 | width: 20px; | 331 | width: 20px; |
| 356 | height: 77px; | 332 | height: 77px; | ... | ... |
| ... | @@ -3,14 +3,14 @@ | ... | @@ -3,14 +3,14 @@ |
| 3 | width: 100%; | 3 | width: 100%; |
| 4 | position: sticky; | 4 | position: sticky; |
| 5 | top: 80px; | 5 | top: 80px; |
| 6 | //background-color: #ffffff; | ||
| 7 | border: 1px solid #ebeef5; | 6 | border: 1px solid #ebeef5; |
| 8 | z-index: 100; | 7 | z-index: 100; |
| 9 | @include flex; | 8 | @include flex; |
| 10 | } | 9 | } |
| 11 | 10 | ||
| 12 | .leftmenu { | 11 | .leftmenu { |
| 13 | flex: 0 0 260px; | 12 | width: 0; |
| 13 | transition: all 0.3s; | ||
| 14 | border-right: 1px solid #ebeef5; | 14 | border-right: 1px solid #ebeef5; |
| 15 | position: relative; | 15 | position: relative; |
| 16 | box-sizing: border-box; | 16 | box-sizing: border-box; |
| ... | @@ -48,6 +48,10 @@ | ... | @@ -48,6 +48,10 @@ |
| 48 | } | 48 | } |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | .animation-map-drawer { | ||
| 52 | width: 260px; | ||
| 53 | } | ||
| 54 | |||
| 51 | /deep/.el-tabs__header { | 55 | /deep/.el-tabs__header { |
| 52 | margin-bottom: 0 !important; | 56 | margin-bottom: 0 !important; |
| 53 | } | 57 | } |
| ... | @@ -98,6 +102,27 @@ | ... | @@ -98,6 +102,27 @@ |
| 98 | overflow: hidden; | 102 | overflow: hidden; |
| 99 | } | 103 | } |
| 100 | 104 | ||
| 105 | .map-drawer { | ||
| 106 | width: 20px; | ||
| 107 | height: 79px; | ||
| 108 | position: absolute; | ||
| 109 | top: 30%; | ||
| 110 | z-index: 99; | ||
| 111 | cursor: pointer; | ||
| 112 | } | ||
| 113 | |||
| 114 | .map-drawer-expand { | ||
| 115 | background: url("../../../image/right.png"); | ||
| 116 | background-size: cover; | ||
| 117 | right: 0%; | ||
| 118 | } | ||
| 119 | |||
| 120 | .map-drawer-click { | ||
| 121 | background: url("../../../image/left.png"); | ||
| 122 | background-size: cover; | ||
| 123 | left: 0%; | ||
| 124 | } | ||
| 125 | |||
| 101 | .topButton { | 126 | .topButton { |
| 102 | @include flex; | 127 | @include flex; |
| 103 | width: 100%; | 128 | width: 100%; | ... | ... |
| ... | @@ -20,14 +20,26 @@ | ... | @@ -20,14 +20,26 @@ |
| 20 | <!-- 内容框架 --> | 20 | <!-- 内容框架 --> |
| 21 | <div class="containerFrame"> | 21 | <div class="containerFrame"> |
| 22 | <!-- 左侧菜单栏 --> | 22 | <!-- 左侧菜单栏 --> |
| 23 | <div class="leftmenu" v-if="unitData.length>0"> | 23 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| 24 | <div class="title">申请单元列表({{ unitData.length }})</div> | 24 | <div v-if="this.isShowdrawer"> |
| 25 | <el-menu :default-active="activeIndex" @select="unitClick"> | 25 | <div class="title">申请单元列表({{ unitData.length }})</div> |
| 26 | <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> | 26 | <el-menu :default-active="activeIndex" @select="unitClick"> |
| 27 | <p>{{ item.bdcdyh }}</p> | 27 | <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> |
| 28 | <p>{{ item.zl }}</p> | 28 | <p>{{ item.bdcdyh }}</p> |
| 29 | </el-menu-item> | 29 | <p>{{ item.zl }}</p> |
| 30 | </el-menu> | 30 | </el-menu-item> |
| 31 | </el-menu> | ||
| 32 | </div> | ||
| 33 | <div class="map-drawer-click map-drawer" v-if="!isShowdrawer" @click=" | ||
| 34 | () => { | ||
| 35 | this.isShowdrawer = !this.isShowdrawer; | ||
| 36 | } | ||
| 37 | "></div> | ||
| 38 | <div class="map-drawer-expand map-drawer" v-else @click=" | ||
| 39 | () => { | ||
| 40 | this.isShowdrawer = !this.isShowdrawer; | ||
| 41 | } | ||
| 42 | "></div> | ||
| 31 | </div> | 43 | </div> |
| 32 | <div class="leftCon"> | 44 | <div class="leftCon"> |
| 33 | <!-- 分屏左侧预览 --> | 45 | <!-- 分屏左侧预览 --> |
| ... | @@ -61,10 +73,11 @@ import { | ... | @@ -61,10 +73,11 @@ import { |
| 61 | completeTask, | 73 | completeTask, |
| 62 | } from "@/api/fqsq.js"; | 74 | } from "@/api/fqsq.js"; |
| 63 | import { getForm } from "./flowform.js"; | 75 | import { getForm } from "./flowform.js"; |
| 64 | import axios from "axios"; | ||
| 65 | export default { | 76 | export default { |
| 66 | data () { | 77 | data () { |
| 67 | return { | 78 | return { |
| 79 | // 折叠 | ||
| 80 | isShowdrawer: true, | ||
| 68 | // 默认选中 | 81 | // 默认选中 |
| 69 | activeIndex: '0', | 82 | activeIndex: '0', |
| 70 | //受理申请标识码 | 83 | //受理申请标识码 | ... | ... |
| ... | @@ -55,13 +55,14 @@ | ... | @@ -55,13 +55,14 @@ |
| 55 | //查封登记 | 55 | //查封登记 |
| 56 | import { datas, sendThis } from "../javascript/bdcql.js"; | 56 | import { datas, sendThis } from "../javascript/bdcql.js"; |
| 57 | import table from "@/utils/mixin/table"; | 57 | import table from "@/utils/mixin/table"; |
| 58 | import jump from "../components/mixin/jump"; | ||
| 58 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 59 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
| 59 | export default { | 60 | export default { |
| 60 | props: { | 61 | props: { |
| 61 | bsmSqyw: { type: String, default: '' }, | 62 | bsmSqyw: { type: String, default: '' }, |
| 62 | djywbm: { type: String, default: "" } | 63 | djywbm: { type: String, default: "" } |
| 63 | }, | 64 | }, |
| 64 | mixins: [table], | 65 | mixins: [table, jump], |
| 65 | data () { | 66 | data () { |
| 66 | return { | 67 | return { |
| 67 | queryForm: { | 68 | queryForm: { |
| ... | @@ -105,7 +106,7 @@ export default { | ... | @@ -105,7 +106,7 @@ export default { |
| 105 | }) | 106 | }) |
| 106 | } | 107 | } |
| 107 | }, | 108 | }, |
| 108 | submitForm() { | 109 | submitForm () { |
| 109 | if (this.bdcdysz.length == 0) { | 110 | if (this.bdcdysz.length == 0) { |
| 110 | this.$message.error("请至少选择一条数据"); | 111 | this.$message.error("请至少选择一条数据"); |
| 111 | return; | 112 | return; |
| ... | @@ -117,14 +118,7 @@ export default { | ... | @@ -117,14 +118,7 @@ export default { |
| 117 | }).then((res) => { | 118 | }).then((res) => { |
| 118 | this.saveloding = false; | 119 | this.saveloding = false; |
| 119 | if (res.code == 200) { | 120 | if (res.code == 200) { |
| 120 | this.$emit("closeDialog"); | 121 | this.jump(res.result) |
| 121 | const { href } = this.$router.resolve( | ||
| 122 | "/fqsq?bsmSlsq=" + | ||
| 123 | res.result.bsmSlsq + | ||
| 124 | "&bestepid=" + | ||
| 125 | res.result.bestepid | ||
| 126 | ); | ||
| 127 | window.open(href, "_blank"); | ||
| 128 | } else { | 122 | } else { |
| 129 | this.$message.error(res.message); | 123 | this.$message.error(res.message); |
| 130 | } | 124 | } | ... | ... |
| ... | @@ -55,13 +55,14 @@ | ... | @@ -55,13 +55,14 @@ |
| 55 | <script> | 55 | <script> |
| 56 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; | 56 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; |
| 57 | import table from "@/utils/mixin/table"; | 57 | import table from "@/utils/mixin/table"; |
| 58 | import jump from "../components/mixin/jump"; | ||
| 58 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 59 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
| 59 | export default { | 60 | export default { |
| 60 | props: { | 61 | props: { |
| 61 | bsmSqyw: { type: String, default: '' }, | 62 | bsmSqyw: { type: String, default: '' }, |
| 62 | djywbm: { type: String, default: "" } | 63 | djywbm: { type: String, default: "" } |
| 63 | }, | 64 | }, |
| 64 | mixins: [table], | 65 | mixins: [table, jump], |
| 65 | data () { | 66 | data () { |
| 66 | return { | 67 | return { |
| 67 | queryForm: { | 68 | queryForm: { |
| ... | @@ -105,7 +106,7 @@ export default { | ... | @@ -105,7 +106,7 @@ export default { |
| 105 | }) | 106 | }) |
| 106 | } | 107 | } |
| 107 | }, | 108 | }, |
| 108 | submitForm() { | 109 | submitForm () { |
| 109 | if (this.bdcdysz.length == 0) { | 110 | if (this.bdcdysz.length == 0) { |
| 110 | this.$message.error("请至少选择一条数据"); | 111 | this.$message.error("请至少选择一条数据"); |
| 111 | return; | 112 | return; |
| ... | @@ -117,14 +118,7 @@ export default { | ... | @@ -117,14 +118,7 @@ export default { |
| 117 | }).then((res) => { | 118 | }).then((res) => { |
| 118 | this.saveloding = false; | 119 | this.saveloding = false; |
| 119 | if (res.code == 200) { | 120 | if (res.code == 200) { |
| 120 | this.$emit("closeDialog"); | 121 | this.jump(res.result) |
| 121 | const { href } = this.$router.resolve( | ||
| 122 | "/fqsq?bsmSlsq=" + | ||
| 123 | res.result.bsmSlsq + | ||
| 124 | "&bestepid=" + | ||
| 125 | res.result.bestepid | ||
| 126 | ); | ||
| 127 | window.open(href, "_blank"); | ||
| 128 | } else { | 122 | } else { |
| 129 | this.$message.error(res.message); | 123 | this.$message.error(res.message); |
| 130 | } | 124 | } | ... | ... |
| ... | @@ -55,13 +55,14 @@ | ... | @@ -55,13 +55,14 @@ |
| 55 | //查封登记 | 55 | //查封登记 |
| 56 | import { datas, sendThis } from "../javascript/cfdj.js"; | 56 | import { datas, sendThis } from "../javascript/cfdj.js"; |
| 57 | import table from "@/utils/mixin/table"; | 57 | import table from "@/utils/mixin/table"; |
| 58 | import jump from "../components/mixin/jump"; | ||
| 58 | import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; | 59 | import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; |
| 59 | export default { | 60 | export default { |
| 60 | props: { | 61 | props: { |
| 61 | bsmSqyw: { type: String, default: '' }, | 62 | bsmSqyw: { type: String, default: '' }, |
| 62 | djywbm: { type: String, default: "" } | 63 | djywbm: { type: String, default: "" } |
| 63 | }, | 64 | }, |
| 64 | mixins: [table], | 65 | mixins: [table, jump], |
| 65 | data () { | 66 | data () { |
| 66 | return { | 67 | return { |
| 67 | queryForm: { | 68 | queryForm: { |
| ... | @@ -105,7 +106,7 @@ export default { | ... | @@ -105,7 +106,7 @@ export default { |
| 105 | }) | 106 | }) |
| 106 | } | 107 | } |
| 107 | }, | 108 | }, |
| 108 | submitForm() { | 109 | submitForm () { |
| 109 | if (this.bdcdysz.length == 0) { | 110 | if (this.bdcdysz.length == 0) { |
| 110 | this.$message.error("请至少选择一条数据"); | 111 | this.$message.error("请至少选择一条数据"); |
| 111 | return; | 112 | return; |
| ... | @@ -117,14 +118,7 @@ export default { | ... | @@ -117,14 +118,7 @@ export default { |
| 117 | }).then((res) => { | 118 | }).then((res) => { |
| 118 | this.saveloding = false; | 119 | this.saveloding = false; |
| 119 | if (res.code == 200) { | 120 | if (res.code == 200) { |
| 120 | this.$emit("closeDialog"); | 121 | this.jump(res.result) |
| 121 | const { href } = this.$router.resolve( | ||
| 122 | "/fqsq?bsmSlsq=" + | ||
| 123 | res.result.bsmSlsq + | ||
| 124 | "&bestepid=" + | ||
| 125 | res.result.bestepid | ||
| 126 | ); | ||
| 127 | window.open(href, "_blank"); | ||
| 128 | } else { | 122 | } else { |
| 129 | this.$message.error(res.message); | 123 | this.$message.error(res.message); |
| 130 | } | 124 | } | ... | ... |
| ... | @@ -6,31 +6,15 @@ | ... | @@ -6,31 +6,15 @@ |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="10"> | 7 | <el-col :span="10"> |
| 8 | <el-form-item label="权利类型"> | 8 | <el-form-item label="权利类型"> |
| 9 | <el-select | 9 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型" class="width300px"> |
| 10 | v-model="queryForm.qllx" | 10 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> |
| 11 | filterable | ||
| 12 | clearable | ||
| 13 | placeholder="请选择权利类型" | ||
| 14 | class="width300px" | ||
| 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> | 11 | </el-option> |
| 23 | </el-select> | 12 | </el-select> |
| 24 | </el-form-item> | 13 | </el-form-item> |
| 25 | </el-col> | 14 | </el-col> |
| 26 | <el-col :span="10"> | 15 | <el-col :span="10"> |
| 27 | <el-form-item label="不动产单元号"> | 16 | <el-form-item label="不动产单元号"> |
| 28 | <el-input | 17 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px"> |
| 29 | placeholder="请输入不动产单元号" | ||
| 30 | v-model="queryForm.bdcdyh" | ||
| 31 | clearable | ||
| 32 | class="width300px" | ||
| 33 | > | ||
| 34 | </el-input> | 18 | </el-input> |
| 35 | </el-form-item> | 19 | </el-form-item> |
| 36 | </el-col> | 20 | </el-col> |
| ... | @@ -38,23 +22,13 @@ | ... | @@ -38,23 +22,13 @@ |
| 38 | <el-row> | 22 | <el-row> |
| 39 | <el-col :span="10"> | 23 | <el-col :span="10"> |
| 40 | <el-form-item label="业务号"> | 24 | <el-form-item label="业务号"> |
| 41 | <el-input | 25 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width300px"> |
| 42 | placeholder="请输入业务号" | ||
| 43 | v-model="queryForm.ywh" | ||
| 44 | clearable | ||
| 45 | class="width300px" | ||
| 46 | > | ||
| 47 | </el-input> | 26 | </el-input> |
| 48 | </el-form-item> | 27 | </el-form-item> |
| 49 | </el-col> | 28 | </el-col> |
| 50 | <el-col :span="10"> | 29 | <el-col :span="10"> |
| 51 | <el-form-item label="不动产权证号"> | 30 | <el-form-item label="不动产权证号"> |
| 52 | <el-input | 31 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width300px"> |
| 53 | placeholder="请输入不动产权证号" | ||
| 54 | v-model="queryForm.bdcqzh" | ||
| 55 | clearable | ||
| 56 | class="width300px" | ||
| 57 | > | ||
| 58 | </el-input> | 32 | </el-input> |
| 59 | </el-form-item> | 33 | </el-form-item> |
| 60 | </el-col> | 34 | </el-col> |
| ... | @@ -68,24 +42,14 @@ | ... | @@ -68,24 +42,14 @@ |
| 68 | </div> | 42 | </div> |
| 69 | <!-- 表格 --> | 43 | <!-- 表格 --> |
| 70 | <div class="from-clues-content"> | 44 | <div class="from-clues-content"> |
| 71 | <lb-table | 45 | <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" |
| 72 | :page-size="pageData.pageSize" | 46 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" |
| 73 | :heightNum="400" | 47 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> |
| 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="submitForm" :loading="saveloding" | 52 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> |
| 87 | >发起申请</el-button | ||
| 88 | > | ||
| 89 | </div> | 53 | </div> |
| 90 | </div> | 54 | </div> |
| 91 | </template> | 55 | </template> |
| ... | @@ -93,6 +57,7 @@ | ... | @@ -93,6 +57,7 @@ |
| 93 | //抵押权首次登记 | 57 | //抵押权首次登记 |
| 94 | import { datas, sendThis } from "../javascript/diyaq.js"; | 58 | import { datas, sendThis } from "../javascript/diyaq.js"; |
| 95 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
| 60 | import jump from "../components/mixin/jump"; | ||
| 96 | import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; | 61 | import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; |
| 97 | export default { | 62 | export default { |
| 98 | props: { | 63 | props: { |
| ... | @@ -100,8 +65,8 @@ export default { | ... | @@ -100,8 +65,8 @@ export default { |
| 100 | djqxObj: { type: Object, default: "" }, | 65 | djqxObj: { type: Object, default: "" }, |
| 101 | djywbm: { type: String, default: "" } | 66 | djywbm: { type: String, default: "" } |
| 102 | }, | 67 | }, |
| 103 | mixins: [table], | 68 | mixins: [table, jump], |
| 104 | data() { | 69 | data () { |
| 105 | return { | 70 | return { |
| 106 | queryForm: { | 71 | queryForm: { |
| 107 | qllx: "", | 72 | qllx: "", |
| ... | @@ -121,18 +86,18 @@ export default { | ... | @@ -121,18 +86,18 @@ export default { |
| 121 | }; | 86 | }; |
| 122 | }, | 87 | }, |
| 123 | watch: { | 88 | watch: { |
| 124 | bsmSqyw(val) { | 89 | bsmSqyw (val) { |
| 125 | this.fetchData(); | 90 | this.fetchData(); |
| 126 | }, | 91 | }, |
| 127 | }, | 92 | }, |
| 128 | mounted() { | 93 | mounted () { |
| 129 | sendThis(this); | 94 | sendThis(this); |
| 130 | }, | 95 | }, |
| 131 | methods: { | 96 | methods: { |
| 132 | closeDialog() { | 97 | closeDialog () { |
| 133 | this.$emit("closeDialog"); | 98 | this.$emit("closeDialog"); |
| 134 | }, | 99 | }, |
| 135 | fetchData() { | 100 | fetchData () { |
| 136 | if (this.bsmSqyw) { | 101 | if (this.bsmSqyw) { |
| 137 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { | 102 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { |
| 138 | if (res.code === 200) { | 103 | if (res.code === 200) { |
| ... | @@ -143,7 +108,7 @@ export default { | ... | @@ -143,7 +108,7 @@ export default { |
| 143 | }); | 108 | }); |
| 144 | } | 109 | } |
| 145 | }, | 110 | }, |
| 146 | submitForm() { | 111 | submitForm () { |
| 147 | if (this.bdcdysz.length == 0) { | 112 | if (this.bdcdysz.length == 0) { |
| 148 | this.$message.error("请至少选择一条数据"); | 113 | this.$message.error("请至少选择一条数据"); |
| 149 | return; | 114 | return; |
| ... | @@ -157,23 +122,16 @@ export default { | ... | @@ -157,23 +122,16 @@ export default { |
| 157 | }).then((res) => { | 122 | }).then((res) => { |
| 158 | this.saveloding = false; | 123 | this.saveloding = false; |
| 159 | if (res.code == 200) { | 124 | if (res.code == 200) { |
| 160 | this.$emit("closeDialog"); | 125 | this.jump(res.result) |
| 161 | const { href } = this.$router.resolve( | ||
| 162 | "/fqsq?bsmSlsq=" + | ||
| 163 | res.result.bsmSlsq + | ||
| 164 | "&bestepid=" + | ||
| 165 | res.result.bestepid | ||
| 166 | ); | ||
| 167 | window.open(href, "_blank"); | ||
| 168 | } else { | 126 | } else { |
| 169 | this.$message.error(res.message); | 127 | this.$message.error(res.message); |
| 170 | } | 128 | } |
| 171 | }); | 129 | }); |
| 172 | }, | 130 | }, |
| 173 | handleSelectionChange(val) { | 131 | handleSelectionChange (val) { |
| 174 | this.bdcdysz = val; | 132 | this.bdcdysz = val; |
| 175 | }, | 133 | }, |
| 176 | queryClick() { | 134 | queryClick () { |
| 177 | this.fetchData(); | 135 | this.fetchData(); |
| 178 | }, | 136 | }, |
| 179 | }, | 137 | }, | ... | ... |
| ... | @@ -6,23 +6,13 @@ | ... | @@ -6,23 +6,13 @@ |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="10"> | 7 | <el-col :span="10"> |
| 8 | <el-form-item label="不动产单元号"> | 8 | <el-form-item label="不动产单元号"> |
| 9 | <el-input | 9 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px"> |
| 10 | placeholder="请输入不动产单元号" | ||
| 11 | v-model="queryForm.bdcdyh" | ||
| 12 | clearable | ||
| 13 | class="width300px" | ||
| 14 | > | ||
| 15 | </el-input> | 10 | </el-input> |
| 16 | </el-form-item> | 11 | </el-form-item> |
| 17 | </el-col> | 12 | </el-col> |
| 18 | <el-col :span="10"> | 13 | <el-col :span="10"> |
| 19 | <el-form-item label="不动产权证号"> | 14 | <el-form-item label="不动产权证号"> |
| 20 | <el-input | 15 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width300px"> |
| 21 | placeholder="请输入不动产权证号" | ||
| 22 | v-model="queryForm.bdcqzh" | ||
| 23 | clearable | ||
| 24 | class="width300px" | ||
| 25 | > | ||
| 26 | </el-input> | 16 | </el-input> |
| 27 | </el-form-item> | 17 | </el-form-item> |
| 28 | </el-col> | 18 | </el-col> |
| ... | @@ -36,24 +26,14 @@ | ... | @@ -36,24 +26,14 @@ |
| 36 | </div> | 26 | </div> |
| 37 | <!-- 表格 --> | 27 | <!-- 表格 --> |
| 38 | <div class="from-clues-content"> | 28 | <div class="from-clues-content"> |
| 39 | <lb-table border | 29 | <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" |
| 40 | :page-size="pageData.pageSize" | 30 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" |
| 41 | :heightNum="400" | 31 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> |
| 42 | :current-page.sync="pageData.currentPage" | ||
| 43 | :total="tableData.total" | ||
| 44 | @size-change="handleSizeChange" | ||
| 45 | @p-current-change="handleCurrentChange" | ||
| 46 | @selection-change="handleSelectionChange" | ||
| 47 | :column="tableData.columns" | ||
| 48 | :data="tableData.data" | ||
| 49 | > | ||
| 50 | </lb-table> | 32 | </lb-table> |
| 51 | </div> | 33 | </div> |
| 52 | <div class="submit_button"> | 34 | <div class="submit_button"> |
| 53 | <el-button @click="closeDialog">取消</el-button> | 35 | <el-button @click="closeDialog">取消</el-button> |
| 54 | <el-button type="primary" plain @click="submitForm" :loading="saveloding" | 36 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> |
| 55 | >发起申请</el-button | ||
| 56 | > | ||
| 57 | </div> | 37 | </div> |
| 58 | </div> | 38 | </div> |
| 59 | </template> | 39 | </template> |
| ... | @@ -61,6 +41,7 @@ | ... | @@ -61,6 +41,7 @@ |
| 61 | //首次登记 | 41 | //首次登记 |
| 62 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; | 42 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; |
| 63 | import table from "@/utils/mixin/table"; | 43 | import table from "@/utils/mixin/table"; |
| 44 | import jump from "../components/mixin/jump"; | ||
| 64 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | 45 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; |
| 65 | export default { | 46 | export default { |
| 66 | props: { | 47 | props: { |
| ... | @@ -68,8 +49,8 @@ export default { | ... | @@ -68,8 +49,8 @@ export default { |
| 68 | djqxObj: { type: Object, default: "" }, | 49 | djqxObj: { type: Object, default: "" }, |
| 69 | djywbm: { type: String, default: "" } | 50 | djywbm: { type: String, default: "" } |
| 70 | }, | 51 | }, |
| 71 | mixins: [table], | 52 | mixins: [table, jump], |
| 72 | data() { | 53 | data () { |
| 73 | return { | 54 | return { |
| 74 | queryForm: { | 55 | queryForm: { |
| 75 | qllx: "", | 56 | qllx: "", |
| ... | @@ -89,18 +70,18 @@ export default { | ... | @@ -89,18 +70,18 @@ export default { |
| 89 | }; | 70 | }; |
| 90 | }, | 71 | }, |
| 91 | watch: { | 72 | watch: { |
| 92 | bsmSqyw(val) { | 73 | bsmSqyw (val) { |
| 93 | this.fetchData(); | 74 | this.fetchData(); |
| 94 | }, | 75 | }, |
| 95 | }, | 76 | }, |
| 96 | mounted() { | 77 | mounted () { |
| 97 | sendThis(this); | 78 | sendThis(this); |
| 98 | }, | 79 | }, |
| 99 | methods: { | 80 | methods: { |
| 100 | closeDialog() { | 81 | closeDialog () { |
| 101 | this.$emit("closeDialog"); | 82 | this.$emit("closeDialog"); |
| 102 | }, | 83 | }, |
| 103 | fetchData() { | 84 | fetchData () { |
| 104 | if (this.bsmSqyw) { | 85 | if (this.bsmSqyw) { |
| 105 | selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { | 86 | selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { |
| 106 | if (res.code === 200) { | 87 | if (res.code === 200) { |
| ... | @@ -111,7 +92,7 @@ export default { | ... | @@ -111,7 +92,7 @@ export default { |
| 111 | }); | 92 | }); |
| 112 | } | 93 | } |
| 113 | }, | 94 | }, |
| 114 | submitForm() { | 95 | submitForm () { |
| 115 | if (this.bdcdysz.length == 0) { | 96 | if (this.bdcdysz.length == 0) { |
| 116 | this.$message.error("请至少选择一条数据"); | 97 | this.$message.error("请至少选择一条数据"); |
| 117 | return; | 98 | return; |
| ... | @@ -125,23 +106,16 @@ export default { | ... | @@ -125,23 +106,16 @@ export default { |
| 125 | }).then((res) => { | 106 | }).then((res) => { |
| 126 | this.saveloding = false; | 107 | this.saveloding = false; |
| 127 | if (res.code == 200) { | 108 | if (res.code == 200) { |
| 128 | this.$emit("closeDialog"); | 109 | this.jump(res.result) |
| 129 | const { href } = this.$router.resolve( | ||
| 130 | "/fqsq?bsmSlsq=" + | ||
| 131 | res.result.bsmSlsq + | ||
| 132 | "&bestepid=" + | ||
| 133 | res.result.bestepid | ||
| 134 | ); | ||
| 135 | window.open(href, "_blank"); | ||
| 136 | } else { | 110 | } else { |
| 137 | this.$message.error(res.message); | 111 | this.$message.error(res.message); |
| 138 | } | 112 | } |
| 139 | }); | 113 | }); |
| 140 | }, | 114 | }, |
| 141 | handleSelectionChange(val) { | 115 | handleSelectionChange (val) { |
| 142 | this.bdcdysz = val; | 116 | this.bdcdysz = val; |
| 143 | }, | 117 | }, |
| 144 | queryClick() { | 118 | queryClick () { |
| 145 | this.fetchData(); | 119 | this.fetchData(); |
| 146 | }, | 120 | }, |
| 147 | }, | 121 | }, | ... | ... |
| ... | @@ -6,31 +6,15 @@ | ... | @@ -6,31 +6,15 @@ |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="10"> | 7 | <el-col :span="10"> |
| 8 | <el-form-item label="权利类型200"> | 8 | <el-form-item label="权利类型200"> |
| 9 | <el-select | 9 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型" class="width300px"> |
| 10 | v-model="queryForm.qllx" | 10 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> |
| 11 | filterable | ||
| 12 | clearable | ||
| 13 | placeholder="请选择权利类型" | ||
| 14 | class="width300px" | ||
| 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> | 11 | </el-option> |
| 23 | </el-select> | 12 | </el-select> |
| 24 | </el-form-item> | 13 | </el-form-item> |
| 25 | </el-col> | 14 | </el-col> |
| 26 | <el-col :span="10"> | 15 | <el-col :span="10"> |
| 27 | <el-form-item label="不动产单元号"> | 16 | <el-form-item label="不动产单元号"> |
| 28 | <el-input | 17 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px"> |
| 29 | placeholder="请输入不动产单元号" | ||
| 30 | v-model="queryForm.bdcdyh" | ||
| 31 | clearable | ||
| 32 | class="width300px" | ||
| 33 | > | ||
| 34 | </el-input> | 18 | </el-input> |
| 35 | </el-form-item> | 19 | </el-form-item> |
| 36 | </el-col> | 20 | </el-col> |
| ... | @@ -38,23 +22,13 @@ | ... | @@ -38,23 +22,13 @@ |
| 38 | <el-row> | 22 | <el-row> |
| 39 | <el-col :span="10"> | 23 | <el-col :span="10"> |
| 40 | <el-form-item label="业务号"> | 24 | <el-form-item label="业务号"> |
| 41 | <el-input | 25 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width300px"> |
| 42 | placeholder="请输入业务号" | ||
| 43 | v-model="queryForm.ywh" | ||
| 44 | clearable | ||
| 45 | class="width300px" | ||
| 46 | > | ||
| 47 | </el-input> | 26 | </el-input> |
| 48 | </el-form-item> | 27 | </el-form-item> |
| 49 | </el-col> | 28 | </el-col> |
| 50 | <el-col :span="10"> | 29 | <el-col :span="10"> |
| 51 | <el-form-item label="不动产权证号"> | 30 | <el-form-item label="不动产权证号"> |
| 52 | <el-input | 31 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width300px"> |
| 53 | placeholder="请输入不动产权证号" | ||
| 54 | v-model="queryForm.bdcqzh" | ||
| 55 | clearable | ||
| 56 | class="width300px" | ||
| 57 | > | ||
| 58 | </el-input> | 32 | </el-input> |
| 59 | </el-form-item> | 33 | </el-form-item> |
| 60 | </el-col> | 34 | </el-col> |
| ... | @@ -68,24 +42,14 @@ | ... | @@ -68,24 +42,14 @@ |
| 68 | </div> | 42 | </div> |
| 69 | <!-- 表格 --> | 43 | <!-- 表格 --> |
| 70 | <div class="from-clues-content"> | 44 | <div class="from-clues-content"> |
| 71 | <lb-table | 45 | <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" |
| 72 | :page-size="pageData.pageSize" | 46 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" |
| 73 | :heightNum="400" | 47 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> |
| 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="submitForm" :loading="saveloding" | 52 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> |
| 87 | >发起申请</el-button | ||
| 88 | > | ||
| 89 | </div> | 53 | </div> |
| 90 | </div> | 54 | </div> |
| 91 | </template> | 55 | </template> |
| ... | @@ -93,6 +57,7 @@ | ... | @@ -93,6 +57,7 @@ |
| 93 | //首次登记 | 57 | //首次登记 |
| 94 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | 58 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; |
| 95 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
| 60 | import jump from "../components/mixin/jump"; | ||
| 96 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 61 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
| 97 | export default { | 62 | export default { |
| 98 | props: { | 63 | props: { |
| ... | @@ -100,8 +65,8 @@ export default { | ... | @@ -100,8 +65,8 @@ export default { |
| 100 | djqxObj: { type: Object, default: "" }, | 65 | djqxObj: { type: Object, default: "" }, |
| 101 | djywbm: { type: String, default: "" } | 66 | djywbm: { type: String, default: "" } |
| 102 | }, | 67 | }, |
| 103 | mixins: [table], | 68 | mixins: [table, jump], |
| 104 | data() { | 69 | data () { |
| 105 | return { | 70 | return { |
| 106 | queryForm: { | 71 | queryForm: { |
| 107 | qllx: "", | 72 | qllx: "", |
| ... | @@ -121,18 +86,18 @@ export default { | ... | @@ -121,18 +86,18 @@ export default { |
| 121 | }; | 86 | }; |
| 122 | }, | 87 | }, |
| 123 | watch: { | 88 | watch: { |
| 124 | bsmSqyw(val) { | 89 | bsmSqyw (val) { |
| 125 | this.fetchData(); | 90 | this.fetchData(); |
| 126 | }, | 91 | }, |
| 127 | }, | 92 | }, |
| 128 | mounted() { | 93 | mounted () { |
| 129 | sendThis(this); | 94 | sendThis(this); |
| 130 | }, | 95 | }, |
| 131 | methods: { | 96 | methods: { |
| 132 | closeDialog() { | 97 | closeDialog () { |
| 133 | this.$emit("closeDialog"); | 98 | this.$emit("closeDialog"); |
| 134 | }, | 99 | }, |
| 135 | fetchData() { | 100 | fetchData () { |
| 136 | if (this.bsmSqyw) { | 101 | if (this.bsmSqyw) { |
| 137 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 102 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
| 138 | if (res.code === 200) { | 103 | if (res.code === 200) { |
| ... | @@ -143,7 +108,7 @@ export default { | ... | @@ -143,7 +108,7 @@ export default { |
| 143 | }); | 108 | }); |
| 144 | } | 109 | } |
| 145 | }, | 110 | }, |
| 146 | submitForm() { | 111 | submitForm () { |
| 147 | if (this.bdcdysz.length == 0) { | 112 | if (this.bdcdysz.length == 0) { |
| 148 | this.$message.error("请至少选择一条数据"); | 113 | this.$message.error("请至少选择一条数据"); |
| 149 | return; | 114 | return; |
| ... | @@ -157,28 +122,21 @@ export default { | ... | @@ -157,28 +122,21 @@ export default { |
| 157 | }).then((res) => { | 122 | }).then((res) => { |
| 158 | this.saveloding = false; | 123 | this.saveloding = false; |
| 159 | if (res.code == 200) { | 124 | if (res.code == 200) { |
| 160 | this.$emit("closeDialog"); | 125 | this.jump(res.result) |
| 161 | const { href } = this.$router.resolve( | ||
| 162 | "/fqsq?bsmSlsq=" + | ||
| 163 | res.result.bsmSlsq + | ||
| 164 | "&bestepid=" + | ||
| 165 | res.result.bestepid | ||
| 166 | ); | ||
| 167 | window.open(href, "_blank"); | ||
| 168 | } else { | 126 | } else { |
| 169 | this.$message.error(res.message); | 127 | this.$message.error(res.message); |
| 170 | } | 128 | } |
| 171 | }); | 129 | }); |
| 172 | }, | 130 | }, |
| 173 | handleSelectionChange(val) { | 131 | handleSelectionChange (val) { |
| 174 | val.forEach((item,index)=>{ | 132 | val.forEach((item, index) => { |
| 175 | item.bsmSsql = item.bsmQlxx | 133 | item.bsmSsql = item.bsmQlxx |
| 176 | item.ybdcqzsh = item.bdcqzh | 134 | item.ybdcqzsh = item.bdcqzh |
| 177 | }) | 135 | }) |
| 178 | this.bdcdysz = val; | 136 | this.bdcdysz = val; |
| 179 | 137 | ||
| 180 | }, | 138 | }, |
| 181 | queryClick() { | 139 | queryClick () { |
| 182 | this.fetchData(); | 140 | this.fetchData(); |
| 183 | }, | 141 | }, |
| 184 | }, | 142 | }, | ... | ... |
src/views/ywbl/ywsq/components/mixin/jump.js
0 → 100644
| ... | @@ -5,12 +5,7 @@ | ... | @@ -5,12 +5,7 @@ |
| 5 | {{ title }} | 5 | {{ title }} |
| 6 | <div class="checkbox"> | 6 | <div class="checkbox"> |
| 7 | <el-checkbox-group v-model="checkList" @change="checkChange"> | 7 | <el-checkbox-group v-model="checkList" @change="checkChange"> |
| 8 | <el-checkbox | 8 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> |
| 9 | v-for="item in qsztList" | ||
| 10 | :key="item.value" | ||
| 11 | :label="item.value" | ||
| 12 | >{{ item.label }}</el-checkbox | ||
| 13 | > | ||
| 14 | </el-checkbox-group> | 9 | </el-checkbox-group> |
| 15 | </div> | 10 | </div> |
| 16 | </div> | 11 | </div> |
| ... | @@ -20,15 +15,11 @@ | ... | @@ -20,15 +15,11 @@ |
| 20 | <td> | 15 | <td> |
| 21 | {{ item.label }} | 16 | {{ item.label }} |
| 22 | </td> | 17 | </td> |
| 23 | <td | 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 24 | v-for="(row, index) in tableData" | 19 | row.qszt == '2' ? 'lishi' : '', |
| 25 | :key="index" | 20 | row.qszt == '0' ? 'linshi' : '', |
| 26 | :class="[ | 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
| 27 | row.qszt == '2' ? 'lishi' : '', | 22 | ]"> |
| 28 | row.qszt == '0' ? 'linshi' : '', | ||
| 29 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
| 30 | ]" | ||
| 31 | > | ||
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 23 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
| 33 | 正在办理 | 24 | 正在办理 |
| 34 | </div> | 25 | </div> |
| ... | @@ -50,7 +41,7 @@ | ... | @@ -50,7 +41,7 @@ |
| 50 | import { datas } from "./jsydsyq.js"; | 41 | import { datas } from "./jsydsyq.js"; |
| 51 | import { getJsydsyqList } from "@/api/zhcx.js"; | 42 | import { getJsydsyqList } from "@/api/zhcx.js"; |
| 52 | export default { | 43 | export default { |
| 53 | data() { | 44 | data () { |
| 54 | return { | 45 | return { |
| 55 | qsztList: [ | 46 | qsztList: [ |
| 56 | { | 47 | { |
| ... | @@ -78,14 +69,15 @@ export default { | ... | @@ -78,14 +69,15 @@ export default { |
| 78 | title: "建设用地使用权、宅基地使用权登记信息", | 69 | title: "建设用地使用权、宅基地使用权登记信息", |
| 79 | }; | 70 | }; |
| 80 | }, | 71 | }, |
| 81 | created() { | 72 | created () { |
| 82 | this.propsParam = this.$attrs; | 73 | this.propsParam = this.$attrs; |
| 74 | console.log(this.$attrs, 'this.$attrs;'); | ||
| 83 | this.columns = datas.columns(); | 75 | this.columns = datas.columns(); |
| 84 | this.loadData(); | 76 | this.loadData(); |
| 85 | // this.$alert(datas.columns()); | 77 | // this.$alert(datas.columns()); |
| 86 | }, | 78 | }, |
| 87 | methods: { | 79 | methods: { |
| 88 | loadData() { | 80 | loadData () { |
| 89 | //this.$alert(this.propsParam.bdcdyh); | 81 | //this.$alert(this.propsParam.bdcdyh); |
| 90 | getJsydsyqList({ | 82 | getJsydsyqList({ |
| 91 | bdcdyid: this.propsParam.bdcdyid, | 83 | bdcdyid: this.propsParam.bdcdyid, |
| ... | @@ -98,10 +90,10 @@ export default { | ... | @@ -98,10 +90,10 @@ export default { |
| 98 | } | 90 | } |
| 99 | }); | 91 | }); |
| 100 | }, | 92 | }, |
| 101 | checkChange() { | 93 | checkChange () { |
| 102 | this.loadData(); | 94 | this.loadData(); |
| 103 | }, | 95 | }, |
| 104 | getQsztName(code) { | 96 | getQsztName (code) { |
| 105 | let name = ""; | 97 | let name = ""; |
| 106 | for (let item of this.qsztList) { | 98 | for (let item of this.qsztList) { |
| 107 | if (item.value == code) { | 99 | if (item.value == code) { | ... | ... |
-
Please register or sign in to post a comment