Merge branch 'dev'
Showing
49 changed files
with
978 additions
and
464 deletions
| ... | @@ -71,12 +71,6 @@ export function leftMenubl (params) { | ... | @@ -71,12 +71,6 @@ export function leftMenubl (params) { |
| 71 | * @param {*} params | 71 | * @param {*} params |
| 72 | * @author: renchao | 72 | * @author: renchao |
| 73 | */ | 73 | */ |
| 74 | // export function getQllxByBdcdyid (params) { | ||
| 75 | // return request({ | ||
| 76 | // url: SERVER.SERVERAPI + '/rest/djbDetail/getQllxByBdcdyid?bdcdyid='+params, | ||
| 77 | // method: 'get', | ||
| 78 | // }) | ||
| 79 | // } | ||
| 80 | export function getQllxByBdcdyid (params) { | 74 | export function getQllxByBdcdyid (params) { |
| 81 | return request({ | 75 | return request({ |
| 82 | url: SERVER.SERVERAPI + '/rest/djbDetail/getQllxByBdcdyid', | 76 | url: SERVER.SERVERAPI + '/rest/djbDetail/getQllxByBdcdyid', | ... | ... |
src/image/bdcqz/bdczm.jpg
0 → 100644
592 KB
| ... | @@ -120,7 +120,7 @@ export function down (index, data) { | ... | @@ -120,7 +120,7 @@ export function down (index, data) { |
| 120 | */ | 120 | */ |
| 121 | export function getIdCardInfo (level) { | 121 | export function getIdCardInfo (level) { |
| 122 | const resultMap = { | 122 | const resultMap = { |
| 123 | A: '10 颗星', | 123 | A: '设备', |
| 124 | default: axios.post(Vue.prototype.BASE_API.IDCARDURL), | 124 | default: axios.post(Vue.prototype.BASE_API.IDCARDURL), |
| 125 | } | 125 | } |
| 126 | return resultMap[level] || resultMap.default | 126 | return resultMap[level] || resultMap.default | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-16 11:12:13 | 4 | * @LastEditTime: 2023-06-21 16:35:04 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
| ... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
| 22 | <!--缩略图--> | 22 | <!--缩略图--> |
| 23 | <div class="thumb-wrap"> | 23 | <div class="thumb-wrap"> |
| 24 | <div class="thumb-wrap-button"> | 24 | <div class="thumb-wrap-button"> |
| 25 | <el-button type="primary" @click="clickImage">(放大) 显示(缩小)</el-button> | 25 | <el-button type="primary" @click="clickImage" v-if="previewImg.imgList.length>0">(放大) 显示(缩小)</el-button> |
| 26 | <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" | 26 | <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" |
| 27 | :on-change="handleChange" | 27 | :on-change="handleChange" |
| 28 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> | 28 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> |
| ... | @@ -30,9 +30,11 @@ | ... | @@ -30,9 +30,11 @@ |
| 30 | </el-upload> | 30 | </el-upload> |
| 31 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" | 31 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" |
| 32 | v-if="!this.$route.query.viewtype && thumbnailImages.length>0">删除</el-button> | 32 | v-if="!this.$route.query.viewtype && thumbnailImages.length>0">删除</el-button> |
| 33 | <div v-if="!this.$route.query.viewtype" class="pl-5"> | ||
| 33 | <el-button type="primary" @click="handleOpenScan">{{scanTitle}}</el-button> | 34 | <el-button type="primary" @click="handleOpenScan">{{scanTitle}}</el-button> |
| 34 | <el-button type="primary" @click="handleViewScan" v-if="isScan">拍照</el-button> | 35 | <el-button type="primary" @click="handleViewScan" v-if="isScan">拍照</el-button> |
| 35 | </div> | 36 | </div> |
| 37 | </div> | ||
| 36 | <ul> | 38 | <ul> |
| 37 | <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }" | 39 | <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }" |
| 38 | @click="showCurrent(index)"> | 40 | @click="showCurrent(index)"> |
| ... | @@ -46,8 +48,8 @@ | ... | @@ -46,8 +48,8 @@ |
| 46 | </div> | 48 | </div> |
| 47 | </template> | 49 | </template> |
| 48 | <script> | 50 | <script> |
| 49 | import { getAltimeterInfo } from '@/utils/operation.js' | ||
| 50 | import PhotoZoom from '@/components/PhotoZoom' | 51 | import PhotoZoom from '@/components/PhotoZoom' |
| 52 | import { getAltimeterInfo, getUuid } from '@/utils/operation.js' | ||
| 51 | import { uploadSjClmx, deleteClmx } from "@/api/clxx.js"; | 53 | import { uploadSjClmx, deleteClmx } from "@/api/clxx.js"; |
| 52 | import publicPicture from '@/components/publicPicture/index.vue' | 54 | import publicPicture from '@/components/publicPicture/index.vue' |
| 53 | export default { | 55 | export default { |
| ... | @@ -82,12 +84,16 @@ | ... | @@ -82,12 +84,16 @@ |
| 82 | watch: { | 84 | watch: { |
| 83 | previewImg: { | 85 | previewImg: { |
| 84 | handler (newValue, oldValue) { | 86 | handler (newValue, oldValue) { |
| 85 | if (newValue.imgList.length > 0) { | 87 | if (newValue.imgList && newValue.imgList.length > 0) { |
| 86 | this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl) | 88 | this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl) |
| 87 | this.thumbnailImages = newValue.imgList | 89 | this.thumbnailImages = newValue.imgList |
| 90 | } else { | ||
| 91 | this.allLi = [] | ||
| 92 | this.thumbnailImages = [] | ||
| 88 | } | 93 | } |
| 89 | }, | 94 | }, |
| 90 | deep: true | 95 | deep: true, |
| 96 | immediate: true | ||
| 91 | } | 97 | } |
| 92 | }, | 98 | }, |
| 93 | created () { | 99 | created () { |
| ... | @@ -145,8 +151,8 @@ | ... | @@ -145,8 +151,8 @@ |
| 145 | return new Blob([u8arr], { type: mime }); | 151 | return new Blob([u8arr], { type: mime }); |
| 146 | } | 152 | } |
| 147 | function blobToFile (blob) { | 153 | function blobToFile (blob) { |
| 148 | const options = { type: blob.type }; | 154 | let name = getUuid(8) + '.jpg' |
| 149 | const file = new File([blob], options); | 155 | const file = new File([blob], name); |
| 150 | return file; | 156 | return file; |
| 151 | } | 157 | } |
| 152 | getAltimeterInfo().then(res => { | 158 | getAltimeterInfo().then(res => { |
| ... | @@ -242,9 +248,11 @@ | ... | @@ -242,9 +248,11 @@ |
| 242 | type: 'warning' | 248 | type: 'warning' |
| 243 | }).then(async () => { | 249 | }).then(async () => { |
| 244 | let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | 250 | let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx |
| 251 | let bsmSj = this.previewImg.imgList[this.previewImg.index].bsmSj | ||
| 252 | this.previewImg.imgList = this.previewImg.imgList.filter(item => item.bsmClmx != bsmClmx) | ||
| 245 | deleteClmx(bsmClmx).then(res => { | 253 | deleteClmx(bsmClmx).then(res => { |
| 246 | if (res.code == 200) { | 254 | if (res.code == 200) { |
| 247 | that.$emit('updateList', res.result) | 255 | that.$emit('updateList', { children: this.previewImg.imgList, bsmSj: bsmSj }) |
| 248 | that.$message({ | 256 | that.$message({ |
| 249 | message: '删除成功!', | 257 | message: '删除成功!', |
| 250 | type: 'success' | 258 | type: 'success' | ... | ... |
| ... | @@ -68,7 +68,6 @@ export function loadTreeData(qlxxData, bdcdyh) { | ... | @@ -68,7 +68,6 @@ export function loadTreeData(qlxxData, bdcdyh) { |
| 68 | 68 | ||
| 69 | //获取权利类型、不动产单元类型对应的树形节点信息 | 69 | //获取权利类型、不动产单元类型对应的树形节点信息 |
| 70 | export function getNode(qllx, qlxx, bdcdylx) { | 70 | export function getNode(qllx, qlxx, bdcdylx) { |
| 71 | console.log("qllx",qllx,"bdcdylx",bdcdylx); | ||
| 72 | let node; | 71 | let node; |
| 73 | for (var i = 0; i < qlxxPage.length; i++) { | 72 | for (var i = 0; i < qlxxPage.length; i++) { |
| 74 | if (qlxxPage[i].qllx == qllx) { | 73 | if (qlxxPage[i].qllx == qllx) { | ... | ... |
| ... | @@ -30,12 +30,11 @@ | ... | @@ -30,12 +30,11 @@ |
| 30 | :key="index" | 30 | :key="index" |
| 31 | > | 31 | > |
| 32 | <div> | 32 | <div> |
| 33 | <p>{{ item.qllxmc }} <span class="tpcolor">({{ item.operate=="U"?"编辑":"新增" }})</span></p> | 33 | <p v-if="item.operate=='D'">{{ item.qllxmc }} <span class="tpcolor">(删除)</span></p> |
| 34 | <!-- <p class="title-detail">{{ item.zl }}</p> --> | 34 | <p v-else >{{ item.qllxmc }} <span class="tpcolor">({{ item.operate=="U"?"编辑":"新增" }})</span></p> |
| 35 | </div> | 35 | </div> |
| 36 | <i | 36 | <i |
| 37 | class="el-icon-delete" | 37 | class="el-icon-delete" |
| 38 | v-if="supplementarylist.length > 1" | ||
| 39 | @click.stop="handleDel(item)" | 38 | @click.stop="handleDel(item)" |
| 40 | ></i> | 39 | ></i> |
| 41 | </el-menu-item> | 40 | </el-menu-item> |
| ... | @@ -106,32 +105,37 @@ export default { | ... | @@ -106,32 +105,37 @@ export default { |
| 106 | }, | 105 | }, |
| 107 | mounted() { | 106 | mounted() { |
| 108 | this.loadBdcdylist(); | 107 | this.loadBdcdylist(); |
| 108 | this.getleftMenubl(); | ||
| 109 | |||
| 110 | |||
| 109 | }, | 111 | }, |
| 110 | computed: { | 112 | computed: { |
| 111 | ...mapGetters(["isRefresh"]), | 113 | // ...mapGetters(["isRefresh"]), |
| 112 | }, | 114 | }, |
| 113 | watch: { | 115 | watch: { |
| 114 | isRefresh: { | 116 | // isRefresh: { |
| 115 | handler(newVal, oldVal) { | 117 | // handler(newVal, oldVal) { |
| 116 | if (newVal) this.loadBdcdylist(); | 118 | // if (newVal) this.loadBdcdylist(); |
| 117 | }, | 119 | // }, |
| 118 | immediate: true, | 120 | // immediate: true, |
| 119 | }, | 121 | // }, |
| 120 | }, | 122 | }, |
| 121 | methods: { | 123 | methods: { |
| 122 | //读取申请单元信息 | 124 | //读取申请单元信息 |
| 123 | loadBdcdylist() { | 125 | loadBdcdylist(add) { |
| 124 | var formdata = new FormData(); | 126 | var formdata = new FormData(); |
| 125 | formdata.append("bsmSlsq", this.bsmSlsq); | 127 | formdata.append("bsmSlsq", this.bsmSlsq); |
| 126 | formdata.append("bestepid", this.bestepid); | 128 | formdata.append("bestepid", this.bestepid); |
| 127 | leftMenu(formdata).then((res) => { | 129 | leftMenu(formdata).then((res) => { |
| 128 | if (res.code === 200 && res.result) { | 130 | if (res.code === 200 && res.result) { |
| 129 | this.currentSelectProps = res.result[0]; | 131 | this.currentSelectProps = res.result[0]; |
| 130 | console.log("this.currentSelectProps",this.currentSelectProps); | ||
| 131 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | 132 | this.$emit("getCurrentSelectProps", this.currentSelectProps); |
| 133 | if(add){ | ||
| 134 | this.$parent.getQllxByBdcdyid() | ||
| 135 | } | ||
| 132 | } | 136 | } |
| 133 | }); | 137 | }); |
| 134 | this.getleftMenubl(); | 138 | |
| 135 | }, | 139 | }, |
| 136 | // 获取右侧菜单 | 140 | // 获取右侧菜单 |
| 137 | getleftMenubl(row) { | 141 | getleftMenubl(row) { |
| ... | @@ -140,14 +144,18 @@ export default { | ... | @@ -140,14 +144,18 @@ export default { |
| 140 | if(row){ | 144 | if(row){ |
| 141 | this.supplementarylist.forEach((item,index) => { | 145 | this.supplementarylist.forEach((item,index) => { |
| 142 | if(item.bsmRepair==row.bsmRepair){ | 146 | if(item.bsmRepair==row.bsmRepair){ |
| 143 | this.activeIndex=index | 147 | this.activeIndex=index.toString() |
| 148 | // 补录成功后定位到该条记录 | ||
| 144 | this.unitClick(index) | 149 | this.unitClick(index) |
| 145 | } | 150 | } |
| 146 | }) | 151 | }) |
| 147 | } | 152 | } |
| 153 | if(this.supplementarylist.length){ | ||
| 154 | this.unitClick(0) | ||
| 155 | }else{ | ||
| 156 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | ||
| 157 | } | ||
| 148 | }); | 158 | }); |
| 149 | |||
| 150 | |||
| 151 | }, | 159 | }, |
| 152 | handleNodeClick(data, node, elem) { | 160 | handleNodeClick(data, node, elem) { |
| 153 | this.$parent.loadComponent(this.currentSelectProps, data); | 161 | this.$parent.loadComponent(this.currentSelectProps, data); |
| ... | @@ -161,14 +169,7 @@ export default { | ... | @@ -161,14 +169,7 @@ export default { |
| 161 | //登记簿点击事件 | 169 | //登记簿点击事件 |
| 162 | djbClick() { | 170 | djbClick() { |
| 163 | this.loadBdcdylist(); | 171 | this.loadBdcdylist(); |
| 164 | |||
| 165 | // this.$parent.getdjblist() | ||
| 166 | }, | 172 | }, |
| 167 | // 定位到该条补录记录 | ||
| 168 | // orientation(){ | ||
| 169 | // // this.activeIndex="2" | ||
| 170 | // this.unitClick(0) | ||
| 171 | // }, | ||
| 172 | // 删除补录记录 | 173 | // 删除补录记录 |
| 173 | handleDel(row) { | 174 | handleDel(row) { |
| 174 | this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", { | 175 | this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", { |
| ... | @@ -184,6 +185,11 @@ export default { | ... | @@ -184,6 +185,11 @@ export default { |
| 184 | }); | 185 | }); |
| 185 | this.$nextTick(() => { | 186 | this.$nextTick(() => { |
| 186 | this.getleftMenubl(); | 187 | this.getleftMenubl(); |
| 188 | this.blxxClick() | ||
| 189 | if(!this.supplementarylist.length){ | ||
| 190 | getdjblist() | ||
| 191 | } | ||
| 192 | |||
| 187 | }); | 193 | }); |
| 188 | }); | 194 | }); |
| 189 | }) | 195 | }) |
| ... | @@ -196,7 +202,10 @@ export default { | ... | @@ -196,7 +202,10 @@ export default { |
| 196 | }, | 202 | }, |
| 197 | //补录信息点击事件默认展示第一条补录记录 | 203 | //补录信息点击事件默认展示第一条补录记录 |
| 198 | blxxClick() { | 204 | blxxClick() { |
| 205 | if(this.supplementarylist.length){ | ||
| 199 | this.unitClick(0); | 206 | this.unitClick(0); |
| 207 | } | ||
| 208 | |||
| 200 | }, | 209 | }, |
| 201 | }, | 210 | }, |
| 202 | }; | 211 | }; |
| ... | @@ -261,6 +270,11 @@ export default { | ... | @@ -261,6 +270,11 @@ export default { |
| 261 | } | 270 | } |
| 262 | .menus { | 271 | .menus { |
| 263 | background-color: #e7f4fe; | 272 | background-color: #e7f4fe; |
| 273 | div{ | ||
| 274 | font-size: 16px; | ||
| 275 | font-weight: 600; | ||
| 276 | } | ||
| 277 | |||
| 264 | } | 278 | } |
| 265 | .blxx { | 279 | .blxx { |
| 266 | border: #b0d9f8 solid 1px; | 280 | border: #b0d9f8 solid 1px; | ... | ... |
| ... | @@ -227,6 +227,16 @@ | ... | @@ -227,6 +227,16 @@ |
| 227 | </el-col> | 227 | </el-col> |
| 228 | </el-row> | 228 | </el-row> |
| 229 | <div class="slxx_title title-block"> | 229 | <div class="slxx_title title-block"> |
| 230 | 土地用途 | ||
| 231 | <div class="triangle"></div> | ||
| 232 | </div> | ||
| 233 | <tdytTable | ||
| 234 | :tableData="ruleForm.tdxxList" | ||
| 235 | @upDateQlrxxList="upDateQlrxxList" | ||
| 236 | :viewtype="$route.query.viewtype" | ||
| 237 | :gyfs="ruleForm.qlxx.gyfs" | ||
| 238 | /> | ||
| 239 | <div class="slxx_title title-block"> | ||
| 230 | 权利人信息 | 240 | 权利人信息 |
| 231 | <div class="triangle"></div> | 241 | <div class="triangle"></div> |
| 232 | </div> | 242 | </div> |
| ... | @@ -244,22 +254,22 @@ | ... | @@ -244,22 +254,22 @@ |
| 244 | </el-radio-group> | 254 | </el-radio-group> |
| 245 | </el-form-item> | 255 | </el-form-item> |
| 246 | </el-col> | 256 | </el-col> |
| 247 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | 257 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> |
| 248 | <el-form-item label="是否分别持证:"> | 258 | <el-form-item label="是否分别持证:"> |
| 249 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | 259 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> |
| 250 | <el-radio :label=1>是</el-radio> | 260 | <el-radio :label=1>是</el-radio> |
| 251 | <el-radio :label=0>否</el-radio> | 261 | <el-radio :label=0>否</el-radio> |
| 252 | </el-radio-group> | 262 | </el-radio-group> |
| 253 | </el-form-item> | 263 | </el-form-item> |
| 254 | </el-col> --> | 264 | </el-col> |
| 255 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> | 265 | <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> |
| 256 | <el-form-item label="持证人:"> | 266 | <el-form-item label="持证人:"> |
| 257 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | 267 | <el-select v-model="ruleForm.czr" placeholder="持证人"> |
| 258 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> | 268 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> |
| 259 | </el-option> | 269 | </el-option> |
| 260 | </el-select> | 270 | </el-select> |
| 261 | </el-form-item> | 271 | </el-form-item> |
| 262 | </el-col> --> | 272 | </el-col> |
| 263 | </el-row> | 273 | </el-row> |
| 264 | <qlrCommonTable | 274 | <qlrCommonTable |
| 265 | :tableData="ruleForm.qlrList" | 275 | :tableData="ruleForm.qlrList" |
| ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; | ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; |
| 296 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 306 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; |
| 297 | import { init } from "@/api/djbbl.js"; | 307 | import { init } from "@/api/djbbl.js"; |
| 298 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 308 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 309 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
| 299 | export default { | 310 | export default { |
| 300 | components: { qlrCommonTable }, | 311 | components: { qlrCommonTable,tdytTable }, |
| 301 | computed: { | 312 | computed: { |
| 302 | ...mapGetters(["dictData", "flag"]), | 313 | ...mapGetters(["dictData", "flag"]), |
| 303 | }, | 314 | }, |
| ... | @@ -316,7 +327,6 @@ export default { | ... | @@ -316,7 +327,6 @@ export default { |
| 316 | }; | 327 | }; |
| 317 | }, | 328 | }, |
| 318 | created() { | 329 | created() { |
| 319 | console.log("受理信息",this.ruleForm); | ||
| 320 | this.loadData(); | 330 | this.loadData(); |
| 321 | }, | 331 | }, |
| 322 | mounted() {}, | 332 | mounted() {}, |
| ... | @@ -324,7 +334,9 @@ export default { | ... | @@ -324,7 +334,9 @@ export default { |
| 324 | loadData() { | 334 | loadData() { |
| 325 | init(this.propsParam.bsmRepair).then((res) => { | 335 | init(this.propsParam.bsmRepair).then((res) => { |
| 326 | if (res.code == 200) { | 336 | if (res.code == 200) { |
| 337 | |||
| 327 | this.ruleForm = res.result; | 338 | this.ruleForm = res.result; |
| 339 | console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm); | ||
| 328 | this.isShow = true; | 340 | this.isShow = true; |
| 329 | // this.tableData = res.result; | 341 | // this.tableData = res.result; |
| 330 | // if (this.tableData.length < datas.columns().emptycolNum) { | 342 | // if (this.tableData.length < datas.columns().emptycolNum) { | ... | ... |
| ... | @@ -227,6 +227,16 @@ | ... | @@ -227,6 +227,16 @@ |
| 227 | </el-col> | 227 | </el-col> |
| 228 | </el-row> | 228 | </el-row> |
| 229 | <div class="slxx_title title-block"> | 229 | <div class="slxx_title title-block"> |
| 230 | 土地用途 | ||
| 231 | <div class="triangle"></div> | ||
| 232 | </div> | ||
| 233 | <tdytTable | ||
| 234 | :tableData="ruleForm.tdxxList" | ||
| 235 | @upDateQlrxxList="upDateQlrxxList" | ||
| 236 | :viewtype="$route.query.viewtype" | ||
| 237 | :gyfs="ruleForm.qlxx.gyfs" | ||
| 238 | /> | ||
| 239 | <div class="slxx_title title-block"> | ||
| 230 | 权利人信息 | 240 | 权利人信息 |
| 231 | <div class="triangle"></div> | 241 | <div class="triangle"></div> |
| 232 | </div> | 242 | </div> |
| ... | @@ -244,22 +254,22 @@ | ... | @@ -244,22 +254,22 @@ |
| 244 | </el-radio-group> | 254 | </el-radio-group> |
| 245 | </el-form-item> | 255 | </el-form-item> |
| 246 | </el-col> | 256 | </el-col> |
| 247 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | 257 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> |
| 248 | <el-form-item label="是否分别持证:"> | 258 | <el-form-item label="是否分别持证:"> |
| 249 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | 259 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> |
| 250 | <el-radio :label=1>是</el-radio> | 260 | <el-radio :label=1>是</el-radio> |
| 251 | <el-radio :label=0>否</el-radio> | 261 | <el-radio :label=0>否</el-radio> |
| 252 | </el-radio-group> | 262 | </el-radio-group> |
| 253 | </el-form-item> | 263 | </el-form-item> |
| 254 | </el-col> --> | 264 | </el-col> |
| 255 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> | 265 | <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> |
| 256 | <el-form-item label="持证人:"> | 266 | <el-form-item label="持证人:"> |
| 257 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | 267 | <el-select v-model="ruleForm.czr" placeholder="持证人"> |
| 258 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> | 268 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> |
| 259 | </el-option> | 269 | </el-option> |
| 260 | </el-select> | 270 | </el-select> |
| 261 | </el-form-item> | 271 | </el-form-item> |
| 262 | </el-col> --> | 272 | </el-col> |
| 263 | </el-row> | 273 | </el-row> |
| 264 | <qlrCommonTable | 274 | <qlrCommonTable |
| 265 | :tableData="ruleForm.qlrList" | 275 | :tableData="ruleForm.qlrList" |
| ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; | ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; |
| 296 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 306 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; |
| 297 | import { init } from "@/api/djbbl.js"; | 307 | import { init } from "@/api/djbbl.js"; |
| 298 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 308 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 309 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
| 299 | export default { | 310 | export default { |
| 300 | components: { qlrCommonTable }, | 311 | components: { qlrCommonTable,tdytTable }, |
| 301 | computed: { | 312 | computed: { |
| 302 | ...mapGetters(["dictData", "flag"]), | 313 | ...mapGetters(["dictData", "flag"]), |
| 303 | }, | 314 | }, |
| ... | @@ -316,15 +327,17 @@ export default { | ... | @@ -316,15 +327,17 @@ export default { |
| 316 | }; | 327 | }; |
| 317 | }, | 328 | }, |
| 318 | created() { | 329 | created() { |
| 319 | console.log("受理信息",this.ruleForm); | ||
| 320 | this.loadData(); | 330 | this.loadData(); |
| 321 | }, | 331 | }, |
| 322 | mounted() {}, | 332 | mounted() {}, |
| 323 | methods: { | 333 | methods: { |
| 324 | loadData() { | 334 | loadData() { |
| 335 | console.log("抵押权"); | ||
| 325 | init(this.propsParam.bsmRepair).then((res) => { | 336 | init(this.propsParam.bsmRepair).then((res) => { |
| 326 | if (res.code == 200) { | 337 | if (res.code == 200) { |
| 338 | |||
| 327 | this.ruleForm = res.result; | 339 | this.ruleForm = res.result; |
| 340 | console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm); | ||
| 328 | this.isShow = true; | 341 | this.isShow = true; |
| 329 | // this.tableData = res.result; | 342 | // this.tableData = res.result; |
| 330 | // if (this.tableData.length < datas.columns().emptycolNum) { | 343 | // if (this.tableData.length < datas.columns().emptycolNum) { | ... | ... |
| ... | @@ -227,6 +227,16 @@ | ... | @@ -227,6 +227,16 @@ |
| 227 | </el-col> | 227 | </el-col> |
| 228 | </el-row> | 228 | </el-row> |
| 229 | <div class="slxx_title title-block"> | 229 | <div class="slxx_title title-block"> |
| 230 | 土地用途 | ||
| 231 | <div class="triangle"></div> | ||
| 232 | </div> | ||
| 233 | <tdytTable | ||
| 234 | :tableData="ruleForm.tdxxList" | ||
| 235 | @upDateQlrxxList="upDateQlrxxList" | ||
| 236 | :viewtype="$route.query.viewtype" | ||
| 237 | :gyfs="ruleForm.qlxx.gyfs" | ||
| 238 | /> | ||
| 239 | <div class="slxx_title title-block"> | ||
| 230 | 权利人信息 | 240 | 权利人信息 |
| 231 | <div class="triangle"></div> | 241 | <div class="triangle"></div> |
| 232 | </div> | 242 | </div> |
| ... | @@ -244,22 +254,22 @@ | ... | @@ -244,22 +254,22 @@ |
| 244 | </el-radio-group> | 254 | </el-radio-group> |
| 245 | </el-form-item> | 255 | </el-form-item> |
| 246 | </el-col> | 256 | </el-col> |
| 247 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | 257 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> |
| 248 | <el-form-item label="是否分别持证:"> | 258 | <el-form-item label="是否分别持证:"> |
| 249 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | 259 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> |
| 250 | <el-radio :label=1>是</el-radio> | 260 | <el-radio :label=1>是</el-radio> |
| 251 | <el-radio :label=0>否</el-radio> | 261 | <el-radio :label=0>否</el-radio> |
| 252 | </el-radio-group> | 262 | </el-radio-group> |
| 253 | </el-form-item> | 263 | </el-form-item> |
| 254 | </el-col> --> | 264 | </el-col> |
| 255 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> | 265 | <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> |
| 256 | <el-form-item label="持证人:"> | 266 | <el-form-item label="持证人:"> |
| 257 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | 267 | <el-select v-model="ruleForm.czr" placeholder="持证人"> |
| 258 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> | 268 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> |
| 259 | </el-option> | 269 | </el-option> |
| 260 | </el-select> | 270 | </el-select> |
| 261 | </el-form-item> | 271 | </el-form-item> |
| 262 | </el-col> --> | 272 | </el-col> |
| 263 | </el-row> | 273 | </el-row> |
| 264 | <qlrCommonTable | 274 | <qlrCommonTable |
| 265 | :tableData="ruleForm.qlrList" | 275 | :tableData="ruleForm.qlrList" |
| ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; | ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; |
| 296 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 306 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; |
| 297 | import { init } from "@/api/djbbl.js"; | 307 | import { init } from "@/api/djbbl.js"; |
| 298 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 308 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 309 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
| 299 | export default { | 310 | export default { |
| 300 | components: { qlrCommonTable }, | 311 | components: { qlrCommonTable,tdytTable }, |
| 301 | computed: { | 312 | computed: { |
| 302 | ...mapGetters(["dictData", "flag"]), | 313 | ...mapGetters(["dictData", "flag"]), |
| 303 | }, | 314 | }, |
| ... | @@ -316,7 +327,6 @@ export default { | ... | @@ -316,7 +327,6 @@ export default { |
| 316 | }; | 327 | }; |
| 317 | }, | 328 | }, |
| 318 | created() { | 329 | created() { |
| 319 | console.log("受理信息",this.ruleForm); | ||
| 320 | this.loadData(); | 330 | this.loadData(); |
| 321 | }, | 331 | }, |
| 322 | mounted() {}, | 332 | mounted() {}, |
| ... | @@ -324,7 +334,9 @@ export default { | ... | @@ -324,7 +334,9 @@ export default { |
| 324 | loadData() { | 334 | loadData() { |
| 325 | init(this.propsParam.bsmRepair).then((res) => { | 335 | init(this.propsParam.bsmRepair).then((res) => { |
| 326 | if (res.code == 200) { | 336 | if (res.code == 200) { |
| 337 | |||
| 327 | this.ruleForm = res.result; | 338 | this.ruleForm = res.result; |
| 339 | console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm); | ||
| 328 | this.isShow = true; | 340 | this.isShow = true; |
| 329 | // this.tableData = res.result; | 341 | // this.tableData = res.result; |
| 330 | // if (this.tableData.length < datas.columns().emptycolNum) { | 342 | // if (this.tableData.length < datas.columns().emptycolNum) { | ... | ... |
| ... | @@ -227,6 +227,16 @@ | ... | @@ -227,6 +227,16 @@ |
| 227 | </el-col> | 227 | </el-col> |
| 228 | </el-row> | 228 | </el-row> |
| 229 | <div class="slxx_title title-block"> | 229 | <div class="slxx_title title-block"> |
| 230 | 土地用途 | ||
| 231 | <div class="triangle"></div> | ||
| 232 | </div> | ||
| 233 | <tdytTable | ||
| 234 | :tableData="ruleForm.tdxxList" | ||
| 235 | @upDateQlrxxList="upDateQlrxxList" | ||
| 236 | :viewtype="$route.query.viewtype" | ||
| 237 | :gyfs="ruleForm.qlxx.gyfs" | ||
| 238 | /> | ||
| 239 | <div class="slxx_title title-block"> | ||
| 230 | 权利人信息 | 240 | 权利人信息 |
| 231 | <div class="triangle"></div> | 241 | <div class="triangle"></div> |
| 232 | </div> | 242 | </div> |
| ... | @@ -244,22 +254,22 @@ | ... | @@ -244,22 +254,22 @@ |
| 244 | </el-radio-group> | 254 | </el-radio-group> |
| 245 | </el-form-item> | 255 | </el-form-item> |
| 246 | </el-col> | 256 | </el-col> |
| 247 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | 257 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> |
| 248 | <el-form-item label="是否分别持证:"> | 258 | <el-form-item label="是否分别持证:"> |
| 249 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | 259 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> |
| 250 | <el-radio :label=1>是</el-radio> | 260 | <el-radio :label=1>是</el-radio> |
| 251 | <el-radio :label=0>否</el-radio> | 261 | <el-radio :label=0>否</el-radio> |
| 252 | </el-radio-group> | 262 | </el-radio-group> |
| 253 | </el-form-item> | 263 | </el-form-item> |
| 254 | </el-col> --> | 264 | </el-col> |
| 255 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> | 265 | <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> |
| 256 | <el-form-item label="持证人:"> | 266 | <el-form-item label="持证人:"> |
| 257 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | 267 | <el-select v-model="ruleForm.czr" placeholder="持证人"> |
| 258 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> | 268 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> |
| 259 | </el-option> | 269 | </el-option> |
| 260 | </el-select> | 270 | </el-select> |
| 261 | </el-form-item> | 271 | </el-form-item> |
| 262 | </el-col> --> | 272 | </el-col> |
| 263 | </el-row> | 273 | </el-row> |
| 264 | <qlrCommonTable | 274 | <qlrCommonTable |
| 265 | :tableData="ruleForm.qlrList" | 275 | :tableData="ruleForm.qlrList" |
| ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; | ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; |
| 296 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 306 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; |
| 297 | import { init } from "@/api/djbbl.js"; | 307 | import { init } from "@/api/djbbl.js"; |
| 298 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 308 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 309 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
| 299 | export default { | 310 | export default { |
| 300 | components: { qlrCommonTable }, | 311 | components: { qlrCommonTable,tdytTable }, |
| 301 | computed: { | 312 | computed: { |
| 302 | ...mapGetters(["dictData", "flag"]), | 313 | ...mapGetters(["dictData", "flag"]), |
| 303 | }, | 314 | }, |
| ... | @@ -316,14 +327,15 @@ export default { | ... | @@ -316,14 +327,15 @@ export default { |
| 316 | }; | 327 | }; |
| 317 | }, | 328 | }, |
| 318 | created() { | 329 | created() { |
| 319 | console.log("受理信息",this.ruleForm); | ||
| 320 | this.loadData(); | 330 | this.loadData(); |
| 321 | }, | 331 | }, |
| 322 | mounted() {}, | 332 | mounted() {}, |
| 323 | methods: { | 333 | methods: { |
| 324 | loadData() { | 334 | loadData() { |
| 335 | console.log("房地产权",this.propsParam); | ||
| 325 | init(this.propsParam.bsmRepair).then((res) => { | 336 | init(this.propsParam.bsmRepair).then((res) => { |
| 326 | if (res.code == 200) { | 337 | if (res.code == 200) { |
| 338 | |||
| 327 | this.ruleForm = res.result; | 339 | this.ruleForm = res.result; |
| 328 | this.isShow = true; | 340 | this.isShow = true; |
| 329 | // this.tableData = res.result; | 341 | // this.tableData = res.result; | ... | ... |
| ... | @@ -227,6 +227,16 @@ | ... | @@ -227,6 +227,16 @@ |
| 227 | </el-col> | 227 | </el-col> |
| 228 | </el-row> | 228 | </el-row> |
| 229 | <div class="slxx_title title-block"> | 229 | <div class="slxx_title title-block"> |
| 230 | 土地用途 | ||
| 231 | <div class="triangle"></div> | ||
| 232 | </div> | ||
| 233 | <tdytTable | ||
| 234 | :tableData="ruleForm.tdxxList" | ||
| 235 | @upDateQlrxxList="upDateQlrxxList" | ||
| 236 | :viewtype="$route.query.viewtype" | ||
| 237 | :gyfs="ruleForm.qlxx.gyfs" | ||
| 238 | /> | ||
| 239 | <div class="slxx_title title-block"> | ||
| 230 | 权利人信息 | 240 | 权利人信息 |
| 231 | <div class="triangle"></div> | 241 | <div class="triangle"></div> |
| 232 | </div> | 242 | </div> |
| ... | @@ -244,22 +254,22 @@ | ... | @@ -244,22 +254,22 @@ |
| 244 | </el-radio-group> | 254 | </el-radio-group> |
| 245 | </el-form-item> | 255 | </el-form-item> |
| 246 | </el-col> | 256 | </el-col> |
| 247 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | 257 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> |
| 248 | <el-form-item label="是否分别持证:"> | 258 | <el-form-item label="是否分别持证:"> |
| 249 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | 259 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> |
| 250 | <el-radio :label=1>是</el-radio> | 260 | <el-radio :label=1>是</el-radio> |
| 251 | <el-radio :label=0>否</el-radio> | 261 | <el-radio :label=0>否</el-radio> |
| 252 | </el-radio-group> | 262 | </el-radio-group> |
| 253 | </el-form-item> | 263 | </el-form-item> |
| 254 | </el-col> --> | 264 | </el-col> |
| 255 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> | 265 | <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> |
| 256 | <el-form-item label="持证人:"> | 266 | <el-form-item label="持证人:"> |
| 257 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | 267 | <el-select v-model="ruleForm.czr" placeholder="持证人"> |
| 258 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> | 268 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> |
| 259 | </el-option> | 269 | </el-option> |
| 260 | </el-select> | 270 | </el-select> |
| 261 | </el-form-item> | 271 | </el-form-item> |
| 262 | </el-col> --> | 272 | </el-col> |
| 263 | </el-row> | 273 | </el-row> |
| 264 | <qlrCommonTable | 274 | <qlrCommonTable |
| 265 | :tableData="ruleForm.qlrList" | 275 | :tableData="ruleForm.qlrList" |
| ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; | ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; |
| 296 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 306 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; |
| 297 | import { init } from "@/api/djbbl.js"; | 307 | import { init } from "@/api/djbbl.js"; |
| 298 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 308 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 309 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
| 299 | export default { | 310 | export default { |
| 300 | components: { qlrCommonTable }, | 311 | components: { qlrCommonTable,tdytTable }, |
| 301 | computed: { | 312 | computed: { |
| 302 | ...mapGetters(["dictData", "flag"]), | 313 | ...mapGetters(["dictData", "flag"]), |
| 303 | }, | 314 | }, |
| ... | @@ -316,15 +327,17 @@ export default { | ... | @@ -316,15 +327,17 @@ export default { |
| 316 | }; | 327 | }; |
| 317 | }, | 328 | }, |
| 318 | created() { | 329 | created() { |
| 319 | console.log("受理信息",this.ruleForm); | ||
| 320 | this.loadData(); | 330 | this.loadData(); |
| 321 | }, | 331 | }, |
| 322 | mounted() {}, | 332 | mounted() {}, |
| 323 | methods: { | 333 | methods: { |
| 324 | loadData() { | 334 | loadData() { |
| 335 | console.log("建设用地使用权"); | ||
| 325 | init(this.propsParam.bsmRepair).then((res) => { | 336 | init(this.propsParam.bsmRepair).then((res) => { |
| 326 | if (res.code == 200) { | 337 | if (res.code == 200) { |
| 338 | |||
| 327 | this.ruleForm = res.result; | 339 | this.ruleForm = res.result; |
| 340 | console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm); | ||
| 328 | this.isShow = true; | 341 | this.isShow = true; |
| 329 | // this.tableData = res.result; | 342 | // this.tableData = res.result; |
| 330 | // if (this.tableData.length < datas.columns().emptycolNum) { | 343 | // if (this.tableData.length < datas.columns().emptycolNum) { | ... | ... |
| ... | @@ -227,6 +227,16 @@ | ... | @@ -227,6 +227,16 @@ |
| 227 | </el-col> | 227 | </el-col> |
| 228 | </el-row> | 228 | </el-row> |
| 229 | <div class="slxx_title title-block"> | 229 | <div class="slxx_title title-block"> |
| 230 | 土地用途 | ||
| 231 | <div class="triangle"></div> | ||
| 232 | </div> | ||
| 233 | <tdytTable | ||
| 234 | :tableData="ruleForm.tdxxList" | ||
| 235 | @upDateQlrxxList="upDateQlrxxList" | ||
| 236 | :viewtype="$route.query.viewtype" | ||
| 237 | :gyfs="ruleForm.qlxx.gyfs" | ||
| 238 | /> | ||
| 239 | <div class="slxx_title title-block"> | ||
| 230 | 权利人信息 | 240 | 权利人信息 |
| 231 | <div class="triangle"></div> | 241 | <div class="triangle"></div> |
| 232 | </div> | 242 | </div> |
| ... | @@ -244,22 +254,22 @@ | ... | @@ -244,22 +254,22 @@ |
| 244 | </el-radio-group> | 254 | </el-radio-group> |
| 245 | </el-form-item> | 255 | </el-form-item> |
| 246 | </el-col> | 256 | </el-col> |
| 247 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | 257 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> |
| 248 | <el-form-item label="是否分别持证:"> | 258 | <el-form-item label="是否分别持证:"> |
| 249 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | 259 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> |
| 250 | <el-radio :label=1>是</el-radio> | 260 | <el-radio :label=1>是</el-radio> |
| 251 | <el-radio :label=0>否</el-radio> | 261 | <el-radio :label=0>否</el-radio> |
| 252 | </el-radio-group> | 262 | </el-radio-group> |
| 253 | </el-form-item> | 263 | </el-form-item> |
| 254 | </el-col> --> | 264 | </el-col> |
| 255 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> | 265 | <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> |
| 256 | <el-form-item label="持证人:"> | 266 | <el-form-item label="持证人:"> |
| 257 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | 267 | <el-select v-model="ruleForm.czr" placeholder="持证人"> |
| 258 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> | 268 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> |
| 259 | </el-option> | 269 | </el-option> |
| 260 | </el-select> | 270 | </el-select> |
| 261 | </el-form-item> | 271 | </el-form-item> |
| 262 | </el-col> --> | 272 | </el-col> |
| 263 | </el-row> | 273 | </el-row> |
| 264 | <qlrCommonTable | 274 | <qlrCommonTable |
| 265 | :tableData="ruleForm.qlrList" | 275 | :tableData="ruleForm.qlrList" |
| ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; | ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; |
| 296 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 306 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; |
| 297 | import { init } from "@/api/djbbl.js"; | 307 | import { init } from "@/api/djbbl.js"; |
| 298 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 308 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 309 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
| 299 | export default { | 310 | export default { |
| 300 | components: { qlrCommonTable }, | 311 | components: { qlrCommonTable,tdytTable }, |
| 301 | computed: { | 312 | computed: { |
| 302 | ...mapGetters(["dictData", "flag"]), | 313 | ...mapGetters(["dictData", "flag"]), |
| 303 | }, | 314 | }, |
| ... | @@ -316,7 +327,6 @@ export default { | ... | @@ -316,7 +327,6 @@ export default { |
| 316 | }; | 327 | }; |
| 317 | }, | 328 | }, |
| 318 | created() { | 329 | created() { |
| 319 | console.log("受理信息",this.ruleForm); | ||
| 320 | this.loadData(); | 330 | this.loadData(); |
| 321 | }, | 331 | }, |
| 322 | mounted() {}, | 332 | mounted() {}, |
| ... | @@ -324,7 +334,9 @@ export default { | ... | @@ -324,7 +334,9 @@ export default { |
| 324 | loadData() { | 334 | loadData() { |
| 325 | init(this.propsParam.bsmRepair).then((res) => { | 335 | init(this.propsParam.bsmRepair).then((res) => { |
| 326 | if (res.code == 200) { | 336 | if (res.code == 200) { |
| 337 | |||
| 327 | this.ruleForm = res.result; | 338 | this.ruleForm = res.result; |
| 339 | console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm); | ||
| 328 | this.isShow = true; | 340 | this.isShow = true; |
| 329 | // this.tableData = res.result; | 341 | // this.tableData = res.result; |
| 330 | // if (this.tableData.length < datas.columns().emptycolNum) { | 342 | // if (this.tableData.length < datas.columns().emptycolNum) { | ... | ... |
| ... | @@ -227,6 +227,16 @@ | ... | @@ -227,6 +227,16 @@ |
| 227 | </el-col> | 227 | </el-col> |
| 228 | </el-row> | 228 | </el-row> |
| 229 | <div class="slxx_title title-block"> | 229 | <div class="slxx_title title-block"> |
| 230 | 土地用途 | ||
| 231 | <div class="triangle"></div> | ||
| 232 | </div> | ||
| 233 | <tdytTable | ||
| 234 | :tableData="ruleForm.tdxxList" | ||
| 235 | @upDateQlrxxList="upDateQlrxxList" | ||
| 236 | :viewtype="$route.query.viewtype" | ||
| 237 | :gyfs="ruleForm.qlxx.gyfs" | ||
| 238 | /> | ||
| 239 | <div class="slxx_title title-block"> | ||
| 230 | 权利人信息 | 240 | 权利人信息 |
| 231 | <div class="triangle"></div> | 241 | <div class="triangle"></div> |
| 232 | </div> | 242 | </div> |
| ... | @@ -244,22 +254,22 @@ | ... | @@ -244,22 +254,22 @@ |
| 244 | </el-radio-group> | 254 | </el-radio-group> |
| 245 | </el-form-item> | 255 | </el-form-item> |
| 246 | </el-col> | 256 | </el-col> |
| 247 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | 257 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> |
| 248 | <el-form-item label="是否分别持证:"> | 258 | <el-form-item label="是否分别持证:"> |
| 249 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | 259 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> |
| 250 | <el-radio :label=1>是</el-radio> | 260 | <el-radio :label=1>是</el-radio> |
| 251 | <el-radio :label=0>否</el-radio> | 261 | <el-radio :label=0>否</el-radio> |
| 252 | </el-radio-group> | 262 | </el-radio-group> |
| 253 | </el-form-item> | 263 | </el-form-item> |
| 254 | </el-col> --> | 264 | </el-col> |
| 255 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> | 265 | <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> |
| 256 | <el-form-item label="持证人:"> | 266 | <el-form-item label="持证人:"> |
| 257 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | 267 | <el-select v-model="ruleForm.czr" placeholder="持证人"> |
| 258 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> | 268 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> |
| 259 | </el-option> | 269 | </el-option> |
| 260 | </el-select> | 270 | </el-select> |
| 261 | </el-form-item> | 271 | </el-form-item> |
| 262 | </el-col> --> | 272 | </el-col> |
| 263 | </el-row> | 273 | </el-row> |
| 264 | <qlrCommonTable | 274 | <qlrCommonTable |
| 265 | :tableData="ruleForm.qlrList" | 275 | :tableData="ruleForm.qlrList" |
| ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; | ... | @@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; |
| 296 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 306 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; |
| 297 | import { init } from "@/api/djbbl.js"; | 307 | import { init } from "@/api/djbbl.js"; |
| 298 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 308 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 309 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
| 299 | export default { | 310 | export default { |
| 300 | components: { qlrCommonTable }, | 311 | components: { qlrCommonTable,tdytTable }, |
| 301 | computed: { | 312 | computed: { |
| 302 | ...mapGetters(["dictData", "flag"]), | 313 | ...mapGetters(["dictData", "flag"]), |
| 303 | }, | 314 | }, |
| ... | @@ -316,7 +327,6 @@ export default { | ... | @@ -316,7 +327,6 @@ export default { |
| 316 | }; | 327 | }; |
| 317 | }, | 328 | }, |
| 318 | created() { | 329 | created() { |
| 319 | console.log("受理信息",this.ruleForm); | ||
| 320 | this.loadData(); | 330 | this.loadData(); |
| 321 | }, | 331 | }, |
| 322 | mounted() {}, | 332 | mounted() {}, |
| ... | @@ -324,7 +334,9 @@ export default { | ... | @@ -324,7 +334,9 @@ export default { |
| 324 | loadData() { | 334 | loadData() { |
| 325 | init(this.propsParam.bsmRepair).then((res) => { | 335 | init(this.propsParam.bsmRepair).then((res) => { |
| 326 | if (res.code == 200) { | 336 | if (res.code == 200) { |
| 337 | |||
| 327 | this.ruleForm = res.result; | 338 | this.ruleForm = res.result; |
| 339 | console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm); | ||
| 328 | this.isShow = true; | 340 | this.isShow = true; |
| 329 | // this.tableData = res.result; | 341 | // this.tableData = res.result; |
| 330 | // if (this.tableData.length < datas.columns().emptycolNum) { | 342 | // if (this.tableData.length < datas.columns().emptycolNum) { | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
| 4 | * @LastEditTime: 2023-05-09 09:20:10 | 4 | * @LastEditTime: 2023-05-09 09:20:10 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <dialogBox title="新建材料信息1111" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" | 7 | <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" |
| 8 | :isFullscreen="false"> | 8 | :isFullscreen="false"> |
| 9 | <el-form :model="ruleForm" ref="ruleForm" label-width="70px"> | 9 | <el-form :model="ruleForm" ref="ruleForm" label-width="70px"> |
| 10 | <el-row> | 10 | <el-row> | ... | ... |
| ... | @@ -11,88 +11,77 @@ | ... | @@ -11,88 +11,77 @@ |
| 11 | :visible.sync="dialogVisible" | 11 | :visible.sync="dialogVisible" |
| 12 | custom-class="insetDialog" | 12 | custom-class="insetDialog" |
| 13 | append-to-body | 13 | append-to-body |
| 14 | width="20%" | 14 | width="60%" |
| 15 | > | 15 | > |
| 16 | <el-select v-model="qllxvalue" placeholder="请选择"> | 16 | <el-radio-group v-model="radio"> |
| 17 | <el-option | 17 | <el-radio-button |
| 18 | v-for="item in options" | 18 | v-for="(value, key) in qllxlistdata" |
| 19 | :key="item.value" | 19 | :key="key" |
| 20 | :label="item.label" | 20 | :label="value" |
| 21 | :value="item.value" | 21 | ></el-radio-button> |
| 22 | > | 22 | </el-radio-group> |
| 23 | </el-option> | 23 | <div class="btn"> |
| 24 | </el-select> | ||
| 25 | <!-- <el-radio-group v-model="radio"> | ||
| 26 | <el-radio :label="1">111</el-radio> | ||
| 27 | <el-radio :label="2">111</el-radio> | ||
| 28 | </el-radio-group> --> | ||
| 29 | <el-button type="primary" @click="handleSubmit">确定</el-button> | 24 | <el-button type="primary" @click="handleSubmit">确定</el-button> |
| 30 | <el-button type="primary" @click="closeDialog">取消</el-button> | 25 | <el-button type="primary" @click="closeDialog">取消</el-button> |
| 26 | </div> | ||
| 31 | </el-dialog> | 27 | </el-dialog> |
| 32 | </template> | 28 | </template> |
| 33 | 29 | ||
| 34 | <script> | 30 | <script> |
| 35 | export default { | 31 | export default { |
| 36 | 32 | data() { | |
| 37 | data () { | ||
| 38 | return { | 33 | return { |
| 39 | dialogVisible:false, | 34 | dialogVisible: false, |
| 40 | options: [ | 35 | qllxlistdata: {}, |
| 41 | { | 36 | radio: "", |
| 42 | value: "选项1", | 37 | qllx:"" |
| 43 | label: "抵押权", | ||
| 44 | }, | ||
| 45 | { | ||
| 46 | value: "选项2", | ||
| 47 | label: "地役权", | ||
| 48 | }, | ||
| 49 | { | ||
| 50 | value: "选项3", | ||
| 51 | label: "预告登记", | ||
| 52 | }, | ||
| 53 | { | ||
| 54 | value: "选项4", | ||
| 55 | label: "异议登记", | ||
| 56 | }, | ||
| 57 | { | ||
| 58 | value: "选项5", | ||
| 59 | label: "查封登记", | ||
| 60 | }, | ||
| 61 | ], | ||
| 62 | qllxvalue: "", | ||
| 63 | radio:3, | ||
| 64 | qllxobj:{ | ||
| 65 | qllx:"", | ||
| 66 | bsmQlxx | ||
| 67 | |||
| 68 | } | ||
| 69 | }; | 38 | }; |
| 70 | }, | 39 | }, |
| 40 | |||
| 71 | methods: { | 41 | methods: { |
| 72 | closeDialog () { | 42 | closeDialog() { |
| 73 | this.dialogVisible=false | 43 | this.dialogVisible = false; |
| 74 | }, | 44 | }, |
| 75 | handleSubmit () { | 45 | handleSubmit() { |
| 76 | let qllxobj={ | 46 | for (const key in this.qllxlistdata) { |
| 77 | qllx:this.value, | 47 | if (this.qllxlistdata[key] === this.radio) { |
| 78 | bsmQlxx:this.value | 48 | this.qllx= key; |
| 49 | } | ||
| 50 | } | ||
| 51 | if(this.qllx){ | ||
| 52 | let qllxobj = { | ||
| 53 | qllx:this.qllx, | ||
| 54 | bsmQlxx:"" | ||
| 55 | }; | ||
| 79 | 56 | ||
| 57 | this.$parent.addRepairRecord(qllxobj) | ||
| 58 | }else{ | ||
| 59 | this.$message({ | ||
| 60 | type: "warning", | ||
| 61 | message: "请选择权利类型!", | ||
| 62 | }); | ||
| 80 | } | 63 | } |
| 81 | // this.$parent.addRepairRecord(qllxobj) | 64 | |
| 82 | }, | 65 | }, |
| 83 | }, | 66 | }, |
| 84 | }; | 67 | }; |
| 85 | </script> | 68 | </script> |
| 86 | <style scoped lang="scss"> | 69 | <style scoped lang="scss"> |
| 87 | .qllxdialog{ | 70 | .qllxdialog { |
| 88 | margin-top: 200px; | 71 | margin-top: 200px; |
| 89 | /deep/.el-dialog__body{ | 72 | /deep/.el-dialog__body { |
| 90 | margin-top: 10px; | 73 | margin-top: 10px; |
| 91 | height: 100px; | 74 | // height: 100px; |
| 75 | padding: 30px; | ||
| 92 | } | 76 | } |
| 93 | .el-button{ | 77 | .btn{ |
| 78 | margin:30px; | ||
| 79 | text-align: center; | ||
| 80 | .el-button { | ||
| 94 | margin-top: 10px; | 81 | margin-top: 10px; |
| 95 | margin-left: 20px; | 82 | margin-left: 20px; |
| 96 | } | 83 | } |
| 84 | } | ||
| 85 | |||
| 97 | } | 86 | } |
| 98 | </style> | 87 | </style> | ... | ... |
| ... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
| 25 | row.qszt == '0' ? 'linshi' : '', | 25 | row.qszt == '0' ? 'linshi' : '', |
| 26 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 26 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
| 27 | ]"> | 27 | ]"> |
| 28 | <div class="setbut" v-if="item.prop == 'cz'"> | 28 | <div class="setbut" v-if="item.prop == 'cz'&&item.sjlx !='系统数据'"> |
| 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 30 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | 30 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> |
| 31 | </div> | 31 | </div> | ... | ... |
| ... | @@ -4,58 +4,10 @@ | ... | @@ -4,58 +4,10 @@ |
| 4 | * @LastEditTime: 2023-05-29 14:39:11 | 4 | * @LastEditTime: 2023-05-29 14:39:11 |
| 5 | */ | 5 | */ |
| 6 | //流程环节操作按钮 | 6 | //流程环节操作按钮 |
| 7 | export function getForm (tabName, djywbm) { | 7 | export function getForm(tabName) { |
| 8 | let form; | 8 | let form; |
| 9 | switch (tabName) { | 9 | switch (tabName) { |
| 10 | // case "jsydsyqslxx100": | 10 | |
| 11 | // form = require("@/views/ywbl/slsqxx/jsydsyq/slxx.vue"); | ||
| 12 | // break; | ||
| 13 | // case "jsydsyqslxx300": | ||
| 14 | // form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); | ||
| 15 | // break; | ||
| 16 | // case "fwsyqslxx100": | ||
| 17 | // form = require("@/views/ywbl/slsqxx/fdcq2/slxx.vue"); | ||
| 18 | // break; | ||
| 19 | // case "fwsyqslxx300": | ||
| 20 | // form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue"); | ||
| 21 | // break; | ||
| 22 | // case "nydsyqslxx100": | ||
| 23 | // form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue"); | ||
| 24 | // break; | ||
| 25 | // case "nydsyqslxx200": | ||
| 26 | // form = require("@/views/ywbl/slsqxx/nydsyq/slxx200.vue"); | ||
| 27 | // break; | ||
| 28 | // case "tdslxxCfdj": | ||
| 29 | // form = require("@/views/ywbl/slsqxx/cfdj/tdslxx.vue"); | ||
| 30 | // break; | ||
| 31 | // case "plslxxCfdj": | ||
| 32 | // form = require("@/views/ywbl/slsqxx/cfdj/plcfslxx.vue"); | ||
| 33 | // break; | ||
| 34 | // case "diyaqSlxx": | ||
| 35 | // form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue"); | ||
| 36 | // break; | ||
| 37 | // case "ygmm100": | ||
| 38 | // form = require("@/views/ywbl/slsqxx/ygdj/slxx.vue"); | ||
| 39 | // break; | ||
| 40 | // case "ygmm300": | ||
| 41 | // form = require("@/views/ywbl/slsqxx/ygdj/slxx300.vue"); | ||
| 42 | // break; | ||
| 43 | // case "ygdy100": | ||
| 44 | // case "ygdy300": | ||
| 45 | // form = require("@/views/ywbl/slsqxx/ygdy/slxx.vue"); | ||
| 46 | // break; | ||
| 47 | // case "zjgcdyqSlxx": | ||
| 48 | // form = require("@/views/ywbl/slsqxx/zjgcdy/slxx.vue"); | ||
| 49 | // break; | ||
| 50 | // case "szxx": | ||
| 51 | // form = require("@/views/djbworkflow/components/szxx.vue"); | ||
| 52 | // break; | ||
| 53 | // case "fzxx": | ||
| 54 | // form = require("@/views/djbworkflow/components/fzxx.vue"); | ||
| 55 | // break; | ||
| 56 | // case "zdt": | ||
| 57 | // form = require("@/views/djbworkflow/components/zdt.vue"); | ||
| 58 | // break; | ||
| 59 | case "zdjbxx": | 11 | case "zdjbxx": |
| 60 | form = require("@/views/registerBook/zdjbxx.vue"); | 12 | form = require("@/views/registerBook/zdjbxx.vue"); |
| 61 | break; | 13 | break; |
| ... | @@ -89,72 +41,33 @@ export function getForm (tabName, djywbm) { | ... | @@ -89,72 +41,33 @@ export function getForm (tabName, djywbm) { |
| 89 | case "yydj": | 41 | case "yydj": |
| 90 | form = require("@/views/registerBook/yydj.vue"); | 42 | form = require("@/views/registerBook/yydj.vue"); |
| 91 | break; | 43 | break; |
| 92 | // // 宗地基本信息 | 44 | case "slxxjsydsyq": |
| 93 | // case "zdjbxx": | 45 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue"); |
| 94 | // form = require("@/views/djbworkflow/djbBook/zdjbxx.vue"); | 46 | break; |
| 95 | // break; | 47 | case "slxxfdcq": |
| 96 | // // 查封登记 | 48 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue"); |
| 97 | // case "cfdj": | 49 | break; |
| 98 | // form = require("@/views/djbworkflow/djbBook/cfdj.vue"); | 50 | case "slxxdyaq": |
| 99 | // break; | 51 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue"); |
| 100 | // // 国有建设用地使用权 | 52 | break; |
| 101 | // case "jsydsyq": | 53 | case "slxxygdj": |
| 102 | // form = require("@/views/djbworkflow/djbBook/jsydsyq.vue"); | 54 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/ygdj.vue"); |
| 103 | // break; | 55 | break; |
| 104 | // // 农用地使用权 | 56 | case "slxxyydj": |
| 105 | // case "nydsyq": | 57 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/yydj.vue"); |
| 106 | // form = require("@/views/djbworkflow/djbBook/nydsyq.vue"); | 58 | break; |
| 107 | // break; | 59 | case "slxxdyiq": |
| 108 | // // 房屋产权2 | 60 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/dyiq.vue"); |
| 109 | // case "fdcq2": | 61 | break; |
| 110 | // form = require("@/views/djbworkflow/djbBook/fdcq2.vue"); | 62 | case "slxxcfdj": |
| 111 | // break; | 63 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue"); |
| 112 | // // 抵押权 | 64 | break; |
| 113 | // case "diyaq": | ||
| 114 | // form = require("@/views/djbworkflow/djbBook/diyaq.vue"); | ||
| 115 | // break; | ||
| 116 | // // 预告登记 | ||
| 117 | // case "ygdj": | ||
| 118 | // form = require("@/views/djbworkflow/djbBook/ygdj.vue"); | ||
| 119 | // break; | ||
| 120 | // // 地役权 | ||
| 121 | // case "diyiq": | ||
| 122 | // form = require("@/views/djbworkflow/djbBook/diyiq.vue"); | ||
| 123 | // break; | ||
| 124 | // // 登记簿封面 | ||
| 125 | // case "djbfm": | ||
| 126 | // form = require("@/views/djbworkflow/djbBook/djbfm.vue"); | ||
| 127 | // break; | ||
| 128 | // // 异议登记 | ||
| 129 | // case "yydj": | ||
| 130 | // form = require("@/views/djbworkflow/djbBook/yydj.vue"); | ||
| 131 | // break; | ||
| 132 | // 受理信息 | ||
| 133 | case "slxx": | ||
| 134 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/fwsyq/slxx.vue"); | ||
| 135 | break; | ||
| 136 | // case "clxx": | ||
| 137 | // form = require("@/views/djbworkflow/djbBook/components/clxx.vue"); | ||
| 138 | // break; | ||
| 139 | // case "spyj": | ||
| 140 | // form = require("@/views/djbworkflow/djbBook/components/spyj.vue"); | ||
| 141 | // break; | ||
| 142 | // case "slxx": | ||
| 143 | // form = require("@/views/djbworkflow/djbBook/slxx.vue"); | ||
| 144 | // break; | ||
| 145 | case "clxx": | 65 | case "clxx": |
| 146 | form = require("@/views/djbworkflow/djbBook/clxx.vue"); | 66 | form = require("@/views/djbworkflow/djbBook/clxx.vue"); |
| 147 | break; | 67 | break; |
| 148 | case "spyj": | 68 | case "spyj": |
| 149 | form = require("@/views/djbworkflow/djbBook/spyj.vue"); | 69 | form = require("@/views/djbworkflow/djbBook/spyj.vue"); |
| 150 | break; | 70 | break; |
| 151 | |||
| 152 | // case "clxx": | ||
| 153 | // form = require("@/views/djbworkflow/components/clxxUnify.vue"); | ||
| 154 | // break; | ||
| 155 | // case "spyj": | ||
| 156 | // form = require("@/views/djbworkflow/components/spyj.vue"); | ||
| 157 | // break; | ||
| 158 | default: | 71 | default: |
| 159 | form = require("@/views/error-page/404.vue"); | 72 | form = require("@/views/error-page/404.vue"); |
| 160 | break; | 73 | break; | ... | ... |
| ... | @@ -136,8 +136,10 @@ export default { | ... | @@ -136,8 +136,10 @@ export default { |
| 136 | 136 | ||
| 137 | // break; | 137 | // break; |
| 138 | case "B5": | 138 | case "B5": |
| 139 | this.$refs.Menu.loadBdcdylist("add") | ||
| 139 | // this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true) | 140 | // this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true) |
| 140 | this.$refs.qllxlist.dialogVisible=true | 141 | |
| 142 | |||
| 141 | break; | 143 | break; |
| 142 | case "B6": | 144 | case "B6": |
| 143 | //根据编号获取对应信息 | 145 | //根据编号获取对应信息 | ... | ... |
| ... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
| 63 | </div> | 63 | </div> |
| 64 | </div> | 64 | </div> |
| 65 | <!-- 新增补录信息勾选权利类型 --> | 65 | <!-- 新增补录信息勾选权利类型 --> |
| 66 | <qllxDailog ref="qllxlist"/> | 66 | <qllxDailog ref="qllxlist" /> |
| 67 | </div> | 67 | </div> |
| 68 | </template> | 68 | </template> |
| 69 | <style scoped lang="scss"> | 69 | <style scoped lang="scss"> |
| ... | @@ -73,9 +73,11 @@ | ... | @@ -73,9 +73,11 @@ |
| 73 | <script> | 73 | <script> |
| 74 | import WorkFlow from "./mixin/index"; | 74 | import WorkFlow from "./mixin/index"; |
| 75 | import { getForm } from "./flowform"; | 75 | import { getForm } from "./flowform"; |
| 76 | import { getStepFormInfo } from "@/api/fqsq.js" | ||
| 76 | import NoticeBar from "@/components/NoticeBar/index"; | 77 | import NoticeBar from "@/components/NoticeBar/index"; |
| 77 | import ProcessViewer from "./components/processViewer.vue"; | 78 | import ProcessViewer from "./components/processViewer.vue"; |
| 78 | // 引入左侧菜单 | 79 | // 引入左侧菜单 |
| 80 | import { leftMenubl } from "@/api/djbbl.js"; | ||
| 79 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 81 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
| 80 | import qllxDailog from "./djbBook/components/qllxDailog"; | 82 | import qllxDailog from "./djbBook/components/qllxDailog"; |
| 81 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 83 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
| ... | @@ -109,46 +111,81 @@ export default { | ... | @@ -109,46 +111,81 @@ export default { |
| 109 | tabName: "", | 111 | tabName: "", |
| 110 | // 弹框显示 | 112 | // 弹框显示 |
| 111 | dialogVisible: true, | 113 | dialogVisible: true, |
| 112 | // 权利类型数组 | ||
| 113 | qllxlist: [], | ||
| 114 | //表单集合 | 114 | //表单集合 |
| 115 | tabList: [], | 115 | tabList: [], |
| 116 | //选择加载哪一个组件 | 116 | //选择加载哪一个组件 |
| 117 | componentTag: "", | 117 | componentTag: "", |
| 118 | //设置表单传递数据 | 118 | //设置表单传递数据 |
| 119 | currentSelectProps: {}, | 119 | currentSelectProps: {}, |
| 120 | // 首次拿到的业务信息 | ||
| 121 | oneSelectProps:{}, | ||
| 120 | //材料信息选择卡索引 | 122 | //材料信息选择卡索引 |
| 121 | clxxIndex: "", | 123 | clxxIndex: "", |
| 122 | //材料信息选项卡对象 | 124 | //材料信息选项卡对象 |
| 123 | clxxTab: {}, | 125 | clxxTab: {}, |
| 126 | oneget:true, | ||
| 124 | //页面监听时间 | 127 | //页面监听时间 |
| 125 | _beforeUnload_time: "", | 128 | _beforeUnload_time: "", |
| 126 | treedata: {}, | 129 | treedata: {}, |
| 127 | tabdata: [], | 130 | tabdata: [], |
| 128 | defaultNode: {}, | 131 | defaultNode: {}, |
| 129 | |||
| 130 | }; | 132 | }; |
| 131 | }, | 133 | }, |
| 132 | mounted() {}, | 134 | mounted() { |
| 135 | // this.getleftMenubl() | ||
| 136 | }, | ||
| 133 | 137 | ||
| 134 | methods: { | 138 | methods: { |
| 139 | |||
| 140 | stepForm (qllx) { | ||
| 141 | this.oneSelectProps.qllx=qllx | ||
| 142 | if(this.$refs.Menu.supplementarylist.length){ | ||
| 143 | getStepFormInfo(this.oneSelectProps).then((res) => { | ||
| 144 | this.$nextTick(function () { | ||
| 145 | this.tabList=res.result | ||
| 146 | this.tabName =this.tabList[0].value; | ||
| 147 | this.getFromRouter(this.tabName) | ||
| 148 | }); | ||
| 149 | }) | ||
| 150 | } | ||
| 151 | }, | ||
| 152 | // 获取右侧菜单 | ||
| 153 | // getleftMenubl() { | ||
| 154 | // leftMenubl(this.bsmSlsq).then((res) => { | ||
| 155 | // this.supplementarylist = res.result; | ||
| 156 | // }) | ||
| 157 | // }, | ||
| 135 | getQllxByBdcdyid() { | 158 | getQllxByBdcdyid() { |
| 159 | if(this.currentSelectProps.bdcdyid){ | ||
| 136 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( | 160 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( |
| 137 | (res) => { | 161 | (res) => { |
| 138 | if (res.code === 200) { | 162 | if (res.code === 200) { |
| 139 | console.log("Qllxlist", res); | 163 | this.$refs.qllxlist.qllxlistdata = res.result; |
| 164 | this.$refs.qllxlist.dialogVisible = true; | ||
| 140 | } | 165 | } |
| 141 | } | 166 | } |
| 142 | ); | 167 | ); |
| 168 | } | ||
| 169 | |||
| 143 | }, | 170 | }, |
| 144 | // 获取右侧选项卡 | 171 | // 获取右侧选项卡 |
| 145 | getCurrentSelectProps(val) { | 172 | getCurrentSelectProps(val) { |
| 173 | if(val.bdcdyid){ | ||
| 174 | this.oneSelectProps = val; | ||
| 175 | } | ||
| 146 | this.currentSelectProps = val; | 176 | this.currentSelectProps = val; |
| 147 | if (this.currentSelectProps.bsmRepair) { | 177 | if (this.currentSelectProps.bsmRepair) { |
| 148 | this.tabset(val); | 178 | this.stepForm (this.currentSelectProps.qllx) |
| 149 | } else { | 179 | } else if(!this.oneget){ |
| 150 | this.getdjblist(); | 180 | this.getdjblist(); |
| 181 | |||
| 182 | } | ||
| 183 | if(this.oneget){ | ||
| 184 | this.oneget=false | ||
| 185 | this.stepForm (this.currentSelectProps.qllx) | ||
| 186 | |||
| 151 | } | 187 | } |
| 188 | |||
| 152 | }, | 189 | }, |
| 153 | // 获取渲染登记簿列表 | 190 | // 获取渲染登记簿列表 |
| 154 | getdjblist() { | 191 | getdjblist() { |
| ... | @@ -162,14 +199,9 @@ export default { | ... | @@ -162,14 +199,9 @@ export default { |
| 162 | this.defaultNode = getNode( | 199 | this.defaultNode = getNode( |
| 163 | this.currentSelectProps.qllx, | 200 | this.currentSelectProps.qllx, |
| 164 | { linShi: 0, xianShi: 0, liShi: 0 }, | 201 | { linShi: 0, xianShi: 0, liShi: 0 }, |
| 165 | "" | ||
| 166 | ); | 202 | ); |
| 167 | this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点 | 203 | this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点 |
| 168 | }); | 204 | }); |
| 169 | } | ||
| 170 | }); | ||
| 171 | |||
| 172 | setTimeout(() => { | ||
| 173 | let settree = JSON.parse(JSON.stringify(this.treedata)); | 205 | let settree = JSON.parse(JSON.stringify(this.treedata)); |
| 174 | this.tabdata = [ | 206 | this.tabdata = [ |
| 175 | ...settree, | 207 | ...settree, |
| ... | @@ -180,74 +212,58 @@ export default { | ... | @@ -180,74 +212,58 @@ export default { |
| 180 | arr[index].value = item.id; | 212 | arr[index].value = item.id; |
| 181 | }); | 213 | }); |
| 182 | this.tabList = this.tabdata; | 214 | this.tabList = this.tabdata; |
| 183 | this.getQllxByBdcdyid(); | 215 | } |
| 184 | }, 200); | ||
| 185 | }, | ||
| 186 | |||
| 187 | tabset(val) { | ||
| 188 | this.tabName = ""; | ||
| 189 | this.tabList = [ | ||
| 190 | { | ||
| 191 | name: val.qllxmc + "补录信息", | ||
| 192 | value: "slxx", | ||
| 193 | sort: 1, | ||
| 194 | }, | ||
| 195 | { | ||
| 196 | name: "审批意见", | ||
| 197 | value: "spyj", | ||
| 198 | sort: 2, | ||
| 199 | }, | ||
| 200 | { | ||
| 201 | name: "材料信息", | ||
| 202 | value: "clxx", | ||
| 203 | sort: 2, | ||
| 204 | }, | ||
| 205 | ]; | ||
| 206 | |||
| 207 | this.$nextTick(function () { | ||
| 208 | this.tabName = "slxx"; | ||
| 209 | }); | 216 | }); |
| 210 | }, | 217 | }, |
| 211 | |||
| 212 | //右侧表单选项卡事件 | 218 | //右侧表单选项卡事件 |
| 213 | beforeLeave(activeName, oldActiveName) { | 219 | beforeLeave(activeName) { |
| 214 | if (activeName && activeName != 0) this.getFromRouter(activeName); | 220 | if (activeName && activeName != 0) this.getFromRouter(activeName); |
| 215 | }, | 221 | }, |
| 216 | //切换选项卡内容组件 | 222 | //切换选项卡内容组件 |
| 217 | getFromRouter(tabname) { | 223 | getFromRouter(tabname) { |
| 218 | for (let item of this.tabList) { | 224 | this.componentTag = getForm(tabname); |
| 219 | if (item.value === tabname) { | ||
| 220 | this.currentSelectTab = item; | ||
| 221 | break; | ||
| 222 | } | ||
| 223 | } | ||
| 224 | this.componentTag = getForm(tabname, this.$route.query.sqywbm); | ||
| 225 | }, | 225 | }, |
| 226 | 226 | ||
| 227 | // 增加补录记录 | 227 | // 增加补录记录 |
| 228 | addRepairRecord(row) { | 228 | addRepairRecord(row,del) { |
| 229 | let from = { | 229 | let from = { |
| 230 | bsmQlxx: "", | 230 | bsmQlxx: "", |
| 231 | bsmSlsq: this.bsmSlsq, | 231 | bsmSlsq: this.bsmSlsq, |
| 232 | bsmSldy: this.currentSelectProps.bsmSldy, | 232 | bsmSldy: this.currentSelectProps.bsmSldy, |
| 233 | operate: "C", | 233 | operate: "C", |
| 234 | qllx: this.currentSelectProps.qllx, | 234 | qllx: "", |
| 235 | }; | 235 | }; |
| 236 | if (row) { | 236 | if (row) { |
| 237 | from.bsmQlxx = row.bsmQlxx; | 237 | from.bsmQlxx = row.bsmQlxx; |
| 238 | from.operate = "U"; | 238 | if(del){ |
| 239 | from.operate = del; | ||
| 240 | }else{ | ||
| 241 | from.operate = row.bsmQlxx ? "U" : "C"; | ||
| 242 | } | ||
| 239 | from.qllx = row.qllx; | 243 | from.qllx = row.qllx; |
| 240 | } | 244 | } |
| 241 | |||
| 242 | addRepairRecord(from).then((res) => { | 245 | addRepairRecord(from).then((res) => { |
| 246 | if(res.code=='200'){ | ||
| 247 | this.$refs.qllxlist.dialogVisible = false; | ||
| 243 | this.$nextTick(() => { | 248 | this.$nextTick(() => { |
| 244 | this.$refs.Menu.getleftMenubl(res.result); | 249 | this.$refs.Menu.getleftMenubl(res.result); |
| 250 | this.$message({ | ||
| 251 | type: "success", | ||
| 252 | message: "补录成功!", | ||
| 245 | }); | 253 | }); |
| 246 | }); | 254 | }); |
| 247 | }, | 255 | }else{ |
| 256 | this.$alert(res.message, '提示', { | ||
| 257 | confirmButtonText: '确定', | ||
| 258 | type: 'warning' | ||
| 259 | }); | ||
| 260 | } | ||
| 261 | }).catch((res) => { | ||
| 248 | 262 | ||
| 263 | console.log("错",res); | ||
| 264 | });; | ||
| 265 | }, | ||
| 249 | }, | 266 | }, |
| 250 | }; | 267 | }; |
| 251 | </script> | 268 | </script> |
| 252 | <style scoped lang="scss"> | 269 | <style scoped lang="scss"></style> |
| 253 | </style> | ... | ... |
src/views/login/images/login-img.svg
0 → 100644
This diff is collapsed.
Click to expand it.
16.7 KB
src/views/login/images/logo-login.svg
0 → 100644
This diff could not be displayed because it is too large.
src/views/login/images/valid.svg
0 → 100644
| 1 | <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1687311691503" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10425" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M867.584 160.192c-149.632-16.928-262.208-57.408-334.592-120.352l-19.04-16.544-20.544 14.656C379.968 118.944 267.776 160 160 160H128v448c0 137.344 121.088 261.92 370.208 380.864l13.088 6.24 13.344-5.728C771.072 883.52 896 755.232 896 608V163.424l-28.416-3.232zM832 608c0 116.8-107.392 223.36-319.328 316.8C299.872 821.024 192 714.464 192 608V222.976c104.672-6.784 211.584-46.688 318.496-118.944C587.232 162.528 695.168 201.536 832 220.256V608z" p-id="10426" fill="#6D7278"></path><path d="M359.776 468.672a32 32 0 1 0-47.968 42.4l121.792 137.824c12.608 14.24 30.176 21.568 47.904 21.568a64.384 64.384 0 0 0 49.696-23.52l197.6-242.72a32 32 0 0 0-49.632-40.416l-197.6 242.688-121.792-137.824z" p-id="10427" fill="#6D7278"></path></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| ... | @@ -324,7 +324,6 @@ export default { | ... | @@ -324,7 +324,6 @@ export default { |
| 324 | }, | 324 | }, |
| 325 | //切换房屋状态 | 325 | //切换房屋状态 |
| 326 | handleChoosedH(bsms, color) { | 326 | handleChoosedH(bsms, color) { |
| 327 | debugger | ||
| 328 | this.$refs.lpbContent.changeChoosed(bsms, color); | 327 | this.$refs.lpbContent.changeChoosed(bsms, color); |
| 329 | }, | 328 | }, |
| 330 | //获取各项单元状态统计数据 | 329 | //获取各项单元状态统计数据 | ... | ... |
| ... | @@ -171,7 +171,6 @@ export default { | ... | @@ -171,7 +171,6 @@ export default { |
| 171 | }, | 171 | }, |
| 172 | changeChoosedObj: { | 172 | changeChoosedObj: { |
| 173 | handler(val) { | 173 | handler(val) { |
| 174 | debugger | ||
| 175 | //清除选中户 | 174 | //清除选中户 |
| 176 | this.borderColor = 'rgb(230, 230, 230)'; | 175 | this.borderColor = 'rgb(230, 230, 230)'; |
| 177 | this.zdySelectAll(false,true) | 176 | this.zdySelectAll(false,true) | ... | ... |
| ... | @@ -89,7 +89,6 @@ export default { | ... | @@ -89,7 +89,6 @@ export default { |
| 89 | methods: { | 89 | methods: { |
| 90 | // 改变户选中状态 | 90 | // 改变户选中状态 |
| 91 | changeChoosed(bsms, color){ | 91 | changeChoosed(bsms, color){ |
| 92 | debugger | ||
| 93 | this.changeChoosedObj.bsms = bsms; | 92 | this.changeChoosedObj.bsms = bsms; |
| 94 | this.changeChoosedObj.color = color; | 93 | this.changeChoosedObj.color = color; |
| 95 | }, | 94 | }, | ... | ... |
| ... | @@ -24,6 +24,10 @@ | ... | @@ -24,6 +24,10 @@ |
| 24 | row.qszt == '0' ? 'linshi' : '', | 24 | row.qszt == '0' ? 'linshi' : '', |
| 25 | item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))? 'linshiIcon' : '', | 25 | item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))? 'linshiIcon' : '', |
| 26 | ]"> | 26 | ]"> |
| 27 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | ||
| 28 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
| 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | ||
| 30 | </div> | ||
| 27 | <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))">正在办理</div> | 31 | <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))">正在办理</div> |
| 28 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> | 32 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> |
| 29 | 33 | ||
| ... | @@ -62,6 +66,9 @@ | ... | @@ -62,6 +66,9 @@ |
| 62 | }, | 66 | }, |
| 63 | methods: { | 67 | methods: { |
| 64 | loadData () { | 68 | loadData () { |
| 69 | if (this.$parent.addRepairRecord) { | ||
| 70 | this.columns.unshift({ prop: "cz", label: "操作" }); | ||
| 71 | } | ||
| 65 | getCfdjList({ | 72 | getCfdjList({ |
| 66 | bdcdyid: this.propsParam.bdcdyid, | 73 | bdcdyid: this.propsParam.bdcdyid, |
| 67 | qllx: this.propsParam.qllx, | 74 | qllx: this.propsParam.qllx, |
| ... | @@ -106,6 +113,28 @@ | ... | @@ -106,6 +113,28 @@ |
| 106 | } | 113 | } |
| 107 | return name; | 114 | return name; |
| 108 | }, | 115 | }, |
| 116 | // 新增一条补录信息 | ||
| 117 | editDialog(row, del) { | ||
| 118 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | ||
| 119 | confirmButtonText: "确定", | ||
| 120 | cancelButtonText: "取消", | ||
| 121 | type: "warning", | ||
| 122 | }) | ||
| 123 | .then(() => { | ||
| 124 | this.$parent.addRepairRecord(row, del); | ||
| 125 | |||
| 126 | this.$message({ | ||
| 127 | type: "success", | ||
| 128 | message: "补录成功!", | ||
| 129 | }); | ||
| 130 | }) | ||
| 131 | .catch(() => { | ||
| 132 | this.$message({ | ||
| 133 | type: "info", | ||
| 134 | message: "取消编辑", | ||
| 135 | }); | ||
| 136 | }); | ||
| 137 | }, | ||
| 109 | }, | 138 | }, |
| 110 | }; | 139 | }; |
| 111 | </script> | 140 | </script> | ... | ... |
| ... | @@ -5,7 +5,12 @@ | ... | @@ -5,7 +5,12 @@ |
| 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 v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | 8 | <el-checkbox |
| 9 | v-for="item in qsztList" | ||
| 10 | :key="item.value" | ||
| 11 | :label="item.value" | ||
| 12 | >{{ item.label }}</el-checkbox | ||
| 13 | > | ||
| 9 | </el-checkbox-group> | 14 | </el-checkbox-group> |
| 10 | </div> | 15 | </div> |
| 11 | </div> | 16 | </div> |
| ... | @@ -15,14 +20,28 @@ | ... | @@ -15,14 +20,28 @@ |
| 15 | <td> | 20 | <td> |
| 16 | {{ item.label }} | 21 | {{ item.label }} |
| 17 | </td> | 22 | </td> |
| 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 23 | <td |
| 24 | v-for="(row, index) in tableData" | ||
| 25 | :key="index" | ||
| 26 | :class="[ | ||
| 19 | row.qszt == '2' ? 'lishi' : '', | 27 | row.qszt == '2' ? 'lishi' : '', |
| 20 | row.qszt == '0' ? 'linshi' : '', | 28 | row.qszt == '0' ? 'linshi' : '', |
| 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 29 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
| 22 | ]"> | 30 | ]" |
| 23 | <div class="setbut" v-if="item.prop == 'cz'"> | 31 | > |
| 24 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 32 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 25 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | 33 | <el-button |
| 34 | type="text" | ||
| 35 | icon="el-icon-edit-outline" | ||
| 36 | @click="editDialog(row)" | ||
| 37 | >编辑</el-button | ||
| 38 | > | ||
| 39 | <el-button | ||
| 40 | type="text" | ||
| 41 | icon="el-icon-edit-outline" | ||
| 42 | @click="editDialog(row, 'D')" | ||
| 43 | >删除</el-button | ||
| 44 | > | ||
| 26 | </div> | 45 | </div> |
| 27 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 46 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
| 28 | 正在办理 | 47 | 正在办理 |
| ... | @@ -42,11 +61,11 @@ | ... | @@ -42,11 +61,11 @@ |
| 42 | </template> | 61 | </template> |
| 43 | 62 | ||
| 44 | <script> | 63 | <script> |
| 45 | import { datas } from "./qlxxFormData.js"; | 64 | import { datas } from "./qlxxFormData.js"; |
| 46 | import { getSjlx } from "@/utils/dictionary.js"; | 65 | import { getSjlx } from "@/utils/dictionary.js"; |
| 47 | import { getDiyaqList } from "@/api/registerBook.js"; | 66 | import { getDiyaqList } from "@/api/registerBook.js"; |
| 48 | export default { | 67 | export default { |
| 49 | data () { | 68 | data() { |
| 50 | return { | 69 | return { |
| 51 | title: "抵押权登记信息", | 70 | title: "抵押权登记信息", |
| 52 | qsztList: datas.columns().qsztList, | 71 | qsztList: datas.columns().qsztList, |
| ... | @@ -61,11 +80,14 @@ | ... | @@ -61,11 +80,14 @@ |
| 61 | columns: datas.columns().DYAQ, | 80 | columns: datas.columns().DYAQ, |
| 62 | }; | 81 | }; |
| 63 | }, | 82 | }, |
| 64 | created () { | 83 | created() { |
| 65 | this.loadData(); | 84 | this.loadData(); |
| 66 | }, | 85 | }, |
| 67 | methods: { | 86 | methods: { |
| 68 | loadData () { | 87 | loadData() { |
| 88 | if (this.$parent.addRepairRecord) { | ||
| 89 | this.columns.unshift({ prop: "cz", label: "操作" }); | ||
| 90 | } | ||
| 69 | getDiyaqList({ | 91 | getDiyaqList({ |
| 70 | bdcdyid: this.propsParam.bdcdyid, | 92 | bdcdyid: this.propsParam.bdcdyid, |
| 71 | qllx: this.propsParam.qllx, | 93 | qllx: this.propsParam.qllx, |
| ... | @@ -73,9 +95,9 @@ | ... | @@ -73,9 +95,9 @@ |
| 73 | }).then((res) => { | 95 | }).then((res) => { |
| 74 | if (res.code === 200) { | 96 | if (res.code === 200) { |
| 75 | this.tableData = res.result; | 97 | this.tableData = res.result; |
| 76 | this.tableData.forEach(item => { | 98 | this.tableData.forEach((item) => { |
| 77 | item.sjlx = getSjlx(item.sjlx) | 99 | item.sjlx = getSjlx(item.sjlx); |
| 78 | }) | 100 | }); |
| 79 | if (this.tableData.length < datas.columns().emptycolNum) { | 101 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 80 | this.emptycolNum = | 102 | this.emptycolNum = |
| 81 | datas.columns().emptycolNum - this.tableData.length; | 103 | datas.columns().emptycolNum - this.tableData.length; |
| ... | @@ -85,7 +107,7 @@ | ... | @@ -85,7 +107,7 @@ |
| 85 | } | 107 | } |
| 86 | }); | 108 | }); |
| 87 | }, | 109 | }, |
| 88 | checkChange () { | 110 | checkChange() { |
| 89 | if (this.checkList.length === 0) { | 111 | if (this.checkList.length === 0) { |
| 90 | this.tableData = []; | 112 | this.tableData = []; |
| 91 | this.emptycolNum = datas.columns().emptycolNum; | 113 | this.emptycolNum = datas.columns().emptycolNum; |
| ... | @@ -93,7 +115,7 @@ | ... | @@ -93,7 +115,7 @@ |
| 93 | this.loadData(); | 115 | this.loadData(); |
| 94 | } | 116 | } |
| 95 | }, | 117 | }, |
| 96 | getQsztName (code) { | 118 | getQsztName(code) { |
| 97 | let name = ""; | 119 | let name = ""; |
| 98 | for (let item of this.qsztList) { | 120 | for (let item of this.qsztList) { |
| 99 | if (item.value == code) { | 121 | if (item.value == code) { |
| ... | @@ -103,10 +125,32 @@ | ... | @@ -103,10 +125,32 @@ |
| 103 | } | 125 | } |
| 104 | return name; | 126 | return name; |
| 105 | }, | 127 | }, |
| 128 | // 新增一条补录信息 | ||
| 129 | editDialog(row, del) { | ||
| 130 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | ||
| 131 | confirmButtonText: "确定", | ||
| 132 | cancelButtonText: "取消", | ||
| 133 | type: "warning", | ||
| 134 | }) | ||
| 135 | .then(() => { | ||
| 136 | this.$parent.addRepairRecord(row, del); | ||
| 137 | |||
| 138 | this.$message({ | ||
| 139 | type: "success", | ||
| 140 | message: "补录成功!", | ||
| 141 | }); | ||
| 142 | }) | ||
| 143 | .catch(() => { | ||
| 144 | this.$message({ | ||
| 145 | type: "info", | ||
| 146 | message: "取消编辑", | ||
| 147 | }); | ||
| 148 | }); | ||
| 106 | }, | 149 | }, |
| 107 | }; | 150 | }, |
| 151 | }; | ||
| 108 | </script> | 152 | </script> |
| 109 | 153 | ||
| 110 | <style lang="scss" scoped> | 154 | <style lang="scss" scoped> |
| 111 | @import "./qlxxCommon.scss"; | 155 | @import "./qlxxCommon.scss"; |
| 112 | </style> | 156 | </style> | ... | ... |
| ... | @@ -5,7 +5,12 @@ | ... | @@ -5,7 +5,12 @@ |
| 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 v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | 8 | <el-checkbox |
| 9 | v-for="item in qsztList" | ||
| 10 | :key="item.value" | ||
| 11 | :label="item.value" | ||
| 12 | >{{ item.label }}</el-checkbox | ||
| 13 | > | ||
| 9 | </el-checkbox-group> | 14 | </el-checkbox-group> |
| 10 | </div> | 15 | </div> |
| 11 | </div> | 16 | </div> |
| ... | @@ -15,14 +20,18 @@ | ... | @@ -15,14 +20,18 @@ |
| 15 | <td> | 20 | <td> |
| 16 | {{ item.label }} | 21 | {{ item.label }} |
| 17 | </td> | 22 | </td> |
| 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 23 | <td |
| 24 | v-for="(row, index) in tableData" | ||
| 25 | :key="index" | ||
| 26 | :class="[ | ||
| 19 | row.qszt == '2' ? 'lishi' : '', | 27 | row.qszt == '2' ? 'lishi' : '', |
| 20 | row.qszt == '0' ? 'linshi' : '', | 28 | row.qszt == '0' ? 'linshi' : '', |
| 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 29 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
| 22 | ]"> | 30 | ]" |
| 23 | <div class="setbut" v-if="item.prop == 'cz'"> | 31 | > |
| 32 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | ||
| 24 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 33 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 25 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | 34 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 26 | </div> | 35 | </div> |
| 27 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 36 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
| 28 | 正在办理 | 37 | 正在办理 |
| ... | @@ -42,11 +51,11 @@ | ... | @@ -42,11 +51,11 @@ |
| 42 | </template> | 51 | </template> |
| 43 | 52 | ||
| 44 | <script> | 53 | <script> |
| 45 | import { datas } from "./qlxxFormData.js"; | 54 | import { datas } from "./qlxxFormData.js"; |
| 46 | import { getSjlx } from "@/utils/dictionary.js"; | 55 | import { getSjlx } from "@/utils/dictionary.js"; |
| 47 | import { getDiyiqList } from "@/api/registerBook.js"; | 56 | import { getDiyiqList } from "@/api/registerBook.js"; |
| 48 | export default { | 57 | export default { |
| 49 | data () { | 58 | data() { |
| 50 | return { | 59 | return { |
| 51 | title: "地役权登记信息", | 60 | title: "地役权登记信息", |
| 52 | qsztList: datas.columns().qsztList, | 61 | qsztList: datas.columns().qsztList, |
| ... | @@ -61,11 +70,14 @@ | ... | @@ -61,11 +70,14 @@ |
| 61 | columns: datas.columns().DYIQ, | 70 | columns: datas.columns().DYIQ, |
| 62 | }; | 71 | }; |
| 63 | }, | 72 | }, |
| 64 | created () { | 73 | created() { |
| 65 | this.loadData(); | 74 | this.loadData(); |
| 66 | }, | 75 | }, |
| 67 | methods: { | 76 | methods: { |
| 68 | loadData () { | 77 | loadData() { |
| 78 | if (this.$parent.addRepairRecord) { | ||
| 79 | this.columns.unshift({ prop: "cz", label: "操作" }); | ||
| 80 | } | ||
| 69 | getDiyiqList({ | 81 | getDiyiqList({ |
| 70 | bdcdyid: this.propsParam.bdcdyid, | 82 | bdcdyid: this.propsParam.bdcdyid, |
| 71 | qllx: this.propsParam.qllx, | 83 | qllx: this.propsParam.qllx, |
| ... | @@ -73,9 +85,9 @@ | ... | @@ -73,9 +85,9 @@ |
| 73 | }).then((res) => { | 85 | }).then((res) => { |
| 74 | if (res.code === 200) { | 86 | if (res.code === 200) { |
| 75 | this.tableData = res.result; | 87 | this.tableData = res.result; |
| 76 | this.tableData.forEach(item => { | 88 | this.tableData.forEach((item) => { |
| 77 | item.sjlx = getSjlx(item.sjlx) | 89 | item.sjlx = getSjlx(item.sjlx); |
| 78 | }) | 90 | }); |
| 79 | if (this.tableData.length < datas.columns().emptycolNum) { | 91 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 80 | this.emptycolNum = | 92 | this.emptycolNum = |
| 81 | datas.columns().emptycolNum - this.tableData.length; | 93 | datas.columns().emptycolNum - this.tableData.length; |
| ... | @@ -85,7 +97,7 @@ | ... | @@ -85,7 +97,7 @@ |
| 85 | } | 97 | } |
| 86 | }); | 98 | }); |
| 87 | }, | 99 | }, |
| 88 | checkChange () { | 100 | checkChange() { |
| 89 | if (this.checkList.length === 0) { | 101 | if (this.checkList.length === 0) { |
| 90 | this.tableData = []; | 102 | this.tableData = []; |
| 91 | this.emptycolNum = datas.columns().emptycolNum; | 103 | this.emptycolNum = datas.columns().emptycolNum; |
| ... | @@ -93,7 +105,7 @@ | ... | @@ -93,7 +105,7 @@ |
| 93 | this.loadData(); | 105 | this.loadData(); |
| 94 | } | 106 | } |
| 95 | }, | 107 | }, |
| 96 | getQsztName (code) { | 108 | getQsztName(code) { |
| 97 | let name = ""; | 109 | let name = ""; |
| 98 | for (let item of this.qsztList) { | 110 | for (let item of this.qsztList) { |
| 99 | if (item.value == code) { | 111 | if (item.value == code) { |
| ... | @@ -103,10 +115,32 @@ | ... | @@ -103,10 +115,32 @@ |
| 103 | } | 115 | } |
| 104 | return name; | 116 | return name; |
| 105 | }, | 117 | }, |
| 118 | // 新增一条补录信息 | ||
| 119 | editDialog(row, del) { | ||
| 120 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | ||
| 121 | confirmButtonText: "确定", | ||
| 122 | cancelButtonText: "取消", | ||
| 123 | type: "warning", | ||
| 124 | }) | ||
| 125 | .then(() => { | ||
| 126 | this.$parent.addRepairRecord(row, del); | ||
| 127 | |||
| 128 | this.$message({ | ||
| 129 | type: "success", | ||
| 130 | message: "补录成功!", | ||
| 131 | }); | ||
| 132 | }) | ||
| 133 | .catch(() => { | ||
| 134 | this.$message({ | ||
| 135 | type: "info", | ||
| 136 | message: "取消编辑", | ||
| 137 | }); | ||
| 138 | }); | ||
| 106 | }, | 139 | }, |
| 107 | }; | 140 | }, |
| 141 | }; | ||
| 108 | </script> | 142 | </script> |
| 109 | 143 | ||
| 110 | <style lang="scss" scoped> | 144 | <style lang="scss" scoped> |
| 111 | @import "./qlxxCommon.scss"; | 145 | @import "./qlxxCommon.scss"; |
| 112 | </style> | 146 | </style> | ... | ... |
| ... | @@ -22,9 +22,9 @@ | ... | @@ -22,9 +22,9 @@ |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', |
| 24 | ]"> | 24 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'"> | 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 28 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
| 30 | 正在办理 | 30 | 正在办理 |
| ... | @@ -113,6 +113,27 @@ | ... | @@ -113,6 +113,27 @@ |
| 113 | } | 113 | } |
| 114 | return name; | 114 | return name; |
| 115 | }, | 115 | }, |
| 116 | // 新增一条补录信息 | ||
| 117 | editDialog(row,del){ | ||
| 118 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
| 119 | confirmButtonText: '确定', | ||
| 120 | cancelButtonText: '取消', | ||
| 121 | type: 'warning' | ||
| 122 | }).then(() => { | ||
| 123 | this.$parent.addRepairRecord(row,del) | ||
| 124 | |||
| 125 | this.$message({ | ||
| 126 | type: 'success', | ||
| 127 | message: '补录成功!' | ||
| 128 | }); | ||
| 129 | }).catch(() => { | ||
| 130 | this.$message({ | ||
| 131 | type: 'info', | ||
| 132 | message: '取消编辑' | ||
| 133 | }); | ||
| 134 | }); | ||
| 135 | |||
| 136 | }, | ||
| 116 | }, | 137 | }, |
| 117 | }; | 138 | }; |
| 118 | </script> | 139 | </script> | ... | ... |
| ... | @@ -5,7 +5,12 @@ | ... | @@ -5,7 +5,12 @@ |
| 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 v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | 8 | <el-checkbox |
| 9 | v-for="item in qsztList" | ||
| 10 | :key="item.value" | ||
| 11 | :label="item.value" | ||
| 12 | >{{ item.label }}</el-checkbox | ||
| 13 | > | ||
| 9 | </el-checkbox-group> | 14 | </el-checkbox-group> |
| 10 | </div> | 15 | </div> |
| 11 | </div> | 16 | </div> |
| ... | @@ -15,14 +20,28 @@ | ... | @@ -15,14 +20,28 @@ |
| 15 | <td> | 20 | <td> |
| 16 | {{ item.label }} | 21 | {{ item.label }} |
| 17 | </td> | 22 | </td> |
| 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 23 | <td |
| 24 | v-for="(row, index) in tableData" | ||
| 25 | :key="index" | ||
| 26 | :class="[ | ||
| 19 | row.qszt == '2' ? 'lishi' : '', | 27 | row.qszt == '2' ? 'lishi' : '', |
| 20 | row.qszt == '0' ? 'linshi' : '', | 28 | row.qszt == '0' ? 'linshi' : '', |
| 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 29 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
| 22 | ]"> | 30 | ]" |
| 23 | <div class="setbut" v-if="item.prop == 'cz'"> | 31 | > |
| 24 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 32 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 25 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | 33 | <el-button |
| 34 | type="text" | ||
| 35 | icon="el-icon-edit-outline" | ||
| 36 | @click="editDialog(row)" | ||
| 37 | >编辑</el-button | ||
| 38 | > | ||
| 39 | <el-button | ||
| 40 | type="text" | ||
| 41 | icon="el-icon-edit-outline" | ||
| 42 | @click="editDialog(row, 'D')" | ||
| 43 | >删除</el-button | ||
| 44 | > | ||
| 26 | </div> | 45 | </div> |
| 27 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 46 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
| 28 | 正在办理 | 47 | 正在办理 |
| ... | @@ -42,11 +61,11 @@ | ... | @@ -42,11 +61,11 @@ |
| 42 | </template> | 61 | </template> |
| 43 | 62 | ||
| 44 | <script> | 63 | <script> |
| 45 | import { datas } from "./qlxxFormData.js"; | 64 | import { datas } from "./qlxxFormData.js"; |
| 46 | import { getSjlx } from "@/utils/dictionary.js"; | 65 | import { getSjlx } from "@/utils/dictionary.js"; |
| 47 | import { getFdcq2List } from "@/api/registerBook.js"; | 66 | import { getFdcq2List } from "@/api/registerBook.js"; |
| 48 | export default { | 67 | export default { |
| 49 | data () { | 68 | data() { |
| 50 | return { | 69 | return { |
| 51 | title: "房地产权登记信息(独幢、层、套、间房屋)", | 70 | title: "房地产权登记信息(独幢、层、套、间房屋)", |
| 52 | qsztList: datas.columns().qsztList, | 71 | qsztList: datas.columns().qsztList, |
| ... | @@ -61,11 +80,14 @@ | ... | @@ -61,11 +80,14 @@ |
| 61 | columns: datas.columns().FDCQ2, | 80 | columns: datas.columns().FDCQ2, |
| 62 | }; | 81 | }; |
| 63 | }, | 82 | }, |
| 64 | created () { | 83 | created() { |
| 65 | this.loadData(); | 84 | this.loadData(); |
| 66 | }, | 85 | }, |
| 67 | methods: { | 86 | methods: { |
| 68 | loadData () { | 87 | loadData() { |
| 88 | if (this.$parent.addRepairRecord) { | ||
| 89 | this.columns.unshift({ prop: "cz", label: "操作" }); | ||
| 90 | } | ||
| 69 | getFdcq2List({ | 91 | getFdcq2List({ |
| 70 | bdcdyid: this.propsParam.bdcdyid, | 92 | bdcdyid: this.propsParam.bdcdyid, |
| 71 | qllx: this.propsParam.qllx, | 93 | qllx: this.propsParam.qllx, |
| ... | @@ -73,9 +95,9 @@ | ... | @@ -73,9 +95,9 @@ |
| 73 | }).then((res) => { | 95 | }).then((res) => { |
| 74 | if (res.code === 200) { | 96 | if (res.code === 200) { |
| 75 | this.tableData = res.result; | 97 | this.tableData = res.result; |
| 76 | this.tableData.forEach(item => { | 98 | this.tableData.forEach((item) => { |
| 77 | item.sjlx = getSjlx(item.sjlx) | 99 | item.sjlx = getSjlx(item.sjlx); |
| 78 | }) | 100 | }); |
| 79 | if (this.tableData.length < datas.columns().emptycolNum) { | 101 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 80 | this.emptycolNum = | 102 | this.emptycolNum = |
| 81 | datas.columns().emptycolNum - this.tableData.length; | 103 | datas.columns().emptycolNum - this.tableData.length; |
| ... | @@ -85,7 +107,7 @@ | ... | @@ -85,7 +107,7 @@ |
| 85 | } | 107 | } |
| 86 | }); | 108 | }); |
| 87 | }, | 109 | }, |
| 88 | checkChange () { | 110 | checkChange() { |
| 89 | if (this.checkList.length === 0) { | 111 | if (this.checkList.length === 0) { |
| 90 | this.tableData = []; | 112 | this.tableData = []; |
| 91 | this.emptycolNum = datas.columns().emptycolNum; | 113 | this.emptycolNum = datas.columns().emptycolNum; |
| ... | @@ -93,7 +115,7 @@ | ... | @@ -93,7 +115,7 @@ |
| 93 | this.loadData(); | 115 | this.loadData(); |
| 94 | } | 116 | } |
| 95 | }, | 117 | }, |
| 96 | getQsztName (code) { | 118 | getQsztName(code) { |
| 97 | let name = ""; | 119 | let name = ""; |
| 98 | for (let item of this.qsztList) { | 120 | for (let item of this.qsztList) { |
| 99 | if (item.value == code) { | 121 | if (item.value == code) { |
| ... | @@ -103,10 +125,27 @@ | ... | @@ -103,10 +125,27 @@ |
| 103 | } | 125 | } |
| 104 | return name; | 126 | return name; |
| 105 | }, | 127 | }, |
| 128 | // 新增一条补录信息 | ||
| 129 | editDialog(row, del) { | ||
| 130 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | ||
| 131 | confirmButtonText: "确定", | ||
| 132 | cancelButtonText: "取消", | ||
| 133 | type: "warning", | ||
| 134 | }) | ||
| 135 | .then(() => { | ||
| 136 | this.$parent.addRepairRecord(row, del); | ||
| 137 | }) | ||
| 138 | .catch(() => { | ||
| 139 | this.$message({ | ||
| 140 | type: "info", | ||
| 141 | message: "取消", | ||
| 142 | }); | ||
| 143 | }); | ||
| 106 | }, | 144 | }, |
| 107 | }; | 145 | }, |
| 146 | }; | ||
| 108 | </script> | 147 | </script> |
| 109 | 148 | ||
| 110 | <style lang="scss" scoped> | 149 | <style lang="scss" scoped> |
| 111 | @import "./qlxxCommon.scss"; | 150 | @import "./qlxxCommon.scss"; |
| 112 | </style> | 151 | </style> | ... | ... |
| ... | @@ -22,9 +22,9 @@ | ... | @@ -22,9 +22,9 @@ |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', |
| 24 | ]"> | 24 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'"> | 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 28 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
| 30 | 正在办理 | 30 | 正在办理 |
| ... | @@ -71,6 +71,7 @@ | ... | @@ -71,6 +71,7 @@ |
| 71 | }, | 71 | }, |
| 72 | methods: { | 72 | methods: { |
| 73 | loadData () { | 73 | loadData () { |
| 74 | |||
| 74 | if(this.$parent.addRepairRecord){ | 75 | if(this.$parent.addRepairRecord){ |
| 75 | this.columns.unshift({prop:"cz", | 76 | this.columns.unshift({prop:"cz", |
| 76 | label:"操作" | 77 | label:"操作" |
| ... | @@ -113,6 +114,27 @@ | ... | @@ -113,6 +114,27 @@ |
| 113 | } | 114 | } |
| 114 | return name; | 115 | return name; |
| 115 | }, | 116 | }, |
| 117 | // 新增一条补录信息 | ||
| 118 | editDialog(row,del){ | ||
| 119 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
| 120 | confirmButtonText: '确定', | ||
| 121 | cancelButtonText: '取消', | ||
| 122 | type: 'warning' | ||
| 123 | }).then(() => { | ||
| 124 | this.$parent.addRepairRecord(row,del) | ||
| 125 | |||
| 126 | this.$message({ | ||
| 127 | type: 'success', | ||
| 128 | message: '补录成功!' | ||
| 129 | }); | ||
| 130 | }).catch(() => { | ||
| 131 | this.$message({ | ||
| 132 | type: 'info', | ||
| 133 | message: '取消编辑' | ||
| 134 | }); | ||
| 135 | }); | ||
| 136 | |||
| 137 | }, | ||
| 116 | }, | 138 | }, |
| 117 | }; | 139 | }; |
| 118 | </script> | 140 | </script> | ... | ... |
| ... | @@ -22,9 +22,9 @@ | ... | @@ -22,9 +22,9 @@ |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', |
| 24 | ]"> | 24 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'"> | 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 28 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
| 30 | 正在办理 | 30 | 正在办理 |
| ... | @@ -142,6 +142,27 @@ | ... | @@ -142,6 +142,27 @@ |
| 142 | } | 142 | } |
| 143 | return name; | 143 | return name; |
| 144 | }, | 144 | }, |
| 145 | // 新增一条补录信息 | ||
| 146 | editDialog(row,del){ | ||
| 147 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
| 148 | confirmButtonText: '确定', | ||
| 149 | cancelButtonText: '取消', | ||
| 150 | type: 'warning' | ||
| 151 | }).then(() => { | ||
| 152 | this.$parent.addRepairRecord(row,del) | ||
| 153 | |||
| 154 | this.$message({ | ||
| 155 | type: 'success', | ||
| 156 | message: '补录成功!' | ||
| 157 | }); | ||
| 158 | }).catch(() => { | ||
| 159 | this.$message({ | ||
| 160 | type: 'info', | ||
| 161 | message: '取消编辑' | ||
| 162 | }); | ||
| 163 | }); | ||
| 164 | |||
| 165 | }, | ||
| 145 | }, | 166 | }, |
| 146 | }; | 167 | }; |
| 147 | </script> | 168 | </script> | ... | ... |
| ... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
| 22 | ]"> | 22 | ]"> |
| 23 | <div class="setbut" v-if="item.prop == 'cz'"> | 23 | <div class="setbut" v-if="item.prop == 'cz'"> |
| 24 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 24 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 25 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | 25 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 26 | </div> | 26 | </div> |
| 27 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 27 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
| 28 | 正在办理 | 28 | 正在办理 |
| ... | @@ -105,6 +105,27 @@ export default { | ... | @@ -105,6 +105,27 @@ export default { |
| 105 | } | 105 | } |
| 106 | return name; | 106 | return name; |
| 107 | }, | 107 | }, |
| 108 | // 新增一条补录信息 | ||
| 109 | editDialog(row,del){ | ||
| 110 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
| 111 | confirmButtonText: '确定', | ||
| 112 | cancelButtonText: '取消', | ||
| 113 | type: 'warning' | ||
| 114 | }).then(() => { | ||
| 115 | this.$parent.addRepairRecord(row,del) | ||
| 116 | |||
| 117 | this.$message({ | ||
| 118 | type: 'success', | ||
| 119 | message: '补录成功!' | ||
| 120 | }); | ||
| 121 | }).catch(() => { | ||
| 122 | this.$message({ | ||
| 123 | type: 'info', | ||
| 124 | message: '取消编辑' | ||
| 125 | }); | ||
| 126 | }); | ||
| 127 | |||
| 128 | }, | ||
| 108 | }, | 129 | }, |
| 109 | }; | 130 | }; |
| 110 | </script> | 131 | </script> | ... | ... |
| ... | @@ -20,6 +20,10 @@ | ... | @@ -20,6 +20,10 @@ |
| 20 | row.qszt == '0' ? 'linshi' : '', | 20 | row.qszt == '0' ? 'linshi' : '', |
| 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
| 22 | ]"> | 22 | ]"> |
| 23 | <div class="setbut" v-if="item.prop == 'cz'"> | ||
| 24 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
| 25 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | ||
| 26 | </div> | ||
| 23 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 27 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
| 24 | 正在办理 | 28 | 正在办理 |
| 25 | </div> | 29 | </div> |
| ... | @@ -100,14 +104,14 @@ export default { | ... | @@ -100,14 +104,14 @@ export default { |
| 100 | } | 104 | } |
| 101 | return name; | 105 | return name; |
| 102 | }, | 106 | }, |
| 103 | // 编辑 | 107 | // 新增一条补录信息 |
| 104 | editDialog(row){ | 108 | editDialog(row,del){ |
| 105 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 109 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
| 106 | confirmButtonText: '确定', | 110 | confirmButtonText: '确定', |
| 107 | cancelButtonText: '取消', | 111 | cancelButtonText: '取消', |
| 108 | type: 'warning' | 112 | type: 'warning' |
| 109 | }).then(() => { | 113 | }).then(() => { |
| 110 | this.$parent.addRepairRecord(row) | 114 | this.$parent.addRepairRecord(row,del) |
| 111 | 115 | ||
| 112 | this.$message({ | 116 | this.$message({ |
| 113 | type: 'success', | 117 | type: 'success', |
| ... | @@ -120,42 +124,7 @@ export default { | ... | @@ -120,42 +124,7 @@ export default { |
| 120 | }); | 124 | }); |
| 121 | }); | 125 | }); |
| 122 | 126 | ||
| 123 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
| 124 | // datalist:this.columns, | ||
| 125 | // data: row, | ||
| 126 | |||
| 127 | // }) | ||
| 128 | |||
| 129 | }, | 127 | }, |
| 130 | // 删除 | ||
| 131 | deleteDialog(row){ | ||
| 132 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
| 133 | confirmButtonText: '确定', | ||
| 134 | cancelButtonText: '取消', | ||
| 135 | type: 'warning' | ||
| 136 | }).then(() => { | ||
| 137 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
| 138 | // deleteClmx(bsmClmx).then(res => { | ||
| 139 | // if (res.code == 200) { | ||
| 140 | // that.$emit('updateList', res.result) | ||
| 141 | // that.$message({ | ||
| 142 | // message: '删除成功!', | ||
| 143 | // type: 'success' | ||
| 144 | // }) | ||
| 145 | // } | ||
| 146 | // }) | ||
| 147 | this.$message({ | ||
| 148 | type: 'success', | ||
| 149 | message: '删除成功!' | ||
| 150 | }); | ||
| 151 | }).catch(() => { | ||
| 152 | this.$message({ | ||
| 153 | type: 'info', | ||
| 154 | message: '已取消删除' | ||
| 155 | }); | ||
| 156 | }); | ||
| 157 | |||
| 158 | } | ||
| 159 | }, | 128 | }, |
| 160 | }; | 129 | }; |
| 161 | </script> | 130 | </script> | ... | ... |
| ... | @@ -5,7 +5,6 @@ | ... | @@ -5,7 +5,6 @@ |
| 5 | <el-row> | 5 | <el-row> |
| 6 | <el-col :span="24" class="btnColRight"> | 6 | <el-col :span="24" class="btnColRight"> |
| 7 | <el-form-item> | 7 | <el-form-item> |
| 8 | {{ isRefresh }} | ||
| 9 | <el-button type="primary" @click="fetchData">查询</el-button> | 8 | <el-button type="primary" @click="fetchData">查询</el-button> |
| 10 | <el-button type="primary" @click="openAddDialog">新增</el-button> | 9 | <el-button type="primary" @click="openAddDialog">新增</el-button> |
| 11 | </el-form-item> | 10 | </el-form-item> |
| ... | @@ -25,12 +24,12 @@ | ... | @@ -25,12 +24,12 @@ |
| 25 | </div> | 24 | </div> |
| 26 | </template> | 25 | </template> |
| 27 | <script> | 26 | <script> |
| 28 | import { mapGetters } from 'vuex' | 27 | import { mapGetters } from 'vuex' |
| 29 | import { getLodop } from "@/utils/LodopFuncs" | 28 | import { getLodop } from "@/utils/LodopFuncs" |
| 30 | import table from "@/utils/mixin/table" | 29 | import table from "@/utils/mixin/table" |
| 31 | import { datas, sendThis } from "./dymbgl" | 30 | import { datas, sendThis } from "./dymbgl" |
| 32 | import { selectPrintTemplateList, delPrintTemplate } from "@/api/system.js" | 31 | import { selectPrintTemplateList, delPrintTemplate } from "@/api/system.js" |
| 33 | export default { | 32 | export default { |
| 34 | name: "dymbgl", | 33 | name: "dymbgl", |
| 35 | mixins: [table], | 34 | mixins: [table], |
| 36 | data () { | 35 | data () { |
| ... | @@ -167,8 +166,8 @@ export default { | ... | @@ -167,8 +166,8 @@ export default { |
| 167 | LODOP.PRINT_DESIGN(); //打印设计或者打印维护需要放到最后 | 166 | LODOP.PRINT_DESIGN(); //打印设计或者打印维护需要放到最后 |
| 168 | }, | 167 | }, |
| 169 | }, | 168 | }, |
| 170 | }; | 169 | }; |
| 171 | </script> | 170 | </script> |
| 172 | <style scoped lang="scss"> | 171 | <style scoped lang="scss"> |
| 173 | @import "~@/styles/public.scss"; | 172 | @import "~@/styles/public.scss"; |
| 174 | </style> | 173 | </style> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-16 11:12:40 | 4 | * @LastEditTime: 2023-06-21 15:34:44 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -384,7 +384,7 @@ | ... | @@ -384,7 +384,7 @@ |
| 384 | this.previewImg.index = 0 | 384 | this.previewImg.index = 0 |
| 385 | this.treeCheckId = item?.bsmSj | 385 | this.treeCheckId = item?.bsmSj |
| 386 | this.treeCheckIndex = index | 386 | this.treeCheckIndex = index |
| 387 | this.previewImg.imgList = item?.children | 387 | this.previewImg.imgList = item.children ? item.children : [] |
| 388 | this.previewImg.bsmSj = item?.bsmSj | 388 | this.previewImg.bsmSj = item?.bsmSj |
| 389 | }, | 389 | }, |
| 390 | // 小图片点击 | 390 | // 小图片点击 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-19 13:15:13 | 4 | * @LastEditTime: 2023-06-21 16:29:37 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -120,8 +120,9 @@ | ... | @@ -120,8 +120,9 @@ |
| 120 | this.previewImg.bsmSj = item.bsmSj; | 120 | this.previewImg.bsmSj = item.bsmSj; |
| 121 | }, | 121 | }, |
| 122 | updateList (val) { | 122 | updateList (val) { |
| 123 | console.log(val, 'valvalvalval'); | ||
| 123 | let that = this | 124 | let that = this |
| 124 | if (val != null) { //删除最后一张图片时 val=null | 125 | if (val.children.length != []) { //删除最后一张图片时 val=null |
| 125 | this.tableData.forEach(item => { | 126 | this.tableData.forEach(item => { |
| 126 | if (item.bsmSj === val.bsmSj) { | 127 | if (item.bsmSj === val.bsmSj) { |
| 127 | item.children = val.children | 128 | item.children = val.children |
| ... | @@ -140,7 +141,6 @@ | ... | @@ -140,7 +141,6 @@ |
| 140 | } | 141 | } |
| 141 | }) | 142 | }) |
| 142 | } | 143 | } |
| 143 | |||
| 144 | }, | 144 | }, |
| 145 | // 添加材料目录 | 145 | // 添加材料目录 |
| 146 | handleAdd () { | 146 | handleAdd () { |
| ... | @@ -173,7 +173,7 @@ | ... | @@ -173,7 +173,7 @@ |
| 173 | this.previewImg.index = 0 | 173 | this.previewImg.index = 0 |
| 174 | this.treeCheckId = item?.bsmSj | 174 | this.treeCheckId = item?.bsmSj |
| 175 | this.treeCheckIndex = index | 175 | this.treeCheckIndex = index |
| 176 | this.previewImg.imgList = item?.children | 176 | this.previewImg.imgList = item.children ? item.children : [] |
| 177 | this.previewImg.bsmSj = item?.bsmSj | 177 | this.previewImg.bsmSj = item?.bsmSj |
| 178 | }, | 178 | }, |
| 179 | // 小图片点击 | 179 | // 小图片点击 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-31 16:04:44 | 4 | * @LastEditTime: 2023-06-20 16:09:31 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> |
| 8 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
| 9 | <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1"> | 9 | <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length >1"> |
| 10 | <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz" | 10 | <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bdcqzlx" |
| 11 | v-for="(item, index) in headTabBdcqz" :key="index"></el-tab-pane> | 11 | v-for="(item, index) in headTabBdcqz" :key="index"></el-tab-pane> |
| 12 | </el-tabs> | 12 | </el-tabs> |
| 13 | <div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div> | 13 | <div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div> |
| 14 | <!-- <img :src="previewImage" class="imgClass"> --> | 14 | <canvas ref="zs" width="1000" v-if="activeName==1" height="700"></canvas> |
| 15 | <canvas ref="canvas" :width="canvasWidth" :height="canvasHeight"></canvas> | 15 | <canvas ref="zm" width="1180" v-else height="780"></canvas> |
| 16 | </div> | 16 | </div> |
| 17 | </template> | 17 | </template> |
| 18 | 18 | ||
| ... | @@ -30,9 +30,7 @@ | ... | @@ -30,9 +30,7 @@ |
| 30 | data () { | 30 | data () { |
| 31 | return { | 31 | return { |
| 32 | imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'), | 32 | imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'), |
| 33 | canvasWidth: 1018, | 33 | bdczmSrc: require('@/image/bdcqz/bdczm.jpg'), |
| 34 | canvasHeight: 720, | ||
| 35 | |||
| 36 | loading: false, | 34 | loading: false, |
| 37 | //印刷序列号集合 | 35 | //印刷序列号集合 |
| 38 | ysxlh: [], | 36 | ysxlh: [], |
| ... | @@ -79,10 +77,14 @@ | ... | @@ -79,10 +77,14 @@ |
| 79 | getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { | 77 | getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { |
| 80 | if (res.code == 200) { | 78 | if (res.code == 200) { |
| 81 | if (res.result && res.result.length > 0) { | 79 | if (res.result && res.result.length > 0) { |
| 82 | this.activeName = res.result[0].bsmBdcqz | 80 | this.activeName = res.result[0].bdcqzlx |
| 83 | this.bdcqz = res.result[0] | 81 | this.bdcqz = res.result[0] |
| 84 | this.headTabBdcqz = res.result | 82 | this.headTabBdcqz = res.result |
| 85 | this.drawTextOnImage(); | 83 | if (this.activeName == 1) { |
| 84 | this.drawTextOnImage() | ||
| 85 | } else { | ||
| 86 | this.drawTextzmImage() | ||
| 87 | } | ||
| 86 | } | 88 | } |
| 87 | } | 89 | } |
| 88 | this.loading = false | 90 | this.loading = false |
| ... | @@ -91,26 +93,21 @@ | ... | @@ -91,26 +93,21 @@ |
| 91 | //tab表头切换方法 | 93 | //tab表头切换方法 |
| 92 | handleClick (e) { | 94 | handleClick (e) { |
| 93 | this.bdcqz = this.headTabBdcqz[e.index - 0] | 95 | this.bdcqz = this.headTabBdcqz[e.index - 0] |
| 94 | this.activeName = this.headTabBdcqz.bsmBdcqz | 96 | this.activeName = this.headTabBdcqz.bdcqzlx |
| 95 | // this.getBdcqzPreview(); | 97 | if (this.activeName == 1) { |
| 96 | this.drawTextOnImage() | 98 | this.drawTextOnImage() |
| 99 | } else { | ||
| 100 | this.drawTextzmImage() | ||
| 101 | } | ||
| 97 | }, | 102 | }, |
| 98 | // getBdcqzPreview () { | 103 | // 不动产证书 |
| 99 | // bdcqzPreview(this.bdcqz).then(res => { | ||
| 100 | // this.loading = false | ||
| 101 | // let blob = new Blob([res]); | ||
| 102 | // let url = window.URL.createObjectURL(blob); | ||
| 103 | // this.previewImage = url; | ||
| 104 | // this.drawTextOnImage() | ||
| 105 | // }) | ||
| 106 | // }, | ||
| 107 | drawTextOnImage () { | 104 | drawTextOnImage () { |
| 108 | const canvas = this.$refs.canvas; | 105 | const canvas = this.$refs.zs; |
| 109 | const context = canvas.getContext('2d'); | 106 | const context = canvas.getContext('2d'); |
| 110 | const image = new Image(); | 107 | const image = new Image(); |
| 111 | image.onload = () => { | 108 | image.onload = () => { |
| 112 | context.drawImage(image, 0, 0); | 109 | context.drawImage(image, 0, 0); |
| 113 | context.font = '15px 楷体'; | 110 | context.font = '18px 楷体'; |
| 114 | context.fillStyle = '#000000'; | 111 | context.fillStyle = '#000000'; |
| 115 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); | 112 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); |
| 116 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); | 113 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); |
| ... | @@ -125,10 +122,79 @@ | ... | @@ -125,10 +122,79 @@ |
| 125 | context.fillText(this.bdcqz.yt ? this.bdcqz.yt : '', 138, 346); | 122 | context.fillText(this.bdcqz.yt ? this.bdcqz.yt : '', 138, 346); |
| 126 | context.fillText(this.bdcqz.mj ? this.bdcqz.mj : '', 138, 386); | 123 | context.fillText(this.bdcqz.mj ? this.bdcqz.mj : '', 138, 386); |
| 127 | context.fillText(this.bdcqz.syqx ? this.bdcqz.syqx : '', 138, 429); | 124 | context.fillText(this.bdcqz.syqx ? this.bdcqz.syqx : '', 138, 429); |
| 128 | context.fillText(this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk : '', 138, 469); | 125 | // qlqtzk |
| 126 | const maxWidth = 280; // 最大宽度限制 | ||
| 127 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; | ||
| 128 | lines.forEach((line, index) => { | ||
| 129 | const y = 469 + (index * 37); // 每行文本的垂直位置 | ||
| 130 | let currentLine = ''; | ||
| 131 | let arr = []; | ||
| 132 | for (let word of line) { | ||
| 133 | const testLine = currentLine + word; | ||
| 134 | const lineWidth = context.measureText(testLine).width; | ||
| 135 | if (lineWidth <= maxWidth) { | ||
| 136 | currentLine = testLine; | ||
| 137 | } else { | ||
| 138 | arr.push(currentLine); | ||
| 139 | currentLine = word; | ||
| 140 | } | ||
| 141 | } | ||
| 142 | arr.push(currentLine); | ||
| 143 | arr.forEach((line, index) => { | ||
| 144 | context.fillText(line, 138, y + (index * 20)); // 调整行高 | ||
| 145 | }) | ||
| 146 | }) | ||
| 129 | context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 580, 100); | 147 | context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 580, 100); |
| 130 | } | 148 | } |
| 131 | image.src = this.imgSrc; | 149 | image.src = this.imgSrc |
| 150 | }, | ||
| 151 | // 不动产证明 | ||
| 152 | drawTextzmImage () { | ||
| 153 | const canvas = this.$refs.zm; | ||
| 154 | const context = canvas.getContext('2d'); | ||
| 155 | const image = new Image(); | ||
| 156 | image.onload = () => { | ||
| 157 | context.drawImage(image, 0, 0); | ||
| 158 | context.font = '18px 楷体'; | ||
| 159 | context.fillStyle = '#000000'; | ||
| 160 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125); | ||
| 161 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125); | ||
| 162 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 750, 125); | ||
| 163 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); | ||
| 164 | context.fillText(this.bdcqz.zmqlhsx ? this.bdcqz.zmqlhsx : '', 775, 180); | ||
| 165 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 775, 228); | ||
| 166 | // 义务人 | ||
| 167 | context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275); | ||
| 168 | context.fillText(this.bdcqz.zl ? this.bdcqz.zl : '', 775, 325); | ||
| 169 | // bdcdyh | ||
| 170 | context.fillText(this.bdcqz.bdcdyh ? this.bdcqz.bdcdyh : '', 775, 373); | ||
| 171 | // qlqtzk | ||
| 172 | const maxWidth = 280; // 最大宽度限制 | ||
| 173 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; | ||
| 174 | lines.forEach((line, index) => { | ||
| 175 | const y = 415 + (index * 37); // 每行文本的垂直位置 | ||
| 176 | let currentLine = ''; | ||
| 177 | let arr = []; | ||
| 178 | for (let word of line) { | ||
| 179 | const testLine = currentLine + word; | ||
| 180 | const lineWidth = context.measureText(testLine).width; | ||
| 181 | if (lineWidth <= maxWidth) { | ||
| 182 | currentLine = testLine; | ||
| 183 | } else { | ||
| 184 | arr.push(currentLine); | ||
| 185 | currentLine = word; | ||
| 186 | } | ||
| 187 | } | ||
| 188 | arr.push(currentLine); | ||
| 189 | arr.forEach((line, index) => { | ||
| 190 | context.fillText(line, 775, y + (index * 20)); // 调整行高 | ||
| 191 | }); | ||
| 192 | }); | ||
| 193 | // fj | ||
| 194 | context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 775, 650); | ||
| 195 | }; | ||
| 196 | |||
| 197 | image.src = this.bdczmSrc; | ||
| 132 | } | 198 | } |
| 133 | } | 199 | } |
| 134 | } | 200 | } | ... | ... |
src/views/workflow/components/tdytTable.vue
0 → 100644
| 1 | <!-- | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-06-16 10:38:23 | ||
| 5 | --> | ||
| 6 | <template> | ||
| 7 | <div> | ||
| 8 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" | ||
| 9 | :data="tableDataList"> | ||
| 10 | </lb-table> | ||
| 11 | <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> | ||
| 12 | </div> | ||
| 13 | </template> | ||
| 14 | <script> | ||
| 15 | import { mapGetters } from 'vuex' | ||
| 16 | import { getIdCardInfo } from '@/utils/operation.js' | ||
| 17 | import addQlr from './dialog/addQlr.vue' | ||
| 18 | export default { | ||
| 19 | components: { | ||
| 20 | addQlr | ||
| 21 | }, | ||
| 22 | computed: { | ||
| 23 | ...mapGetters(["dictData"]), | ||
| 24 | }, | ||
| 25 | props: { | ||
| 26 | tableData: { | ||
| 27 | type: Array, | ||
| 28 | default: function () { | ||
| 29 | return [] | ||
| 30 | } | ||
| 31 | }, | ||
| 32 | gyfs: { | ||
| 33 | type: String, | ||
| 34 | default: '1' | ||
| 35 | } | ||
| 36 | }, | ||
| 37 | data () { | ||
| 38 | return { | ||
| 39 | key: 0, | ||
| 40 | dataIndex: 0, | ||
| 41 | dialog: false, | ||
| 42 | isaddupdate: false, | ||
| 43 | showButton: this.$route.query.viewtype ? false : true, | ||
| 44 | details: {}, | ||
| 45 | tableDataList: [], | ||
| 46 | InformationTable: [ | ||
| 47 | { | ||
| 48 | width: '50', | ||
| 49 | renderHeader: (h, scope) => { | ||
| 50 | return <div> { | ||
| 51 | this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> | ||
| 52 | } | ||
| 53 | </div> | ||
| 54 | }, | ||
| 55 | render: (h, scope) => { | ||
| 56 | return ( | ||
| 57 | <div> | ||
| 58 | { | ||
| 59 | this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : | ||
| 60 | <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> | ||
| 61 | } | ||
| 62 | </div> | ||
| 63 | ) | ||
| 64 | } | ||
| 65 | }, | ||
| 66 | { | ||
| 67 | label: '土地用途', | ||
| 68 | align: 'center', | ||
| 69 | render: (h, scope) => { | ||
| 70 | return <el-input v-model={scope.row.zjzl} ></el-input> | ||
| 71 | } | ||
| 72 | }, | ||
| 73 | { | ||
| 74 | prop: "sqrmc", | ||
| 75 | label: "土地使用起始时间", | ||
| 76 | render: (h, scope) => { | ||
| 77 | return <el-input v-model={scope.row.zjzl} ></el-input> | ||
| 78 | } | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | prop: "zjzl", | ||
| 82 | label: "土地使用结束时间", | ||
| 83 | render: (h, scope) => { | ||
| 84 | return <el-input v-model={scope.row.zjzl} ></el-input> | ||
| 85 | } | ||
| 86 | }, | ||
| 87 | { | ||
| 88 | prop: "zjh", | ||
| 89 | label: "土地使用期限", | ||
| 90 | render: (h, scope) => { | ||
| 91 | return <el-input v-model={scope.row.zjzl} ></el-input> | ||
| 92 | } | ||
| 93 | } | ||
| 94 | ], | ||
| 95 | column: [] | ||
| 96 | } | ||
| 97 | }, | ||
| 98 | watch: { | ||
| 99 | tableData: { | ||
| 100 | handler: function (val, oldVal) { | ||
| 101 | let that = this | ||
| 102 | this.$nextTick(() => { | ||
| 103 | if (val.length == 0 || !val) { | ||
| 104 | that.tableDataList = _.cloneDeep([{ | ||
| 105 | sqrmc: '', | ||
| 106 | dlrzjlx: '', | ||
| 107 | dlrzjh: '', | ||
| 108 | fr: '' | ||
| 109 | }]) | ||
| 110 | } else { | ||
| 111 | that.tableDataList = _.cloneDeep(val) | ||
| 112 | } | ||
| 113 | }) | ||
| 114 | }, | ||
| 115 | immediate: true, | ||
| 116 | deep: true | ||
| 117 | }, | ||
| 118 | gyfs: { | ||
| 119 | handler (newVal, oldValue) { | ||
| 120 | let dataList = _.cloneDeep(this.InformationTable) | ||
| 121 | if (newVal == 0) { | ||
| 122 | // this.column = _.cloneDeep(dataList).slice(1, dataList.length) | ||
| 123 | this.column = _.cloneDeep(dataList) | ||
| 124 | |||
| 125 | } else if ((newVal == '1' || newVal == '3')) { | ||
| 126 | this.column = dataList | ||
| 127 | } else { | ||
| 128 | this.column = _.cloneDeep(dataList) | ||
| 129 | this.column.splice( | ||
| 130 | 2, 0, { | ||
| 131 | prop: "fs", | ||
| 132 | label: "份数" | ||
| 133 | }) | ||
| 134 | } | ||
| 135 | }, | ||
| 136 | immediate: true | ||
| 137 | } | ||
| 138 | }, | ||
| 139 | methods: { | ||
| 140 | handleupdateDetail (value) { | ||
| 141 | if (this.isaddupdate) { | ||
| 142 | if (!_.isEqual(value, this.tableData)) { | ||
| 143 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | ||
| 144 | this.$emit('upDateQlrxxList', this.tableDataList) | ||
| 145 | } | ||
| 146 | } else { | ||
| 147 | if (!_.isEqual(value, this.tableData)) { | ||
| 148 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | ||
| 149 | this.$emit('upDateQlrxxList', this.tableDataList) | ||
| 150 | } | ||
| 151 | } | ||
| 152 | this.key++ | ||
| 153 | }, | ||
| 154 | // 新增 | ||
| 155 | addClick () { | ||
| 156 | if (this.gyfs == '0' && this.tableDataList.length > 0) { | ||
| 157 | this.$message.warning("当前共有方式为单独所有,无法添加多个权利人") | ||
| 158 | } else { | ||
| 159 | this.dialog = true | ||
| 160 | this.isaddupdate = true | ||
| 161 | } | ||
| 162 | }, | ||
| 163 | |||
| 164 | // 删除 | ||
| 165 | deleClick (index, row) { | ||
| 166 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | ||
| 167 | confirmButtonText: '确定', | ||
| 168 | cancelButtonText: '取消', | ||
| 169 | type: 'warning' | ||
| 170 | }).then(() => { | ||
| 171 | this.tableData.splice(index, 1) | ||
| 172 | }).catch(() => { | ||
| 173 | }); | ||
| 174 | }, | ||
| 175 | |||
| 176 | // 身份证读取 | ||
| 177 | readClick (row) { | ||
| 178 | getIdCardInfo().then(res => { | ||
| 179 | if (res.data.code == 0) { | ||
| 180 | let data = res.data.IDCardInfo | ||
| 181 | row.sqrmc = data.name | ||
| 182 | row.zjzl = '1' | ||
| 183 | row.zjh = data.cardID | ||
| 184 | row.xb = data.sexCode | ||
| 185 | row.txdz = data.address | ||
| 186 | row.fzjg = data.issueOrgan | ||
| 187 | this.$message({ | ||
| 188 | message: '读取成功!', | ||
| 189 | type: 'success' | ||
| 190 | }) | ||
| 191 | } else { | ||
| 192 | this.$message({ | ||
| 193 | message: res.data.message, | ||
| 194 | type: 'warning' | ||
| 195 | }) | ||
| 196 | } | ||
| 197 | }) | ||
| 198 | }, | ||
| 199 | // 修改 | ||
| 200 | editClick (index, row) { | ||
| 201 | // popupDialog("申请人信息", "workflow/components/addQlr", { | ||
| 202 | // showButton: this.$route.query.viewtype ? false : true, | ||
| 203 | // dataIndex :index, | ||
| 204 | // details :row, | ||
| 205 | // isaddupdate :false | ||
| 206 | // }); | ||
| 207 | this.dataIndex = index | ||
| 208 | this.dialog = true | ||
| 209 | this.details = row | ||
| 210 | this.isaddupdate = false | ||
| 211 | }, | ||
| 212 | queryViewClick (index, row) { | ||
| 213 | // popupDialog("申请人信息", "workflow/components/addQlr", { | ||
| 214 | // showButton: this.$route.query.viewtype ? false : true, | ||
| 215 | // details: row, | ||
| 216 | // }); | ||
| 217 | this.dialog = true | ||
| 218 | this.details = row | ||
| 219 | } | ||
| 220 | } | ||
| 221 | } | ||
| 222 | </script> | ||
| 223 | <style scoped lang="scss"> | ||
| 224 | .el-input { | ||
| 225 | border: none !important; | ||
| 226 | } | ||
| 227 | </style> |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-18 15:01:31 | 4 | * @LastEditTime: 2023-06-20 11:28:09 |
| 5 | */ | 5 | */ |
| 6 | import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; | 6 | import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; |
| 7 | import { getPrintTemplateByCode } from "@/api/system"; | 7 | import { getPrintTemplateByCode } from "@/api/system"; |
| ... | @@ -106,7 +106,7 @@ export default { | ... | @@ -106,7 +106,7 @@ export default { |
| 106 | this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", { | 106 | this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", { |
| 107 | bsmSlsq: this.bsmSlsq, | 107 | bsmSlsq: this.bsmSlsq, |
| 108 | entryType: '1' | 108 | entryType: '1' |
| 109 | }, '65%', true) | 109 | }, '1210px', true) |
| 110 | break; | 110 | break; |
| 111 | case "B6": | 111 | case "B6": |
| 112 | //根据编号获取对应信息 | 112 | //根据编号获取对应信息 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-25 08:41:40 | 4 | * @LastEditTime: 2023-06-20 10:27:45 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -224,7 +224,7 @@ | ... | @@ -224,7 +224,7 @@ |
| 224 | ...res.result.qlxxdatas, | 224 | ...res.result.qlxxdatas, |
| 225 | } | 225 | } |
| 226 | //初始化发证方式,1:小证,2:大正 | 226 | //初始化发证方式,1:小证,2:大正 |
| 227 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs='1' : this.ruleForm.slsq.fzfs; | 227 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; |
| 228 | } | 228 | } |
| 229 | }); | 229 | }); |
| 230 | }, | 230 | }, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-25 08:41:33 | 4 | * @LastEditTime: 2023-06-20 10:27:49 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -210,7 +210,7 @@ | ... | @@ -210,7 +210,7 @@ |
| 210 | ...res.result.jsydsyqdatas, | 210 | ...res.result.jsydsyqdatas, |
| 211 | }; | 211 | }; |
| 212 | //初始化发证方式,1:小证,2:大正 | 212 | //初始化发证方式,1:小证,2:大正 |
| 213 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs='1' : this.ruleForm.slsq.fzfs; | 213 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; |
| 214 | } | 214 | } |
| 215 | }); | 215 | }); |
| 216 | }, | 216 | }, | ... | ... |
| ... | @@ -110,7 +110,7 @@ | ... | @@ -110,7 +110,7 @@ |
| 110 | <el-row :gutter="10"> | 110 | <el-row :gutter="10"> |
| 111 | <el-col :span="8"> | 111 | <el-col :span="8"> |
| 112 | <el-form-item label="房屋用途:"> | 112 | <el-form-item label="房屋用途:"> |
| 113 | <el-input disabled v-model="ruleForm.fwyt"></el-input> | 113 | <el-input disabled v-model="ruleForm.ytmc"></el-input> |
| 114 | </el-form-item> | 114 | </el-form-item> |
| 115 | </el-col> | 115 | </el-col> |
| 116 | <el-col :span="8"> | 116 | <el-col :span="8"> | ... | ... |
| ... | @@ -94,10 +94,12 @@ class data extends filter { | ... | @@ -94,10 +94,12 @@ class data extends filter { |
| 94 | { | 94 | { |
| 95 | prop: "qlrmc", | 95 | prop: "qlrmc", |
| 96 | label: "权利人", | 96 | label: "权利人", |
| 97 | minWidth: '150', | ||
| 97 | }, | 98 | }, |
| 98 | { | 99 | { |
| 99 | prop: "ywrmc", | 100 | prop: "ywrmc", |
| 100 | label: "义务人", | 101 | label: "义务人", |
| 102 | minWidth: '150', | ||
| 101 | }, | 103 | }, |
| 102 | { | 104 | { |
| 103 | prop: "mjmc", | 105 | prop: "mjmc", |
| ... | @@ -127,6 +129,7 @@ class data extends filter { | ... | @@ -127,6 +129,7 @@ class data extends filter { |
| 127 | { | 129 | { |
| 128 | label: '操作', | 130 | label: '操作', |
| 129 | width: '130', | 131 | width: '130', |
| 132 | fixed: "right", | ||
| 130 | render: (h, scope) => { | 133 | render: (h, scope) => { |
| 131 | return ( | 134 | return ( |
| 132 | <div> | 135 | <div> | ... | ... |
-
Please register or sign in to post a comment