Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
24 changed files
with
600 additions
and
459 deletions
| 1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
| 2 | 2 | ||
| 3 | // 初始化内容 | 3 | // 初始化内容 |
| 4 | export function Init (data) { | 4 | export function cfInit (data) { |
| 5 | return request({ | 5 | return request({ |
| 6 | url: '/ywbl/cfdj/Init', | 6 | url: '/ywbl/cfdj/cfInit', |
| 7 | method: 'post', | ||
| 8 | data | ||
| 9 | }) | ||
| 10 | } | ||
| 11 | |||
| 12 | // 初始化内容 | ||
| 13 | export function xfInit (data) { | ||
| 14 | return request({ | ||
| 15 | url: '/ywbl/cfdj/xfInit', | ||
| 16 | method: 'post', | ||
| 17 | data | ||
| 18 | }) | ||
| 19 | } | ||
| 20 | |||
| 21 | // 初始化内容 | ||
| 22 | export function jfInit (data) { | ||
| 23 | return request({ | ||
| 24 | url: '/ywbl/cfdj/jfInit', | ||
| 7 | method: 'post', | 25 | method: 'post', |
| 8 | data | 26 | data |
| 9 | }) | 27 | }) |
| 10 | } | 28 | } |
| 11 | 29 | ||
| 12 | // 查封保存 | 30 | // 查封保存 |
| 13 | export function fristReg (data) { | 31 | export function sealUpReg (data) { |
| 14 | return request({ | 32 | return request({ |
| 15 | url: '/ywbl/cfdj/fristReg', | 33 | url: '/ywbl/cfdj/sealUpReg', |
| 16 | method: 'post', | 34 | method: 'post', |
| 17 | data | 35 | data |
| 18 | }) | 36 | }) |
| 19 | } | 37 | } |
| 20 | 38 | ||
| 21 | // 续封保存 | 39 | // 续封保存 |
| 22 | export function changeReg (data) { | 40 | export function continuedSealReg (data) { |
| 23 | return request({ | 41 | return request({ |
| 24 | url: '/ywbl/cfdj/changeReg', | 42 | url: '/ywbl/cfdj/continuedSealReg', |
| 25 | method: 'post', | 43 | method: 'post', |
| 26 | data | 44 | data |
| 27 | }) | 45 | }) |
| ... | @@ -29,9 +47,9 @@ export function changeReg (data) { | ... | @@ -29,9 +47,9 @@ export function changeReg (data) { |
| 29 | 47 | ||
| 30 | 48 | ||
| 31 | // 解封保存 | 49 | // 解封保存 |
| 32 | export function logoutReg (data) { | 50 | export function unSealReg (data) { |
| 33 | return request({ | 51 | return request({ |
| 34 | url: '/ywbl/cfdj/logoutReg', | 52 | url: '/ywbl/cfdj/unSealReg', |
| 35 | method: 'post', | 53 | method: 'post', |
| 36 | data | 54 | data |
| 37 | }) | 55 | }) | ... | ... |
| ... | @@ -28,7 +28,7 @@ export function sendBackTask (data) { | ... | @@ -28,7 +28,7 @@ export function sendBackTask (data) { |
| 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/jsydsyqlr/leftMenu', |
| 32 | method: 'post', | 32 | method: 'post', |
| 33 | data | 33 | data |
| 34 | }) | 34 | }) |
| ... | @@ -86,6 +86,14 @@ export function getNextLinkInfo (params) { | ... | @@ -86,6 +86,14 @@ export function getNextLinkInfo (params) { |
| 86 | }); | 86 | }); |
| 87 | } | 87 | } |
| 88 | 88 | ||
| 89 | //获取单元对应的环节表单信息 | ||
| 90 | export function getStepFormInfo(data){ | ||
| 91 | return request({ | ||
| 92 | url: '/business/workFlow/getStepFormInfo', | ||
| 93 | method: 'post', | ||
| 94 | data | ||
| 95 | }); | ||
| 96 | } | ||
| 89 | // 环节扩展信息 | 97 | // 环节扩展信息 |
| 90 | export function stepExpandInfo (data) { | 98 | export function stepExpandInfo (data) { |
| 91 | return request({ | 99 | return request({ | ... | ... |
| 1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
| 2 | 2 | ||
| 3 | |||
| 4 | // 初始化内容 | ||
| 5 | export function Init(data) { | ||
| 6 | let apiUrl = ""; | ||
| 7 | switch (data.get("djlx")) { | ||
| 8 | case "100": | ||
| 9 | apiUrl = "/ywbl/jsydsyqlr/fristInit"; | ||
| 10 | break; | ||
| 11 | case "200": | ||
| 12 | apiUrl = "/ywbl/jsydsyqlr/transferInit"; | ||
| 13 | break; | ||
| 14 | case "300": | ||
| 15 | apiUrl = "/ywbl/jsydsyqlr/changeInit"; | ||
| 16 | break; | ||
| 17 | case "400": | ||
| 18 | apiUrl = "/ywbl/jsydsyqlr/logoutInit"; | ||
| 19 | break; | ||
| 20 | case "500": | ||
| 21 | apiUrl = "/ywbl/jsydsyqlr/riviseInit"; | ||
| 22 | break; | ||
| 23 | case "901": | ||
| 24 | apiUrl = "/ywbl/jsydsyqlr/renewalInit"; | ||
| 25 | break; | ||
| 26 | case "902": | ||
| 27 | apiUrl = "/ywbl/jsydsyqlr/replaceInit"; | ||
| 28 | break; | ||
| 29 | } | ||
| 30 | return request({ | ||
| 31 | url: apiUrl, | ||
| 32 | method: 'post', | ||
| 33 | data | ||
| 34 | }) | ||
| 35 | } | ||
| 3 | // 初始化内容 | 36 | // 初始化内容 |
| 4 | export function Init (data) { | 37 | export function saveData(data) { |
| 5 | return request({ | 38 | return request({ |
| 6 | url: '/ywbl/tdsyqlr/Init', | 39 | url: '/ywbl/jsydsyqlr/saveData', |
| 7 | method: 'post', | 40 | method: 'post', |
| 8 | data | 41 | data |
| 9 | }) | 42 | }) |
| 10 | } | 43 | } |
| 11 | 44 | ||
| 45 | // // 初始化内容 | ||
| 46 | // export function Init (data) { | ||
| 47 | // return request({ | ||
| 48 | // url: '/ywbl/tdsyqlr/Init', | ||
| 49 | // method: 'post', | ||
| 50 | // data | ||
| 51 | // }) | ||
| 52 | // } | ||
| 53 | |||
| 12 | // 首次登记保存 | 54 | // 首次登记保存 |
| 13 | export function fristReg (data) { | 55 | export function fristReg (data) { |
| 14 | return request({ | 56 | return request({ |
| 15 | url: '/ywbl/tdsyqlr/fristReg', | 57 | url: '/ywbl/jsydsyqlr/fristReg', |
| 16 | method: 'post', | 58 | method: 'post', |
| 17 | data | 59 | data |
| 18 | }) | 60 | }) |
| ... | @@ -21,7 +63,7 @@ export function fristReg (data) { | ... | @@ -21,7 +63,7 @@ export function fristReg (data) { |
| 21 | // 转移登记保存 | 63 | // 转移登记保存 |
| 22 | export function transferReg (data) { | 64 | export function transferReg (data) { |
| 23 | return request({ | 65 | return request({ |
| 24 | url: '/ywbl/tdsyqlr/transferReg', | 66 | url: '/ywbl/jsydsyqlr/transferReg', |
| 25 | method: 'post', | 67 | method: 'post', |
| 26 | data | 68 | data |
| 27 | }) | 69 | }) |
| ... | @@ -31,7 +73,7 @@ export function transferReg (data) { | ... | @@ -31,7 +73,7 @@ export function transferReg (data) { |
| 31 | // 变更登记保存 | 73 | // 变更登记保存 |
| 32 | export function changeReg (data) { | 74 | export function changeReg (data) { |
| 33 | return request({ | 75 | return request({ |
| 34 | url: '/ywbl/tdsyqlr/changeReg', | 76 | url: '/ywbl/jsydsyqlr/changeReg', |
| 35 | method: 'post', | 77 | method: 'post', |
| 36 | data | 78 | data |
| 37 | }) | 79 | }) |
| ... | @@ -41,7 +83,7 @@ export function changeReg (data) { | ... | @@ -41,7 +83,7 @@ export function changeReg (data) { |
| 41 | // 注销登记保存 | 83 | // 注销登记保存 |
| 42 | export function logoutReg (data) { | 84 | export function logoutReg (data) { |
| 43 | return request({ | 85 | return request({ |
| 44 | url: '/ywbl/tdsyqlr/logoutReg', | 86 | url: '/ywbl/jsydsyqlr/logoutReg', |
| 45 | method: 'post', | 87 | method: 'post', |
| 46 | data | 88 | data |
| 47 | }) | 89 | }) | ... | ... |
| ... | @@ -618,7 +618,7 @@ class data extends filter { | ... | @@ -618,7 +618,7 @@ class data extends filter { |
| 618 | label: "权属状态", | 618 | label: "权属状态", |
| 619 | }, | 619 | }, |
| 620 | { | 620 | { |
| 621 | prop: "cflx", | 621 | prop: "cflxmc", |
| 622 | label: "查封类型", | 622 | label: "查封类型", |
| 623 | }, | 623 | }, |
| 624 | { | 624 | { |
| ... | @@ -646,15 +646,15 @@ class data extends filter { | ... | @@ -646,15 +646,15 @@ class data extends filter { |
| 646 | label: "查封机关", | 646 | label: "查封机关", |
| 647 | }, | 647 | }, |
| 648 | { | 648 | { |
| 649 | prop: "bdcqlr", | 649 | prop: "qlrmc", |
| 650 | label: "不动产权利人", | 650 | label: "不动产权利人", |
| 651 | }, | 651 | }, |
| 652 | { | 652 | { |
| 653 | prop: "zjzl", | 653 | prop: "qlrzjzl", |
| 654 | label: "证件种类", | 654 | label: "证件种类", |
| 655 | }, | 655 | }, |
| 656 | { | 656 | { |
| 657 | prop: "zjh", | 657 | prop: "qlrzjhm", |
| 658 | label: "证件号", | 658 | label: "证件号", |
| 659 | }, | 659 | }, |
| 660 | 660 | ... | ... |
| ... | @@ -66,16 +66,16 @@ export default { | ... | @@ -66,16 +66,16 @@ export default { |
| 66 | label: "姓名/名称" | 66 | label: "姓名/名称" |
| 67 | }, | 67 | }, |
| 68 | { | 68 | { |
| 69 | prop: "dlrzjlx", | 69 | prop: "zjzl", |
| 70 | label: "证件种类" | 70 | label: "证件种类" |
| 71 | }, | 71 | }, |
| 72 | { | 72 | { |
| 73 | prop: "dlrzjh", | 73 | prop: "zjh", |
| 74 | label: "证件号" | 74 | label: "证件号" |
| 75 | }, | 75 | }, |
| 76 | { | 76 | { |
| 77 | prop: "fr", | 77 | prop: "dh", |
| 78 | label: "法人" | 78 | label: "联系电话" |
| 79 | }, | 79 | }, |
| 80 | { | 80 | { |
| 81 | label: '修改', | 81 | label: '修改', | ... | ... |
| ... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
| 32 | </el-form-item> | 32 | </el-form-item> |
| 33 | </el-col> | 33 | </el-col> |
| 34 | <el-col :span="8"> | 34 | <el-col :span="8"> |
| 35 | <el-form-item label="联系电话" prop="dh" :rules="$rules.common.phone"> | 35 | <el-form-item label="联系电话" prop="dh"> |
| 36 | <el-input v-model="ruleForm.dh" maxlength="11"></el-input> | 36 | <el-input v-model="ruleForm.dh" maxlength="11"></el-input> |
| 37 | </el-form-item> | 37 | </el-form-item> |
| 38 | </el-col> | 38 | </el-col> | ... | ... |
| ... | @@ -239,16 +239,20 @@ export default { | ... | @@ -239,16 +239,20 @@ export default { |
| 239 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); | 239 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); |
| 240 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | 240 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); |
| 241 | clmlInit(formdata).then((res) => { | 241 | clmlInit(formdata).then((res) => { |
| 242 | resolve(res.code) | 242 | if(res.result.code == 200){ |
| 243 | if (res.result.result && res.result.result.length > 0) { | 243 | resolve(res.code) |
| 244 | this.tableData = res.result.result; | 244 | if (res.result.result && res.result.result.length > 0) { |
| 245 | this.treeCheckId = this.tableData[0].bsmSj; | 245 | this.tableData = res.result.result; |
| 246 | this.title = this.tableData[0].sjmc; | 246 | this.treeCheckId = this.tableData[0].bsmSj; |
| 247 | this.titleYs = 1; | 247 | this.title = this.tableData[0].sjmc; |
| 248 | this.titleNum = this.tableData[0].children.length; | 248 | this.titleYs = 1; |
| 249 | this.titleNum = this.tableData[0].children.length; | ||
| 249 | 250 | ||
| 250 | this.previewImg.imgList = this.tableData[0]?.children; | 251 | this.previewImg.imgList = this.tableData[0]?.children; |
| 251 | this.previewImg.bsmSj = this.tableData[0]?.bsmSj; | 252 | this.previewImg.bsmSj = this.tableData[0]?.bsmSj; |
| 253 | } | ||
| 254 | }else{ | ||
| 255 | this.$message.error(res.result.message) | ||
| 252 | } | 256 | } |
| 253 | }) | 257 | }) |
| 254 | }) | 258 | }) | ... | ... |
| 1 | <template> | ||
| 2 | <div> | ||
| 3 | <lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableData"> | ||
| 4 | </lb-table> | ||
| 5 | </div> | ||
| 6 | </template> | ||
| 7 | <script> | ||
| 8 | import addQlr from './addQlr.vue' | ||
| 9 | import { mapGetters } from 'vuex' | ||
| 10 | export default { | ||
| 11 | components: { | ||
| 12 | addQlr | ||
| 13 | }, | ||
| 14 | computed: { | ||
| 15 | ...mapGetters(["dictData"]), | ||
| 16 | }, | ||
| 17 | props: { | ||
| 18 | tableData: { | ||
| 19 | type: Array, | ||
| 20 | default: function () { | ||
| 21 | return [] | ||
| 22 | } | ||
| 23 | }, | ||
| 24 | gyfs: { | ||
| 25 | type: String, | ||
| 26 | default: '1' | ||
| 27 | } | ||
| 28 | }, | ||
| 29 | data () { | ||
| 30 | return { | ||
| 31 | key: 0, | ||
| 32 | dataIndex: 0, | ||
| 33 | dialog: false, | ||
| 34 | details: {}, | ||
| 35 | tableDataList: [], | ||
| 36 | InformationTable: [ | ||
| 37 | { | ||
| 38 | width: '50', | ||
| 39 | renderHeader: (h, scope) => { | ||
| 40 | return <div> { | ||
| 41 | this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i> | ||
| 42 | } | ||
| 43 | </div> | ||
| 44 | }, | ||
| 45 | render: (h, scope) => { | ||
| 46 | return ( | ||
| 47 | <div> | ||
| 48 | { | ||
| 49 | this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : | ||
| 50 | <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> | ||
| 51 | } | ||
| 52 | </div> | ||
| 53 | ) | ||
| 54 | } | ||
| 55 | }, | ||
| 56 | { | ||
| 57 | prop: "sqrmc", | ||
| 58 | label: "姓名/名称" | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | prop: "zjzl", | ||
| 62 | label: "证件种类" | ||
| 63 | }, | ||
| 64 | { | ||
| 65 | prop: "zjh", | ||
| 66 | label: "证件号" | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | prop: "dh", | ||
| 70 | label: "联系电话" | ||
| 71 | }, | ||
| 72 | { | ||
| 73 | prop: "frmc", | ||
| 74 | label: "法人" | ||
| 75 | }, | ||
| 76 | { | ||
| 77 | label: '操作', | ||
| 78 | render: (h, scope) => { | ||
| 79 | return ( | ||
| 80 | <div> | ||
| 81 | { | ||
| 82 | <el-button icon="el-icon-view" type="text" onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button> | ||
| 83 | } | ||
| 84 | </div> | ||
| 85 | ) | ||
| 86 | } | ||
| 87 | } | ||
| 88 | ], | ||
| 89 | column: this.InformationTable | ||
| 90 | } | ||
| 91 | }, | ||
| 92 | watch: { | ||
| 93 | tableData: { | ||
| 94 | handler: function (val, oldVal) { | ||
| 95 | let that = this | ||
| 96 | if (val.length == 0 || !val) { | ||
| 97 | that.tableDataList = _.cloneDeep([{ | ||
| 98 | sqrmc: '', | ||
| 99 | dlrzjlx: '', | ||
| 100 | dlrzjh: '', | ||
| 101 | fr: '' | ||
| 102 | }]) | ||
| 103 | } else { | ||
| 104 | that.tableDataList = _.cloneDeep(val) | ||
| 105 | } | ||
| 106 | }, | ||
| 107 | immediate: true, | ||
| 108 | deep: true | ||
| 109 | }, | ||
| 110 | gyfs: { | ||
| 111 | handler (newVal, oldValue) { | ||
| 112 | let dataList = _.cloneDeep(this.InformationTable) | ||
| 113 | if (newVal == '1') { | ||
| 114 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | ||
| 115 | } else if ((newVal == '2')) { | ||
| 116 | this.column = dataList | ||
| 117 | } else { | ||
| 118 | this.column = _.cloneDeep(dataList) | ||
| 119 | this.column.splice( | ||
| 120 | 2, 0, { | ||
| 121 | prop: "fs", | ||
| 122 | label: "份数" | ||
| 123 | }) | ||
| 124 | } | ||
| 125 | }, | ||
| 126 | immediate: true | ||
| 127 | } | ||
| 128 | }, | ||
| 129 | methods: { | ||
| 130 | updateDetail (value) { | ||
| 131 | this.tableDataList[this.dataIndex] = value | ||
| 132 | this.key++ | ||
| 133 | this.$emit('upDateQlrxxList', this.tableDataList) | ||
| 134 | }, | ||
| 135 | // 添加 | ||
| 136 | handleAdd () { | ||
| 137 | this.dialog = true | ||
| 138 | }, | ||
| 139 | // 减 | ||
| 140 | handleMinus (index, row) { | ||
| 141 | this.tableData.splice(index, 1) | ||
| 142 | }, | ||
| 143 | // 身份证读取 | ||
| 144 | readClick () { }, | ||
| 145 | // 修改 | ||
| 146 | handleEdit (index, row) { | ||
| 147 | console.log(row, 'rowrowrowrowrow'); | ||
| 148 | this.dataIndex = index | ||
| 149 | this.dialog = true | ||
| 150 | this.details = row | ||
| 151 | }, | ||
| 152 | handleView () { | ||
| 153 | this.dialog = true | ||
| 154 | } | ||
| 155 | } | ||
| 156 | } | ||
| 157 | </script> | ||
| 158 | <style scoped lang='scss'> | ||
| 159 | |||
| 160 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -38,10 +38,10 @@ | ... | @@ -38,10 +38,10 @@ |
| 38 | <div class="top_line middle_margin"></div> | 38 | <div class="top_line middle_margin"></div> |
| 39 | <div class="text" v-if="item.bsmSz"> | 39 | <div class="text" v-if="item.bsmSz"> |
| 40 | <el-button class="operation_button" type="text" @click="openZsylDialog(item,1)">证书预览</el-button> | 40 | <el-button class="operation_button" type="text" @click="openZsylDialog(item,1)">证书预览</el-button> |
| 41 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印(1)</el-button> | 41 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{item.szcs}})</el-button> |
| 42 | </div> | 42 | </div> |
| 43 | <div class="text" v-else> | 43 | <div class="text" v-else> |
| 44 | <el-button class="operation_button" type="text" @click="openZsylDialog(item,2)">证书打印(0)</el-button> | 44 | <el-button class="operation_button" type="text" @click="openZsylDialog(item,2)">证书打印({{item.szcs}})</el-button> |
| 45 | </div> | 45 | </div> |
| 46 | </div> | 46 | </div> |
| 47 | </el-card> | 47 | </el-card> |
| ... | @@ -97,32 +97,46 @@ export default { | ... | @@ -97,32 +97,46 @@ export default { |
| 97 | }, | 97 | }, |
| 98 | //打开证书预览弹窗 | 98 | //打开证书预览弹窗 |
| 99 | openZsylDialog (item, type) { | 99 | openZsylDialog (item, type) { |
| 100 | var heightSet = "650px"; | ||
| 101 | var showButton = false; | ||
| 102 | if(type == 2){ | ||
| 103 | heightSet = "700px"; | ||
| 104 | showButton = true; | ||
| 105 | } | ||
| 106 | let that = this; | 100 | let that = this; |
| 107 | this.$popup({ | 101 | if(type == 1){ |
| 108 | title: "证书预览", | 102 | //证书预览 |
| 109 | editItem: "workflow/components/zsyl", | 103 | this.$popup({ |
| 110 | height: heightSet, | 104 | title: "证书预览", |
| 111 | width: "800px", | 105 | editItem: "workflow/components/zsyl", |
| 112 | formData: { | 106 | height: '650px', |
| 113 | bsmSlsq: this.bsmSlsq, | 107 | width: "800px", |
| 114 | entryType: type, | 108 | formData: { |
| 115 | bdcqz: item | 109 | bdcqz: item |
| 116 | }, | 110 | }, |
| 117 | btnShow: showButton, | 111 | btnShow: false, |
| 118 | confirmText: '打印证书', | 112 | cancel: () => { |
| 119 | cancel: () => { | 113 | console.log("取消回调"); |
| 120 | console.log("取消回调"); | 114 | }, |
| 121 | }, | 115 | confirm: () => { |
| 122 | confirm: () => { | 116 | console.log("取消回调"); |
| 123 | this.list(); | 117 | }, |
| 124 | }, | 118 | }) |
| 125 | }) | 119 | }else{ |
| 120 | //证书打印 | ||
| 121 | this.$popup({ | ||
| 122 | title: "证书打印", | ||
| 123 | editItem: "workflow/components/zsdy", | ||
| 124 | height: '700px', | ||
| 125 | width: "800px", | ||
| 126 | formData: { | ||
| 127 | bsmSlsq: this.bsmSlsq, | ||
| 128 | bdcqz: item | ||
| 129 | }, | ||
| 130 | btnShow: true, | ||
| 131 | confirmText: '打印证书', | ||
| 132 | cancel: () => { | ||
| 133 | console.log("取消回调"); | ||
| 134 | }, | ||
| 135 | confirm: () => { | ||
| 136 | that.list(); | ||
| 137 | }, | ||
| 138 | }) | ||
| 139 | } | ||
| 126 | }, | 140 | }, |
| 127 | //再次打印 | 141 | //再次打印 |
| 128 | openInvalidDiglog (item) { | 142 | openInvalidDiglog (item) { | ... | ... |
src/views/workflow/components/zsdy.vue
0 → 100644
| 1 | <template> | ||
| 2 | <div class="from-clues"> | ||
| 3 | <div class="middle_padding"> | ||
| 4 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> | ||
| 5 | <el-form-item label="印刷序列号:" prop="ysxlh"> | ||
| 6 | <el-select v-model="ruleForm.ysxlh" placeholder="请选择"> | ||
| 7 | <el-option | ||
| 8 | v-for="item in ysxlh" | ||
| 9 | :key="item.ysxlh" | ||
| 10 | :label="item.ysxlh" | ||
| 11 | :value="item.ysxlh"> | ||
| 12 | </el-option> | ||
| 13 | </el-select> | ||
| 14 | </el-form-item> | ||
| 15 | </el-form> | ||
| 16 | </div> | ||
| 17 | <div class="aaaa">{{bdcqz.bdcqzlx == '1' ? '不动产权证书' : '不动产权证明'}}</div> | ||
| 18 | <div class="zsyl-box"> | ||
| 19 | <div class="zsyl-left"> | ||
| 20 | <div class="zsyl-title"> | ||
| 21 | <span v-if="bdcqz.bdcqzh">{{bdcqz.bdcqzh}}</span> | ||
| 22 | <span v-else>____( )________不动产权第 号</span> | ||
| 23 | </div> | ||
| 24 | <table class="table-column"> | ||
| 25 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
| 26 | <td> | ||
| 27 | <span>{{ item.label }}</span> | ||
| 28 | </td> | ||
| 29 | <td> | ||
| 30 | <span> | ||
| 31 | {{ getRowValue(item.prop) }} | ||
| 32 | </span> | ||
| 33 | </td> | ||
| 34 | </tr> | ||
| 35 | </table> | ||
| 36 | </div> | ||
| 37 | <div class="zsyl-right"> | ||
| 38 | <div class="zsyl-title">附记</div> | ||
| 39 | <div class="zsyl-text"></div> | ||
| 40 | </div> | ||
| 41 | </div> | ||
| 42 | </div> | ||
| 43 | </template> | ||
| 44 | |||
| 45 | <script> | ||
| 46 | import { datas } from "../javascript/zsyl.js"; | ||
| 47 | import { readYsxlh,certificate,getSlsqBdcqzList} from "@/api/fqsq.js" | ||
| 48 | export default { | ||
| 49 | components: { | ||
| 50 | }, | ||
| 51 | props: { | ||
| 52 | formData: { | ||
| 53 | type: Object, | ||
| 54 | default: {} | ||
| 55 | } | ||
| 56 | }, | ||
| 57 | data () { | ||
| 58 | return { | ||
| 59 | //印刷序列号集合 | ||
| 60 | ysxlh: [], | ||
| 61 | //列名称对象 | ||
| 62 | columns: [], | ||
| 63 | //选择的不动产权证文件 | ||
| 64 | bdcqz: '', | ||
| 65 | ruleForm: { | ||
| 66 | bsmBdcqz: '', | ||
| 67 | szmc: '不动产权证书', | ||
| 68 | bdcqzlx: '', | ||
| 69 | szzh: '', | ||
| 70 | ysxlh: '', | ||
| 71 | }, | ||
| 72 | rules: { | ||
| 73 | ysxlh: [ | ||
| 74 | { required: true, message: '请选择印刷序列号', trigger: 'change' } | ||
| 75 | ], | ||
| 76 | }, | ||
| 77 | } | ||
| 78 | }, | ||
| 79 | mounted(){ | ||
| 80 | }, | ||
| 81 | created() { | ||
| 82 | this.columns = datas.columns(); | ||
| 83 | this.bdcqz = this.formData.bdcqz | ||
| 84 | this.ysxlhList(); | ||
| 85 | }, | ||
| 86 | methods: { | ||
| 87 | //获取印刷序列号列表 | ||
| 88 | ysxlhList() { | ||
| 89 | readYsxlh({zslx:this.bdcqz.bdcqzlx}).then(res => { | ||
| 90 | if (res.code === 200) { | ||
| 91 | this.ysxlh = res.result | ||
| 92 | } | ||
| 93 | }) | ||
| 94 | }, | ||
| 95 | //获取证书内容 | ||
| 96 | getRowValue(code){ | ||
| 97 | var value = this.bdcqz[code] | ||
| 98 | if(code == 'gyqk'){ | ||
| 99 | switch(value){ | ||
| 100 | case '1': | ||
| 101 | return '单独所有'; | ||
| 102 | case '2': | ||
| 103 | return '共同共有'; | ||
| 104 | case '3': | ||
| 105 | return '按份所有'; | ||
| 106 | } | ||
| 107 | } | ||
| 108 | return value; | ||
| 109 | }, | ||
| 110 | //打印证书 | ||
| 111 | childFn() { | ||
| 112 | this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz | ||
| 113 | this.ruleForm.bdcqzlx = this.bdcqz.bdcqzlx | ||
| 114 | this.ruleForm.szzh = this.bdcqz.bdcqzh | ||
| 115 | certificate(this.ruleForm).then(res => { | ||
| 116 | if (res.code === 200) { | ||
| 117 | this.$message.success('打印成功'); | ||
| 118 | }else{ | ||
| 119 | this.$message.error(res.message); | ||
| 120 | } | ||
| 121 | }) | ||
| 122 | }, | ||
| 123 | } | ||
| 124 | } | ||
| 125 | </script> | ||
| 126 | <style scoped lang="scss"> | ||
| 127 | @import "~@/styles/mixin.scss"; | ||
| 128 | .zsyl-box{ | ||
| 129 | display: flex; | ||
| 130 | justify-content: space-between; | ||
| 131 | padding: 20px; | ||
| 132 | background: #FAFBE5; | ||
| 133 | .zsyl-left{ | ||
| 134 | width: 330px; | ||
| 135 | .zsyl-title{ | ||
| 136 | font-size: 18px; | ||
| 137 | text-align: center; | ||
| 138 | } | ||
| 139 | } | ||
| 140 | .zsyl-right{ | ||
| 141 | width: 330px; | ||
| 142 | .zsyl-title{ | ||
| 143 | letter-spacing: 50px; | ||
| 144 | text-align: center; | ||
| 145 | text-indent: 50px; | ||
| 146 | } | ||
| 147 | .zsyl-text{ | ||
| 148 | border: 1px solid #ccc; | ||
| 149 | height: 90%; | ||
| 150 | } | ||
| 151 | } | ||
| 152 | .zsyl-title{ | ||
| 153 | margin-bottom: 12px; | ||
| 154 | } | ||
| 155 | /deep/.el-table__row{ | ||
| 156 | background: #FAFBE5!important; | ||
| 157 | } | ||
| 158 | } | ||
| 159 | .middle_padding { | ||
| 160 | padding-bottom: 10px; | ||
| 161 | } | ||
| 162 | .zsyl-button{ | ||
| 163 | text-align: center; | ||
| 164 | margin-top: 20px; | ||
| 165 | .operation_button{ | ||
| 166 | width: 100px; | ||
| 167 | border: 1px solid rgb(0,121,254); | ||
| 168 | } | ||
| 169 | .dy-button { | ||
| 170 | color: white; | ||
| 171 | background-color: rgb(0,121,254); | ||
| 172 | } | ||
| 173 | } | ||
| 174 | .table-column { | ||
| 175 | border-spacing: 1px; | ||
| 176 | width: 100%; | ||
| 177 | tr td { | ||
| 178 | border: 1px solid #ccc; | ||
| 179 | text-align: center; | ||
| 180 | height: 40px; | ||
| 181 | padding: 4px; | ||
| 182 | font-size: 13px; | ||
| 183 | background: rgb(251,249,229); | ||
| 184 | } | ||
| 185 | } | ||
| 186 | .aaaa{ | ||
| 187 | background: #FAFBE5; | ||
| 188 | text-align: center; | ||
| 189 | padding-top: 10px; | ||
| 190 | font-size: 20px; | ||
| 191 | } | ||
| 192 | </style> |
| ... | @@ -4,20 +4,6 @@ | ... | @@ -4,20 +4,6 @@ |
| 4 | <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1"> | 4 | <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1"> |
| 5 | <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz" v-for="(item,index) in headTabBdcqz" :key="index"></el-tab-pane> | 5 | <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz" v-for="(item,index) in headTabBdcqz" :key="index"></el-tab-pane> |
| 6 | </el-tabs> | 6 | </el-tabs> |
| 7 | <div class="middle_padding" v-if="isToPrint"> | ||
| 8 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> | ||
| 9 | <el-form-item label="印刷序列号:" prop="ysxlh"> | ||
| 10 | <el-select v-model="ruleForm.ysxlh" placeholder="请选择"> | ||
| 11 | <el-option | ||
| 12 | v-for="item in ysxlh" | ||
| 13 | :key="item.ysxlh" | ||
| 14 | :label="item.ysxlh" | ||
| 15 | :value="item.ysxlh"> | ||
| 16 | </el-option> | ||
| 17 | </el-select> | ||
| 18 | </el-form-item> | ||
| 19 | </el-form> | ||
| 20 | </div> | ||
| 21 | <div class="aaaa">{{bdcqz.bdcqzlx == '1' ? '不动产权证书' : '不动产权证明'}}</div> | 7 | <div class="aaaa">{{bdcqz.bdcqzlx == '1' ? '不动产权证书' : '不动产权证明'}}</div> |
| 22 | <div class="zsyl-box"> | 8 | <div class="zsyl-box"> |
| 23 | <div class="zsyl-left"> | 9 | <div class="zsyl-left"> |
| ... | @@ -79,11 +65,6 @@ export default { | ... | @@ -79,11 +65,6 @@ export default { |
| 79 | szzh: '', | 65 | szzh: '', |
| 80 | ysxlh: '', | 66 | ysxlh: '', |
| 81 | }, | 67 | }, |
| 82 | rules: { | ||
| 83 | ysxlh: [ | ||
| 84 | { required: true, message: '请选择印刷序列号', trigger: 'change' } | ||
| 85 | ], | ||
| 86 | }, | ||
| 87 | } | 68 | } |
| 88 | }, | 69 | }, |
| 89 | mounted(){ | 70 | mounted(){ |
| ... | @@ -93,24 +74,12 @@ export default { | ... | @@ -93,24 +74,12 @@ export default { |
| 93 | if(this.formData.bdcqz){ | 74 | if(this.formData.bdcqz){ |
| 94 | //从缮证进入 | 75 | //从缮证进入 |
| 95 | this.bdcqz = this.formData.bdcqz | 76 | this.bdcqz = this.formData.bdcqz |
| 96 | if(this.formData.entryType == 2){ | ||
| 97 | this.ysxlhList(); | ||
| 98 | } | ||
| 99 | }else{ | 77 | }else{ |
| 100 | //从按钮进入 | 78 | //从按钮进入 |
| 101 | this.getHeadTabBdcqz(); | 79 | this.getHeadTabBdcqz(); |
| 102 | } | 80 | } |
| 103 | }, | 81 | }, |
| 104 | methods: { | 82 | methods: { |
| 105 | //获取印刷序列号列表 | ||
| 106 | ysxlhList() { | ||
| 107 | this.isToPrint = true; | ||
| 108 | readYsxlh({zslx:this.bdcqz.bdcqzlx}).then(res => { | ||
| 109 | if (res.code === 200) { | ||
| 110 | this.ysxlh = res.result | ||
| 111 | } | ||
| 112 | }) | ||
| 113 | }, | ||
| 114 | //获取证书内容 | 83 | //获取证书内容 |
| 115 | getRowValue(code){ | 84 | getRowValue(code){ |
| 116 | var value = this.bdcqz[code] | 85 | var value = this.bdcqz[code] |
| ... | @@ -143,20 +112,7 @@ export default { | ... | @@ -143,20 +112,7 @@ export default { |
| 143 | handleClick(e){ | 112 | handleClick(e){ |
| 144 | this.bdcqz = this.headTabBdcqz[e.index - 0] | 113 | this.bdcqz = this.headTabBdcqz[e.index - 0] |
| 145 | this.activeName = this.headTabBdcqz.bsmBdcqz | 114 | this.activeName = this.headTabBdcqz.bsmBdcqz |
| 146 | }, | 115 | } |
| 147 | //打印证书 | ||
| 148 | printCertificate() { | ||
| 149 | this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz | ||
| 150 | this.ruleForm.bdcqzlx = this.bdcqz.bdcqzlx | ||
| 151 | this.ruleForm.szzh = this.bdcqz.bdcqzh | ||
| 152 | certificate(this.ruleForm).then(res => { | ||
| 153 | if (res.code === 200) { | ||
| 154 | this.$message.success('打印成功'); | ||
| 155 | }else{ | ||
| 156 | this.$message.error(res.message); | ||
| 157 | } | ||
| 158 | }) | ||
| 159 | }, | ||
| 160 | } | 116 | } |
| 161 | } | 117 | } |
| 162 | </script> | 118 | </script> | ... | ... |
| ... | @@ -11,12 +11,21 @@ export function getForm(tabName, djywbm) { | ... | @@ -11,12 +11,21 @@ export function getForm(tabName, djywbm) { |
| 11 | case "jsydsyqslxx300": | 11 | case "jsydsyqslxx300": |
| 12 | form = require("@/views/ywbl/jsydsyq/slxx300.vue"); | 12 | form = require("@/views/ywbl/jsydsyq/slxx300.vue"); |
| 13 | break; | 13 | break; |
| 14 | case "fdcq2Slxx": | 14 | case "fwsyqslxx100": |
| 15 | form = require("@/views/ywbl/fdcq2/slxx.vue"); | ||
| 16 | break; | ||
| 17 | case "fwsyqslxx200": | ||
| 15 | form = require("@/views/ywbl/fdcq2/slxx200.vue"); | 18 | form = require("@/views/ywbl/fdcq2/slxx200.vue"); |
| 16 | break; | 19 | break; |
| 17 | case "slxxCfdj": | 20 | case "fwsyqslxx300": |
| 18 | form = require("@/views/ywbl/cfdj/slxx.vue"); | 21 | form = require("@/views/ywbl/fdcq2/slxx300.vue"); |
| 22 | break; | ||
| 23 | case "tdslxxCfdj": | ||
| 24 | form = require("@/views/ywbl/cfdj/tdslxx.vue"); | ||
| 19 | break; | 25 | break; |
| 26 | case "fwslxxCfdj": | ||
| 27 | form = require("@/views/ywbl/cfdj/fwslxx.vue"); | ||
| 28 | break; | ||
| 20 | case "clxx": | 29 | case "clxx": |
| 21 | form = require("@/views/workflow/components/clxx.vue"); | 30 | form = require("@/views/workflow/components/clxx.vue"); |
| 22 | break; | 31 | break; |
| ... | @@ -26,6 +35,9 @@ export function getForm(tabName, djywbm) { | ... | @@ -26,6 +35,9 @@ export function getForm(tabName, djywbm) { |
| 26 | case "zdjbxx": | 35 | case "zdjbxx": |
| 27 | form = require("@/views/registerBook/zdjbxx.vue"); | 36 | form = require("@/views/registerBook/zdjbxx.vue"); |
| 28 | break; | 37 | break; |
| 38 | case "cfdjxx": | ||
| 39 | form = require("@/views/registerBook/cfdj.vue"); | ||
| 40 | break; | ||
| 29 | case "qlxx": | 41 | case "qlxx": |
| 30 | form = require("@/views/registerBook/jsydsyq.vue"); | 42 | form = require("@/views/registerBook/jsydsyq.vue"); |
| 31 | break; | 43 | break; | ... | ... |
| ... | @@ -77,6 +77,7 @@ import { | ... | @@ -77,6 +77,7 @@ import { |
| 77 | record, | 77 | record, |
| 78 | getNextLinkInfo, | 78 | getNextLinkInfo, |
| 79 | completeTask, | 79 | completeTask, |
| 80 | getStepFormInfo, | ||
| 80 | } from "@/api/fqsq.js"; | 81 | } from "@/api/fqsq.js"; |
| 81 | import { mapGetters } from "vuex" | 82 | import { mapGetters } from "vuex" |
| 82 | import { deleteBdcdy } from "@/api/ywbl.js"; | 83 | import { deleteBdcdy } from "@/api/ywbl.js"; |
| ... | @@ -200,19 +201,19 @@ export default { | ... | @@ -200,19 +201,19 @@ export default { |
| 200 | if (res.code === 200) { | 201 | if (res.code === 200) { |
| 201 | this.leftButtonList = res.result.button; | 202 | this.leftButtonList = res.result.button; |
| 202 | this.rightButtonList = res.result.operation; | 203 | this.rightButtonList = res.result.operation; |
| 203 | this.tabList = res.result.form; | 204 | //this.tabList = res.result.form; |
| 204 | //默认选择第一个选项卡内容 | 205 | //默认选择第一个选项卡内容 |
| 205 | this.tabName = res.result.form[0].value; | 206 | // this.tabName = res.result.form[0].value; |
| 206 | let that = this; | 207 | // let that = this; |
| 207 | this.tabList.forEach(function (item, index) { | 208 | // this.tabList.forEach(function (item, index) { |
| 208 | if (item.value == "clxx") { | 209 | // if (item.value == "clxx") { |
| 209 | that.clxxIndex = index; | 210 | // that.clxxIndex = index; |
| 210 | that.clxxForm = getForm(item.value, that.$route.query.sqywbm); | 211 | // that.clxxForm = getForm(item.value, that.$route.query.sqywbm); |
| 211 | that.clxxTab = item; | 212 | // that.clxxTab = item; |
| 212 | } | 213 | // } |
| 213 | }); | 214 | // }); |
| 214 | //默认加载第一个选项卡的组件内容 | 215 | // //默认加载第一个选项卡的组件内容 |
| 215 | this.getFromRouter(res.result.form[0].value); | 216 | // this.getFromRouter(res.result.form[0].value); |
| 216 | } | 217 | } |
| 217 | }); | 218 | }); |
| 218 | }, | 219 | }, |
| ... | @@ -394,15 +395,34 @@ export default { | ... | @@ -394,15 +395,34 @@ export default { |
| 394 | if (res.code === 200) { | 395 | if (res.code === 200) { |
| 395 | this.unitData = res.result; | 396 | this.unitData = res.result; |
| 396 | this.currentSelectProps = res.result[0]; | 397 | this.currentSelectProps = res.result[0]; |
| 398 | this.unitClick(0); | ||
| 397 | } | 399 | } |
| 398 | }); | 400 | }); |
| 399 | }, | 401 | }, |
| 400 | //申请单元点击事件 | 402 | //申请单元点击事件 |
| 401 | unitClick (index) { | 403 | unitClick (index) { |
| 402 | if (this.currentSelectProps.bsmSldy != this.unitData[index].bsmSldy) { | 404 | this.currentSelectProps = this.unitData[index]; |
| 403 | this.currentSelectProps = this.unitData[index]; | 405 | getStepFormInfo(this.unitData[index]).then((res) => { |
| 404 | this.fresh += 1; | 406 | if (res.code === 200) { |
| 405 | } | 407 | //获取单元对应的所有表单信息 |
| 408 | this.tabList = res.result; | ||
| 409 | //默认加载第一个表单信息 | ||
| 410 | this.tabName = res.result[0].value; | ||
| 411 | //处理分屏材料信息 | ||
| 412 | let that = this; | ||
| 413 | this.tabList.forEach(function (item, index) { | ||
| 414 | if (item.value == "clxx") { | ||
| 415 | that.clxxIndex = index; | ||
| 416 | that.clxxForm = getForm(item.value, that.$route.query.sqywbm); | ||
| 417 | that.clxxTab = item; | ||
| 418 | } | ||
| 419 | }); | ||
| 420 | } | ||
| 421 | }); | ||
| 422 | // if (this.currentSelectProps.bsmSldy != this.unitData[index].bsmSldy) { | ||
| 423 | // this.currentSelectProps = this.unitData[index]; | ||
| 424 | // this.fresh += 1; | ||
| 425 | // } | ||
| 406 | }, | 426 | }, |
| 407 | //表单选项卡事件 | 427 | //表单选项卡事件 |
| 408 | beforeLeave (activeName, oldActiveName) { | 428 | beforeLeave (activeName, oldActiveName) { | ... | ... |
src/views/ywbl/cfdj/fwslxx.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/ywbl/cfdj/slxx.vue
deleted
100644 → 0
| 1 | <template> | ||
| 2 | <div class="slxx"> | ||
| 3 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag" | ||
| 4 | label-width="120px"> | ||
| 5 | <div class="slxx_con"> | ||
| 6 | <div class="slxx_title">受理信息</div> | ||
| 7 | <el-row :gutter="10"> | ||
| 8 | <el-col :span="8"> | ||
| 9 | <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:" prop="ywh"> | ||
| 10 | <el-input disabled v-model="ruleForm.ywh"></el-input> | ||
| 11 | </el-form-item> | ||
| 12 | </el-col> | ||
| 13 | <el-col :span="8"> | ||
| 14 | <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:" prop="slry"> | ||
| 15 | <el-input disabled v-model="ruleForm.slry"></el-input> | ||
| 16 | </el-form-item> | ||
| 17 | </el-col> | ||
| 18 | <el-col :span="8"> | ||
| 19 | <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:" prop="slsj"> | ||
| 20 | <el-input disabled v-model="ruleForm.slsj"></el-input> | ||
| 21 | </el-form-item> | ||
| 22 | </el-col> | ||
| 23 | </el-row> | ||
| 24 | <el-row :gutter="10"> | ||
| 25 | <el-col :span="8"> | ||
| 26 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="qllx"> | ||
| 27 | <el-select disabled v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型"> | ||
| 28 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
| 29 | </el-option> | ||
| 30 | </el-select> | ||
| 31 | </el-form-item> | ||
| 32 | </el-col> | ||
| 33 | <el-col :span="8"> | ||
| 34 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="djlx"> | ||
| 35 | <el-select disabled v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型"> | ||
| 36 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
| 37 | </el-option> | ||
| 38 | </el-select> | ||
| 39 | </el-form-item> | ||
| 40 | </el-col> | ||
| 41 | <el-col :span="8"> | ||
| 42 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="djqx"> | ||
| 43 | <el-input disabled v-model="ruleForm.djqxmc"></el-input> | ||
| 44 | </el-form-item> | ||
| 45 | </el-col> | ||
| 46 | </el-row> | ||
| 47 | <div class="slxx_title">查封不动产情况</div> | ||
| 48 | <el-row :gutter="10"> | ||
| 49 | <el-col :span="8"> | ||
| 50 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="bdcqzh"> | ||
| 51 | <el-input disabled v-model="ruleForm.bdcqzh"></el-input> | ||
| 52 | </el-form-item> | ||
| 53 | </el-col> | ||
| 54 | <el-col :span="8"> | ||
| 55 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="bdcdyh"> | ||
| 56 | <el-input disabled v-model="ruleForm.bdcdyh"></el-input> | ||
| 57 | </el-form-item> | ||
| 58 | </el-col> | ||
| 59 | <el-col :span="8"> | ||
| 60 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlrmc"> | ||
| 61 | <el-input disabled v-model="ruleForm.qlrmc"></el-input> | ||
| 62 | </el-form-item> | ||
| 63 | </el-col> | ||
| 64 | </el-row> | ||
| 65 | <el-row :gutter="10"> | ||
| 66 | <el-col :span="8"> | ||
| 67 | <el-form-item :class="flag ? 'marginBot0' : ''" label="面积:" prop="mj"> | ||
| 68 | <el-input disabled v-model="ruleForm.mj"></el-input> | ||
| 69 | </el-form-item> | ||
| 70 | </el-col> | ||
| 71 | <el-col :span="8"> | ||
| 72 | <el-form-item :class="flag ? 'marginBot0' : ''" label="用途:" prop="ytmc"> | ||
| 73 | <el-input disabled v-model="ruleForm.ytmc"></el-input> | ||
| 74 | </el-form-item> | ||
| 75 | </el-col> | ||
| 76 | </el-row> | ||
| 77 | <div class="slxx_title">不动产权利人信息</div> | ||
| 78 | <!-- <el-row :gutter="10"> | ||
| 79 | <el-col :span="14"> | ||
| 80 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | ||
| 81 | <el-radio-group v-model="ruleForm.gyfs"> | ||
| 82 | <el-radio label="1">单独所有</el-radio> | ||
| 83 | <el-radio label="2">共同共有</el-radio> | ||
| 84 | <el-radio label="3">按份所有</el-radio> | ||
| 85 | </el-radio-group> | ||
| 86 | </el-form-item> | ||
| 87 | </el-col> | ||
| 88 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> | ||
| 89 | <el-form-item | ||
| 90 | :class="flag ? 'marginBot0' : ''" | ||
| 91 | label="是否分别持证:" | ||
| 92 | > | ||
| 93 | <el-radio-group v-model="ruleForm.sffbcz"> | ||
| 94 | <el-radio label="1">是</el-radio> | ||
| 95 | <el-radio label="0">否</el-radio> | ||
| 96 | </el-radio-group> | ||
| 97 | </el-form-item> | ||
| 98 | </el-col> | ||
| 99 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> | ||
| 100 | <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:"> | ||
| 101 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | ||
| 102 | <el-option | ||
| 103 | v-for="item in czrOptions" | ||
| 104 | :key="item.value" | ||
| 105 | :label="item.label" | ||
| 106 | :value="item.value" | ||
| 107 | > | ||
| 108 | </el-option> | ||
| 109 | </el-select> | ||
| 110 | </el-form-item> | ||
| 111 | </el-col> | ||
| 112 | </el-row> --> | ||
| 113 | <!-- <InformationTable :tableData="ruleForm.qlrxx" :gyfs="ruleForm.gyfs" /> --> | ||
| 114 | <div class="slxx_title">登记原因</div> | ||
| 115 | <el-row :gutter="10"> | ||
| 116 | <el-col> | ||
| 117 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | ||
| 118 | <el-input class="textArea" type="textarea" v-model="ruleForm.djyy"></el-input> | ||
| 119 | </el-form-item> | ||
| 120 | </el-col> | ||
| 121 | </el-row> | ||
| 122 | </div> | ||
| 123 | <el-row> | ||
| 124 | <el-form-item :class="flag ? 'marginBot0' : ''" class="btn"> | ||
| 125 | <el-button type="primary" @click="onSubmit">保存</el-button> | ||
| 126 | </el-form-item> | ||
| 127 | </el-row> | ||
| 128 | </el-form> | ||
| 129 | </div> | ||
| 130 | </template> | ||
| 131 | <script> | ||
| 132 | import InformationTable from "@/views/workflow/components/InformationTable"; | ||
| 133 | import { Init, fristReg } from "@/api/cfdjFlow.js"; | ||
| 134 | import { mapGetters } from "vuex"; | ||
| 135 | export default { | ||
| 136 | data () { | ||
| 137 | return { | ||
| 138 | disabled: true, | ||
| 139 | flagTop: this.flag ? "top" : "", | ||
| 140 | tdytOption: [], | ||
| 141 | qlsdfsOption: [], | ||
| 142 | czrOptions: [], | ||
| 143 | ruleForm: { | ||
| 144 | ywh: "", | ||
| 145 | slry: "", | ||
| 146 | slsj: "", | ||
| 147 | qllx: "", | ||
| 148 | djlx: "", | ||
| 149 | djqx: "", | ||
| 150 | zddm: "", | ||
| 151 | bdcdyh: "", | ||
| 152 | qlxzmc: "", | ||
| 153 | qlrxx: [], | ||
| 154 | zdmj: "", | ||
| 155 | zl: "", | ||
| 156 | tdyt: "", | ||
| 157 | qlsdfs: "", | ||
| 158 | qdjg: "", | ||
| 159 | tdsyqx: "", | ||
| 160 | syqqzsj: "", | ||
| 161 | fj: "", | ||
| 162 | djyy: "", | ||
| 163 | gyfs: "1", | ||
| 164 | // 是否分别持证 | ||
| 165 | sffbcz: "", | ||
| 166 | // 持证人 | ||
| 167 | czr: "", | ||
| 168 | }, | ||
| 169 | rules: {}, | ||
| 170 | //传递参数 | ||
| 171 | propsParam: {}, | ||
| 172 | }; | ||
| 173 | }, | ||
| 174 | created () { | ||
| 175 | // console.log(1111111111111111); | ||
| 176 | this.propsParam = this.$attrs; | ||
| 177 | var formdata = new FormData(); | ||
| 178 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | ||
| 179 | Init(formdata).then((res) => { | ||
| 180 | if (res.code === 200 && res.result) { | ||
| 181 | this.ruleForm = { | ||
| 182 | ...res.result, | ||
| 183 | ...res.result.qlxxdatas, | ||
| 184 | ...res.result.djQlxxCfdjDo, | ||
| 185 | }; | ||
| 186 | } | ||
| 187 | }); | ||
| 188 | }, | ||
| 189 | watch: { | ||
| 190 | |||
| 191 | }, | ||
| 192 | components: { InformationTable }, | ||
| 193 | props: { | ||
| 194 | flag: { | ||
| 195 | type: Boolean, | ||
| 196 | default: false, | ||
| 197 | }, | ||
| 198 | fetch: { | ||
| 199 | type: Boolean, | ||
| 200 | default: false, | ||
| 201 | }, | ||
| 202 | }, | ||
| 203 | computed: { | ||
| 204 | ...mapGetters(["dictData"]), | ||
| 205 | }, | ||
| 206 | |||
| 207 | methods: { | ||
| 208 | list (bsmSldy) { | ||
| 209 | var formdata = new FormData(); | ||
| 210 | formdata.append("bsmSldy", bsmSldy); | ||
| 211 | Init(formdata).then((res) => { | ||
| 212 | if (res.code === 200 && res.result) { | ||
| 213 | this.ruleForm = { | ||
| 214 | ...res.result, | ||
| 215 | ...res.result.zdjbxxdatas, | ||
| 216 | ...res.result.qlxxdatas, | ||
| 217 | ...res.result.jsydsyqdatas, | ||
| 218 | }; | ||
| 219 | } | ||
| 220 | }); | ||
| 221 | }, | ||
| 222 | onSubmit () { | ||
| 223 | fristReg(this.ruleForm).then((res) => { | ||
| 224 | if (res.code === 200 && res.result) { | ||
| 225 | console.log(res); | ||
| 226 | //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } | ||
| 227 | } | ||
| 228 | }); | ||
| 229 | }, | ||
| 230 | }, | ||
| 231 | }; | ||
| 232 | </script> | ||
| 233 | <style scoped lang='scss'> | ||
| 234 | @import "~@/styles/public.scss"; | ||
| 235 | |||
| 236 | /deep/.el-form-item__label { | ||
| 237 | padding: 0; | ||
| 238 | } | ||
| 239 | |||
| 240 | /deep/.el-radio { | ||
| 241 | margin-right: 10px; | ||
| 242 | } | ||
| 243 | |||
| 244 | /deep/.el-select { | ||
| 245 | width: 100%; | ||
| 246 | } | ||
| 247 | |||
| 248 | /deep/.el-form-item { | ||
| 249 | margin-bottom: 8px; | ||
| 250 | } | ||
| 251 | |||
| 252 | .marginBot0 { | ||
| 253 | margin-bottom: 0 !important; | ||
| 254 | } | ||
| 255 | |||
| 256 | .slxx { | ||
| 257 | box-sizing: border-box; | ||
| 258 | } | ||
| 259 | |||
| 260 | .slxx_con { | ||
| 261 | overflow-y: auto; | ||
| 262 | overflow-x: hidden; | ||
| 263 | } | ||
| 264 | |||
| 265 | .submit_btn { | ||
| 266 | height: 50px; | ||
| 267 | } | ||
| 268 | |||
| 269 | .slxx_title { | ||
| 270 | border-bottom: 1px solid $borderColor; | ||
| 271 | padding-left: 10px; | ||
| 272 | padding-bottom: 5px; | ||
| 273 | margin-bottom: 10px; | ||
| 274 | margin-top: 5px; | ||
| 275 | font-size: 16px; | ||
| 276 | font-weight: 500; | ||
| 277 | color: #4a4a4a; | ||
| 278 | } | ||
| 279 | |||
| 280 | .btn { | ||
| 281 | text-align: center; | ||
| 282 | padding-top: 5px; | ||
| 283 | } | ||
| 284 | |||
| 285 | .textArea { | ||
| 286 | /deep/.el-textarea__inner { | ||
| 287 | min-height: 90px !important; | ||
| 288 | } | ||
| 289 | } | ||
| 290 | |||
| 291 | /deep/.el-form-item__label { | ||
| 292 | padding-bottom: 0px; | ||
| 293 | } | ||
| 294 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
src/views/ywbl/cfdj/tdslxx.vue
0 → 100644
This diff is collapsed.
Click to expand it.
| ... | @@ -133,7 +133,7 @@ | ... | @@ -133,7 +133,7 @@ |
| 133 | <el-row :gutter="10"> | 133 | <el-row :gutter="10"> |
| 134 | <el-col :span="14" v-if="ruleForm.qlxx"> | 134 | <el-col :span="14" v-if="ruleForm.qlxx"> |
| 135 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 135 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
| 136 | <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.qlxx.gyfs"> | 136 | <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> |
| 137 | <el-radio label="1">单独所有</el-radio> | 137 | <el-radio label="1">单独所有</el-radio> |
| 138 | <el-radio label="2">共同共有</el-radio> | 138 | <el-radio label="2">共同共有</el-radio> |
| 139 | <el-radio label="3">按份所有</el-radio> | 139 | <el-radio label="3">按份所有</el-radio> |
| ... | @@ -160,6 +160,12 @@ | ... | @@ -160,6 +160,12 @@ |
| 160 | <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" | 160 | <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" |
| 161 | :gyfs="ruleForm.qlxx.gyfs" /> | 161 | :gyfs="ruleForm.qlxx.gyfs" /> |
| 162 | <div class="slxx_title title-block"> | 162 | <div class="slxx_title title-block"> |
| 163 | 义务人信息 | ||
| 164 | <div class="triangle"></div> | ||
| 165 | </div> | ||
| 166 | <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" | ||
| 167 | :gyfs="ruleForm.qlxx.gyfs" /> | ||
| 168 | <div class="slxx_title title-block"> | ||
| 163 | 登记原因 | 169 | 登记原因 |
| 164 | <div class="triangle"></div> | 170 | <div class="triangle"></div> |
| 165 | </div> | 171 | </div> |
| ... | @@ -221,7 +227,11 @@ export default { | ... | @@ -221,7 +227,11 @@ export default { |
| 221 | methods: { | 227 | methods: { |
| 222 | // 更新权利人信息 | 228 | // 更新权利人信息 |
| 223 | upDateQlrxxList (val) { | 229 | upDateQlrxxList (val) { |
| 224 | this.ruleForm.qlrxx = val | 230 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 231 | }, | ||
| 232 | // 更新权利人信息 | ||
| 233 | upDateYwrxxList (val) { | ||
| 234 | this.ruleForm.ywrList = _.cloneDeep(val); | ||
| 225 | }, | 235 | }, |
| 226 | list (bsmSldy) { | 236 | list (bsmSldy) { |
| 227 | var formdata = new FormData(); | 237 | var formdata = new FormData(); |
| ... | @@ -324,4 +334,4 @@ export default { | ... | @@ -324,4 +334,4 @@ export default { |
| 324 | /deep/.el-form-item__label { | 334 | /deep/.el-form-item__label { |
| 325 | padding-bottom: 0px; | 335 | padding-bottom: 0px; |
| 326 | } | 336 | } |
| 327 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 337 | </style> | ... | ... |
| ... | @@ -11,40 +11,34 @@ | ... | @@ -11,40 +11,34 @@ |
| 11 | <el-row :gutter="10"> | 11 | <el-row :gutter="10"> |
| 12 | <el-col :span="8"> | 12 | <el-col :span="8"> |
| 13 | <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:"> | 13 | <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:"> |
| 14 | <el-input disabled v-model="ruleForm.ywh"></el-input> | 14 | <el-input disabled v-model="ruleForm.slywxx.ywh"></el-input> |
| 15 | </el-form-item> | 15 | </el-form-item> |
| 16 | </el-col> | 16 | </el-col> |
| 17 | <el-col :span="8"> | 17 | <el-col :span="8"> |
| 18 | <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:"> | 18 | <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:"> |
| 19 | <el-input disabled v-model="ruleForm.slry"></el-input> | 19 | <el-input disabled v-model="ruleForm.slywxx.slry"></el-input> |
| 20 | </el-form-item> | 20 | </el-form-item> |
| 21 | </el-col> | 21 | </el-col> |
| 22 | <el-col :span="8"> | 22 | <el-col :span="8"> |
| 23 | <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:"> | 23 | <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:"> |
| 24 | <el-input disabled v-model="ruleForm.slsj"></el-input> | 24 | <el-input disabled v-model="ruleForm.slywxx.slsj"></el-input> |
| 25 | </el-form-item> | 25 | </el-form-item> |
| 26 | </el-col> | 26 | </el-col> |
| 27 | </el-row> | 27 | </el-row> |
| 28 | <el-row :gutter="10"> | 28 | <el-row :gutter="10"> |
| 29 | <el-col :span="8"> | 29 | <el-col :span="8"> |
| 30 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:"> | 30 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:"> |
| 31 | <el-select disabled v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型"> | 31 | <el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input> |
| 32 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
| 33 | </el-option> | ||
| 34 | </el-select> | ||
| 35 | </el-form-item> | 32 | </el-form-item> |
| 36 | </el-col> | 33 | </el-col> |
| 37 | <el-col :span="8"> | 34 | <el-col :span="8"> |
| 38 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:"> | 35 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:"> |
| 39 | <el-select disabled v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型"> | 36 | <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input> |
| 40 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
| 41 | </el-option> | ||
| 42 | </el-select> | ||
| 43 | </el-form-item> | 37 | </el-form-item> |
| 44 | </el-col> | 38 | </el-col> |
| 45 | <el-col :span="8"> | 39 | <el-col :span="8"> |
| 46 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:"> | 40 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:"> |
| 47 | <el-input disabled v-model="ruleForm.djqxmc"></el-input> | 41 | <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input> |
| 48 | </el-form-item> | 42 | </el-form-item> |
| 49 | </el-col> | 43 | </el-col> |
| 50 | </el-row> | 44 | </el-row> |
| ... | @@ -55,67 +49,67 @@ | ... | @@ -55,67 +49,67 @@ |
| 55 | <el-row :gutter="10"> | 49 | <el-row :gutter="10"> |
| 56 | <el-col :span="8"> | 50 | <el-col :span="8"> |
| 57 | <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:"> | 51 | <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:"> |
| 58 | <el-input disabled v-model="ruleForm.zddm"></el-input> | 52 | <el-input disabled v-model="ruleForm.zdjbxx.zddm"></el-input> |
| 59 | </el-form-item> | 53 | </el-form-item> |
| 60 | </el-col> | 54 | </el-col> |
| 61 | <el-col :span="8"> | 55 | <el-col :span="8"> |
| 62 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:"> | 56 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:"> |
| 63 | <el-input disabled v-model="ruleForm.bdcdyh"></el-input> | 57 | <el-input disabled v-model="ruleForm.zdjbxx.bdcdyh"></el-input> |
| 64 | </el-form-item> | 58 | </el-form-item> |
| 65 | </el-col> | 59 | </el-col> |
| 66 | <el-col :span="8"> | 60 | <el-col :span="8"> |
| 67 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:"> | 61 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:"> |
| 68 | <el-input disabled v-model="ruleForm.qlxzmc"></el-input> | 62 | <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input> |
| 69 | </el-form-item> | 63 | </el-form-item> |
| 70 | </el-col> | 64 | </el-col> |
| 71 | </el-row> | 65 | </el-row> |
| 72 | <el-row :gutter="10"> | 66 | <el-row :gutter="10"> |
| 73 | <el-col :span="8"> | 67 | <el-col :span="8"> |
| 74 | <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:"> | 68 | <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:"> |
| 75 | <el-input disabled v-model="ruleForm.zdmj"></el-input> | 69 | <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input> |
| 76 | </el-form-item> | 70 | </el-form-item> |
| 77 | </el-col> | 71 | </el-col> |
| 78 | <el-col :span="8"> | 72 | <el-col :span="8"> |
| 79 | <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:"> | 73 | <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:"> |
| 80 | <el-input disabled v-model="ruleForm.ghytmc"></el-input> | 74 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> |
| 81 | </el-form-item> | 75 | </el-form-item> |
| 82 | </el-col> | 76 | </el-col> |
| 83 | <el-col :span="8"> | 77 | <el-col :span="8"> |
| 84 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:"> | 78 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:"> |
| 85 | <el-input disabled v-model="ruleForm.qlsdfsmc"></el-input> | 79 | <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input> |
| 86 | </el-form-item> | 80 | </el-form-item> |
| 87 | </el-col> | 81 | </el-col> |
| 88 | </el-row> | 82 | </el-row> |
| 89 | <el-row :gutter="10"> | 83 | <el-row :gutter="10"> |
| 90 | <el-col :span="8"> | 84 | <el-col :span="8"> |
| 91 | <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:"> | 85 | <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:"> |
| 92 | <el-input disabled v-model="ruleForm.qdjg"></el-input> | 86 | <el-input disabled v-model="ruleForm.jsydsyq.qdjg"></el-input> |
| 93 | </el-form-item> | 87 | </el-form-item> |
| 94 | </el-col> | 88 | </el-col> |
| 95 | 89 | ||
| 96 | <el-col :span="16"> | 90 | <el-col :span="16"> |
| 97 | <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> | 91 | <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> |
| 98 | <el-input disabled v-model="ruleForm.zl"></el-input> | 92 | <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> |
| 99 | </el-form-item> | 93 | </el-form-item> |
| 100 | </el-col> | 94 | </el-col> |
| 101 | </el-row> | 95 | </el-row> |
| 102 | <el-row :gutter="10"> | 96 | <el-row :gutter="10"> |
| 103 | <el-col :span="8"> | 97 | <el-col :span="8"> |
| 104 | <el-form-item :class="flag ? 'marginBot0' : ''" label="使用期限:"> | 98 | <el-form-item :class="flag ? 'marginBot0' : ''" label="使用期限:"> |
| 105 | <el-input disabled v-model="ruleForm.tdsyqx"></el-input> | 99 | <el-input disabled v-model="ruleForm.jsydsyq.tdsyqx"></el-input> |
| 106 | </el-form-item> | 100 | </el-form-item> |
| 107 | </el-col> | 101 | </el-col> |
| 108 | 102 | ||
| 109 | <el-col :span="16"> | 103 | <el-col :span="16"> |
| 110 | <el-form-item :class="flag ? 'marginBot0' : ''" label="使用权起止时间:"> | 104 | <el-form-item :class="flag ? 'marginBot0' : ''" label="使用权起止时间:"> |
| 111 | <el-input disabled v-model="ruleForm.syqqzsj"></el-input> | 105 | <el-input disabled v-model="ruleForm.jsydsyq.syqqzsj"></el-input> |
| 112 | </el-form-item> | 106 | </el-form-item> |
| 113 | </el-col> | 107 | </el-col> |
| 114 | </el-row> | 108 | </el-row> |
| 115 | <el-row :gutter="10"> | 109 | <el-row :gutter="10"> |
| 116 | <el-col> | 110 | <el-col> |
| 117 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> | 111 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> |
| 118 | <el-input type="textarea" v-model="ruleForm.fj" :disabled="$route.query.viewtype==1"></el-input> | 112 | <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype==1"></el-input> |
| 119 | </el-form-item> | 113 | </el-form-item> |
| 120 | </el-col> | 114 | </el-col> |
| 121 | </el-row> | 115 | </el-row> |
| ... | @@ -126,7 +120,7 @@ | ... | @@ -126,7 +120,7 @@ |
| 126 | <el-row :gutter="10"> | 120 | <el-row :gutter="10"> |
| 127 | <el-col :span="14"> | 121 | <el-col :span="14"> |
| 128 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 122 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
| 129 | <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.gyfs"> | 123 | <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> |
| 130 | <el-radio label="1">单独所有</el-radio> | 124 | <el-radio label="1">单独所有</el-radio> |
| 131 | <el-radio label="2">共同共有</el-radio> | 125 | <el-radio label="2">共同共有</el-radio> |
| 132 | <el-radio label="3">按份所有</el-radio> | 126 | <el-radio label="3">按份所有</el-radio> |
| ... | @@ -135,7 +129,7 @@ | ... | @@ -135,7 +129,7 @@ |
| 135 | </el-col> | 129 | </el-col> |
| 136 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> | 130 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> |
| 137 | <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> | 131 | <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> |
| 138 | <el-radio-group v-model="ruleForm.sffbcz"> | 132 | <el-radio-group v-model="ruleForm.slywxx.sffbcz"> |
| 139 | <el-radio label="1">是</el-radio> | 133 | <el-radio label="1">是</el-radio> |
| 140 | <el-radio label="0">否</el-radio> | 134 | <el-radio label="0">否</el-radio> |
| 141 | </el-radio-group> | 135 | </el-radio-group> |
| ... | @@ -150,8 +144,8 @@ | ... | @@ -150,8 +144,8 @@ |
| 150 | </el-form-item> | 144 | </el-form-item> |
| 151 | </el-col> | 145 | </el-col> |
| 152 | </el-row> | 146 | </el-row> |
| 153 | <InformationTable :tableData="ruleForm.qlrxx" @upDateQlrxxList="upDateQlrxxList" | 147 | <InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" |
| 154 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.gyfs" /> | 148 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> |
| 155 | <div class="slxx_title title-block"> | 149 | <div class="slxx_title title-block"> |
| 156 | 登记原因 | 150 | 登记原因 |
| 157 | <div class="triangle"></div> | 151 | <div class="triangle"></div> |
| ... | @@ -159,7 +153,7 @@ | ... | @@ -159,7 +153,7 @@ |
| 159 | <el-row :gutter="10"> | 153 | <el-row :gutter="10"> |
| 160 | <el-col> | 154 | <el-col> |
| 161 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | 155 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> |
| 162 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.djyy"> | 156 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.jsydsyq.djyy"> |
| 163 | </el-input> | 157 | </el-input> |
| 164 | </el-form-item> | 158 | </el-form-item> |
| 165 | </el-col> | 159 | </el-col> |
| ... | @@ -175,21 +169,17 @@ | ... | @@ -175,21 +169,17 @@ |
| 175 | </template> | 169 | </template> |
| 176 | <script> | 170 | <script> |
| 177 | import { mapGetters } from "vuex" | 171 | import { mapGetters } from "vuex" |
| 178 | import { Init, fristReg } from "@/api/jsydsyqFlow.js" | 172 | import { Init, saveData } from "@/api/jsydsyqFlow.js" |
| 179 | import InformationTable from "@/views/workflow/components/InformationTable" | 173 | import InformationTable from "@/views/workflow/components/InformationTable" |
| 180 | export default { | 174 | export default { |
| 181 | created () { | 175 | created () { |
| 182 | this.propsParam = this.$attrs; | 176 | this.propsParam = this.$attrs; |
| 183 | var formdata = new FormData(); | 177 | var formdata = new FormData(); |
| 184 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 178 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
| 179 | formdata.append("djlx", this.propsParam.djlx); | ||
| 185 | Init(formdata).then((res) => { | 180 | Init(formdata).then((res) => { |
| 186 | if (res.code === 200 && res.result) { | 181 | if (res.code === 200 && res.result) { |
| 187 | this.ruleForm = { | 182 | this.ruleForm = res.result; |
| 188 | ...res.result, | ||
| 189 | ...res.result.zdjbxxdatas, | ||
| 190 | ...res.result.qlxxdatas, | ||
| 191 | ...res.result.jsydsyqdatas | ||
| 192 | } | ||
| 193 | this.$store.dispatch('slxx/setQlrxxOld', { | 183 | this.$store.dispatch('slxx/setQlrxxOld', { |
| 194 | qlrxx: this.ruleForm.qlrxx, | 184 | qlrxx: this.ruleForm.qlrxx, |
| 195 | fj: this.ruleForm.fj, | 185 | fj: this.ruleForm.fj, |
| ... | @@ -252,7 +242,7 @@ export default { | ... | @@ -252,7 +242,7 @@ export default { |
| 252 | }); | 242 | }); |
| 253 | }, | 243 | }, |
| 254 | onSubmit () { | 244 | onSubmit () { |
| 255 | fristReg(this.ruleForm).then((res) => { | 245 | saveData(this.ruleForm).then((res) => { |
| 256 | if (res.code === 200 && res.result) { | 246 | if (res.code === 200 && res.result) { |
| 257 | //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } | 247 | //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } |
| 258 | } | 248 | } | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -126,6 +126,10 @@ export default { | ... | @@ -126,6 +126,10 @@ export default { |
| 126 | }); | 126 | }); |
| 127 | }, | 127 | }, |
| 128 | handleSelectionChange (val) { | 128 | handleSelectionChange (val) { |
| 129 | val.forEach((item, index) => { | ||
| 130 | item.bsmSsql = item.bsmQlxx | ||
| 131 | item.ybdcqzsh = item.bdcqzh | ||
| 132 | }) | ||
| 129 | this.bdcdysz = val | 133 | this.bdcdysz = val |
| 130 | } | 134 | } |
| 131 | }, | 135 | }, | ... | ... |
| ... | @@ -127,6 +127,10 @@ export default { | ... | @@ -127,6 +127,10 @@ export default { |
| 127 | }); | 127 | }); |
| 128 | }, | 128 | }, |
| 129 | handleSelectionChange (val) { | 129 | handleSelectionChange (val) { |
| 130 | val.forEach((item, index) => { | ||
| 131 | item.bsmSsql = item.bsmQlxx | ||
| 132 | item.ybdcqzsh = item.bdcqzh | ||
| 133 | }) | ||
| 130 | this.bdcdysz = val; | 134 | this.bdcdysz = val; |
| 131 | }, | 135 | }, |
| 132 | 136 | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> | 5 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> |
| 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="权利类型2002"> |
| 9 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型" class="width300px"> | 9 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型" class="width300px"> |
| 10 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> | 10 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> |
| 11 | </el-option> | 11 | </el-option> | ... | ... |
| ... | @@ -127,7 +127,7 @@ export default { | ... | @@ -127,7 +127,7 @@ export default { |
| 127 | })) | 127 | })) |
| 128 | if (item.sffqlc == '1') { | 128 | if (item.sffqlc == '1') { |
| 129 | this.btnDisabled = false | 129 | this.btnDisabled = false |
| 130 | Cookies.set("bsmSqyw", item.parentid) | 130 | Cookies.set("bsmSqyw", item.bsmSqyw) |
| 131 | this.djywbm = item.djywbm | 131 | this.djywbm = item.djywbm |
| 132 | } | 132 | } |
| 133 | }, | 133 | }, | ... | ... |
-
Please register or sign in to post a comment