--no commit message
Showing
86 changed files
with
1047 additions
and
607 deletions
| 1 | /* | 1 | /* |
| 2 | * @Description: 企业银行接口 | 2 | * @Description: 企业银行接口 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-20 14:49:22 | 4 | * @LastEditTime: 2023-11-01 08:41:46 |
| 5 | */ | 5 | */ |
| 6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
| 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
| ... | @@ -64,6 +64,21 @@ export function uploadBatch (data) { | ... | @@ -64,6 +64,21 @@ export function uploadBatch (data) { |
| 64 | }) | 64 | }) |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | /** | ||
| 68 | * @description: 上传单个文件 | ||
| 69 | * @param {*} data | ||
| 70 | * @author: renchao | ||
| 71 | */ | ||
| 72 | export function uploadSjClmx (data, bsmMaterial) { | ||
| 73 | return request({ | ||
| 74 | url: SERVER.SERVERAPI + '/rest/sys/company/uploadSjClmx/' + bsmMaterial, | ||
| 75 | method: 'post', | ||
| 76 | headers: { | ||
| 77 | 'Content-Type': 'multipart/form-data' | ||
| 78 | }, | ||
| 79 | data | ||
| 80 | }) | ||
| 81 | } | ||
| 67 | 82 | ||
| 68 | 83 | ||
| 69 | /** | 84 | /** | ... | ... |
| ... | @@ -180,6 +180,7 @@ | ... | @@ -180,6 +180,7 @@ |
| 180 | }); | 180 | }); |
| 181 | _this.tableHeight = _this.calcHeightx(_this.calcHeight) | 181 | _this.tableHeight = _this.calcHeightx(_this.calcHeight) |
| 182 | } | 182 | } |
| 183 | console.log(_this.tableHeight, '_this.tableHeight'); | ||
| 183 | }) | 184 | }) |
| 184 | } else { | 185 | } else { |
| 185 | _this.tableHeight = window.innerHeight - _this.heightNum | 186 | _this.tableHeight = window.innerHeight - _this.heightNum | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-25 16:10:08 | 4 | * @LastEditTime: 2023-11-09 16:47:44 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <transition name="fade"> | 7 | <transition name="fade"> |
| ... | @@ -41,6 +41,10 @@ | ... | @@ -41,6 +41,10 @@ |
| 41 | secondAnimationTime: '', // 状态二动画效果 | 41 | secondAnimationTime: '', // 状态二动画效果 |
| 42 | }; | 42 | }; |
| 43 | }, | 43 | }, |
| 44 | mounted () { | ||
| 45 | this.Listener(); | ||
| 46 | this.getData() | ||
| 47 | }, | ||
| 44 | watch: { | 48 | watch: { |
| 45 | noticeList: { | 49 | noticeList: { |
| 46 | handler (newName, oldName) { | 50 | handler (newName, oldName) { |
| ... | @@ -48,7 +52,7 @@ | ... | @@ -48,7 +52,7 @@ |
| 48 | this.Listener(); | 52 | this.Listener(); |
| 49 | setTimeout(res => { | 53 | setTimeout(res => { |
| 50 | that.getData(); | 54 | that.getData(); |
| 51 | }, 100); | 55 | }, 300); |
| 52 | }, | 56 | }, |
| 53 | deep: true | 57 | deep: true |
| 54 | } | 58 | } | ... | ... |
src/components/collapse/index.js
0 → 100644
| 1 | <template> | ||
| 2 | <div class="el-collapse-item" | ||
| 3 | :class="{'is-active': isActive, 'is-disabled': disabled }"> | ||
| 4 | <div | ||
| 5 | role="tab" | ||
| 6 | :aria-expanded="isActive" | ||
| 7 | :aria-controls="`el-collapse-content-${id}`" | ||
| 8 | :aria-describedby="`el-collapse-content-${id}`"> | ||
| 9 | <div | ||
| 10 | class="el-collapse-item__header" | ||
| 11 | @click="handleHeaderClick" | ||
| 12 | role="button" | ||
| 13 | :id="`el-collapse-head-${id}`" | ||
| 14 | :tabindex="disabled ? undefined : 0" | ||
| 15 | @keyup.space.enter.stop="handleEnterClick" | ||
| 16 | :class="{ | ||
| 17 | 'focusing': focusing, | ||
| 18 | 'is-active': isActive | ||
| 19 | }" | ||
| 20 | @focus="handleFocus" | ||
| 21 | @blur="focusing = false"> | ||
| 22 | <slot name="title">{{title}}</slot> | ||
| 23 | <i | ||
| 24 | class="el-collapse-item__arrow el-icon-arrow-right" | ||
| 25 | :class="{'is-active': isActive}"> | ||
| 26 | </i> | ||
| 27 | </div> | ||
| 28 | </div> | ||
| 29 | <el-collapse-transition> | ||
| 30 | <div | ||
| 31 | class="el-collapse-item__wrap" | ||
| 32 | v-show="isActive" | ||
| 33 | role="tabpanel" | ||
| 34 | :aria-hidden="!isActive" | ||
| 35 | :aria-labelledby="`el-collapse-head-${id}`" | ||
| 36 | :id="`el-collapse-content-${id}`"> | ||
| 37 | <div class="el-collapse-item__content"> | ||
| 38 | <slot></slot> | ||
| 39 | </div> | ||
| 40 | </div> | ||
| 41 | </el-collapse-transition> | ||
| 42 | </div> | ||
| 43 | </template> | ||
| 44 | <script> | ||
| 45 | import ElCollapseTransition from 'element-ui/src/transitions/collapse-transition'; | ||
| 46 | import Emitter from 'element-ui/src/mixins/emitter'; | ||
| 47 | import { generateId } from 'element-ui/src/utils/util'; | ||
| 48 | |||
| 49 | export default { | ||
| 50 | name: 'ElCollapseItem', | ||
| 51 | |||
| 52 | componentName: 'ElCollapseItem', | ||
| 53 | |||
| 54 | mixins: [Emitter], | ||
| 55 | |||
| 56 | components: { ElCollapseTransition }, | ||
| 57 | |||
| 58 | data () { | ||
| 59 | return { | ||
| 60 | contentWrapStyle: { | ||
| 61 | height: 'auto', | ||
| 62 | display: 'block' | ||
| 63 | }, | ||
| 64 | contentHeight: 0, | ||
| 65 | focusing: false, | ||
| 66 | isClick: false, | ||
| 67 | id: generateId() | ||
| 68 | }; | ||
| 69 | }, | ||
| 70 | |||
| 71 | inject: ['collapse'], | ||
| 72 | |||
| 73 | props: { | ||
| 74 | title: String, | ||
| 75 | name: { | ||
| 76 | type: [String, Number], | ||
| 77 | default () { | ||
| 78 | return this._uid; | ||
| 79 | } | ||
| 80 | }, | ||
| 81 | disabled: Boolean | ||
| 82 | }, | ||
| 83 | |||
| 84 | computed: { | ||
| 85 | isActive () { | ||
| 86 | return this.collapse.activeNames.indexOf(this.name) > -1; | ||
| 87 | } | ||
| 88 | }, | ||
| 89 | |||
| 90 | methods: { | ||
| 91 | handleFocus () { | ||
| 92 | setTimeout(() => { | ||
| 93 | if (!this.isClick) { | ||
| 94 | this.focusing = true; | ||
| 95 | } else { | ||
| 96 | this.isClick = false; | ||
| 97 | } | ||
| 98 | }, 50); | ||
| 99 | }, | ||
| 100 | handleHeaderClick () { | ||
| 101 | if (this.disabled) return; | ||
| 102 | this.dispatch('ElCollapse', 'item-click', this); | ||
| 103 | this.focusing = false; | ||
| 104 | this.isClick = true; | ||
| 105 | }, | ||
| 106 | handleEnterClick () { | ||
| 107 | this.dispatch('ElCollapse', 'item-click', this); | ||
| 108 | } | ||
| 109 | } | ||
| 110 | }; | ||
| 111 | </script> |
src/components/collapse/src/collapse.vue
0 → 100644
| 1 | <!-- | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-11-08 14:36:44 | ||
| 5 | --> | ||
| 6 | <template> | ||
| 7 | <div class="el-collapse" role="tablist" aria-multiselectable="true"> | ||
| 8 | <slot></slot> | ||
| 9 | </div> | ||
| 10 | </template> | ||
| 11 | <script> | ||
| 12 | export default { | ||
| 13 | name: 'ElCollapse', | ||
| 14 | |||
| 15 | componentName: 'ElCollapse', | ||
| 16 | |||
| 17 | props: { | ||
| 18 | accordion: Boolean, | ||
| 19 | value: { | ||
| 20 | type: [Array, String, Number], | ||
| 21 | default () { | ||
| 22 | return []; | ||
| 23 | } | ||
| 24 | } | ||
| 25 | }, | ||
| 26 | |||
| 27 | data () { | ||
| 28 | return { | ||
| 29 | activeNames: [].concat(this.value) | ||
| 30 | }; | ||
| 31 | }, | ||
| 32 | |||
| 33 | provide () { | ||
| 34 | return { | ||
| 35 | collapse: this | ||
| 36 | }; | ||
| 37 | }, | ||
| 38 | |||
| 39 | watch: { | ||
| 40 | value (value) { | ||
| 41 | this.activeNames = [].concat(value); | ||
| 42 | } | ||
| 43 | }, | ||
| 44 | |||
| 45 | methods: { | ||
| 46 | setActiveNames (activeNames) { | ||
| 47 | activeNames = [].concat(activeNames); | ||
| 48 | let value = this.accordion ? activeNames[0] : activeNames; | ||
| 49 | this.activeNames = activeNames; | ||
| 50 | this.$emit('input', value); | ||
| 51 | this.$emit('change', value); | ||
| 52 | }, | ||
| 53 | handleItemClick (item) { | ||
| 54 | if (this.accordion) { | ||
| 55 | this.setActiveNames( | ||
| 56 | (this.activeNames[0] || this.activeNames[0] === 0) && | ||
| 57 | this.activeNames[0] === item.name | ||
| 58 | ? '' : item.name | ||
| 59 | ); | ||
| 60 | } else { | ||
| 61 | let activeNames = this.activeNames.slice(0); | ||
| 62 | let index = activeNames.indexOf(item.name); | ||
| 63 | |||
| 64 | if (index > -1) { | ||
| 65 | activeNames.splice(index, 1); | ||
| 66 | } else { | ||
| 67 | activeNames.push(item.name); | ||
| 68 | } | ||
| 69 | this.setActiveNames(activeNames); | ||
| 70 | } | ||
| 71 | } | ||
| 72 | }, | ||
| 73 | |||
| 74 | created () { | ||
| 75 | this.$on('item-click', this.handleItemClick); | ||
| 76 | } | ||
| 77 | }; | ||
| 78 | </script> |
| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
| 4 | * @Author: sakuya | 4 | * @Author: sakuya |
| 5 | * @Date: 2021年6月10日10:04:07 | 5 | * @Date: 2021年6月10日10:04:07 |
| 6 | * @LastEditors: Please set LastEditors | 6 | * @LastEditors: Please set LastEditors |
| 7 | * @LastEditTime: 2023-07-27 17:21:52 | 7 | * @LastEditTime: 2023-11-07 09:23:12 |
| 8 | --> | 8 | --> |
| 9 | 9 | ||
| 10 | <template> | 10 | <template> |
| ... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
| 12 | :collapse-tags-tooltip="collapseTagsTooltip" :filterable="filterable" :placeholder="placeholder" :disabled="disabled" | 12 | :collapse-tags-tooltip="collapseTagsTooltip" :filterable="filterable" :placeholder="placeholder" :disabled="disabled" |
| 13 | @remove-tag="removeTag" @visible-change="visibleChange" @clear="clear"> | 13 | @remove-tag="removeTag" @visible-change="visibleChange" @clear="clear"> |
| 14 | <template #empty> | 14 | <template #empty> |
| 15 | <div class="sc-table-select__table" :style="{width: tableWidth+'px'}" v-loading="loading"> | 15 | <div class="sc-table-select__table" :style="{width: '100%'}" v-loading="loading"> |
| 16 | <div class="sc-table-select__header"> | 16 | <div class="sc-table-select__header"> |
| 17 | <slot name="header" :form="formData" :submit="formSubmit"></slot> | 17 | <slot name="header" :form="formData" :submit="formSubmit"></slot> |
| 18 | </div> | 18 | </div> | ... | ... |
| ... | @@ -10,6 +10,14 @@ | ... | @@ -10,6 +10,14 @@ |
| 10 | line-height: 16px; | 10 | line-height: 16px; |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | .vue-treeselect--disabled .vue-treeselect__control { | ||
| 14 | background-color: #F5F7FA !important; | ||
| 15 | } | ||
| 16 | |||
| 17 | .vue-treeselect--disabled .vue-treeselect__single-value { | ||
| 18 | color: #909399 !important; | ||
| 19 | } | ||
| 20 | |||
| 13 | //input | 21 | //input |
| 14 | .el-input__inner { | 22 | .el-input__inner { |
| 15 | padding: 0 7px !important; | 23 | padding: 0 7px !important; | ... | ... |
| ... | @@ -18,8 +18,8 @@ | ... | @@ -18,8 +18,8 @@ |
| 18 | display: flex; | 18 | display: flex; |
| 19 | font-size: 12px; | 19 | font-size: 12px; |
| 20 | flex-wrap: wrap; | 20 | flex-wrap: wrap; |
| 21 | padding-top: 5px; | 21 | justify-content: flex-start; |
| 22 | height: 30px; | 22 | min-height: 30px; |
| 23 | 23 | ||
| 24 | span { | 24 | span { |
| 25 | display: flex; | 25 | display: flex; |
| ... | @@ -35,18 +35,22 @@ | ... | @@ -35,18 +35,22 @@ |
| 35 | ul { | 35 | ul { |
| 36 | display: flex; | 36 | display: flex; |
| 37 | align-items: center; | 37 | align-items: center; |
| 38 | flex-wrap: wrap; | ||
| 39 | flex: 1; | ||
| 40 | max-height: 38px; | ||
| 41 | padding-left: 0 !important; | ||
| 38 | 42 | ||
| 39 | li { | 43 | li { |
| 40 | color: $light-blue; | 44 | color: $light-blue; |
| 41 | border: 1px solid $light-blue; | 45 | border: 1px solid $light-blue; |
| 42 | border-radius: 10px; | 46 | border-radius: 10px; |
| 43 | padding: 2px 8px; | 47 | padding: 1px 3px; |
| 44 | line-height: 16px; | ||
| 45 | } | 48 | } |
| 46 | } | 49 | } |
| 47 | 50 | ||
| 48 | .clean-btn { | 51 | .clean-btn { |
| 49 | margin-left: 10px; | 52 | margin-left: 5px; |
| 53 | float: left; | ||
| 50 | } | 54 | } |
| 51 | } | 55 | } |
| 52 | 56 | ... | ... |
| ... | @@ -53,20 +53,23 @@ | ... | @@ -53,20 +53,23 @@ |
| 53 | font-weight: 500; | 53 | font-weight: 500; |
| 54 | color: #4a4a4a; | 54 | color: #4a4a4a; |
| 55 | } | 55 | } |
| 56 | |||
| 56 | .bdcqk { | 57 | .bdcqk { |
| 57 | margin-top: 15px; | 58 | margin-top: 15px; |
| 58 | position: relative; | 59 | position: relative; |
| 60 | |||
| 59 | .count { | 61 | .count { |
| 60 | color: blue!important; | 62 | color: blue !important; |
| 61 | width: 874px; | 63 | width: 85%; |
| 62 | font-size: 14px; | 64 | font-size: 14px; |
| 63 | position: absolute; | 65 | position: absolute; |
| 64 | left:200px; | 66 | left: 200px; |
| 65 | top: -3px; | 67 | top: -3px; |
| 66 | height: 30px; | 68 | height: 30px; |
| 67 | 69 | ||
| 70 | } | ||
| 68 | } | 71 | } |
| 69 | } | 72 | |
| 70 | .btn { | 73 | .btn { |
| 71 | text-align: center; | 74 | text-align: center; |
| 72 | padding-top: 10px; | 75 | padding-top: 10px; |
| ... | @@ -90,13 +93,14 @@ | ... | @@ -90,13 +93,14 @@ |
| 90 | /deep/.el-form-item__label { | 93 | /deep/.el-form-item__label { |
| 91 | padding-bottom: 0px; | 94 | padding-bottom: 0px; |
| 92 | } | 95 | } |
| 96 | |||
| 93 | // 控制表单是否只读 | 97 | // 控制表单是否只读 |
| 94 | .readonly{ | 98 | .readonly { |
| 95 | /deep/.el-form-item__content{ | 99 | /deep/.el-form-item__content { |
| 96 | pointer-events: none!important; | 100 | pointer-events: none !important; |
| 97 | } | 101 | } |
| 98 | 102 | ||
| 99 | /deep/.el-input .el-input__inner { | 103 | /deep/.el-input .el-input__inner { |
| 100 | background-color: #F5F7FA; | 104 | background-color: #F5F7FA; |
| 101 | } | 105 | } |
| 102 | } | 106 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -9,9 +9,9 @@ export default { | ... | @@ -9,9 +9,9 @@ export default { |
| 9 | } | 9 | } |
| 10 | } | 10 | } |
| 11 | }, | 11 | }, |
| 12 | created() { | 12 | created () { |
| 13 | 13 | ||
| 14 | }, | 14 | }, |
| 15 | computed: { | 15 | computed: { |
| 16 | ...mapGetters(['dictData']), | 16 | ...mapGetters(['dictData']), |
| 17 | }, | 17 | }, |
| ... | @@ -25,8 +25,8 @@ export default { | ... | @@ -25,8 +25,8 @@ export default { |
| 25 | * @param {*} e | 25 | * @param {*} e |
| 26 | * @author: renchao | 26 | * @author: renchao |
| 27 | */ | 27 | */ |
| 28 | handkeyCode(e) { | 28 | handkeyCode (e) { |
| 29 | if(e.keyCode === 13){ | 29 | if (e.keyCode === 13) { |
| 30 | this.handleSearch() | 30 | this.handleSearch() |
| 31 | } | 31 | } |
| 32 | }, | 32 | }, |
| ... | @@ -34,7 +34,7 @@ export default { | ... | @@ -34,7 +34,7 @@ export default { |
| 34 | * @description: handleSearch | 34 | * @description: handleSearch |
| 35 | * @author: renchao | 35 | * @author: renchao |
| 36 | */ | 36 | */ |
| 37 | handleSearch(){ | 37 | handleSearch () { |
| 38 | this.pageData.currentPage = 1 | 38 | this.pageData.currentPage = 1 |
| 39 | if (this.fetchData) { | 39 | if (this.fetchData) { |
| 40 | this.fetchData() | 40 | this.fetchData() |
| ... | @@ -78,7 +78,7 @@ export default { | ... | @@ -78,7 +78,7 @@ export default { |
| 78 | * @param {*} isYwbl | 78 | * @param {*} isYwbl |
| 79 | * @author: renchao | 79 | * @author: renchao |
| 80 | */ | 80 | */ |
| 81 | resetForm(isYwbl){ | 81 | resetForm (isYwbl) { |
| 82 | if (isYwbl) { | 82 | if (isYwbl) { |
| 83 | this.queryForm = defaultParameters.defaultParameters(); | 83 | this.queryForm = defaultParameters.defaultParameters(); |
| 84 | this.pageData.currentPage = 1; | 84 | this.pageData.currentPage = 1; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-13 15:02:59 | 4 | * @LastEditTime: 2023-10-31 14:03:38 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
| ... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
| 53 | <script> | 53 | <script> |
| 54 | import PhotoZoom from '@/components/PhotoZoom' | 54 | import PhotoZoom from '@/components/PhotoZoom' |
| 55 | import { getAltimeterInfo, getUuid } from '@/utils/operation.js' | 55 | import { getAltimeterInfo, getUuid } from '@/utils/operation.js' |
| 56 | import { uploadBatch, deleteClmx, move } from "@/api/clxx.js"; | 56 | import { uploadBatch, deleteClmx, move, uploadSjClmx } from "@/api/clxx.js"; |
| 57 | import publicPicture from '@/components/publicPicture/index.vue' | 57 | import publicPicture from '@/components/publicPicture/index.vue' |
| 58 | export default { | 58 | export default { |
| 59 | name: 'PreviewImage', | 59 | name: 'PreviewImage', |
| ... | @@ -194,9 +194,12 @@ | ... | @@ -194,9 +194,12 @@ |
| 194 | formData.append('file', file) | 194 | formData.append('file', file) |
| 195 | formData.append("bsmSj", this.previewImg.bsmSj); | 195 | formData.append("bsmSj", this.previewImg.bsmSj); |
| 196 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); | 196 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); |
| 197 | if (this.previewImg.imgList.length > 0) { | ||
| 198 | formData.append("ssBsmClmx", this.previewImg.imgList[this.previewImg.index].bsmClmx); | ||
| 199 | } | ||
| 197 | uploadSjClmx(formData).then((res) => { | 200 | uploadSjClmx(formData).then((res) => { |
| 198 | if (res.code == 200) { | 201 | if (res.code == 200) { |
| 199 | this.$emit('updateList', res.result) | 202 | this.$emit('updateList', { children: res.result, bsmSj: this.previewImg.bsmSj }) |
| 200 | this.$message({ | 203 | this.$message({ |
| 201 | message: '上传成功!', | 204 | message: '上传成功!', |
| 202 | type: 'success' | 205 | type: 'success' | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-08 15:08:19 | 4 | * @LastEditTime: 2023-10-24 17:15:25 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clmlmx-box"> | 7 | <div class="clmlmx-box"> |
| ... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
| 19 | import Sortable from 'sortablejs' | 19 | import Sortable from 'sortablejs' |
| 20 | import store from '@/store/index.js' | 20 | import store from '@/store/index.js' |
| 21 | import { ywPopupCacel } from "@/utils/popup.js"; | 21 | import { ywPopupCacel } from "@/utils/popup.js"; |
| 22 | import { InitClml, updateClml } from "@/api/clxx.js"; | 22 | import { updateClml } from "@/api/clxx.js"; |
| 23 | export default { | 23 | export default { |
| 24 | props: { | 24 | props: { |
| 25 | formData: { | 25 | formData: { |
| ... | @@ -173,6 +173,7 @@ | ... | @@ -173,6 +173,7 @@ |
| 173 | }, | 173 | }, |
| 174 | mounted () { | 174 | mounted () { |
| 175 | this.initSort() | 175 | this.initSort() |
| 176 | console.log(this.formData); | ||
| 176 | }, | 177 | }, |
| 177 | beforeDestroy () { | 178 | beforeDestroy () { |
| 178 | if (this.sortable) { | 179 | if (this.sortable) { |
| ... | @@ -201,31 +202,6 @@ | ... | @@ -201,31 +202,6 @@ |
| 201 | }) | 202 | }) |
| 202 | }, | 203 | }, |
| 203 | /** | 204 | /** |
| 204 | * @description: 材料目录明细初始化 | ||
| 205 | * @author: renchao | ||
| 206 | */ | ||
| 207 | clmlInitList () { | ||
| 208 | return new Promise(resolve => { | ||
| 209 | this.unitData = this.$parent.unitData; | ||
| 210 | var formdata = new FormData(); | ||
| 211 | formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq); | ||
| 212 | formdata.append("bsmSldy", this.formData.bsmRepair); | ||
| 213 | formdata.append("clfl", 3); | ||
| 214 | InitClml(formdata).then((res) => { | ||
| 215 | if (res.code == 200) { | ||
| 216 | resolve(res.code) | ||
| 217 | if (res.result && res.result.length > 0) { | ||
| 218 | this.tableData = res.result; | ||
| 219 | } else { | ||
| 220 | this.tableData = [] | ||
| 221 | } | ||
| 222 | } else { | ||
| 223 | this.$message.error(res.message) | ||
| 224 | } | ||
| 225 | }) | ||
| 226 | }) | ||
| 227 | }, | ||
| 228 | /** | ||
| 229 | * @description: 材料目录删除 | 205 | * @description: 材料目录删除 |
| 230 | * @param {*} index | 206 | * @param {*} index |
| 231 | * @param {*} row | 207 | * @param {*} row | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-12 10:00:08 | 4 | * @LastEditTime: 2023-11-01 08:55:44 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
| ... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
| 53 | <script> | 53 | <script> |
| 54 | import PhotoZoom from '@/components/PhotoZoom' | 54 | import PhotoZoom from '@/components/PhotoZoom' |
| 55 | import { getAltimeterInfo, getUuid } from '@/utils/operation.js' | 55 | import { getAltimeterInfo, getUuid } from '@/utils/operation.js' |
| 56 | import { uploadBatch, deleteClmx, move } from "@/api/clxx.js"; | 56 | import { uploadBatch, deleteClmx, move, uploadSjClmx } from "@/api/clxx.js"; |
| 57 | import publicPicture from '@/components/publicPicture/index.vue' | 57 | import publicPicture from '@/components/publicPicture/index.vue' |
| 58 | export default { | 58 | export default { |
| 59 | name: 'PreviewImage', | 59 | name: 'PreviewImage', |
| ... | @@ -193,10 +193,12 @@ | ... | @@ -193,10 +193,12 @@ |
| 193 | var formData = new FormData(); | 193 | var formData = new FormData(); |
| 194 | formData.append('file', file) | 194 | formData.append('file', file) |
| 195 | formData.append("bsmSj", this.previewImg.bsmSj); | 195 | formData.append("bsmSj", this.previewImg.bsmSj); |
| 196 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); | 196 | if (this.previewImg.imgList.length > 0) { |
| 197 | formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh); | ||
| 198 | } | ||
| 197 | uploadSjClmx(formData).then((res) => { | 199 | uploadSjClmx(formData).then((res) => { |
| 198 | if (res.code == 200) { | 200 | if (res.code == 200) { |
| 199 | this.$emit('updateList', res.result) | 201 | this.$emit('updateList', { children: res.result, bsmSj: this.previewImg.bsmSj }) |
| 200 | this.$message({ | 202 | this.$message({ |
| 201 | message: '上传成功!', | 203 | message: '上传成功!', |
| 202 | type: 'success' | 204 | type: 'success' | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-19 16:28:06 | 4 | * @LastEditTime: 2023-10-24 17:17:46 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -98,14 +98,14 @@ | ... | @@ -98,14 +98,14 @@ |
| 98 | watch: { | 98 | watch: { |
| 99 | workFresh: { | 99 | workFresh: { |
| 100 | handler (newValue, oldValue) { | 100 | handler (newValue, oldValue) { |
| 101 | if (newValue) this.clmlInitList() | 101 | if (newValue) this.clmlInitList(1) |
| 102 | }, | 102 | }, |
| 103 | deep: true, | 103 | deep: true, |
| 104 | immediate: true | 104 | immediate: true |
| 105 | } | 105 | } |
| 106 | }, | 106 | }, |
| 107 | created () { | 107 | created () { |
| 108 | this.clmlInitList() | 108 | this.clmlInitList(1) |
| 109 | }, | 109 | }, |
| 110 | methods: { | 110 | methods: { |
| 111 | /** | 111 | /** |
| ... | @@ -173,7 +173,7 @@ | ... | @@ -173,7 +173,7 @@ |
| 173 | this.tableData = res.result; | 173 | this.tableData = res.result; |
| 174 | if (type == 1) { | 174 | if (type == 1) { |
| 175 | this.treeClick(this.tableData[0], 0); | 175 | this.treeClick(this.tableData[0], 0); |
| 176 | } else { | 176 | } else if (type == 2) { |
| 177 | //新增材料后刷新列表焦点置于新增的对象上 | 177 | //新增材料后刷新列表焦点置于新增的对象上 |
| 178 | this.treeClick( | 178 | this.treeClick( |
| 179 | this.tableData[this.tableData.length - 1], | 179 | this.tableData[this.tableData.length - 1], |
| ... | @@ -296,10 +296,12 @@ | ... | @@ -296,10 +296,12 @@ |
| 296 | this.titleYs = index + 1; | 296 | this.titleYs = index + 1; |
| 297 | }, | 297 | }, |
| 298 | //查看明细 | 298 | //查看明细 |
| 299 | viewDetail () { | 299 | async viewDetail () { |
| 300 | await this.clmlInitList(); | ||
| 300 | store.dispatch("user/reWorkFresh", false); | 301 | store.dispatch("user/reWorkFresh", false); |
| 301 | ywPopupDialog("申请材料目录", "djbworkflow/components/clxx/dialog/clxxDetailDialog", { | 302 | ywPopupDialog("申请材料目录", "djbworkflow/components/clxx/dialog/clxxDetailDialog", { |
| 302 | data: this.tableData, | 303 | data: this.tableData, |
| 304 | ableOperation: this.$parent.ableOperation | ||
| 303 | }, "60%", true, false) | 305 | }, "60%", true, false) |
| 304 | }, | 306 | }, |
| 305 | //设置tableData | 307 | //设置tableData | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-18 14:06:31 | 4 | * @LastEditTime: 2023-10-31 10:42:21 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | ... | ... |
| ... | @@ -88,15 +88,8 @@ | ... | @@ -88,15 +88,8 @@ |
| 88 | completeTask(this.queryForm).then((res) => { | 88 | completeTask(this.queryForm).then((res) => { |
| 89 | if (res.code === 200) { | 89 | if (res.code === 200) { |
| 90 | this.$message.success("转件成功"); | 90 | this.$message.success("转件成功"); |
| 91 | // setTimeout(() => { | ||
| 92 | // window.opener = null; | ||
| 93 | // window.open("about:blank", "_self"); | ||
| 94 | // window.close(); | ||
| 95 | // this.$emit("input", false); | ||
| 96 | // }, 1000); | ||
| 97 | popupCacel(); | 91 | popupCacel(); |
| 98 | setTimeout(() => { | 92 | setTimeout(() => { |
| 99 | // window.opener.location.reload(); //刷新父窗口 | ||
| 100 | if (window.opener && window.opener.getBpageList) { | 93 | if (window.opener && window.opener.getBpageList) { |
| 101 | window.opener.getBpageList(); | 94 | window.opener.getBpageList(); |
| 102 | } else { | 95 | } else { |
| ... | @@ -110,12 +103,6 @@ | ... | @@ -110,12 +103,6 @@ |
| 110 | } | 103 | } |
| 111 | }); | 104 | }); |
| 112 | }, | 105 | }, |
| 113 | // add (val) { | ||
| 114 | // if (val != "") { | ||
| 115 | // this.shyj; | ||
| 116 | // } | ||
| 117 | // }, | ||
| 118 | |||
| 119 | /** | 106 | /** |
| 120 | * @description: closeDialog | 107 | * @description: closeDialog |
| 121 | * @author: renchao | 108 | * @author: renchao | ... | ... |
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | :show-message="false" | 4 | :show-message="false" |
| 5 | * @LastEditTime: 2023-08-22 16:27:25 | 5 | * @LastEditTime: 2023-11-07 09:25:19 |
| 6 | --> | 6 | --> |
| 7 | <template> | 7 | <template> |
| 8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
| ... | @@ -49,7 +49,6 @@ | ... | @@ -49,7 +49,6 @@ |
| 49 | :rules="rules.ztQlxxrules"> | 49 | :rules="rules.ztQlxxrules"> |
| 50 | <select-table | 50 | <select-table |
| 51 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
| 52 | :table-width="730" | ||
| 53 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
| 54 | :props="props" | 53 | :props="props" |
| 55 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange"> |
| ... | @@ -138,7 +137,6 @@ | ... | @@ -138,7 +137,6 @@ |
| 138 | v-if="ruleForm.qlxx.djlx == '300'"> | 137 | v-if="ruleForm.qlxx.djlx == '300'"> |
| 139 | <select-table | 138 | <select-table |
| 140 | v-model="ruleForm.ssQlxx" | 139 | v-model="ruleForm.ssQlxx" |
| 141 | :table-width="730" | ||
| 142 | :tableData="ssQlxxList" | 140 | :tableData="ssQlxxList" |
| 143 | :props="props" | 141 | :props="props" |
| 144 | @change="ssQlxxchange"> | 142 | @change="ssQlxxchange"> |
| ... | @@ -191,8 +189,8 @@ | ... | @@ -191,8 +189,8 @@ |
| 191 | prop="cfdj.sfbxf" | 189 | prop="cfdj.sfbxf" |
| 192 | :rules="rules.sfbxfrules"> | 190 | :rules="rules.sfbxfrules"> |
| 193 | <el-radio-group v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | 191 | <el-radio-group v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
| 194 | <el-radio label="800">是</el-radio> | 192 | <el-radio label="300">是</el-radio> |
| 195 | <el-radio label="300">否</el-radio> | 193 | <el-radio label="800">否</el-radio> |
| 196 | </el-radio-group> | 194 | </el-radio-group> |
| 197 | </el-form-item> | 195 | </el-form-item> |
| 198 | </el-col> | 196 | </el-col> |
| ... | @@ -477,7 +475,6 @@ | ... | @@ -477,7 +475,6 @@ |
| 477 | this.ruleForm.qlxx.ssywh = val.ywh; | 475 | this.ruleForm.qlxx.ssywh = val.ywh; |
| 478 | this.ssQlxxchangediolog(val); | 476 | this.ssQlxxchangediolog(val); |
| 479 | }, | 477 | }, |
| 480 | // 弹框事件 | ||
| 481 | /** | 478 | /** |
| 482 | * @description: 弹框事件 | 479 | * @description: 弹框事件 |
| 483 | * @param {*} val | 480 | * @param {*} val |
| ... | @@ -585,7 +582,6 @@ | ... | @@ -585,7 +582,6 @@ |
| 585 | */ | 582 | */ |
| 586 | onSubmit () { | 583 | onSubmit () { |
| 587 | this.$refs.ruleForm.validate((valid) => { | 584 | this.$refs.ruleForm.validate((valid) => { |
| 588 | console.log("valid", valid); | ||
| 589 | if (valid) { | 585 | if (valid) { |
| 590 | save(this.ruleForm).then((res) => { | 586 | save(this.ruleForm).then((res) => { |
| 591 | if (res.code === 200) { | 587 | if (res.code === 200) { |
| ... | @@ -605,6 +601,11 @@ | ... | @@ -605,6 +601,11 @@ |
| 605 | } | 601 | } |
| 606 | }); | 602 | }); |
| 607 | } else { | 603 | } else { |
| 604 | this.$message({ | ||
| 605 | showClose: true, | ||
| 606 | message: "请完善表单信息", | ||
| 607 | type: "error" | ||
| 608 | }) | ||
| 608 | return false; | 609 | return false; |
| 609 | } | 610 | } |
| 610 | }); | 611 | }); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-26 13:25:47 | 4 | * @LastEditTime: 2023-11-07 09:33:53 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -45,10 +45,10 @@ | ... | @@ -45,10 +45,10 @@ |
| 45 | <el-form-item | 45 | <el-form-item |
| 46 | label="抵押不动产信息:" | 46 | label="抵押不动产信息:" |
| 47 | prop="ztQlxx.bdcqzh" | 47 | prop="ztQlxx.bdcqzh" |
| 48 | style="display:flex" | ||
| 48 | :rules="rules.ztQlxxrules"> | 49 | :rules="rules.ztQlxxrules"> |
| 49 | <select-table | 50 | <select-table |
| 50 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
| 51 | :table-width="730" | ||
| 52 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
| 53 | :props="props" | 53 | :props="props" |
| 54 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange"> |
| ... | @@ -131,7 +131,6 @@ | ... | @@ -131,7 +131,6 @@ |
| 131 | :rules="rules.ssQlxxrules"> | 131 | :rules="rules.ssQlxxrules"> |
| 132 | <select-table | 132 | <select-table |
| 133 | v-model="ruleForm.ssQlxx" | 133 | v-model="ruleForm.ssQlxx" |
| 134 | :table-width="730" | ||
| 135 | :tableData="ssQlxxList" | 134 | :tableData="ssQlxxList" |
| 136 | :props="props" | 135 | :props="props" |
| 137 | @change="ssQlxxchange"> | 136 | @change="ssQlxxchange"> |
| ... | @@ -287,7 +286,7 @@ | ... | @@ -287,7 +286,7 @@ |
| 287 | v-model="ruleForm.diyaq.zwlxqssj" | 286 | v-model="ruleForm.diyaq.zwlxqssj" |
| 288 | type="date" | 287 | type="date" |
| 289 | placeholder="选择日期" | 288 | placeholder="选择日期" |
| 290 | value-format="yyyy-MM-dd HH:mm:ss" | 289 | value-format="yyyy-MM-dd" |
| 291 | format="yyyy-MM-dd"> | 290 | format="yyyy-MM-dd"> |
| 292 | </el-date-picker> | 291 | </el-date-picker> |
| 293 | </el-form-item> | 292 | </el-form-item> |
| ... | @@ -301,7 +300,7 @@ | ... | @@ -301,7 +300,7 @@ |
| 301 | v-model="ruleForm.diyaq.zwlxjssj" | 300 | v-model="ruleForm.diyaq.zwlxjssj" |
| 302 | type="date" | 301 | type="date" |
| 303 | placeholder="选择日期" | 302 | placeholder="选择日期" |
| 304 | value-format="yyyy-MM-dd HH:mm:ss" | 303 | value-format="yyyy-MM-dd" |
| 305 | format="yyyy-MM-dd"> | 304 | format="yyyy-MM-dd"> |
| 306 | </el-date-picker> | 305 | </el-date-picker> |
| 307 | </el-form-item> | 306 | </el-form-item> |
| ... | @@ -382,7 +381,7 @@ | ... | @@ -382,7 +381,7 @@ |
| 382 | type="date" | 381 | type="date" |
| 383 | class="width100" | 382 | class="width100" |
| 384 | placeholder="选择日期" | 383 | placeholder="选择日期" |
| 385 | value-format="yyyy-MM-dd HH:mm:ss" | 384 | value-format="yyyy-MM-dd" |
| 386 | format="yyyy-MM-dd"> | 385 | format="yyyy-MM-dd"> |
| 387 | </el-date-picker> | 386 | </el-date-picker> |
| 388 | </el-form-item> | 387 | </el-form-item> |
| ... | @@ -439,7 +438,7 @@ | ... | @@ -439,7 +438,7 @@ |
| 439 | <div class="triangle"></div> | 438 | <div class="triangle"></div> |
| 440 | </div> | 439 | </div> |
| 441 | <el-row :gutter="10"> | 440 | <el-row :gutter="10"> |
| 442 | <el-col :span="12"> | 441 | <el-col :span="24"> |
| 443 | <el-form-item label="共有方式:"> | 442 | <el-form-item label="共有方式:"> |
| 444 | <el-radio-group | 443 | <el-radio-group |
| 445 | :disabled="!ableOperation" | 444 | :disabled="!ableOperation" | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-26 13:26:40 | 4 | * @LastEditTime: 2023-11-07 09:25:27 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -43,11 +43,11 @@ | ... | @@ -43,11 +43,11 @@ |
| 43 | <div class="count"> | 43 | <div class="count"> |
| 44 | <el-form-item | 44 | <el-form-item |
| 45 | label="地役权不动产情况" | 45 | label="地役权不动产情况" |
| 46 | style="display:flex" | ||
| 46 | prop="ztQlxx.bdcqzh" | 47 | prop="ztQlxx.bdcqzh" |
| 47 | :rules="rules.ztQlxxrules"> | 48 | :rules="rules.ztQlxxrules"> |
| 48 | <select-table | 49 | <select-table |
| 49 | v-model="ruleForm.ztQlxx" | 50 | v-model="ruleForm.ztQlxx" |
| 50 | :table-width="730" | ||
| 51 | :tableData="ztQlxxList" | 51 | :tableData="ztQlxxList" |
| 52 | :props="props" | 52 | :props="props" |
| 53 | @change="ztQlxxchange"> | 53 | @change="ztQlxxchange"> |
| ... | @@ -130,7 +130,6 @@ | ... | @@ -130,7 +130,6 @@ |
| 130 | :rules="rules.ssQlxxrules"> | 130 | :rules="rules.ssQlxxrules"> |
| 131 | <select-table | 131 | <select-table |
| 132 | v-model="ruleForm.ssQlxx" | 132 | v-model="ruleForm.ssQlxx" |
| 133 | :table-width="730" | ||
| 134 | :tableData="ssQlxxList" | 133 | :tableData="ssQlxxList" |
| 135 | :props="props" | 134 | :props="props" |
| 136 | @change="ssQlxxchange"> | 135 | @change="ssQlxxchange"> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-26 13:34:22 | 4 | * @LastEditTime: 2023-11-03 14:47:38 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -48,7 +48,6 @@ | ... | @@ -48,7 +48,6 @@ |
| 48 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
| 49 | <select-table | 49 | <select-table |
| 50 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
| 51 | :table-width="730" | ||
| 52 | :tableData="ssQlxxList" | 51 | :tableData="ssQlxxList" |
| 53 | :props="props" | 52 | :props="props" |
| 54 | @change="ssQlxxchange"> | 53 | @change="ssQlxxchange"> |
| ... | @@ -709,6 +708,11 @@ | ... | @@ -709,6 +708,11 @@ |
| 709 | } | 708 | } |
| 710 | }); | 709 | }); |
| 711 | } else { | 710 | } else { |
| 711 | this.$message({ | ||
| 712 | showClose: true, | ||
| 713 | message: "请完善表单信息", | ||
| 714 | type: "error" | ||
| 715 | }) | ||
| 712 | return false; | 716 | return false; |
| 713 | } | 717 | } |
| 714 | }); | 718 | }); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-08 10:05:16 | 4 | * @LastEditTime: 2023-11-03 14:47:55 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -45,7 +45,6 @@ | ... | @@ -45,7 +45,6 @@ |
| 45 | :rules="rules.ssQlxxrules"> | 45 | :rules="rules.ssQlxxrules"> |
| 46 | <select-table | 46 | <select-table |
| 47 | v-model="ruleForm.ssQlxx" | 47 | v-model="ruleForm.ssQlxx" |
| 48 | :table-width="730" | ||
| 49 | :tableData="ssQlxxList" | 48 | :tableData="ssQlxxList" |
| 50 | :props="props" | 49 | :props="props" |
| 51 | @change="ssQlxxchange"> | 50 | @change="ssQlxxchange"> |
| ... | @@ -592,9 +591,14 @@ | ... | @@ -592,9 +591,14 @@ |
| 592 | } | 591 | } |
| 593 | }); | 592 | }); |
| 594 | } else { | 593 | } else { |
| 594 | this.$message({ | ||
| 595 | showClose: true, | ||
| 596 | message: "请完善表单信息", | ||
| 597 | type: "error" | ||
| 598 | }) | ||
| 595 | return false; | 599 | return false; |
| 596 | } | 600 | } |
| 597 | }); | 601 | }) |
| 598 | } | 602 | } |
| 599 | } | 603 | } |
| 600 | } | 604 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-26 13:27:29 | 4 | * @LastEditTime: 2023-11-03 14:48:15 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -47,7 +47,6 @@ | ... | @@ -47,7 +47,6 @@ |
| 47 | :rules="rules.ssQlxxrules"> | 47 | :rules="rules.ssQlxxrules"> |
| 48 | <select-table | 48 | <select-table |
| 49 | v-model="ruleForm.ssQlxx" | 49 | v-model="ruleForm.ssQlxx" |
| 50 | :table-width="730" | ||
| 51 | :tableData="ssQlxxList" | 50 | :tableData="ssQlxxList" |
| 52 | :props="props" | 51 | :props="props" |
| 53 | @change="ssQlxxchange"> | 52 | @change="ssQlxxchange"> |
| ... | @@ -692,12 +691,17 @@ | ... | @@ -692,12 +691,17 @@ |
| 692 | } | 691 | } |
| 693 | }); | 692 | }); |
| 694 | } else { | 693 | } else { |
| 694 | this.$message({ | ||
| 695 | showClose: true, | ||
| 696 | message: "请完善表单信息", | ||
| 697 | type: "error" | ||
| 698 | }) | ||
| 695 | return false; | 699 | return false; |
| 696 | } | 700 | } |
| 697 | }); | 701 | }) |
| 698 | }, | 702 | } |
| 699 | }, | 703 | } |
| 700 | }; | 704 | } |
| 701 | </script> | 705 | </script> |
| 702 | <style scoped lang="scss"> | 706 | <style scoped lang="scss"> |
| 703 | @import "~@/styles/public.scss"; | 707 | @import "~@/styles/public.scss"; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-08 09:46:31 | 4 | * @LastEditTime: 2023-11-03 14:48:37 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -44,10 +44,10 @@ | ... | @@ -44,10 +44,10 @@ |
| 44 | <el-form-item | 44 | <el-form-item |
| 45 | label="上手权利信息:" | 45 | label="上手权利信息:" |
| 46 | prop="ssQlxx.bdcqzh" | 46 | prop="ssQlxx.bdcqzh" |
| 47 | style="display:flex" | ||
| 47 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
| 48 | <select-table | 49 | <select-table |
| 49 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
| 50 | :table-width="730" | ||
| 51 | :tableData="ssQlxxList" | 51 | :tableData="ssQlxxList" |
| 52 | :props="props" | 52 | :props="props" |
| 53 | @change="ssQlxxchange"> | 53 | @change="ssQlxxchange"> |
| ... | @@ -693,11 +693,16 @@ | ... | @@ -693,11 +693,16 @@ |
| 693 | } | 693 | } |
| 694 | }); | 694 | }); |
| 695 | } else { | 695 | } else { |
| 696 | this.$message({ | ||
| 697 | showClose: true, | ||
| 698 | message: "请完善表单信息", | ||
| 699 | type: "error" | ||
| 700 | }) | ||
| 696 | return false; | 701 | return false; |
| 697 | } | 702 | } |
| 698 | }); | 703 | }) |
| 699 | }, | 704 | } |
| 700 | }, | 705 | } |
| 701 | }; | 706 | }; |
| 702 | </script> | 707 | </script> |
| 703 | <style scoped lang="scss"> | 708 | <style scoped lang="scss"> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-26 13:31:57 | 4 | * @LastEditTime: 2023-11-07 09:26:12 |
| 5 | :show-message="false" | 5 | :show-message="false" |
| 6 | --> | 6 | --> |
| 7 | <template> | 7 | <template> |
| ... | @@ -45,11 +45,11 @@ | ... | @@ -45,11 +45,11 @@ |
| 45 | <div class="count"> | 45 | <div class="count"> |
| 46 | <el-form-item | 46 | <el-form-item |
| 47 | label="预告买卖登记" | 47 | label="预告买卖登记" |
| 48 | style="display:flex" | ||
| 48 | prop="ztQlxx.bdcqzh" | 49 | prop="ztQlxx.bdcqzh" |
| 49 | :rules="rules.ztQlxxrules"> | 50 | :rules="rules.ztQlxxrules"> |
| 50 | <select-table | 51 | <select-table |
| 51 | v-model="ruleForm.ztQlxx" | 52 | v-model="ruleForm.ztQlxx" |
| 52 | :table-width="730" | ||
| 53 | :tableData="ztQlxxList" | 53 | :tableData="ztQlxxList" |
| 54 | :props="props" | 54 | :props="props" |
| 55 | @change="ztQlxxchange"> | 55 | @change="ztQlxxchange"> |
| ... | @@ -127,10 +127,10 @@ | ... | @@ -127,10 +127,10 @@ |
| 127 | <el-form-item | 127 | <el-form-item |
| 128 | label="上手权利信息:" | 128 | label="上手权利信息:" |
| 129 | prop="ssQlxx.bdcqzh" | 129 | prop="ssQlxx.bdcqzh" |
| 130 | |||
| 130 | :rules="rules.ssQlxxrules"> | 131 | :rules="rules.ssQlxxrules"> |
| 131 | <select-table | 132 | <select-table |
| 132 | v-model="ruleForm.ssQlxx" | 133 | v-model="ruleForm.ssQlxx" |
| 133 | :table-width="730" | ||
| 134 | :tableData="ssQlxxList" | 134 | :tableData="ssQlxxList" |
| 135 | :props="props" | 135 | :props="props" |
| 136 | @change="ssQlxxchange"> | 136 | @change="ssQlxxchange"> | ... | ... |
| ... | @@ -45,11 +45,11 @@ | ... | @@ -45,11 +45,11 @@ |
| 45 | <div class="count" v-if="ssqlxxshow"> | 45 | <div class="count" v-if="ssqlxxshow"> |
| 46 | <el-form-item | 46 | <el-form-item |
| 47 | label="上手权利信息:" | 47 | label="上手权利信息:" |
| 48 | style="display:flex" | ||
| 48 | prop="ssQlxx.bdcqzh" | 49 | prop="ssQlxx.bdcqzh" |
| 49 | :rules="rules.ssQlxxrules"> | 50 | :rules="rules.ssQlxxrules"> |
| 50 | <select-table | 51 | <select-table |
| 51 | v-model="ruleForm.ssQlxx" | 52 | v-model="ruleForm.ssQlxx" |
| 52 | :table-width="730" | ||
| 53 | :tableData="ssQlxxList" | 53 | :tableData="ssQlxxList" |
| 54 | :props="props" | 54 | :props="props" |
| 55 | @change="ssQlxxchange"> | 55 | @change="ssQlxxchange"> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-08 09:35:26 | 4 | * @LastEditTime: 2023-11-07 09:26:20 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -44,11 +44,11 @@ | ... | @@ -44,11 +44,11 @@ |
| 44 | <div class="count"> | 44 | <div class="count"> |
| 45 | <el-form-item | 45 | <el-form-item |
| 46 | label="抵押不动产信息:" | 46 | label="抵押不动产信息:" |
| 47 | style="display:flex" | ||
| 47 | prop="ztQlxx.bdcqzh" | 48 | prop="ztQlxx.bdcqzh" |
| 48 | :rules="rules.ztQlxxrules"> | 49 | :rules="rules.ztQlxxrules"> |
| 49 | <select-table | 50 | <select-table |
| 50 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
| 51 | :table-width="550" | ||
| 52 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
| 53 | :props="props" | 53 | :props="props" |
| 54 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange"> |
| ... | @@ -125,11 +125,11 @@ | ... | @@ -125,11 +125,11 @@ |
| 125 | <div class="count" v-if="ssqlxxshow"> | 125 | <div class="count" v-if="ssqlxxshow"> |
| 126 | <el-form-item | 126 | <el-form-item |
| 127 | label="上手权利信息:" | 127 | label="上手权利信息:" |
| 128 | style="display:flex" | ||
| 128 | prop="ssQlxx.bdcqzh" | 129 | prop="ssQlxx.bdcqzh" |
| 129 | :rules="rules.ssQlxxrules"> | 130 | :rules="rules.ssQlxxrules"> |
| 130 | <select-table | 131 | <select-table |
| 131 | v-model="ruleForm.ssQlxx" | 132 | v-model="ruleForm.ssQlxx" |
| 132 | :table-width="550" | ||
| 133 | :tableData="ssQlxxList" | 133 | :tableData="ssQlxxList" |
| 134 | :props="props" | 134 | :props="props" |
| 135 | @change="ssQlxxchange"> | 135 | @change="ssQlxxchange"> | ... | ... |
| ... | @@ -281,8 +281,8 @@ | ... | @@ -281,8 +281,8 @@ |
| 281 | } else { | 281 | } else { |
| 282 | this.$alert(res.message, "提示", { | 282 | this.$alert(res.message, "提示", { |
| 283 | confirmButtonText: "确定", | 283 | confirmButtonText: "确定", |
| 284 | type: "warning", | 284 | type: "warning" |
| 285 | }); | 285 | }) |
| 286 | } | 286 | } |
| 287 | }) | 287 | }) |
| 288 | .catch((res) => { | 288 | .catch((res) => { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-09 11:02:50 | 4 | * @LastEditTime: 2023-11-02 13:21:39 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| ... | @@ -157,7 +157,6 @@ | ... | @@ -157,7 +157,6 @@ |
| 157 | } | 157 | } |
| 158 | return name; | 158 | return name; |
| 159 | }, | 159 | }, |
| 160 | // 新增一条补录信息 | ||
| 161 | /** | 160 | /** |
| 162 | * @description: 新增一条补录信息 | 161 | * @description: 新增一条补录信息 |
| 163 | * @param {*} row | 162 | * @param {*} row | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-23 15:54:12 | 4 | * @LastEditTime: 2023-11-02 13:38:33 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| ... | @@ -175,10 +175,10 @@ | ... | @@ -175,10 +175,10 @@ |
| 175 | }) | 175 | }) |
| 176 | .then(() => { | 176 | .then(() => { |
| 177 | this.$parent.addRepairRecord(row, del); | 177 | this.$parent.addRepairRecord(row, del); |
| 178 | this.$message({ | 178 | // this.$message({ |
| 179 | type: "success", | 179 | // type: "success", |
| 180 | message: "补录成功!", | 180 | // message: "补录成功!", |
| 181 | }); | 181 | // }); |
| 182 | }) | 182 | }) |
| 183 | .catch(() => { | 183 | .catch(() => { |
| 184 | this.$message({ | 184 | this.$message({ | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-09 10:35:11 | 4 | * @LastEditTime: 2023-11-02 13:38:48 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| ... | @@ -171,10 +171,10 @@ | ... | @@ -171,10 +171,10 @@ |
| 171 | .then(() => { | 171 | .then(() => { |
| 172 | this.$parent.addRepairRecord(row, del); | 172 | this.$parent.addRepairRecord(row, del); |
| 173 | 173 | ||
| 174 | this.$message({ | 174 | // this.$message({ |
| 175 | type: "success", | 175 | // type: "success", |
| 176 | message: "补录成功!", | 176 | // message: "补录成功!", |
| 177 | }); | 177 | // }); |
| 178 | }) | 178 | }) |
| 179 | .catch(() => { | 179 | .catch(() => { |
| 180 | this.$message({ | 180 | this.$message({ | ... | ... |
| ... | @@ -177,10 +177,10 @@ | ... | @@ -177,10 +177,10 @@ |
| 177 | }).then(() => { | 177 | }).then(() => { |
| 178 | this.$parent.addRepairRecord(row, del) | 178 | this.$parent.addRepairRecord(row, del) |
| 179 | 179 | ||
| 180 | this.$message({ | 180 | // this.$message({ |
| 181 | type: 'success', | 181 | // type: 'success', |
| 182 | message: '补录成功!' | 182 | // message: '补录成功!' |
| 183 | }); | 183 | // }); |
| 184 | }).catch(() => { | 184 | }).catch(() => { |
| 185 | this.$message({ | 185 | this.$message({ |
| 186 | type: 'info', | 186 | type: 'info', | ... | ... |
| ... | @@ -166,10 +166,10 @@ | ... | @@ -166,10 +166,10 @@ |
| 166 | }).then(() => { | 166 | }).then(() => { |
| 167 | this.$parent.addRepairRecord(row, del) | 167 | this.$parent.addRepairRecord(row, del) |
| 168 | 168 | ||
| 169 | this.$message({ | 169 | // this.$message({ |
| 170 | type: 'success', | 170 | // type: 'success', |
| 171 | message: '补录成功!' | 171 | // message: '补录成功!' |
| 172 | }); | 172 | // }); |
| 173 | }).catch(() => { | 173 | }).catch(() => { |
| 174 | this.$message({ | 174 | this.$message({ |
| 175 | type: 'info', | 175 | type: 'info', | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-22 09:56:51 | 4 | * @LastEditTime: 2023-11-02 13:39:06 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="all"> | 7 | <div class="all"> |
| ... | @@ -134,10 +134,10 @@ | ... | @@ -134,10 +134,10 @@ |
| 134 | .then(() => { | 134 | .then(() => { |
| 135 | this.$parent.addRepairRecord(row, del); | 135 | this.$parent.addRepairRecord(row, del); |
| 136 | 136 | ||
| 137 | this.$message({ | 137 | // this.$message({ |
| 138 | type: "success", | 138 | // type: "success", |
| 139 | message: "补录成功!", | 139 | // message: "补录成功!", |
| 140 | }); | 140 | // }); |
| 141 | }) | 141 | }) |
| 142 | .catch(() => { | 142 | .catch(() => { |
| 143 | this.$message({ | 143 | this.$message({ | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-25 17:19:17 | 4 | * @LastEditTime: 2023-11-02 13:39:10 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| ... | @@ -217,10 +217,10 @@ | ... | @@ -217,10 +217,10 @@ |
| 217 | }).then(() => { | 217 | }).then(() => { |
| 218 | this.$parent.addRepairRecord(row, del) | 218 | this.$parent.addRepairRecord(row, del) |
| 219 | 219 | ||
| 220 | this.$message({ | 220 | // this.$message({ |
| 221 | type: 'success', | 221 | // type: 'success', |
| 222 | message: '补录成功!' | 222 | // message: '补录成功!' |
| 223 | }); | 223 | // }); |
| 224 | }).catch(() => { | 224 | }).catch(() => { |
| 225 | this.$message({ | 225 | this.$message({ |
| 226 | type: 'info', | 226 | type: 'info', | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-25 17:14:29 | 4 | * @LastEditTime: 2023-11-02 13:39:13 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| ... | @@ -166,10 +166,10 @@ | ... | @@ -166,10 +166,10 @@ |
| 166 | }).then(() => { | 166 | }).then(() => { |
| 167 | this.$parent.addRepairRecord(row, del) | 167 | this.$parent.addRepairRecord(row, del) |
| 168 | 168 | ||
| 169 | this.$message({ | 169 | // this.$message({ |
| 170 | type: 'success', | 170 | // type: 'success', |
| 171 | message: '补录成功!' | 171 | // message: '补录成功!' |
| 172 | }); | 172 | // }); |
| 173 | }).catch(() => { | 173 | }).catch(() => { |
| 174 | this.$message({ | 174 | this.$message({ |
| 175 | type: 'info', | 175 | type: 'info', | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-24 16:15:45 | 4 | * @LastEditTime: 2023-11-02 13:39:17 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| ... | @@ -166,10 +166,10 @@ | ... | @@ -166,10 +166,10 @@ |
| 166 | }).then(() => { | 166 | }).then(() => { |
| 167 | this.$parent.addRepairRecord(row, del) | 167 | this.$parent.addRepairRecord(row, del) |
| 168 | 168 | ||
| 169 | this.$message({ | 169 | // this.$message({ |
| 170 | type: 'success', | 170 | // type: 'success', |
| 171 | message: '补录成功!' | 171 | // message: '补录成功!' |
| 172 | }); | 172 | // }); |
| 173 | }).catch(() => { | 173 | }).catch(() => { |
| 174 | this.$message({ | 174 | this.$message({ |
| 175 | type: 'info', | 175 | type: 'info', | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-19 09:52:07 | 4 | * @LastEditTime: 2023-11-08 14:12:17 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="bdcqljqtsx"> | 7 | <div class="bdcqljqtsx"> |
| 8 | <el-button class="print" v-print="printObj">打印</el-button> | 8 | <el-button class="print" v-print="printObj">打印</el-button> |
| 9 | <div class="content" v-if="qlxxList.ztqlmc" id="box"> | 9 | <div class="content" v-if="qlxxList.ztqlmc" id="box"> |
| 10 | <div class="title">不动产权利及其他事项<br />登记信息</div> | 10 | <div class="title">不动产权利及其他事项<br />登记信息</div> |
| 11 | <div> | 11 | <div style="text-align:center"> |
| 12 | 不动产单元号: | 12 | 不动产单元号: |
| 13 | <div class="underline">{{ propsParam.bdcdyh }}</div> | 13 | <div class="underline">{{ propsParam.bdcdyh }}</div> |
| 14 | </div> | 14 | </div> |
| 15 | <br /><br /><br /> | 15 | <br /><br /><br /> |
| 16 | <div> | 16 | <div class="detail"> |
| 17 | <div class="underline">{{ qlxxList.ztqlmc }}</div> | 17 | <div class="underline">{{ qlxxList.ztqlmc }}</div> |
| 18 | 登记 共 | 18 | 登记 共 |
| 19 | <div class="underline">{{ qlxxList.ztql.total }}</div> | 19 | <div class="underline">{{ qlxxList.ztql.total }}</div> |
| 20 | 条 | 20 | 条 |
| 21 | </div> | 21 | </div> |
| 22 | <br /><br /> | 22 | <br /><br /> |
| 23 | <div> | 23 | <div class="detail"> |
| 24 | 抵押权登记 共 | 24 | 抵押权登记 共 |
| 25 | <div class="underline">{{ qlxxList.diyaq.total }}</div> | 25 | <div class="underline">{{ qlxxList.diyaq.total }}</div> |
| 26 | 条 | 26 | 条 |
| 27 | </div> | 27 | </div> |
| 28 | <br /> | 28 | <br /> |
| 29 | <div> | 29 | <div class="detail"> |
| 30 | 地役权登记 共 | 30 | 地役权登记 共 |
| 31 | <div class="underline">{{ qlxxList.diyiq.total }}</div> | 31 | <div class="underline">{{ qlxxList.diyiq.total }}</div> |
| 32 | 条 | 32 | 条 |
| 33 | </div> | 33 | </div> |
| 34 | <br /> | 34 | <br /> |
| 35 | <div> | 35 | <div class="detail"> |
| 36 | 预告登记 共 | 36 | 预告登记 共 |
| 37 | <div class="underline">{{ qlxxList.ygdj.total }}</div> | 37 | <div class="underline">{{ qlxxList.ygdj.total }}</div> |
| 38 | 条 | 38 | 条 |
| 39 | </div> | 39 | </div> |
| 40 | <br /> | 40 | <br /> |
| 41 | <div> | 41 | <div class="detail"> |
| 42 | 异议登记 共 | 42 | 异议登记 共 |
| 43 | <div class="underline">{{ qlxxList.yydj.total }}</div> | 43 | <div class="underline">{{ qlxxList.yydj.total }}</div> |
| 44 | 条 | 44 | 条 |
| 45 | </div> | 45 | </div> |
| 46 | <br /> | 46 | <br /> |
| 47 | <div> | 47 | <div class="detail"> |
| 48 | 查封登记 共 | 48 | 查封登记 共 |
| 49 | <div class="underline">{{ qlxxList.cfdj.total }}</div> | 49 | <div class="underline">{{ qlxxList.cfdj.total }}</div> |
| 50 | 条 | 50 | 条 |
| ... | @@ -83,6 +83,9 @@ | ... | @@ -83,6 +83,9 @@ |
| 83 | </script> | 83 | </script> |
| 84 | 84 | ||
| 85 | <style lang="scss" scoped> | 85 | <style lang="scss" scoped> |
| 86 | .detail { | ||
| 87 | margin-right: 19%; | ||
| 88 | } | ||
| 86 | .bdcqljqtsx { | 89 | .bdcqljqtsx { |
| 87 | width: 100%; | 90 | width: 100%; |
| 88 | height: 100%; | 91 | height: 100%; |
| ... | @@ -95,7 +98,6 @@ | ... | @@ -95,7 +98,6 @@ |
| 95 | left: 11px; | 98 | left: 11px; |
| 96 | top: 5px; | 99 | top: 5px; |
| 97 | } | 100 | } |
| 98 | |||
| 99 | } | 101 | } |
| 100 | .content { | 102 | .content { |
| 101 | width: 50%; | 103 | width: 50%; |
| ... | @@ -108,7 +110,6 @@ | ... | @@ -108,7 +110,6 @@ |
| 108 | font-size: 18px; | 110 | font-size: 18px; |
| 109 | line-height: 16px; | 111 | line-height: 16px; |
| 110 | 112 | ||
| 111 | |||
| 112 | .title { | 113 | .title { |
| 113 | font-size: 32px; | 114 | font-size: 32px; |
| 114 | text-align: center; | 115 | text-align: center; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-23 16:46:47 | 4 | * @LastEditTime: 2023-11-02 13:39:28 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="tableBox"> | 7 | <div class="tableBox"> |
| ... | @@ -96,7 +96,7 @@ | ... | @@ -96,7 +96,7 @@ |
| 96 | </template> | 96 | </template> |
| 97 | <script> | 97 | <script> |
| 98 | import Router from '@/router' | 98 | import Router from '@/router' |
| 99 | import { mapGetters } from "vuex"; | 99 | import store from '@/store/index.js' |
| 100 | import { datas } from "../qlxxFormData.js"; | 100 | import { datas } from "../qlxxFormData.js"; |
| 101 | import { ywPopupDialog } from "@/utils/popup.js"; | 101 | import { ywPopupDialog } from "@/utils/popup.js"; |
| 102 | import printTemplate from "../components/printTemplate.vue"; | 102 | import printTemplate from "../components/printTemplate.vue"; |
| ... | @@ -129,9 +129,6 @@ | ... | @@ -129,9 +129,6 @@ |
| 129 | default: () => [] | 129 | default: () => [] |
| 130 | }, | 130 | }, |
| 131 | }, | 131 | }, |
| 132 | computed: { | ||
| 133 | ...mapGetters(["dictData"]), | ||
| 134 | }, | ||
| 135 | data () { | 132 | data () { |
| 136 | return { | 133 | return { |
| 137 | qsztList: datas.columns().qsztList, | 134 | qsztList: datas.columns().qsztList, |
| ... | @@ -152,7 +149,11 @@ | ... | @@ -152,7 +149,11 @@ |
| 152 | sfygdj: (label) => ztObj[label] || label, | 149 | sfygdj: (label) => ztObj[label] || label, |
| 153 | sfczjzhxz: (label) => ztObj[label] || label, | 150 | sfczjzhxz: (label) => ztObj[label] || label, |
| 154 | dyrlx: (label) => { | 151 | dyrlx: (label) => { |
| 155 | let arr = this.dictData['A36'].filter(item => item.dcode === label); | 152 | let arr = store.getters.dictData['A36'].filter(item => item.dcode === label); |
| 153 | return arr.length > 0 ? arr[0].dname : label; | ||
| 154 | }, | ||
| 155 | qlrzjzl: (label) => { | ||
| 156 | let arr = store.getters.dictData['A30'].filter(item => item.dcode === label); | ||
| 156 | return arr.length > 0 ? arr[0].dname : label; | 157 | return arr.length > 0 ? arr[0].dname : label; |
| 157 | }, | 158 | }, |
| 158 | default: (label) => label | 159 | default: (label) => label |
| ... | @@ -227,10 +228,10 @@ | ... | @@ -227,10 +228,10 @@ |
| 227 | }) | 228 | }) |
| 228 | .then(() => { | 229 | .then(() => { |
| 229 | this.$parent.$parent.addRepairRecord(row, del); | 230 | this.$parent.$parent.addRepairRecord(row, del); |
| 230 | this.$message({ | 231 | // this.$message({ |
| 231 | type: "success", | 232 | // type: "success", |
| 232 | message: "补录成功!" | 233 | // message: "补录成功!" |
| 233 | }) | 234 | // }) |
| 234 | }) | 235 | }) |
| 235 | .catch(() => { | 236 | .catch(() => { |
| 236 | this.$message({ | 237 | this.$message({ | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-13 14:30:26 | 4 | * @LastEditTime: 2023-11-09 08:45:33 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="content"> | 7 | <div class="content"> |
| ... | @@ -16,15 +16,15 @@ | ... | @@ -16,15 +16,15 @@ |
| 16 | node-key="id" | 16 | node-key="id" |
| 17 | :default-checked-keys="[showTab]"> | 17 | :default-checked-keys="[showTab]"> |
| 18 | </el-tree> | 18 | </el-tree> |
| 19 | <el-collapse v-model="activeName" accordion> | 19 | <ElCollapse v-model="activeName" accordion> |
| 20 | <el-collapse-item | 20 | <ElCollapse-item |
| 21 | class="sfqqq" | 21 | class="sfqqq" |
| 22 | ref="sfq" | 22 | ref="sfq" |
| 23 | v-for="(item, index) in sfqdata" | 23 | v-for="(item, index) in sfqdata" |
| 24 | :key="index" | 24 | :key="index" |
| 25 | :name="index"> | 25 | :name="index"> |
| 26 | <template slot="title"> | 26 | <template slot="title"> |
| 27 | <span class="text" @click="tap(item, index)"> | 27 | <span class="text" :class="[titleActive == index ? 'nameSelect' : '']" @click="tap(item, index)"> |
| 28 | <span> {{ item.label }}</span> | 28 | <span> {{ item.label }}</span> |
| 29 | </span> | 29 | </span> |
| 30 | </template> | 30 | </template> |
| ... | @@ -41,8 +41,8 @@ | ... | @@ -41,8 +41,8 @@ |
| 41 | {{ item.zt }} | 41 | {{ item.zt }} |
| 42 | </span> | 42 | </span> |
| 43 | </p> | 43 | </p> |
| 44 | </el-collapse-item> | 44 | </ElCollapse-item> |
| 45 | </el-collapse> | 45 | </ElCollapse> |
| 46 | </div> | 46 | </div> |
| 47 | <div class="right"> | 47 | <div class="right"> |
| 48 | <component | 48 | <component |
| ... | @@ -54,11 +54,17 @@ | ... | @@ -54,11 +54,17 @@ |
| 54 | </template> | 54 | </template> |
| 55 | <script> | 55 | <script> |
| 56 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 56 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
| 57 | import ElCollapse from "@/components/collapse/index"; | ||
| 58 | import ElCollapseItem from "@/components/collapse/src/collapse-item.vue"; | ||
| 57 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; | 59 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; |
| 58 | export default { | 60 | export default { |
| 61 | comments: { | ||
| 62 | ElCollapse, ElCollapseItem | ||
| 63 | }, | ||
| 59 | data () { | 64 | data () { |
| 60 | return { | 65 | return { |
| 61 | activeName: 0, | 66 | activeName: 0, |
| 67 | titleActive: "", | ||
| 62 | //接收参数 | 68 | //接收参数 |
| 63 | // propsParam: this.$attrs, | 69 | // propsParam: this.$attrs, |
| 64 | //左侧目录 | 70 | //左侧目录 |
| ... | @@ -109,19 +115,30 @@ | ... | @@ -109,19 +115,30 @@ |
| 109 | if (res.code === 200) { | 115 | if (res.code === 200) { |
| 110 | if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) { | 116 | if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) { |
| 111 | let index = this.sfqdata.findIndex((item) => { | 117 | let index = this.sfqdata.findIndex((item) => { |
| 112 | return item.bdcdyid == val.bdcdyid; | 118 | return item.bdcdyid == val.bdcdyid |
| 113 | }); | 119 | }) |
| 114 | this.activeName = index; | 120 | this.activeName = index |
| 115 | 121 | this.titleActive = -1 | |
| 116 | // this.setstyle(index, 0, this.iskey); | 122 | this.titleActive = this.activeName |
| 117 | } else { | 123 | } else { |
| 118 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); | 124 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); |
| 119 | this.activeName = this.sfqdata.length - 1; | 125 | this.activeName = this.sfqdata.length - 1; |
| 120 | this.isActive = "" | 126 | this.isActive = "" |
| 121 | // this.$nextTick(() => { | 127 | this.titleActive = this.activeName |
| 122 | // this.setstyle(this.sfqdata.length - 1, 0, this.iskey); | ||
| 123 | // }) | ||
| 124 | } | 128 | } |
| 129 | |||
| 130 | this.$nextTick(function () { | ||
| 131 | this.defaultNode = getNode( | ||
| 132 | this.formData.qllx, | ||
| 133 | { linShi: 0, xianShi: 0, liShi: 0 }, | ||
| 134 | res.result.bdcdylx || "" | ||
| 135 | ); | ||
| 136 | this.sfqdata[0].children.forEach((item, index) => { | ||
| 137 | if (item.id == this.defaultNode.id) { | ||
| 138 | this.loadComponent(item.form); | ||
| 139 | } | ||
| 140 | }); | ||
| 141 | }); | ||
| 125 | } | 142 | } |
| 126 | }); | 143 | }); |
| 127 | this.currentSelectProps = { | 144 | this.currentSelectProps = { |
| ... | @@ -157,7 +174,6 @@ | ... | @@ -157,7 +174,6 @@ |
| 157 | this.isActive = index; | 174 | this.isActive = index; |
| 158 | } | 175 | } |
| 159 | }); | 176 | }); |
| 160 | // this.setstyle(0, 0, this.iskey); | ||
| 161 | }); | 177 | }); |
| 162 | } | 178 | } |
| 163 | }); | 179 | }); |
| ... | @@ -176,25 +192,6 @@ | ... | @@ -176,25 +192,6 @@ |
| 176 | handleNodeClick (data) { | 192 | handleNodeClick (data) { |
| 177 | this.loadComponent(data.form); | 193 | this.loadComponent(data.form); |
| 178 | }, | 194 | }, |
| 179 | // setstyle(newindex, index, key) { | ||
| 180 | // if (key != undefined || this.keyy == index) { | ||
| 181 | // if (key != undefined) { | ||
| 182 | // this.keyy = key; | ||
| 183 | // } | ||
| 184 | // this.loadComponent( | ||
| 185 | // this.$refs.sfq[newindex].$children[this.keyy].$attrs.re.form | ||
| 186 | // ); | ||
| 187 | // let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el; | ||
| 188 | // dpme.style.backgroundColor = "#f5f5f5"; | ||
| 189 | // dpme.style.color = "#0079fe"; | ||
| 190 | // dpme.style.borderRight = "4px solid #0079fe"; | ||
| 191 | // } else { | ||
| 192 | // let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el; | ||
| 193 | // dpme.style.backgroundColor = "#ffffff"; | ||
| 194 | // dpme.style.color = "black"; | ||
| 195 | // dpme.style.border = "none"; | ||
| 196 | // } | ||
| 197 | // }, | ||
| 198 | /** | 195 | /** |
| 199 | * @description: addlist | 196 | * @description: addlist |
| 200 | * @param {*} data | 197 | * @param {*} data |
| ... | @@ -202,6 +199,9 @@ | ... | @@ -202,6 +199,9 @@ |
| 202 | * 新增列表功能 | 199 | * 新增列表功能 |
| 203 | */ | 200 | */ |
| 204 | tap (data, index) { | 201 | tap (data, index) { |
| 202 | this.activeName = index.toString() | ||
| 203 | this.isActive = -1 | ||
| 204 | this.titleActive = index | ||
| 205 | this.loadComponent(data.form); | 205 | this.loadComponent(data.form); |
| 206 | }, | 206 | }, |
| 207 | taplist (data, index) { | 207 | taplist (data, index) { |
| ... | @@ -216,15 +216,11 @@ | ... | @@ -216,15 +216,11 @@ |
| 216 | loadComponent (form) { | 216 | loadComponent (form) { |
| 217 | this.componentTag = (r) => | 217 | this.componentTag = (r) => |
| 218 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 218 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
| 219 | }, | 219 | } |
| 220 | }, | 220 | } |
| 221 | }; | 221 | } |
| 222 | </script> | 222 | </script> |
| 223 | <style scoped lang="scss"> | 223 | <style scoped lang="scss"> |
| 224 | // /deep/.rollTable { | ||
| 225 | // height: calc(100vh - 300px) !important; | ||
| 226 | // } | ||
| 227 | |||
| 228 | .content { | 224 | .content { |
| 229 | width: 100%; | 225 | width: 100%; |
| 230 | height: 100%; | 226 | height: 100%; |
| ... | @@ -322,7 +318,10 @@ | ... | @@ -322,7 +318,10 @@ |
| 322 | align-items: center; | 318 | align-items: center; |
| 323 | } | 319 | } |
| 324 | } | 320 | } |
| 325 | 321 | .nameSelect { | |
| 322 | color: #000000; | ||
| 323 | font-weight: 700; | ||
| 324 | } | ||
| 326 | .select { | 325 | .select { |
| 327 | border: none; | 326 | border: none; |
| 328 | cursor: pointer; | 327 | cursor: pointer; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-10-23 16:48:02 | 4 | * @LastEditTime: 2023-11-02 13:39:22 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| ... | @@ -101,7 +101,7 @@ | ... | @@ -101,7 +101,7 @@ |
| 101 | <div | 101 | <div |
| 102 | v-for="(label, index) in row.djQlxxFdcqxmDoList" | 102 | v-for="(label, index) in row.djQlxxFdcqxmDoList" |
| 103 | :key="index"> | 103 | :key="index"> |
| 104 | {{ label[item.prop] }} | 104 | {{ getLable(item.prop,label[item.prop]) }} |
| 105 | </div> | 105 | </div> |
| 106 | </div> | 106 | </div> |
| 107 | </td> | 107 | </td> |
| ... | @@ -116,6 +116,7 @@ | ... | @@ -116,6 +116,7 @@ |
| 116 | <script> | 116 | <script> |
| 117 | import Router from '@/router' | 117 | import Router from '@/router' |
| 118 | import printJS from "print-js"; | 118 | import printJS from "print-js"; |
| 119 | import store from '@/store/index.js' | ||
| 119 | import { datas } from "./qlxxFormData.js"; | 120 | import { datas } from "./qlxxFormData.js"; |
| 120 | import { getSjlx } from "@/utils/dictionary.js"; | 121 | import { getSjlx } from "@/utils/dictionary.js"; |
| 121 | import { getFdcq1List } from "@/api/djbDetail.js"; | 122 | import { getFdcq1List } from "@/api/djbDetail.js"; |
| ... | @@ -165,7 +166,11 @@ | ... | @@ -165,7 +166,11 @@ |
| 165 | sfygdj: (label) => ztObj[label] || label, | 166 | sfygdj: (label) => ztObj[label] || label, |
| 166 | sfczjzhxz: (label) => ztObj[label] || label, | 167 | sfczjzhxz: (label) => ztObj[label] || label, |
| 167 | dyrlx: (label) => { | 168 | dyrlx: (label) => { |
| 168 | let arr = this.dictData['A36'].filter(item => item.dcode === label); | 169 | let arr = store.getters.dictData['A36'].filter(item => item.dcode === label); |
| 170 | return arr.length > 0 ? arr[0].dname : label; | ||
| 171 | }, | ||
| 172 | fwjg: (label) => { | ||
| 173 | let arr = store.getters.dictData['A46'].filter(item => item.dcode === label); | ||
| 169 | return arr.length > 0 ? arr[0].dname : label; | 174 | return arr.length > 0 ? arr[0].dname : label; |
| 170 | }, | 175 | }, |
| 171 | default: (label) => label | 176 | default: (label) => label |
| ... | @@ -282,10 +287,10 @@ | ... | @@ -282,10 +287,10 @@ |
| 282 | .then(() => { | 287 | .then(() => { |
| 283 | this.$parent.addRepairRecord(row, del); | 288 | this.$parent.addRepairRecord(row, del); |
| 284 | 289 | ||
| 285 | this.$message({ | 290 | // this.$message({ |
| 286 | type: "success", | 291 | // type: "success", |
| 287 | message: "补录成功!", | 292 | // message: "补录成功!", |
| 288 | }); | 293 | // }); |
| 289 | }) | 294 | }) |
| 290 | .catch(() => { | 295 | .catch(() => { |
| 291 | this.$message({ | 296 | this.$message({ | ... | ... |
src/views/sjgx/jkgnck/dialog/detail.vue
0 → 100644
| 1 | <!-- | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-05-26 15:40:23 | ||
| 5 | --> | ||
| 6 | <template> | ||
| 7 | <div class="loadingtext"> | ||
| 8 | <el-input | ||
| 9 | type="textarea" | ||
| 10 | :rows="8" | ||
| 11 | v-model="formData.json"> | ||
| 12 | </el-input> | ||
| 13 | <div class="text-center pt-10"> | ||
| 14 | <el-button type="primary" @click="pushRecord">推送</el-button> | ||
| 15 | </div> | ||
| 16 | </div> | ||
| 17 | </template> | ||
| 18 | <script> | ||
| 19 | import { push } from "@/api/sysPushRecord.js"; | ||
| 20 | export default { | ||
| 21 | props: { | ||
| 22 | formData: { | ||
| 23 | type: Object, | ||
| 24 | default: () => { | ||
| 25 | return {} | ||
| 26 | } | ||
| 27 | } | ||
| 28 | }, | ||
| 29 | methods: { | ||
| 30 | /** | ||
| 31 | * @description: pushRecord | ||
| 32 | * @author: renchao | ||
| 33 | */ | ||
| 34 | pushRecord () { | ||
| 35 | this.$startLoading() | ||
| 36 | push(this.formData).then((res) => { | ||
| 37 | this.$endLoading() | ||
| 38 | if (res.code === 200) { | ||
| 39 | this.$message.success("推送成功"); | ||
| 40 | } else { | ||
| 41 | this.$message.warning(res.message); | ||
| 42 | } | ||
| 43 | this.$popupCacel() | ||
| 44 | }) | ||
| 45 | } | ||
| 46 | } | ||
| 47 | } | ||
| 48 | </script> |
src/views/sjgx/jkgnck/djbcxdata.js
0 → 100644
| 1 | import filter from '@/utils/filter.js' | ||
| 2 | let vm = null | ||
| 3 | |||
| 4 | const sendThis = (_this) => { | ||
| 5 | vm = _this | ||
| 6 | } | ||
| 7 | class data extends filter { | ||
| 8 | constructor() { | ||
| 9 | super() | ||
| 10 | } | ||
| 11 | columns () { | ||
| 12 | return [ | ||
| 13 | { | ||
| 14 | label: '序号', | ||
| 15 | type: 'index', | ||
| 16 | width: '50', | ||
| 17 | render: (h, scope) => { | ||
| 18 | return ( | ||
| 19 | <div> | ||
| 20 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
| 21 | </div> | ||
| 22 | ) | ||
| 23 | } | ||
| 24 | }, | ||
| 25 | |||
| 26 | { | ||
| 27 | label: "推送状态", | ||
| 28 | render: (h, scope) => { | ||
| 29 | let obj = { | ||
| 30 | "0": { | ||
| 31 | text: '成功', | ||
| 32 | color: '#4BD863' | ||
| 33 | }, | ||
| 34 | "1": { | ||
| 35 | text: '失败', | ||
| 36 | color: 'red' | ||
| 37 | } | ||
| 38 | } | ||
| 39 | let textName = obj[scope.row.status]?.text || '' | ||
| 40 | let colorName = obj[scope.row.status]?.color || '' | ||
| 41 | return ( | ||
| 42 | <div> | ||
| 43 | <span style={`color:${colorName}`}>● </span> | ||
| 44 | <span >{textName}</span> | ||
| 45 | </div> | ||
| 46 | ) | ||
| 47 | } | ||
| 48 | }, | ||
| 49 | { | ||
| 50 | prop: "ywh", | ||
| 51 | label: "业务号", | ||
| 52 | // width: '110', | ||
| 53 | }, | ||
| 54 | { | ||
| 55 | prop: "ywh1", | ||
| 56 | label: "登记业务名称", | ||
| 57 | // width: '110', | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | prop: "ywh2", | ||
| 61 | label: "登记情形名称", | ||
| 62 | // width: '110', | ||
| 63 | }, | ||
| 64 | { | ||
| 65 | prop: "bdcdyh", | ||
| 66 | label: "不动产单元号", | ||
| 67 | // width: '110', | ||
| 68 | }, | ||
| 69 | { | ||
| 70 | prop: "createtime", | ||
| 71 | label: "创建时间", | ||
| 72 | }, | ||
| 73 | { | ||
| 74 | prop: "createtime", | ||
| 75 | label: "推送时间", | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | prop: "createtime1", | ||
| 79 | label: "响应时间", | ||
| 80 | }, | ||
| 81 | { | ||
| 82 | label: '操作', | ||
| 83 | width: '100', | ||
| 84 | render: (h, scope) => { | ||
| 85 | return ( | ||
| 86 | <div> | ||
| 87 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.detail(scope.row) }}>详情</el-button> | ||
| 88 | </div> | ||
| 89 | ) | ||
| 90 | } | ||
| 91 | } | ||
| 92 | ] | ||
| 93 | } | ||
| 94 | |||
| 95 | } | ||
| 96 | let datas = new data() | ||
| 97 | export { | ||
| 98 | datas, | ||
| 99 | sendThis | ||
| 100 | } |
| 1 | <!-- | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-07-19 15:04:38 | ||
| 5 | --> | ||
| 6 | <template> | 1 | <template> |
| 7 | <div class="from-clues"> | 2 | <div class="from-clues"> |
| 8 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
| 9 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
| 10 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> | 5 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> |
| 11 | <el-row> | 6 | <el-row> |
| 12 | <el-col :span="5"> | 7 | <el-col :span="5"> |
| 13 | <el-form-item label="接口类型"> | 8 | <el-form-item label="业务号"> |
| 14 | <el-input | 9 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100"> |
| 15 | placeholder="请输入编号" | ||
| 16 | v-model="queryForm.jklx" | ||
| 17 | class="width200px" | ||
| 18 | clearable></el-input> | ||
| 19 | </el-form-item> | ||
| 20 | </el-col> | ||
| 21 | <el-col :span="5"> | ||
| 22 | <el-form-item label="调用状态"> | ||
| 23 | <el-input | ||
| 24 | placeholder="请输入编号" | ||
| 25 | v-model="queryForm.dyzt" | ||
| 26 | class="width200px" | ||
| 27 | clearable></el-input> | ||
| 28 | </el-form-item> | ||
| 29 | </el-col> | ||
| 30 | </el-row> | ||
| 31 | <el-row> | ||
| 32 | <el-col :span="5"> | ||
| 33 | <el-form-item label="访问IP"> | ||
| 34 | |||
| 35 | <el-input | ||
| 36 | placeholder="请输入IP" | ||
| 37 | v-model="queryForm.fwip" | ||
| 38 | class="width200px" | ||
| 39 | clearable></el-input> | ||
| 40 | |||
| 41 | </el-form-item> | ||
| 42 | </el-col> | ||
| 43 | <el-col :span="5"> | ||
| 44 | <el-form-item label="访问时间"> | ||
| 45 | <el-input placeholder="请输入业务号" v-model="queryForm.fwsj" clearable class="width200px"> | ||
| 46 | </el-input> | 10 | </el-input> |
| 47 | </el-form-item> | 11 | </el-form-item> |
| 48 | </el-col> | 12 | </el-col> |
| 49 | </el-row> | ||
| 50 | <el-row> | ||
| 51 | <el-col :span="10"> | ||
| 52 | <el-form-item label="请求地址"> | ||
| 53 | |||
| 54 | <el-input | ||
| 55 | placeholder="请输入url" | ||
| 56 | v-model="queryForm.qqdz" | ||
| 57 | class="width500px" | ||
| 58 | clearable></el-input> | ||
| 59 | 13 | ||
| 60 | </el-form-item> | ||
| 61 | </el-col> | ||
| 62 | </el-row> | ||
| 63 | |||
| 64 | </el-row> | ||
| 65 | <el-row> | ||
| 66 | <el-col :span="20"> | ||
| 67 | <el-form-item label="请求头数据"> | ||
| 68 | |||
| 69 | <el-input | ||
| 70 | placeholder="请输入请求头数据" | ||
| 71 | v-model="queryForm.qqtsj" | ||
| 72 | class="width500px" | ||
| 73 | clearable></el-input> | ||
| 74 | |||
| 75 | </el-form-item> | ||
| 76 | </el-col> | ||
| 77 | </el-row> | ||
| 78 | <el-row> | ||
| 79 | <el-col :span="20"> | ||
| 80 | <el-form-item label="入参数据"> | ||
| 81 | |||
| 82 | <el-input | ||
| 83 | placeholder="请输入参数" | ||
| 84 | v-model="queryForm.rcsj" | ||
| 85 | class="width500px" | ||
| 86 | clearable></el-input> | ||
| 87 | |||
| 88 | </el-form-item> | ||
| 89 | </el-col> | ||
| 90 | </el-row> | ||
| 91 | |||
| 92 | <el-row> | ||
| 93 | <el-col :span="5"> | ||
| 94 | <el-form-item label="调用描述"> | ||
| 95 | |||
| 96 | <el-input | ||
| 97 | placeholder="调用描述" | ||
| 98 | v-model="queryForm.dyms" | ||
| 99 | class="width200px" | ||
| 100 | clearable></el-input> | ||
| 101 | |||
| 102 | </el-form-item> | ||
| 103 | </el-col> | ||
| 104 | </el-row> | ||
| 105 | |||
| 106 | <el-row> | ||
| 107 | <el-col :span="5"> | ||
| 108 | <el-form-item label="返回数据"> | ||
| 109 | |||
| 110 | <el-input | ||
| 111 | placeholder="返回数据" | ||
| 112 | v-model="queryForm.fhsj" | ||
| 113 | class="width200px" | ||
| 114 | clearable></el-input> | ||
| 115 | |||
| 116 | </el-form-item> | ||
| 117 | </el-col> | ||
| 118 | </el-row> | ||
| 119 | |||
| 120 | <el-row> | ||
| 121 | <el-col :span="4" class="btnColRight"> | 14 | <el-col :span="4" class="btnColRight"> |
| 122 | <el-form-item> | 15 | <el-form-item> |
| 123 | <el-button type="primary" @click="queryClick()">发送</el-button> | 16 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> |
| 124 | |||
| 125 | </el-form-item> | 17 | </el-form-item> |
| 126 | </el-col> | 18 | </el-col> |
| 127 | </el-row> | 19 | </el-row> |
| 128 | </el-form> | 20 | </el-form> |
| 129 | </div> | 21 | </div> |
| 130 | <!-- 表格 --> | 22 | <!-- 表格 --> |
| 131 | 23 | <div class="from-clues-content"> | |
| 24 | <lb-table :page-size="pageData.size" class="loadingtext" | ||
| 25 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" | ||
| 26 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | ||
| 27 | </lb-table> | ||
| 28 | </div> | ||
| 132 | </div> | 29 | </div> |
| 133 | </template> | 30 | </template> |
| 134 | <script> | 31 | <script> |
| 135 | 32 | import { mapGetters } from "vuex"; | |
| 136 | 33 | import table from "@/utils/mixin/table"; | |
| 137 | export default { | 34 | import { datas, sendThis } from "./djbcxdata"; |
| 138 | 35 | import { list, detail } from "@/api/sysPushRecord.js"; | |
| 36 | |||
| 37 | export default { | ||
| 38 | name: "djbcx", | ||
| 39 | mixins: [table], | ||
| 40 | mounted () { | ||
| 41 | sendThis(this); | ||
| 42 | this.queryClick() | ||
| 43 | }, | ||
| 139 | data () { | 44 | data () { |
| 140 | return { | 45 | return { |
| 141 | queryForm: { | 46 | queryForm: { |
| 142 | jklx: "", | 47 | qllx: "", |
| 143 | dyzt: "", | 48 | bdcdyh: "", |
| 144 | fwip: "", | 49 | bdcqzh: "", |
| 145 | fwsj: "", | 50 | ywh: "", |
| 146 | qqdz: "", | 51 | interfaceType: "5" |
| 147 | qqtsj: "", | 52 | }, |
| 148 | rcsj: "", | 53 | pageData: { |
| 149 | dyms: "", | 54 | current: 1, |
| 150 | fhsj: "", | 55 | size: 10, |
| 56 | total: 0, | ||
| 151 | }, | 57 | }, |
| 58 | tableData: { | ||
| 59 | columns: datas.columns(), | ||
| 60 | data: [], | ||
| 61 | } | ||
| 152 | } | 62 | } |
| 153 | }, | 63 | }, |
| 154 | 64 | computed: { | |
| 65 | ...mapGetters(["dictData"]) | ||
| 66 | }, | ||
| 67 | methods: { | ||
| 68 | // 初始化数据 | ||
| 69 | /** | ||
| 70 | * @description: 初始化数据 | ||
| 71 | * @author: renchao | ||
| 72 | */ | ||
| 73 | queryClick () { | ||
| 74 | this.$startLoading() | ||
| 75 | list({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 76 | this.$endLoading() | ||
| 77 | if (res.code === 200) { | ||
| 78 | let { total, records } = res.result; | ||
| 79 | this.tableData.data = records; | ||
| 80 | this.tableData.total = total; | ||
| 81 | } | ||
| 82 | }); | ||
| 83 | }, | ||
| 84 | /** | ||
| 85 | * @description: openDialog | ||
| 86 | * @param {*} scroll | ||
| 87 | * @author: renchao | ||
| 88 | */ | ||
| 89 | openDialog (scroll) { | ||
| 90 | const h = this.$createElement; | ||
| 91 | this.$msgbox({ | ||
| 92 | title: '推送', | ||
| 93 | message: h('p', null, [ | ||
| 94 | h('span', null, '是否推送 '), | ||
| 95 | h('i', { style: 'color: teal' }, scroll.ywh), | ||
| 96 | h('span', null, ' 记录') | ||
| 97 | ]), | ||
| 98 | showCancelButton: true, | ||
| 99 | confirmButtonText: '确定', | ||
| 100 | cancelButtonText: '取消', | ||
| 101 | beforeClose: (action, instance, done) => { | ||
| 102 | if (action === 'confirm') { | ||
| 103 | this.pushRecord(scroll, done); | ||
| 104 | } else { | ||
| 105 | done(); | ||
| 106 | } | ||
| 107 | } | ||
| 108 | }).then(action => { }); | ||
| 109 | }, | ||
| 110 | /** | ||
| 111 | * @description: detail | ||
| 112 | * @param {*} row | ||
| 113 | * @author: renchao | ||
| 114 | */ | ||
| 115 | detail (row) { | ||
| 116 | detail(row.bsm).then((res) => { | ||
| 117 | this.$endLoading() | ||
| 118 | if (res.code === 200) { | ||
| 119 | this.$popupDialog("详情", "sjgx/sbxtsjts/dialog/detail", res.result, "60%") | ||
| 120 | } else { | ||
| 121 | this.$message.warning(res.message); | ||
| 122 | } | ||
| 123 | }) | ||
| 124 | } | ||
| 155 | } | 125 | } |
| 126 | } | ||
| 156 | </script> | 127 | </script> |
| 157 | <style scoped lang="scss"> | 128 | <style scoped lang="scss"> |
| 158 | @import "~@/styles/public.scss"; | 129 | @import "~@/styles/public.scss"; |
| 130 | |||
| 131 | .icon-circle { | ||
| 132 | position: relative; | ||
| 133 | } | ||
| 134 | |||
| 135 | .icon-circle::before { | ||
| 136 | content: ""; | ||
| 137 | width: 4px; | ||
| 138 | height: 4px; | ||
| 139 | border-radius: 50%; | ||
| 140 | background: #000; | ||
| 141 | top: 0px; | ||
| 142 | left: 0px; | ||
| 143 | } | ||
| 159 | </style> | 144 | </style> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-10 14:40:07 | 4 | * @LastEditTime: 2023-10-24 16:08:44 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -167,13 +167,7 @@ | ... | @@ -167,13 +167,7 @@ |
| 167 | this.unitData = this.$parent.unitData; | 167 | this.unitData = this.$parent.unitData; |
| 168 | var formdata = new FormData(); | 168 | var formdata = new FormData(); |
| 169 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | 169 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); |
| 170 | if (this.$route.query.sqywbm == "DJBBL") { | ||
| 171 | formdata.append("bsmSldy", this.$parent.bsmRepair); | ||
| 172 | formdata.append("clfl", 3); | ||
| 173 | } else { | ||
| 174 | formdata.append("bsmSldy", this.$parent.currentSelectProps.bsmSldy); | 170 | formdata.append("bsmSldy", this.$parent.currentSelectProps.bsmSldy); |
| 175 | formdata.append("clfl", 2); | ||
| 176 | } | ||
| 177 | 171 | ||
| 178 | InitClml(formdata).then((res) => { | 172 | InitClml(formdata).then((res) => { |
| 179 | if (res.code == 200) { | 173 | if (res.code == 200) { |
| ... | @@ -182,7 +176,7 @@ | ... | @@ -182,7 +176,7 @@ |
| 182 | this.tableData = res.result; | 176 | this.tableData = res.result; |
| 183 | if (type == 1) { | 177 | if (type == 1) { |
| 184 | this.treeClick(this.tableData[0], 0); | 178 | this.treeClick(this.tableData[0], 0); |
| 185 | } else { | 179 | } else if (type == 2) { |
| 186 | //新增材料后刷新列表焦点置于新增的对象上 | 180 | //新增材料后刷新列表焦点置于新增的对象上 |
| 187 | this.treeClick( | 181 | this.treeClick( |
| 188 | this.tableData[this.tableData.length - 1], | 182 | this.tableData[this.tableData.length - 1], |
| ... | @@ -266,7 +260,7 @@ | ... | @@ -266,7 +260,7 @@ |
| 266 | if (data.sfggcl == "0") { | 260 | if (data.sfggcl == "0") { |
| 267 | obj["bsmSldy"] = this.$parent.currentSelectProps.bsmSldy; | 261 | obj["bsmSldy"] = this.$parent.currentSelectProps.bsmSldy; |
| 268 | } | 262 | } |
| 269 | if (this.$route.query.sqywbm == "DJBBL") { | 263 | if (this.$route.query?.djywbm == "DJBBL") { |
| 270 | obj.bsmSldy = this.$parent.bsmRepair | 264 | obj.bsmSldy = this.$parent.bsmRepair |
| 271 | } | 265 | } |
| 272 | saveClml(obj).then(async (res) => { | 266 | saveClml(obj).then(async (res) => { |
| ... | @@ -310,7 +304,8 @@ | ... | @@ -310,7 +304,8 @@ |
| 310 | this.titleYs = index + 1; | 304 | this.titleYs = index + 1; |
| 311 | }, | 305 | }, |
| 312 | //查看明细 | 306 | //查看明细 |
| 313 | viewDetail () { | 307 | async viewDetail () { |
| 308 | await this.clmlInitList(); | ||
| 314 | this.$store.dispatch("user/reWorkFresh", false); | 309 | this.$store.dispatch("user/reWorkFresh", false); |
| 315 | this.$popupDialog( | 310 | this.$popupDialog( |
| 316 | "申请材料目录", | 311 | "申请材料目录", |
| ... | @@ -322,9 +317,9 @@ | ... | @@ -322,9 +317,9 @@ |
| 322 | ableOperation: this.$parent.ableOperation, | 317 | ableOperation: this.$parent.ableOperation, |
| 323 | bsmRepair: this.$parent.bsmRepair | 318 | bsmRepair: this.$parent.bsmRepair |
| 324 | }, | 319 | }, |
| 325 | "50%", | 320 | "60%", |
| 326 | true | 321 | true |
| 327 | ); | 322 | ) |
| 328 | }, | 323 | }, |
| 329 | //设置tableData | 324 | //设置tableData |
| 330 | setTableData (tableData) { | 325 | setTableData (tableData) { |
| ... | @@ -407,7 +402,7 @@ | ... | @@ -407,7 +402,7 @@ |
| 407 | height: 100%; | 402 | height: 100%; |
| 408 | font-size: 14px; | 403 | font-size: 14px; |
| 409 | border-right: 1px dotted #d9d9d9; | 404 | border-right: 1px dotted #d9d9d9; |
| 410 | padding: 0 15px; | 405 | padding: 0 10px; |
| 411 | 406 | ||
| 412 | .item { | 407 | .item { |
| 413 | line-height: 30px; | 408 | line-height: 30px; |
| ... | @@ -452,6 +447,7 @@ | ... | @@ -452,6 +447,7 @@ |
| 452 | .checked { | 447 | .checked { |
| 453 | border: 1px solid $light-blue; | 448 | border: 1px solid $light-blue; |
| 454 | color: $light-blue; | 449 | color: $light-blue; |
| 450 | box-sizing: border-box; | ||
| 455 | } | 451 | } |
| 456 | } | 452 | } |
| 457 | } | 453 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-19 10:14:56 | 4 | * @LastEditTime: 2023-10-24 17:16:18 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clmlmx-box"> | 7 | <div class="clmlmx-box"> |
| ... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
| 18 | import Vue from 'vue' | 18 | import Vue from 'vue' |
| 19 | import Sortable from 'sortablejs' | 19 | import Sortable from 'sortablejs' |
| 20 | import store from '@/store/index.js' | 20 | import store from '@/store/index.js' |
| 21 | import { InitClml, updateClml } from "@/api/clxx.js"; | 21 | import { updateClml } from "@/api/clxx.js"; |
| 22 | export default { | 22 | export default { |
| 23 | props: { | 23 | props: { |
| 24 | formData: { | 24 | formData: { |
| ... | @@ -197,36 +197,6 @@ | ... | @@ -197,36 +197,6 @@ |
| 197 | }) | 197 | }) |
| 198 | }, | 198 | }, |
| 199 | /** | 199 | /** |
| 200 | * @description: 材料目录明细初始化 | ||
| 201 | * @author: renchao | ||
| 202 | */ | ||
| 203 | clmlInitList () { | ||
| 204 | return new Promise(resolve => { | ||
| 205 | this.unitData = this.$parent.unitData; | ||
| 206 | var formdata = new FormData(); | ||
| 207 | formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq); | ||
| 208 | if (Vue.prototype.$currentRoute.query.sqywbm == "DJBBL") { | ||
| 209 | formdata.append("bsmSldy", this.formData.bsmRepair); | ||
| 210 | formdata.append("clfl", 3); | ||
| 211 | } else { | ||
| 212 | formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy); | ||
| 213 | formdata.append("clfl", 2); | ||
| 214 | } | ||
| 215 | InitClml(formdata).then((res) => { | ||
| 216 | if (res.code == 200) { | ||
| 217 | resolve(res.code) | ||
| 218 | if (res.result && res.result.length > 0) { | ||
| 219 | this.tableData = res.result; | ||
| 220 | } else { | ||
| 221 | this.tableData = [] | ||
| 222 | } | ||
| 223 | } else { | ||
| 224 | this.$message.error(res.message) | ||
| 225 | } | ||
| 226 | }) | ||
| 227 | }) | ||
| 228 | }, | ||
| 229 | /** | ||
| 230 | * @description: 材料目录删除 | 200 | * @description: 材料目录删除 |
| 231 | * @param {*} index | 201 | * @param {*} index |
| 232 | * @param {*} row | 202 | * @param {*} row | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-06 15:32:50 | 4 | * @LastEditTime: 2023-11-08 13:27:03 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| ... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
| 67 | import { getPrintTemplateByCode } from "@/api/print"; | 67 | import { getPrintTemplateByCode } from "@/api/print"; |
| 68 | import { getLodop } from "@/utils/LodopFuncs" | 68 | import { getLodop } from "@/utils/LodopFuncs" |
| 69 | import { readYsxlh, certificate, getBdcqzDetail, invalidCertificate } from "@/api/bdcqz.js"; | 69 | import { readYsxlh, certificate, getBdcqzDetail, invalidCertificate } from "@/api/bdcqz.js"; |
| 70 | import { log } from 'bpmn-js-token-simulation'; | ||
| 70 | export default { | 71 | export default { |
| 71 | props: { | 72 | props: { |
| 72 | formData: { | 73 | formData: { |
| ... | @@ -239,7 +240,7 @@ | ... | @@ -239,7 +240,7 @@ |
| 239 | context.fillText(this.bdcqz.qlxz ? this.bdcqz.qlxz : '', 129, 303); | 240 | context.fillText(this.bdcqz.qlxz ? this.bdcqz.qlxz : '', 129, 303); |
| 240 | context.fillText(this.bdcqz.yt ? this.bdcqz.yt : '', 129, 346); | 241 | context.fillText(this.bdcqz.yt ? this.bdcqz.yt : '', 129, 346); |
| 241 | let lines6 = this.bdcqz.mj ? this.bdcqz.mj.split(' ') : []; | 242 | let lines6 = this.bdcqz.mj ? this.bdcqz.mj.split(' ') : []; |
| 242 | if (getByteLen(this.bdcqz.mj) > 41) { | 243 | if (getByteLen(this.bdcqz.mj) > 37) { |
| 243 | lines6.forEach((line, index) => { | 244 | lines6.forEach((line, index) => { |
| 244 | const y = 378 + (index * 27); // 每行文本的垂直位置 | 245 | const y = 378 + (index * 27); // 每行文本的垂直位置 |
| 245 | let currentLine = ''; | 246 | let currentLine = ''; |
| ... | @@ -247,7 +248,7 @@ | ... | @@ -247,7 +248,7 @@ |
| 247 | for (let word of line) { | 248 | for (let word of line) { |
| 248 | const testLine = currentLine + word; | 249 | const testLine = currentLine + word; |
| 249 | const lineWidth = context.measureText(testLine).width; | 250 | const lineWidth = context.measureText(testLine).width; |
| 250 | if (lineWidth <= 330) { | 251 | if (lineWidth <= 336) { |
| 251 | currentLine = testLine; | 252 | currentLine = testLine; |
| 252 | } else { | 253 | } else { |
| 253 | arr.push(currentLine); | 254 | arr.push(currentLine); |
| ... | @@ -267,7 +268,7 @@ | ... | @@ -267,7 +268,7 @@ |
| 267 | for (let word of line) { | 268 | for (let word of line) { |
| 268 | const testLine = currentLine + word; | 269 | const testLine = currentLine + word; |
| 269 | const lineWidth = context.measureText(testLine).width; | 270 | const lineWidth = context.measureText(testLine).width; |
| 270 | if (lineWidth <= 330) { | 271 | if (lineWidth <= 336) { |
| 271 | currentLine = testLine; | 272 | currentLine = testLine; |
| 272 | } else { | 273 | } else { |
| 273 | arr.push(currentLine); | 274 | arr.push(currentLine); |
| ... | @@ -284,8 +285,8 @@ | ... | @@ -284,8 +285,8 @@ |
| 284 | const maxWidth = 332; // 最大宽度限制 | 285 | const maxWidth = 332; // 最大宽度限制 |
| 285 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; | 286 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; |
| 286 | for (let i = 0; i < lines.length; i++) { | 287 | for (let i = 0; i < lines.length; i++) { |
| 287 | let num = Math.ceil(getByteLen(lines[i]) / 41) | 288 | let num = Math.ceil(getByteLen(lines[i]) / 37) |
| 288 | if (getByteLen(lines[i]) > 41) { | 289 | if (getByteLen(lines[i]) > 37) { |
| 289 | let currentLine = ''; | 290 | let currentLine = ''; |
| 290 | let arr = []; | 291 | let arr = []; |
| 291 | for (let word of lines[i]) { | 292 | for (let word of lines[i]) { |
| ... | @@ -301,18 +302,18 @@ | ... | @@ -301,18 +302,18 @@ |
| 301 | arr.push(currentLine); | 302 | arr.push(currentLine); |
| 302 | if (i > 0) { | 303 | if (i > 0) { |
| 303 | arr.forEach((line, index) => { | 304 | arr.forEach((line, index) => { |
| 304 | context.fillText(line, 129, 480 + (26 * (i - 1)) + 5 * num + (index * 13)); // 调整行高 | 305 | context.fillText(line, 129, 495 + (29 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 |
| 305 | }) | 306 | }) |
| 306 | } else { | 307 | } else { |
| 307 | arr.forEach((line, index) => { | 308 | arr.forEach((line, index) => { |
| 308 | context.fillText(line, 129, 480 + (26 * (i - 1)) + (index * 13)); // 调整行高 | 309 | context.fillText(line, 129, 493 + (26 * (i - 1)) + (index * 14)); // 调整行高 |
| 309 | }) | 310 | }) |
| 310 | } | 311 | } |
| 311 | } else { | 312 | } else { |
| 312 | if (i > 0) { | 313 | if (i > 0) { |
| 313 | context.fillText(lines[i] ? lines[i] : '', 129, 490 + 4 * num + (24 * (i - 1))); | 314 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + 4 * num + (29 * (i - 1))); |
| 314 | } else { | 315 | } else { |
| 315 | context.fillText(lines[i] ? lines[i] : '', 129, 490 + (24 * (i - 1))); | 316 | context.fillText(lines[i] ? lines[i] : '', 129, 505 + (27 * (i - 1))); |
| 316 | } | 317 | } |
| 317 | } | 318 | } |
| 318 | } | 319 | } |
| ... | @@ -338,7 +339,7 @@ | ... | @@ -338,7 +339,7 @@ |
| 338 | }) | 339 | }) |
| 339 | }) | 340 | }) |
| 340 | let lines3 = this.bdcqz.syqx ? this.bdcqz.syqx.split(' ') : []; | 341 | let lines3 = this.bdcqz.syqx ? this.bdcqz.syqx.split(' ') : []; |
| 341 | if (getByteLen(this.bdcqz.syqx) > 41) { | 342 | if (getByteLen(this.bdcqz.syqx) > 37) { |
| 342 | lines3.forEach((line, index) => { | 343 | lines3.forEach((line, index) => { |
| 343 | const y = 423 + (index * 27); // 每行文本的垂直位置 | 344 | const y = 423 + (index * 27); // 每行文本的垂直位置 |
| 344 | let currentLine = ''; | 345 | let currentLine = ''; |
| ... | @@ -381,7 +382,7 @@ | ... | @@ -381,7 +382,7 @@ |
| 381 | } | 382 | } |
| 382 | 383 | ||
| 383 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; | 384 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; |
| 384 | if (getByteLen(this.bdcqz.zl) > 41) { | 385 | if (getByteLen(this.bdcqz.zl) > 37) { |
| 385 | lines2.forEach((line, index) => { | 386 | lines2.forEach((line, index) => { |
| 386 | const y = 170 + (index * 20); // 每行文本的垂直位置 | 387 | const y = 170 + (index * 20); // 每行文本的垂直位置 |
| 387 | let currentLine = ''; | 388 | let currentLine = ''; |
| ... | @@ -469,7 +470,7 @@ | ... | @@ -469,7 +470,7 @@ |
| 469 | // 义务人 | 470 | // 义务人 |
| 470 | context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275); | 471 | context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275); |
| 471 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; | 472 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; |
| 472 | if (getByteLen(this.bdcqz.zl) > 41) { | 473 | if (getByteLen(this.bdcqz.zl) >= 39) { |
| 473 | lines2.forEach((line, index) => { | 474 | lines2.forEach((line, index) => { |
| 474 | const y = 315 + (index * 20); // 每行文本的垂直位置 | 475 | const y = 315 + (index * 20); // 每行文本的垂直位置 |
| 475 | let currentLine = ''; | 476 | let currentLine = ''; |
| ... | @@ -518,6 +519,7 @@ | ... | @@ -518,6 +519,7 @@ |
| 518 | const maxWidth = 290; // 最大宽度限制 | 519 | const maxWidth = 290; // 最大宽度限制 |
| 519 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; | 520 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; |
| 520 | for (let i = 0; i < lines.length; i++) { | 521 | for (let i = 0; i < lines.length; i++) { |
| 522 | console.log(getByteLen(lines[i])); | ||
| 521 | let num = Math.ceil(getByteLen(lines[i]) / 37) | 523 | let num = Math.ceil(getByteLen(lines[i]) / 37) |
| 522 | if (getByteLen(lines[i]) > 37) { | 524 | if (getByteLen(lines[i]) > 37) { |
| 523 | let currentLine = ''; | 525 | let currentLine = ''; |
| ... | @@ -570,25 +572,24 @@ | ... | @@ -570,25 +572,24 @@ |
| 570 | arr.push(currentLine); | 572 | arr.push(currentLine); |
| 571 | if (i > 0) { | 573 | if (i > 0) { |
| 572 | arr.forEach((line, index) => { | 574 | arr.forEach((line, index) => { |
| 573 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 15)); // 调整行高 | 575 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 |
| 574 | }) | 576 | }) |
| 575 | } else { | 577 | } else { |
| 576 | arr.forEach((line, index) => { | 578 | arr.forEach((line, index) => { |
| 577 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 15)); // 调整行高 | 579 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 |
| 578 | }) | 580 | }) |
| 579 | } | 581 | } |
| 580 | } else { | 582 | } else { |
| 581 | if (i > 0) { | 583 | if (i > 0) { |
| 582 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (23 * (i - 1))); | 584 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); |
| 583 | } else { | 585 | } else { |
| 584 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (23 * (i - 1))); | 586 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); |
| 585 | } | 587 | } |
| 586 | } | 588 | } |
| 587 | } | 589 | } |
| 588 | } | 590 | } |
| 589 | image.src = this.bdczmSrc; | 591 | image.src = this.bdczmSrc; |
| 590 | }, | 592 | }, |
| 591 | // 打印 | ||
| 592 | /** | 593 | /** |
| 593 | * @description: 打印 | 594 | * @description: 打印 |
| 594 | * @author: renchao | 595 | * @author: renchao | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-17 16:16:41 | 4 | * @LastEditTime: 2023-11-07 08:46:12 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> | 7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> |
| ... | @@ -234,7 +234,6 @@ | ... | @@ -234,7 +234,6 @@ |
| 234 | } | 234 | } |
| 235 | }) | 235 | }) |
| 236 | } else { | 236 | } else { |
| 237 | this.$message.error("请填写领取人信息!") | ||
| 238 | return false; | 237 | return false; |
| 239 | } | 238 | } |
| 240 | }) | 239 | }) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-19 10:00:27 | 4 | * @LastEditTime: 2023-11-08 13:25:20 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> |
| ... | @@ -163,7 +163,7 @@ | ... | @@ -163,7 +163,7 @@ |
| 163 | context.fillText(this.bdcqz.yt ? this.bdcqz.yt : '', 129, 346); | 163 | context.fillText(this.bdcqz.yt ? this.bdcqz.yt : '', 129, 346); |
| 164 | // context.fillText(this.bdcqz.mj ? this.bdcqz.mj : '', 129, 386); | 164 | // context.fillText(this.bdcqz.mj ? this.bdcqz.mj : '', 129, 386); |
| 165 | let lines6 = this.bdcqz.mj ? this.bdcqz.mj.split(' ') : []; | 165 | let lines6 = this.bdcqz.mj ? this.bdcqz.mj.split(' ') : []; |
| 166 | if (getByteLen(this.bdcqz.mj) > 41) { | 166 | if (getByteLen(this.bdcqz.mj) > 37) { |
| 167 | lines6.forEach((line, index) => { | 167 | lines6.forEach((line, index) => { |
| 168 | const y = 378 + (index * 27); // 每行文本的垂直位置 | 168 | const y = 378 + (index * 27); // 每行文本的垂直位置 |
| 169 | let currentLine = ''; | 169 | let currentLine = ''; |
| ... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
| 208 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; | 208 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; |
| 209 | for (let i = 0; i < lines.length; i++) { | 209 | for (let i = 0; i < lines.length; i++) { |
| 210 | let num = Math.ceil(getByteLen(lines[i]) / 38) | 210 | let num = Math.ceil(getByteLen(lines[i]) / 38) |
| 211 | if (getByteLen(lines[i]) > 38) { | 211 | if (getByteLen(lines[i]) > 37) { |
| 212 | let currentLine = ''; | 212 | let currentLine = ''; |
| 213 | let arr = []; | 213 | let arr = []; |
| 214 | for (let word of lines[i]) { | 214 | for (let word of lines[i]) { |
| ... | @@ -224,18 +224,18 @@ | ... | @@ -224,18 +224,18 @@ |
| 224 | arr.push(currentLine); | 224 | arr.push(currentLine); |
| 225 | if (i > 0) { | 225 | if (i > 0) { |
| 226 | arr.forEach((line, index) => { | 226 | arr.forEach((line, index) => { |
| 227 | context.fillText(line, 129, 485 + (24 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 | 227 | context.fillText(line, 129, 495 + (29 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 |
| 228 | }) | 228 | }) |
| 229 | } else { | 229 | } else { |
| 230 | arr.forEach((line, index) => { | 230 | arr.forEach((line, index) => { |
| 231 | context.fillText(line, 129, 495 + (26 * (i - 1)) + (index * 14)); // 调整行高 | 231 | context.fillText(line, 129, 493 + (26 * (i - 1)) + (index * 14)); // 调整行高 |
| 232 | }) | 232 | }) |
| 233 | } | 233 | } |
| 234 | } else { | 234 | } else { |
| 235 | if (i > 0) { | 235 | if (i > 0) { |
| 236 | context.fillText(lines[i] ? lines[i] : '', 129, 495 + 4 * num + (24 * (i - 1))); | 236 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + 4 * num + (29 * (i - 1))); |
| 237 | } else { | 237 | } else { |
| 238 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + (24 * (i - 1))); | 238 | context.fillText(lines[i] ? lines[i] : '', 129, 505 + (27 * (i - 1))); |
| 239 | } | 239 | } |
| 240 | } | 240 | } |
| 241 | } | 241 | } |
| ... | @@ -261,7 +261,7 @@ | ... | @@ -261,7 +261,7 @@ |
| 261 | }) | 261 | }) |
| 262 | }) | 262 | }) |
| 263 | let lines3 = this.bdcqz.syqx ? this.bdcqz.syqx.split(' ') : []; | 263 | let lines3 = this.bdcqz.syqx ? this.bdcqz.syqx.split(' ') : []; |
| 264 | if (getByteLen(this.bdcqz.syqx) > 41) { | 264 | if (getByteLen(this.bdcqz.syqx) > 37) { |
| 265 | lines3.forEach((line, index) => { | 265 | lines3.forEach((line, index) => { |
| 266 | const y = 423 + (index * 27); // 每行文本的垂直位置 | 266 | const y = 423 + (index * 27); // 每行文本的垂直位置 |
| 267 | let currentLine = ''; | 267 | let currentLine = ''; |
| ... | @@ -304,7 +304,7 @@ | ... | @@ -304,7 +304,7 @@ |
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; | 306 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; |
| 307 | if (getByteLen(this.bdcqz.zl) > 41) { | 307 | if (getByteLen(this.bdcqz.zl) > 37) { |
| 308 | lines2.forEach((line, index) => { | 308 | lines2.forEach((line, index) => { |
| 309 | const y = 170 + (index * 20); // 每行文本的垂直位置 | 309 | const y = 170 + (index * 20); // 每行文本的垂直位置 |
| 310 | let currentLine = ''; | 310 | let currentLine = ''; |
| ... | @@ -497,18 +497,18 @@ | ... | @@ -497,18 +497,18 @@ |
| 497 | arr.push(currentLine); | 497 | arr.push(currentLine); |
| 498 | if (i > 0) { | 498 | if (i > 0) { |
| 499 | arr.forEach((line, index) => { | 499 | arr.forEach((line, index) => { |
| 500 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 15)); // 调整行高 | 500 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 |
| 501 | }) | 501 | }) |
| 502 | } else { | 502 | } else { |
| 503 | arr.forEach((line, index) => { | 503 | arr.forEach((line, index) => { |
| 504 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 15)); // 调整行高 | 504 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 |
| 505 | }) | 505 | }) |
| 506 | } | 506 | } |
| 507 | } else { | 507 | } else { |
| 508 | if (i > 0) { | 508 | if (i > 0) { |
| 509 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (23 * (i - 1))); | 509 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); |
| 510 | } else { | 510 | } else { |
| 511 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (23 * (i - 1))); | 511 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); |
| 512 | } | 512 | } |
| 513 | } | 513 | } |
| 514 | } | 514 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-12 09:55:54 | 4 | * @LastEditTime: 2023-11-01 08:47:49 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
| ... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
| 53 | <script> | 53 | <script> |
| 54 | import PhotoZoom from '@/components/PhotoZoom' | 54 | import PhotoZoom from '@/components/PhotoZoom' |
| 55 | import { getAltimeterInfo, getUuid } from '@/utils/operation.js' | 55 | import { getAltimeterInfo, getUuid } from '@/utils/operation.js' |
| 56 | import { uploadBatch, deleteFile, move } from "@/api/company.js" | 56 | import { uploadBatch, deleteFile, move, uploadSjClmx } from "@/api/company.js" |
| 57 | import publicPicture from '@/components/publicPicture/index.vue' | 57 | import publicPicture from '@/components/publicPicture/index.vue' |
| 58 | export default { | 58 | export default { |
| 59 | name: 'PreviewImage', | 59 | name: 'PreviewImage', |
| ... | @@ -196,11 +196,12 @@ | ... | @@ -196,11 +196,12 @@ |
| 196 | let file = blobToFile(blob); | 196 | let file = blobToFile(blob); |
| 197 | var formData = new FormData(); | 197 | var formData = new FormData(); |
| 198 | formData.append('file', file) | 198 | formData.append('file', file) |
| 199 | formData.append("bsmMaterial ", this.previewImg.bsmMaterial); | 199 | if (this.previewImg.imgList.length > 0) { |
| 200 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); | 200 | formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh); |
| 201 | uploadSjClmx(formData).then((res) => { | 201 | } |
| 202 | uploadSjClmx(formData, this.previewImg.bsmMaterial).then((res) => { | ||
| 202 | if (res.code == 200) { | 203 | if (res.code == 200) { |
| 203 | this.$emit('updateList', res.result) | 204 | this.$emit('updateList', { children: res.result, bsmMaterial: this.previewImg.bsmMaterial }) |
| 204 | this.$message({ | 205 | this.$message({ |
| 205 | message: '上传成功!', | 206 | message: '上传成功!', |
| 206 | type: 'success' | 207 | type: 'success' | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-12 09:58:32 | 4 | * @LastEditTime: 2023-10-24 17:18:02 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -98,14 +98,14 @@ | ... | @@ -98,14 +98,14 @@ |
| 98 | watch: { | 98 | watch: { |
| 99 | workFresh: { | 99 | workFresh: { |
| 100 | handler (newValue, oldValue) { | 100 | handler (newValue, oldValue) { |
| 101 | this.clmlInitList() | 101 | this.clmlInitList(1) |
| 102 | }, | 102 | }, |
| 103 | deep: true, | 103 | deep: true, |
| 104 | immediate: true | 104 | immediate: true |
| 105 | } | 105 | } |
| 106 | }, | 106 | }, |
| 107 | created () { | 107 | created () { |
| 108 | this.clmlInitList() | 108 | this.clmlInitList(1) |
| 109 | }, | 109 | }, |
| 110 | methods: { | 110 | methods: { |
| 111 | /** | 111 | /** |
| ... | @@ -173,7 +173,7 @@ | ... | @@ -173,7 +173,7 @@ |
| 173 | this.tableData = res.result; | 173 | this.tableData = res.result; |
| 174 | if (type == 1) { | 174 | if (type == 1) { |
| 175 | this.treeClick(this.tableData[0], 0); | 175 | this.treeClick(this.tableData[0], 0); |
| 176 | } else { | 176 | } else if (type == 2) { |
| 177 | //新增材料后刷新列表焦点置于新增的对象上 | 177 | //新增材料后刷新列表焦点置于新增的对象上 |
| 178 | this.treeClick( | 178 | this.treeClick( |
| 179 | this.tableData[this.tableData.length - 1], | 179 | this.tableData[this.tableData.length - 1], |
| ... | @@ -287,12 +287,13 @@ | ... | @@ -287,12 +287,13 @@ |
| 287 | this.titleYs = index + 1; | 287 | this.titleYs = index + 1; |
| 288 | }, | 288 | }, |
| 289 | //查看明细 | 289 | //查看明细 |
| 290 | viewDetail () { | 290 | async viewDetail () { |
| 291 | await this.clmlInitList(); | ||
| 291 | store.dispatch("user/reWorkFresh", false); | 292 | store.dispatch("user/reWorkFresh", false); |
| 292 | ywPopupDialog("申请材料目录", "xxba/components/clxx/dialog/clxxDetailDialog", { | 293 | ywPopupDialog("申请材料目录", "xxba/components/clxx/dialog/clxxDetailDialog", { |
| 293 | data: this.tableData, | 294 | data: this.tableData, |
| 294 | bsmCompany: this.formData.bsmCompany | 295 | bsmCompany: this.formData.bsmCompany |
| 295 | }, "50%", true, false) | 296 | }, "60%", true, false) |
| 296 | }, | 297 | }, |
| 297 | //设置tableData | 298 | //设置tableData |
| 298 | setTableData (tableData) { | 299 | setTableData (tableData) { | ... | ... |
| ... | @@ -106,7 +106,7 @@ | ... | @@ -106,7 +106,7 @@ |
| 106 | * @author: renchao | 106 | * @author: renchao |
| 107 | */ | 107 | */ |
| 108 | handleAdd () { | 108 | handleAdd () { |
| 109 | this.$popupDialog("添加企业", "xxba/components/addDialog", { isAdd: 1, }, "75%") | 109 | this.$popupDialog("添加企业", "xxba/components/addDialog", { isAdd: 1 }, "75%") |
| 110 | }, | 110 | }, |
| 111 | /** | 111 | /** |
| 112 | * @description: handleDelete | 112 | * @description: handleDelete | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-15 15:47:37 | 4 | * @LastEditTime: 2023-11-07 13:32:51 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -105,7 +105,7 @@ | ... | @@ -105,7 +105,7 @@ |
| 105 | * @author: renchao | 105 | * @author: renchao |
| 106 | */ | 106 | */ |
| 107 | handleAdd () { | 107 | handleAdd () { |
| 108 | this.$popupDialog("添加企业", "xxba/components/addDialog", {}, "75%") | 108 | this.$popupDialog("添加银行", "xxba/components/addDialog", { isAdd: 1 }, "75%") |
| 109 | }, | 109 | }, |
| 110 | /** | 110 | /** |
| 111 | * @description: handleDelete | 111 | * @description: handleDelete | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-25 09:31:27 | 4 | * @LastEditTime: 2023-10-27 17:31:20 |
| 5 | */ | 5 | */ |
| 6 | export default { | 6 | export default { |
| 7 | data () { | 7 | data () { |
| ... | @@ -40,11 +40,11 @@ export default { | ... | @@ -40,11 +40,11 @@ export default { |
| 40 | * @author: renchao | 40 | * @author: renchao |
| 41 | */ | 41 | */ |
| 42 | handleEmpty (el) { | 42 | handleEmpty (el) { |
| 43 | for (var i = 0; i < this.searchList.length; i++) { | 43 | // for (var i = 0; i < this.searchList.length; i++) { |
| 44 | if (el == this.searchList[i].zdm) { | 44 | // if (el == this.searchList[i].zdm) { |
| 45 | this.searchList.splice(i, 1) | 45 | // this.searchList.splice(i, 1) |
| 46 | } | 46 | // } |
| 47 | } | 47 | // } |
| 48 | let obj = { | 48 | let obj = { |
| 49 | ywlymc: 'ywly', | 49 | ywlymc: 'ywly', |
| 50 | qllxmc: 'qllx', | 50 | qllxmc: 'qllx', |
| ... | @@ -88,7 +88,7 @@ export default { | ... | @@ -88,7 +88,7 @@ export default { |
| 88 | iterationData () { | 88 | iterationData () { |
| 89 | let obj = { | 89 | let obj = { |
| 90 | ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', | 90 | ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', |
| 91 | bdcdyh: '不动产单元号', | 91 | bdcdyh: '不动产单元号', qlrmc: '权利人', ywrmc: '义务人', slsj: '受理时间', |
| 92 | sqrmc: '申请人', sqrzjhm: '申请人证件号', zl: '坐落' | 92 | sqrmc: '申请人', sqrzjhm: '申请人证件号', zl: '坐落' |
| 93 | } | 93 | } |
| 94 | this.searchList = Object.entries({ ...this.searchForm, ...this.otherForm }).map((item) => { | 94 | this.searchList = Object.entries({ ...this.searchForm, ...this.otherForm }).map((item) => { |
| ... | @@ -102,8 +102,11 @@ export default { | ... | @@ -102,8 +102,11 @@ export default { |
| 102 | * @author: renchao | 102 | * @author: renchao |
| 103 | */ | 103 | */ |
| 104 | getSearch (val) { | 104 | getSearch (val) { |
| 105 | this.$nextTick(() => { | ||
| 105 | this.otherForm = val | 106 | this.otherForm = val |
| 106 | this.iterationData() | 107 | this.iterationData() |
| 108 | this.$refs.Lbtable.getHeight() | ||
| 109 | }) | ||
| 107 | this.queryClick() | 110 | this.queryClick() |
| 108 | }, | 111 | }, |
| 109 | /** | 112 | /** | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-12 17:05:40 | 4 | * @LastEditTime: 2023-10-27 17:23:24 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -73,7 +73,7 @@ | ... | @@ -73,7 +73,7 @@ |
| 73 | <el-form-item label="业务号"> | 73 | <el-form-item label="业务号"> |
| 74 | <el-input | 74 | <el-input |
| 75 | placeholder="请输入业务号" | 75 | placeholder="请输入业务号" |
| 76 | v-model="queryForm.ywh" | 76 | v-model.trim="queryForm.ywh" |
| 77 | clearable | 77 | clearable |
| 78 | class="width100"> | 78 | class="width100"> |
| 79 | </el-input> | 79 | </el-input> |
| ... | @@ -95,7 +95,7 @@ | ... | @@ -95,7 +95,7 @@ |
| 95 | <el-form-item label="不动产单元号"> | 95 | <el-form-item label="不动产单元号"> |
| 96 | <el-input | 96 | <el-input |
| 97 | placeholder="请输入不动产单元号" | 97 | placeholder="请输入不动产单元号" |
| 98 | v-model="queryForm.bdcdyh" | 98 | v-model.trim="queryForm.bdcdyh" |
| 99 | clearable | 99 | clearable |
| 100 | class="width100"> | 100 | class="width100"> |
| 101 | </el-input> | 101 | </el-input> |
| ... | @@ -105,7 +105,7 @@ | ... | @@ -105,7 +105,7 @@ |
| 105 | <el-form-item label="申请人"> | 105 | <el-form-item label="申请人"> |
| 106 | <el-input | 106 | <el-input |
| 107 | placeholder="如需要模糊查询,前后输入%" | 107 | placeholder="如需要模糊查询,前后输入%" |
| 108 | v-model="queryForm.sqrmc" | 108 | v-model.trim="queryForm.sqrmc" |
| 109 | clearable | 109 | clearable |
| 110 | class="width100"> | 110 | class="width100"> |
| 111 | </el-input> | 111 | </el-input> |
| ... | @@ -115,13 +115,13 @@ | ... | @@ -115,13 +115,13 @@ |
| 115 | <el-form-item label="申请人证件号"> | 115 | <el-form-item label="申请人证件号"> |
| 116 | <el-input | 116 | <el-input |
| 117 | placeholder="如需要模糊查询,前后输入%" | 117 | placeholder="如需要模糊查询,前后输入%" |
| 118 | v-model="queryForm.sqrzjhm" | 118 | v-model.trim="queryForm.sqrzjhm" |
| 119 | clearable | 119 | clearable |
| 120 | class="width100"> | 120 | class="width100"> |
| 121 | </el-input> | 121 | </el-input> |
| 122 | </el-form-item> | 122 | </el-form-item> |
| 123 | </el-col> | 123 | </el-col> |
| 124 | <el-col :span="6"> | 124 | <el-col :span="9"> |
| 125 | <el-form-item label="坐落"> | 125 | <el-form-item label="坐落"> |
| 126 | <el-input | 126 | <el-input |
| 127 | placeholder="如需要模糊查询,前后输入%" | 127 | placeholder="如需要模糊查询,前后输入%" |
| ... | @@ -141,18 +141,19 @@ | ... | @@ -141,18 +141,19 @@ |
| 141 | class="el-icon-circle-close" | 141 | class="el-icon-circle-close" |
| 142 | @click="handelItem(item, index)"></i> | 142 | @click="handelItem(item, index)"></i> |
| 143 | </li> | 143 | </li> |
| 144 | </ul> | ||
| 145 | <el-button | 144 | <el-button |
| 146 | class="clean-btn" | 145 | class="clean-btn" |
| 147 | type="text" | 146 | type="text" |
| 148 | v-if="searchList.length > 0" | 147 | v-if="searchList.length > 0" |
| 149 | @click.native="hanldeCleanAll">清除全部 | 148 | @click.native="hanldeCleanAll">清除全部 |
| 150 | </el-button> | 149 | </el-button> |
| 150 | </ul> | ||
| 151 | </el-row> | 151 | </el-row> |
| 152 | </el-form> | 152 | </el-form> |
| 153 | </div> | 153 | </div> |
| 154 | <div class="from-clues-content"> | 154 | <div class="from-clues-content"> |
| 155 | <lb-table | 155 | <lb-table |
| 156 | ref="Lbtable" | ||
| 156 | :page-size="pageData.size" | 157 | :page-size="pageData.size" |
| 157 | class="loadingtext" | 158 | class="loadingtext" |
| 158 | @sort-change="handleSort" | 159 | @sort-change="handleSort" |
| ... | @@ -202,18 +203,12 @@ | ... | @@ -202,18 +203,12 @@ |
| 202 | columns: datas.columns(), | 203 | columns: datas.columns(), |
| 203 | data: [], | 204 | data: [], |
| 204 | }, | 205 | }, |
| 205 | jumpid: "", | 206 | jumpid: "" |
| 206 | }; | 207 | } |
| 207 | }, | 208 | }, |
| 208 | mounted () { | 209 | mounted () { |
| 209 | sendThis(this); | 210 | sendThis(this); |
| 210 | }, | 211 | }, |
| 211 | watch: { | ||
| 212 | queryForm: { | ||
| 213 | handler (newName, oldName) { }, | ||
| 214 | immediate: true, | ||
| 215 | }, | ||
| 216 | }, | ||
| 217 | activated () { | 212 | activated () { |
| 218 | this.queryClick(); | 213 | this.queryClick(); |
| 219 | window["getBpageList"] = () => { | 214 | window["getBpageList"] = () => { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-23 17:17:34 | 4 | * @LastEditTime: 2023-10-24 17:35:49 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -105,7 +105,14 @@ | ... | @@ -105,7 +105,14 @@ |
| 105 | </el-col> | 105 | </el-col> |
| 106 | <el-col :span="8"> | 106 | <el-col :span="8"> |
| 107 | <el-form-item label="权利设定方式:"> | 107 | <el-form-item label="权利设定方式:"> |
| 108 | <el-input maxlength="25" :disabled="!viewEdit" v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input> | 108 | <el-select v-model="ruleForm.zdjbxx.qlsdfs" :disabled="!viewEdit"> |
| 109 | <el-option | ||
| 110 | v-for="item in dictData['A10']" | ||
| 111 | :key="item.dcode" | ||
| 112 | :label="item.dname" | ||
| 113 | :value="item.dcode"> | ||
| 114 | </el-option> | ||
| 115 | </el-select> | ||
| 109 | </el-form-item> | 116 | </el-form-item> |
| 110 | </el-col> | 117 | </el-col> |
| 111 | <el-col :span="8"> | 118 | <el-col :span="8"> | ... | ... |
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | <!-- | 2 | <!-- |
| 3 | * @Description: | 3 | * @Description: |
| 4 | * @Autor: renchao | 4 | * @Autor: renchao |
| 5 | * @LastEditTime: 2023-10-10 14:24:08 | 5 | * @LastEditTime: 2023-10-25 11:28:05 |
| 6 | --> | 6 | --> |
| 7 | <template> | 7 | <template> |
| 8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
| ... | @@ -79,22 +79,16 @@ | ... | @@ -79,22 +79,16 @@ |
| 79 | </el-row> | 79 | </el-row> |
| 80 | <el-row :gutter="10"> | 80 | <el-row :gutter="10"> |
| 81 | <el-col :span="8"> | 81 | <el-col :span="8"> |
| 82 | <el-form-item label="宗地面积:"> | 82 | <el-form-item label="权利设定方式:"> |
| 83 | <el-input :disabled="!viewEdit" v-model="ruleForm.zdjbxx.zdmj"></el-input> | 83 | <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input> |
| 84 | </el-form-item> | ||
| 85 | </el-col> | ||
| 86 | <el-col :span="8"> | ||
| 87 | <el-form-item label="土地用途:"> | ||
| 88 | <el-input :disabled="!viewEdit" v-model="ruleForm.qlxx.ytmc"></el-input> | ||
| 89 | </el-form-item> | 84 | </el-form-item> |
| 90 | </el-col> | 85 | </el-col> |
| 86 | |||
| 91 | <el-col :span="8"> | 87 | <el-col :span="8"> |
| 92 | <el-form-item label="权利设定方式:"> | 88 | <el-form-item label="宗地面积:"> |
| 93 | <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input> | 89 | <el-input :disabled="!viewEdit" v-model="ruleForm.zdjbxx.zdmj"></el-input> |
| 94 | </el-form-item> | 90 | </el-form-item> |
| 95 | </el-col> | 91 | </el-col> |
| 96 | </el-row> | ||
| 97 | <el-row :gutter="10"> | ||
| 98 | <el-col :span="8"> | 92 | <el-col :span="8"> |
| 99 | <el-form-item label="取得价格:"> | 93 | <el-form-item label="取得价格:"> |
| 100 | <div style="display: flex"> | 94 | <div style="display: flex"> |
| ... | @@ -115,7 +109,45 @@ | ... | @@ -115,7 +109,45 @@ |
| 115 | </div> | 109 | </div> |
| 116 | </el-form-item> | 110 | </el-form-item> |
| 117 | </el-col> | 111 | </el-col> |
| 112 | </el-row> | ||
| 113 | <el-row :gutter="10"> | ||
| 114 | <el-col :span="8"> | ||
| 115 | <el-form-item label="土地等级:"> | ||
| 116 | <el-select placeholder="" v-model="ruleForm.zdjbxx.dj" disabled> | ||
| 117 | <el-option | ||
| 118 | v-for="item in dictData['A50']" | ||
| 119 | :key="item.dcode" | ||
| 120 | :label="item.dname" | ||
| 121 | :value="item.dcode"> | ||
| 122 | </el-option> | ||
| 123 | </el-select> | ||
| 124 | </el-form-item> | ||
| 125 | </el-col> | ||
| 126 | |||
| 127 | <el-col :span="8"> | ||
| 128 | <el-form-item label="图幅号:"> | ||
| 129 | <el-input | ||
| 130 | disabled | ||
| 131 | v-model="ruleForm.zdjbxx.tfh"></el-input> | ||
| 132 | </el-form-item> | ||
| 133 | </el-col> | ||
| 134 | <el-col :span="8"> | ||
| 135 | <el-form-item label="地籍号:"> | ||
| 136 | <el-input | ||
| 137 | v-model="ruleForm.zdjbxx.djh" | ||
| 138 | disabled></el-input> | ||
| 139 | </el-form-item> | ||
| 140 | </el-col> | ||
| 118 | 141 | ||
| 142 | </el-row> | ||
| 143 | <el-row :gutter="10"> | ||
| 144 | <el-col :span="8"> | ||
| 145 | <el-form-item label="地块代码:"> | ||
| 146 | <el-input | ||
| 147 | v-model="ruleForm.zdjbxx.dkdm" | ||
| 148 | disabled></el-input> | ||
| 149 | </el-form-item> | ||
| 150 | </el-col> | ||
| 119 | <el-col :span="16"> | 151 | <el-col :span="16"> |
| 120 | <el-form-item label="坐落:"> | 152 | <el-form-item label="坐落:"> |
| 121 | <el-input :disabled="!viewEdit" v-model="ruleForm.sldy.zl"></el-input> | 153 | <el-input :disabled="!viewEdit" v-model="ruleForm.sldy.zl"></el-input> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-25 11:08:07 | 4 | * @LastEditTime: 2023-10-27 17:19:42 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -74,7 +74,7 @@ | ... | @@ -74,7 +74,7 @@ |
| 74 | <el-form-item label="业务号"> | 74 | <el-form-item label="业务号"> |
| 75 | <el-input | 75 | <el-input |
| 76 | placeholder="请输入业务号" | 76 | placeholder="请输入业务号" |
| 77 | v-model="queryForm.ywh" | 77 | v-model.trim="queryForm.ywh" |
| 78 | clearable | 78 | clearable |
| 79 | class="width100"> | 79 | class="width100"> |
| 80 | </el-input> | 80 | </el-input> |
| ... | @@ -96,7 +96,7 @@ | ... | @@ -96,7 +96,7 @@ |
| 96 | <el-form-item label="不动产单元号"> | 96 | <el-form-item label="不动产单元号"> |
| 97 | <el-input | 97 | <el-input |
| 98 | placeholder="请输入不动产单元号" | 98 | placeholder="请输入不动产单元号" |
| 99 | v-model="queryForm.bdcdyh" | 99 | v-model.trim="queryForm.bdcdyh" |
| 100 | clearable | 100 | clearable |
| 101 | class="width100"> | 101 | class="width100"> |
| 102 | </el-input> | 102 | </el-input> |
| ... | @@ -106,7 +106,7 @@ | ... | @@ -106,7 +106,7 @@ |
| 106 | <el-form-item label="申请人"> | 106 | <el-form-item label="申请人"> |
| 107 | <el-input | 107 | <el-input |
| 108 | placeholder="如需要模糊查询,前后输入%" | 108 | placeholder="如需要模糊查询,前后输入%" |
| 109 | v-model="queryForm.sqrmc" | 109 | v-model.trim="queryForm.sqrmc" |
| 110 | clearable | 110 | clearable |
| 111 | class="width100"> | 111 | class="width100"> |
| 112 | </el-input> | 112 | </el-input> |
| ... | @@ -116,13 +116,13 @@ | ... | @@ -116,13 +116,13 @@ |
| 116 | <el-form-item label="申请人证件号"> | 116 | <el-form-item label="申请人证件号"> |
| 117 | <el-input | 117 | <el-input |
| 118 | placeholder="如需要模糊查询,前后输入%" | 118 | placeholder="如需要模糊查询,前后输入%" |
| 119 | v-model="queryForm.sqrzjhm" | 119 | v-model.trim="queryForm.sqrzjhm" |
| 120 | clearable | 120 | clearable |
| 121 | class="width100"> | 121 | class="width100"> |
| 122 | </el-input> | 122 | </el-input> |
| 123 | </el-form-item> | 123 | </el-form-item> |
| 124 | </el-col> | 124 | </el-col> |
| 125 | <el-col :span="6"> | 125 | <el-col :span="9"> |
| 126 | <el-form-item label="坐落"> | 126 | <el-form-item label="坐落"> |
| 127 | <el-input | 127 | <el-input |
| 128 | placeholder="如需要模糊查询,前后输入%" | 128 | placeholder="如需要模糊查询,前后输入%" |
| ... | @@ -142,24 +142,24 @@ | ... | @@ -142,24 +142,24 @@ |
| 142 | class="el-icon-circle-close" | 142 | class="el-icon-circle-close" |
| 143 | @click="handelItem(item, index)"></i> | 143 | @click="handelItem(item, index)"></i> |
| 144 | </li> | 144 | </li> |
| 145 | </ul> | ||
| 146 | <el-button | 145 | <el-button |
| 147 | class="clean-btn" | 146 | class="clean-btn" |
| 148 | type="text" | 147 | type="text" |
| 149 | v-if="searchList.length > 0" | 148 | v-if="searchList.length > 0" |
| 150 | @click.native="hanldeCleanAll">清除全部 | 149 | @click.native="hanldeCleanAll">清除全部 |
| 151 | </el-button> | 150 | </el-button> |
| 151 | </ul> | ||
| 152 | </el-row> | 152 | </el-row> |
| 153 | </el-form> | 153 | </el-form> |
| 154 | </div> | 154 | </div> |
| 155 | <!-- 表格 --> | 155 | <!-- 表格 --> |
| 156 | <div class="from-clues-content"> | 156 | <div class="from-clues-content"> |
| 157 | <lb-table | 157 | <lb-table |
| 158 | ref="Lbtable" | ||
| 158 | :page-size="pageData.size" | 159 | :page-size="pageData.size" |
| 159 | class="loadingtext" | 160 | class="loadingtext" |
| 160 | @sort-change="handleSort" | 161 | @sort-change="handleSort" |
| 161 | :current-page.sync="pageData.currentPage" | 162 | :current-page.sync="pageData.currentPage" |
| 162 | :heightNum="350" | ||
| 163 | :total="tableData.total" | 163 | :total="tableData.total" |
| 164 | @size-change="handleSizeChange" | 164 | @size-change="handleSizeChange" |
| 165 | @p-current-change="handleCurrentChange" | 165 | @p-current-change="handleCurrentChange" |
| ... | @@ -278,7 +278,7 @@ | ... | @@ -278,7 +278,7 @@ |
| 278 | const { href } = this.$router.resolve( | 278 | const { href } = this.$router.resolve( |
| 279 | "/djbworkFrameview?bsmSlsq=" + item.bsmSlsq + | 279 | "/djbworkFrameview?bsmSlsq=" + item.bsmSlsq + |
| 280 | "&bestepid=" + item.bestepid + | 280 | "&bestepid=" + item.bestepid + |
| 281 | "&sqywbm=" + item.djywbm | 281 | "&djywbm=" + item.djywbm |
| 282 | ); | 282 | ); |
| 283 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); | 283 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); |
| 284 | } else { | 284 | } else { | ... | ... |
| ... | @@ -65,6 +65,11 @@ class data extends filter { | ... | @@ -65,6 +65,11 @@ class data extends filter { |
| 65 | width: '200' | 65 | width: '200' |
| 66 | }, | 66 | }, |
| 67 | { | 67 | { |
| 68 | prop: "djqxmc", | ||
| 69 | label: "登记情形", | ||
| 70 | width: '200' | ||
| 71 | }, | ||
| 72 | { | ||
| 68 | label: "权利人", | 73 | label: "权利人", |
| 69 | width: '120', | 74 | width: '120', |
| 70 | render: (h, scope) => { | 75 | render: (h, scope) => { | ... | ... |
This diff is collapsed.
Click to expand it.
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-17 10:42:49 | 4 | * @LastEditTime: 2023-10-31 10:33:11 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -111,7 +111,7 @@ | ... | @@ -111,7 +111,7 @@ |
| 111 | label="权利性质"> | 111 | label="权利性质"> |
| 112 | </el-table-column> | 112 | </el-table-column> |
| 113 | <el-table-column | 113 | <el-table-column |
| 114 | property="mj" | 114 | property="syqmj" |
| 115 | label="使用权面积"> | 115 | label="使用权面积"> |
| 116 | </el-table-column> | 116 | </el-table-column> |
| 117 | <el-table-column | 117 | <el-table-column |
| ... | @@ -282,6 +282,7 @@ | ... | @@ -282,6 +282,7 @@ |
| 282 | handleRowClick (row) { | 282 | handleRowClick (row) { |
| 283 | this.queryForm.bhqkbsm = row.bhqkbsm | 283 | this.queryForm.bhqkbsm = row.bhqkbsm |
| 284 | this.radioVal = row.bdcdyh | 284 | this.radioVal = row.bdcdyh |
| 285 | row.bglx = '1' | ||
| 285 | selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => { | 286 | selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => { |
| 286 | this.$endLoading(); | 287 | this.$endLoading(); |
| 287 | if (res.code === 200) { | 288 | if (res.code === 200) { | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-29 13:04:44 | 4 | * @LastEditTime: 2023-10-31 08:52:14 |
| 5 | */ | 5 | */ |
| 6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
| 7 | let vm = null | 7 | let vm = null |
| ... | @@ -109,7 +109,8 @@ class data extends filter { | ... | @@ -109,7 +109,8 @@ class data extends filter { |
| 109 | }, | 109 | }, |
| 110 | { | 110 | { |
| 111 | label: '操作', | 111 | label: '操作', |
| 112 | width: '100', | 112 | width: '80', |
| 113 | fixed: 'right', | ||
| 113 | render: (h, scope) => { | 114 | render: (h, scope) => { |
| 114 | return ( | 115 | return ( |
| 115 | <div> | 116 | <div> |
| ... | @@ -120,8 +121,6 @@ class data extends filter { | ... | @@ -120,8 +121,6 @@ class data extends filter { |
| 120 | } | 121 | } |
| 121 | ] | 122 | ] |
| 122 | } | 123 | } |
| 123 | |||
| 124 | |||
| 125 | } | 124 | } |
| 126 | let datas = new data() | 125 | let datas = new data() |
| 127 | export { | 126 | export { | ... | ... |
| ... | @@ -35,6 +35,7 @@ class data extends filter { | ... | @@ -35,6 +35,7 @@ class data extends filter { |
| 35 | { | 35 | { |
| 36 | prop: "status", | 36 | prop: "status", |
| 37 | label: "状态", | 37 | label: "状态", |
| 38 | width: '120', | ||
| 38 | render: (h, scope) => { | 39 | render: (h, scope) => { |
| 39 | return ( | 40 | return ( |
| 40 | <div> | 41 | <div> |
| ... | @@ -93,8 +94,15 @@ class data extends filter { | ... | @@ -93,8 +94,15 @@ class data extends filter { |
| 93 | label: "共有情况", | 94 | label: "共有情况", |
| 94 | }, | 95 | }, |
| 95 | { | 96 | { |
| 96 | prop: "qlrmc", | ||
| 97 | label: "权利人", | 97 | label: "权利人", |
| 98 | width: '100', | ||
| 99 | render: (h, scope) => { | ||
| 100 | return ( | ||
| 101 | <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width"> | ||
| 102 | <span class="ellipsis-table"> {scope.row.qlrmc}</span> | ||
| 103 | </el-tooltip> | ||
| 104 | ) | ||
| 105 | } | ||
| 98 | }, | 106 | }, |
| 99 | { | 107 | { |
| 100 | prop: "qlrzjhm", | 108 | prop: "qlrzjhm", |
| ... | @@ -104,6 +112,7 @@ class data extends filter { | ... | @@ -104,6 +112,7 @@ class data extends filter { |
| 104 | { | 112 | { |
| 105 | prop: "ywrmc", | 113 | prop: "ywrmc", |
| 106 | label: "义务人", | 114 | label: "义务人", |
| 115 | width: '100', | ||
| 107 | }, | 116 | }, |
| 108 | { | 117 | { |
| 109 | prop: "ywrzjhm", | 118 | prop: "ywrzjhm", |
| ... | @@ -112,6 +121,7 @@ class data extends filter { | ... | @@ -112,6 +121,7 @@ class data extends filter { |
| 112 | }, | 121 | }, |
| 113 | { | 122 | { |
| 114 | prop: "qlxzmc", | 123 | prop: "qlxzmc", |
| 124 | width: '100', | ||
| 115 | label: "权利性质", | 125 | label: "权利性质", |
| 116 | }, | 126 | }, |
| 117 | { | 127 | { |
| ... | @@ -121,6 +131,7 @@ class data extends filter { | ... | @@ -121,6 +131,7 @@ class data extends filter { |
| 121 | { | 131 | { |
| 122 | prop: "qlytmc", | 132 | prop: "qlytmc", |
| 123 | label: "用途", | 133 | label: "用途", |
| 134 | width: '100', | ||
| 124 | }, | 135 | }, |
| 125 | { | 136 | { |
| 126 | label: "坐落", | 137 | label: "坐落", | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-15 17:25:11 | 4 | * @LastEditTime: 2023-10-31 08:50:23 |
| 5 | */ | 5 | */ |
| 6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
| 7 | let vm = null | 7 | let vm = null |
| ... | @@ -123,8 +123,9 @@ class data extends filter { | ... | @@ -123,8 +123,9 @@ class data extends filter { |
| 123 | }, | 123 | }, |
| 124 | { | 124 | { |
| 125 | label: '操作', | 125 | label: '操作', |
| 126 | width: '110', | 126 | width: '80', |
| 127 | align: 'center', | 127 | align: 'center', |
| 128 | fixed: 'right', | ||
| 128 | render: (h, scope) => { | 129 | render: (h, scope) => { |
| 129 | return ( | 130 | return ( |
| 130 | <div> | 131 | <div> | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-06 17:03:59 | 4 | * @LastEditTime: 2023-10-26 15:11:19 |
| 5 | */ | 5 | */ |
| 6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
| 7 | let vm = null | 7 | let vm = null |
| ... | @@ -158,15 +158,15 @@ class datatwo extends filter { | ... | @@ -158,15 +158,15 @@ class datatwo extends filter { |
| 158 | label: "权利性质", | 158 | label: "权利性质", |
| 159 | }, | 159 | }, |
| 160 | { | 160 | { |
| 161 | prop: "mj", | 161 | prop: "syqmj", |
| 162 | label: "宗地面积(㎡)", | 162 | label: "宗地面积(㎡)", |
| 163 | }, | 163 | }, |
| 164 | // { | ||
| 165 | // prop: "qlsdfsmc", | ||
| 166 | // label: "权利设定方式", | ||
| 167 | // }, | ||
| 164 | { | 168 | { |
| 165 | prop: "qlsdfsmc", | 169 | prop: "qlytmc", |
| 166 | label: "权利设定方式", | ||
| 167 | }, | ||
| 168 | { | ||
| 169 | prop: "ytmc", | ||
| 170 | label: "土地用途", | 170 | label: "土地用途", |
| 171 | }, | 171 | }, |
| 172 | { | 172 | { | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: 土地所有权对象处理 | 2 | * @Description: 土地所有权对象处理 |
| 3 | * @Autor: ssq | 3 | * @Autor: ssq |
| 4 | * @LastEditTime: 2023-08-29 13:10:12 | 4 | * @LastEditTime: 2023-10-31 08:48:59 |
| 5 | */ | 5 | */ |
| 6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
| 7 | let vm = null | 7 | let vm = null |
| ... | @@ -75,12 +75,26 @@ class data extends filter { | ... | @@ -75,12 +75,26 @@ class data extends filter { |
| 75 | label: "共有方式", | 75 | label: "共有方式", |
| 76 | }, | 76 | }, |
| 77 | { | 77 | { |
| 78 | prop: "qlrmc", | ||
| 79 | label: "使用权人", | 78 | label: "使用权人", |
| 79 | width: 100, | ||
| 80 | render: (h, scope) => { | ||
| 81 | return ( | ||
| 82 | <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width "> | ||
| 83 | <span class="ellipsis-table"> {scope.row.qlrmc}</span> | ||
| 84 | </el-tooltip> | ||
| 85 | ) | ||
| 86 | } | ||
| 80 | }, | 87 | }, |
| 81 | { | 88 | { |
| 82 | prop: "qlrzjhm", | ||
| 83 | label: "证件号", | 89 | label: "证件号", |
| 90 | width: 100, | ||
| 91 | render: (h, scope) => { | ||
| 92 | return ( | ||
| 93 | <el-tooltip effect="dark" content={scope.row.qlrzjhm} placement="top" popper-class="tooltip-width "> | ||
| 94 | <span class="ellipsis-table"> {scope.row.qlrzjhm}</span> | ||
| 95 | </el-tooltip> | ||
| 96 | ) | ||
| 97 | } | ||
| 84 | }, | 98 | }, |
| 85 | { | 99 | { |
| 86 | prop: "qlxzmc", | 100 | prop: "qlxzmc", |
| ... | @@ -105,7 +119,6 @@ class data extends filter { | ... | @@ -105,7 +119,6 @@ class data extends filter { |
| 105 | label: '操作', | 119 | label: '操作', |
| 106 | width: '80', | 120 | width: '80', |
| 107 | align: 'center', | 121 | align: 'center', |
| 108 | fixed: 'right', | ||
| 109 | render: (h, scope) => { | 122 | render: (h, scope) => { |
| 110 | return ( | 123 | return ( |
| 111 | <div> | 124 | <div> | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-07 10:04:33 | 4 | * @LastEditTime: 2023-10-31 08:56:52 |
| 5 | */ | 5 | */ |
| 6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
| 7 | let vm = null | 7 | let vm = null |
| ... | @@ -35,6 +35,7 @@ class data extends filter { | ... | @@ -35,6 +35,7 @@ class data extends filter { |
| 35 | { | 35 | { |
| 36 | prop: "status", | 36 | prop: "status", |
| 37 | label: "状态", | 37 | label: "状态", |
| 38 | width: '120', | ||
| 38 | render: (h, scope) => { | 39 | render: (h, scope) => { |
| 39 | return ( | 40 | return ( |
| 40 | <div> | 41 | <div> |
| ... | @@ -93,9 +94,15 @@ class data extends filter { | ... | @@ -93,9 +94,15 @@ class data extends filter { |
| 93 | label: "房屋面积(㎡)", | 94 | label: "房屋面积(㎡)", |
| 94 | }, | 95 | }, |
| 95 | { | 96 | { |
| 96 | prop: "zl", | ||
| 97 | label: "坐落", | 97 | label: "坐落", |
| 98 | minWidth: '130' | 98 | minWidth: '150', |
| 99 | render: (h, scope) => { | ||
| 100 | return ( | ||
| 101 | <el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width "> | ||
| 102 | <span class="ellipsis-table"> {scope.row.zl}</span> | ||
| 103 | </el-tooltip> | ||
| 104 | ) | ||
| 105 | } | ||
| 99 | }, | 106 | }, |
| 100 | { | 107 | { |
| 101 | label: '操作', | 108 | label: '操作', | ... | ... |
| ... | @@ -101,7 +101,8 @@ class data extends filter { | ... | @@ -101,7 +101,8 @@ class data extends filter { |
| 101 | }, | 101 | }, |
| 102 | { | 102 | { |
| 103 | label: '操作', | 103 | label: '操作', |
| 104 | width: '100', | 104 | width: '80', |
| 105 | fixed: 'right', | ||
| 105 | render: (h, scope) => { | 106 | render: (h, scope) => { |
| 106 | return ( | 107 | return ( |
| 107 | <div> | 108 | <div> |
| ... | @@ -112,8 +113,6 @@ class data extends filter { | ... | @@ -112,8 +113,6 @@ class data extends filter { |
| 112 | } | 113 | } |
| 113 | ] | 114 | ] |
| 114 | } | 115 | } |
| 115 | |||
| 116 | |||
| 117 | } | 116 | } |
| 118 | let datas = new data() | 117 | let datas = new data() |
| 119 | export { | 118 | export { | ... | ... |
| ... | @@ -40,8 +40,10 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -40,8 +40,10 @@ export function queueDjywmc (djywbm, djqxbm) { |
| 40 | case "A06100": // 宅基地使用权/房屋所有权 || 首次登记 | 40 | case "A06100": // 宅基地使用权/房屋所有权 || 首次登记 |
| 41 | vm = "zjdfwsyq"; | 41 | vm = "zjdfwsyq"; |
| 42 | break; | 42 | break; |
| 43 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) | ||
| 44 | case "A08100": // 集体建设用地使用权/房屋所有权 || 首次登记 | 43 | case "A08100": // 集体建设用地使用权/房屋所有权 || 首次登记 |
| 44 | vm = "jtjsydfwsyq"; | ||
| 45 | break; | ||
| 46 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) | ||
| 45 | case "B37100": // 在建工程抵押权 || 首次登记 | 47 | case "B37100": // 在建工程抵押权 || 首次登记 |
| 46 | vm = "fwsyq"; | 48 | vm = "fwsyq"; |
| 47 | break; | 49 | break; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-19 10:30:56 | 4 | * @LastEditTime: 2023-10-27 13:17:15 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -37,7 +37,7 @@ | ... | @@ -37,7 +37,7 @@ |
| 37 | <el-col :span="4" class="btnColRight"> | 37 | <el-col :span="4" class="btnColRight"> |
| 38 | <el-form-item> | 38 | <el-form-item> |
| 39 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> | 39 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> |
| 40 | <el-button @click="moreQueryClick">高级查询</el-button> | 40 | <!-- <el-button @click="moreQueryClick">高级查询</el-button> --> |
| 41 | </el-form-item> | 41 | </el-form-item> |
| 42 | </el-col> | 42 | </el-col> |
| 43 | </el-row> | 43 | </el-row> | ... | ... |
| ... | @@ -65,9 +65,8 @@ class data extends filter { | ... | @@ -65,9 +65,8 @@ class data extends filter { |
| 65 | }, | 65 | }, |
| 66 | { | 66 | { |
| 67 | label: '操作', | 67 | label: '操作', |
| 68 | width: '90', | 68 | width: '80', |
| 69 | align: 'center', | 69 | align: 'center', |
| 70 | fixed: 'right', | ||
| 71 | render: (h, scope) => { | 70 | render: (h, scope) => { |
| 72 | return <el-button type="text" icon="el-icon-film" onClick={() => { vm.openlpbClick(scope) }}>楼盘表</el-button> | 71 | return <el-button type="text" icon="el-icon-film" onClick={() => { vm.openlpbClick(scope) }}>楼盘表</el-button> |
| 73 | } | 72 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-18 14:49:25 | 4 | * @LastEditTime: 2023-10-30 09:19:40 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -55,7 +55,7 @@ | ... | @@ -55,7 +55,7 @@ |
| 55 | import table from "@/utils/mixin/table"; | 55 | import table from "@/utils/mixin/table"; |
| 56 | import { datas, sendThis } from "./zslqcx"; | 56 | import { datas, sendThis } from "./zslqcx"; |
| 57 | import { getBdcqzReceiveList } from "@/api/search.js" | 57 | import { getBdcqzReceiveList } from "@/api/search.js" |
| 58 | import { bdcqzPreview } from "@/api/bdcqz.js" | 58 | import { getXtParamsByYwh } from '@/api/djyw' |
| 59 | export default { | 59 | export default { |
| 60 | name: "zslqcx", | 60 | name: "zslqcx", |
| 61 | mixins: [table], | 61 | mixins: [table], |
| ... | @@ -114,26 +114,22 @@ | ... | @@ -114,26 +114,22 @@ |
| 114 | * @author: renchao | 114 | * @author: renchao |
| 115 | */ | 115 | */ |
| 116 | openYwDialog (item) { | 116 | openYwDialog (item) { |
| 117 | getXtParamsByYwh(item.ywh).then(res => { | ||
| 118 | let data = res.result | ||
| 117 | if (item.sjlx == "3") { | 119 | if (item.sjlx == "3") { |
| 118 | item.djywbm = "DJBBL"; | 120 | item.djywbm = "DJBBL"; |
| 119 | const { href } = this.$router.resolve( | 121 | const { href } = this.$router.resolve( |
| 120 | "/djbworkFrameview?bsmSlsq=" + | 122 | "/djbworkFrameview?bsmSlsq=" + |
| 121 | item.bsmSlsq + | 123 | data.bsmSlsq + "&bsmBusiness=" + |
| 122 | "&bsmBusiness=" + | 124 | data.bsmBusiness + "&djywbm=" + |
| 123 | item.bsmBusiness + | ||
| 124 | "&sqywbm=" + | ||
| 125 | item.djywbm | 125 | item.djywbm |
| 126 | ); | 126 | ); |
| 127 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); | 127 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); |
| 128 | } else { | 128 | } else { |
| 129 | const { href } = this.$router.resolve( | 129 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness) |
| 130 | "/workFrameView?bsmSlsq=" + | 130 | window.open(href, `urlname${new Date().getTime()}`) |
| 131 | item.bsmSlsq + | ||
| 132 | "&bsmBusiness=" + | ||
| 133 | item.bsmBusiness | ||
| 134 | ); | ||
| 135 | window.open(href, `workFrameView${item.bsmSlsq}`) | ||
| 136 | } | 131 | } |
| 132 | }) | ||
| 137 | } | 133 | } |
| 138 | } | 134 | } |
| 139 | } | 135 | } | ... | ... |
| ... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
| 51 | <el-input type="textarea" v-model="ruleForm.bz" :rows="4" :disabled="!readOnly"></el-input> | 51 | <el-input type="textarea" v-model="ruleForm.bz" :rows="4" :disabled="!readOnly"></el-input> |
| 52 | </el-form-item> | 52 | </el-form-item> |
| 53 | 53 | ||
| 54 | <el-form-item v-if="readOnly"> | 54 | <el-form-item v-if="readOnly" style="text-align:center"> |
| 55 | <el-button type="primary" @click="submitForm">保存</el-button> | 55 | <el-button type="primary" @click="submitForm">保存</el-button> |
| 56 | <el-button @click="closeDialog">取消</el-button> | 56 | <el-button @click="closeDialog">取消</el-button> |
| 57 | </el-form-item> | 57 | </el-form-item> |
| ... | @@ -59,10 +59,11 @@ | ... | @@ -59,10 +59,11 @@ |
| 59 | </template> | 59 | </template> |
| 60 | 60 | ||
| 61 | <script> | 61 | <script> |
| 62 | import { getZsStartNo, getZsEndNo, zsff, getZsglInfo } from "@/api/zsgl.js" | 62 | import store from '@/store/index.js' |
| 63 | import { getSysSerialSingle } from "@/api/sysSerial.js" | 63 | import { getZsStartNo, getZsEndNo, zsff, getZsglInfo } from "@/api/zsgl.js" |
| 64 | import axios from "axios"; | 64 | import { getSysSerialSingle } from "@/api/sysSerial.js" |
| 65 | export default { | 65 | import axios from "axios"; |
| 66 | export default { | ||
| 66 | props: { | 67 | props: { |
| 67 | formData: { | 68 | formData: { |
| 68 | type: Object, | 69 | type: Object, |
| ... | @@ -137,32 +138,31 @@ export default { | ... | @@ -137,32 +138,31 @@ export default { |
| 137 | this.getreceiver() | 138 | this.getreceiver() |
| 138 | }, | 139 | }, |
| 139 | methods: { | 140 | methods: { |
| 140 | //领取人列表 | ||
| 141 | /** | 141 | /** |
| 142 | * @description: 领取人列表 | 142 | * @description: 领取人列表 |
| 143 | * @author: renchao | 143 | * @author: renchao |
| 144 | */ | 144 | */ |
| 145 | getreceiver(){ | 145 | getreceiver () { |
| 146 | let url=window._config.services.management+"/management/rest/users?organizationId="+this.formData.organizationId | 146 | let url = window._config.services.management + "/management/rest/users?organizationId=" + this.formData.organizationId |
| 147 | axios.get(url).then(res => { | 147 | axios.get(url).then(res => { |
| 148 | res.data.content.forEach((item) => { | 148 | res.data.content.forEach((item) => { |
| 149 | this.usernames.push(item.name) | 149 | this.usernames.push(item.name) |
| 150 | }) | 150 | }) |
| 151 | }) | 151 | }) |
| 152 | }, | 152 | }, |
| 153 | //表单提交 | ||
| 154 | /** | 153 | /** |
| 155 | * @description: 表单提交 | 154 | * @description: 表单提交 |
| 156 | * @author: renchao | 155 | * @author: renchao |
| 157 | */ | 156 | */ |
| 158 | submitForm () { | 157 | submitForm () { |
| 158 | store.dispatch("user/refreshPage", false); | ||
| 159 | zsff(this.ruleForm).then(res => { | 159 | zsff(this.ruleForm).then(res => { |
| 160 | if (res.code == 200) { | 160 | if (res.code == 200) { |
| 161 | this.$message.success('保存成功') | 161 | this.$message.success('保存成功') |
| 162 | this.$emit("input", false); | ||
| 163 | this.$refs['ruleForm'].resetFields(); | 162 | this.$refs['ruleForm'].resetFields(); |
| 164 | this.resetTableFields(); | 163 | this.resetTableFields(); |
| 165 | this.$parent.queryClick(); | 164 | this.$popupCacel() |
| 165 | store.dispatch("user/refreshPage", true); | ||
| 166 | } else { | 166 | } else { |
| 167 | this.$message.error(res.message) | 167 | this.$message.error(res.message) |
| 168 | } | 168 | } |
| ... | @@ -201,7 +201,6 @@ export default { | ... | @@ -201,7 +201,6 @@ export default { |
| 201 | } | 201 | } |
| 202 | }) | 202 | }) |
| 203 | }, | 203 | }, |
| 204 | //初始化开始序列号 | ||
| 205 | /** | 204 | /** |
| 206 | * @description: 初始化开始序列号 | 205 | * @description: 初始化开始序列号 |
| 207 | * @author: renchao | 206 | * @author: renchao |
| ... | @@ -239,7 +238,6 @@ export default { | ... | @@ -239,7 +238,6 @@ export default { |
| 239 | this.updateRuleForm('', 0, item); | 238 | this.updateRuleForm('', 0, item); |
| 240 | } | 239 | } |
| 241 | }, | 240 | }, |
| 242 | //更新表单数据 | ||
| 243 | /** | 241 | /** |
| 244 | * @description: 更新表单数据 | 242 | * @description: 更新表单数据 |
| 245 | * @param {*} endno | 243 | * @param {*} endno |
| ... | @@ -290,17 +288,20 @@ export default { | ... | @@ -290,17 +288,20 @@ export default { |
| 290 | this.resetTableFields(); | 288 | this.resetTableFields(); |
| 291 | } | 289 | } |
| 292 | } | 290 | } |
| 293 | } | 291 | } |
| 294 | </script> | 292 | </script> |
| 295 | <style scoped lang="scss"> | 293 | <style scoped lang="scss"> |
| 296 | @import "~@/styles/mixin.scss"; | 294 | @import "~@/styles/mixin.scss"; |
| 297 | @import "~@/styles/dialogBoxheader.scss"; | 295 | @import "~@/styles/dialogBoxheader.scss"; |
| 296 | /deep/.cell .el-form-item { | ||
| 297 | margin-bottom: 0; | ||
| 298 | } | ||
| 298 | 299 | ||
| 299 | .font-red { | 300 | .font-red { |
| 300 | color: red | 301 | color: red; |
| 301 | } | 302 | } |
| 302 | 303 | ||
| 303 | .middle-margin-bottom { | 304 | .middle-margin-bottom { |
| 304 | margin-top: 20px | 305 | margin-top: 20px; |
| 305 | } | 306 | } |
| 306 | </style> | 307 | </style> | ... | ... |
| ... | @@ -44,22 +44,30 @@ | ... | @@ -44,22 +44,30 @@ |
| 44 | </div> | 44 | </div> |
| 45 | </template> | 45 | </template> |
| 46 | <script> | 46 | <script> |
| 47 | import { mapGetters } from "vuex"; | ||
| 47 | import table from "@/utils/mixin/table"; | 48 | import table from "@/utils/mixin/table"; |
| 48 | import { datas, sendThis } from "./zsffdata"; | 49 | import { datas, sendThis } from "./zsffdata"; |
| 49 | import { mapGetters } from "vuex"; | ||
| 50 | import { getZsglffList, removeZsgl, confirmZsff } from "@/api/zsgl.js" | 50 | import { getZsglffList, removeZsgl, confirmZsff } from "@/api/zsgl.js" |
| 51 | export default { | 51 | export default { |
| 52 | computed: { | ||
| 53 | ...mapGetters(["userInfo"]), | ||
| 54 | }, | ||
| 55 | name: "zsff", | 52 | name: "zsff", |
| 56 | mixins: [table], | 53 | mixins: [table], |
| 57 | mounted () { | 54 | mounted () { |
| 58 | sendThis(this); | 55 | sendThis(this); |
| 59 | }, | 56 | }, |
| 57 | computed: { | ||
| 58 | ...mapGetters(['isRefresh', 'userInfo']) | ||
| 59 | }, | ||
| 60 | activated () { | 60 | activated () { |
| 61 | this.queryClick() | 61 | this.queryClick() |
| 62 | }, | 62 | }, |
| 63 | watch: { | ||
| 64 | isRefresh: { | ||
| 65 | handler (newVal, oldVal) { | ||
| 66 | if (newVal) this.queryClick() | ||
| 67 | }, | ||
| 68 | immediate: true | ||
| 69 | } | ||
| 70 | }, | ||
| 63 | data () { | 71 | data () { |
| 64 | return { | 72 | return { |
| 65 | value: '', | 73 | value: '', |
| ... | @@ -96,17 +104,16 @@ | ... | @@ -96,17 +104,16 @@ |
| 96 | } | 104 | } |
| 97 | }, | 105 | }, |
| 98 | methods: { | 106 | methods: { |
| 99 | // 查看弹框 | ||
| 100 | /** | 107 | /** |
| 101 | * @description: 查看弹框 | 108 | * @description: 查看弹框 |
| 102 | * @param {*} bsmBatch | 109 | * @param {*} bsmBatch |
| 103 | * @author: renchao | 110 | * @author: renchao |
| 104 | */ | 111 | */ |
| 105 | openDialog (bsmBatch) { | 112 | openDialog (bsmBatch) { |
| 106 | console.log("this.userInfo",this.userInfo); | 113 | console.log("this.userInfo", this.userInfo); |
| 107 | this.$popupDialog("证书分发", "zsgl/zsff/components/addDialog", { | 114 | this.$popupDialog("证书分发", "zsgl/zsff/components/addDialog", { |
| 108 | bsmBatch: bsmBatch, | 115 | bsmBatch: bsmBatch, |
| 109 | organizationId:this.userInfo.organizationId | 116 | organizationId: this.userInfo.organizationId |
| 110 | }, "50%") | 117 | }, "50%") |
| 111 | }, | 118 | }, |
| 112 | /** | 119 | /** |
| ... | @@ -122,7 +129,6 @@ | ... | @@ -122,7 +129,6 @@ |
| 122 | } | 129 | } |
| 123 | }) | 130 | }) |
| 124 | }, | 131 | }, |
| 125 | //确定证书分发 | ||
| 126 | /** | 132 | /** |
| 127 | * @description: 确定证书分发 | 133 | * @description: 确定证书分发 |
| 128 | * @param {*} item | 134 | * @param {*} item |
| ... | @@ -149,7 +155,6 @@ | ... | @@ -149,7 +155,6 @@ |
| 149 | }); | 155 | }); |
| 150 | }); | 156 | }); |
| 151 | }, | 157 | }, |
| 152 | //删除证书分发数据 | ||
| 153 | /** | 158 | /** |
| 154 | * @description: 删除证书分发数据 | 159 | * @description: 删除证书分发数据 |
| 155 | * @param {*} item | 160 | * @param {*} item | ... | ... |
| ... | @@ -29,21 +29,28 @@ | ... | @@ -29,21 +29,28 @@ |
| 29 | </el-form-item> | 29 | </el-form-item> |
| 30 | </el-col> | 30 | </el-col> |
| 31 | </el-row> | 31 | </el-row> |
| 32 | <div> | 32 | <el-table :data="ruleForm.tableForm" border style="width: 100%" |
| 33 | <el-table :data="tableForm" border style="width: 100%" | ||
| 34 | :header-cell-style="{ 'text-align': 'center', background: 'rgb(236, 245, 255)' }" | 33 | :header-cell-style="{ 'text-align': 'center', background: 'rgb(236, 245, 255)' }" |
| 35 | :cell-style="{ 'text-align': 'center' }"> | 34 | :cell-style="{ 'text-align': 'center' }"> |
| 36 | <el-table-column prop="name" label="纸质证书类型" width="200"></el-table-column> | 35 | <el-table-column prop="name" label="纸质证书类型" width="200"></el-table-column> |
| 37 | <el-table-column prop="ksysxlh" label="开始印刷序列号" width="200"> | 36 | <el-table-column prop="ksysxlh" label="开始印刷序列号" width="200"> |
| 38 | <template slot-scope="scope"> | 37 | <template slot-scope="scope"> |
| 38 | <el-form-item | ||
| 39 | :prop="'tableForm.' + scope.$index + '.ksysxlh'" | ||
| 40 | :rules="rules.ksysxlh"> | ||
| 39 | <el-input v-model="scope.row.ksysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11" | 41 | <el-input v-model="scope.row.ksysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11" |
| 40 | oninput="value=value.replace(/[^\d.]/g,'')" :disabled="!readOnly"></el-input> | 42 | oninput="value=value.replace(/[^\d.]/g,'')" :disabled="!readOnly"></el-input> |
| 43 | </el-form-item> | ||
| 41 | </template> | 44 | </template> |
| 42 | </el-table-column> | 45 | </el-table-column> |
| 43 | <el-table-column prop="jsysxlh" label="结束印刷序列号" width="200"> | 46 | <el-table-column prop="jsysxlh" label="结束印刷序列号" width="200"> |
| 44 | <template slot-scope="scope"> | 47 | <template slot-scope="scope"> |
| 48 | <el-form-item | ||
| 49 | :prop="'tableForm.' + scope.$index + '.jsysxlh'" | ||
| 50 | :rules="rules.jsysxlh"> | ||
| 45 | <el-input v-model="scope.row.jsysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11" | 51 | <el-input v-model="scope.row.jsysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11" |
| 46 | oninput="value=value.replace(/[^\d.]/g,'')" :disabled="!readOnly"></el-input> | 52 | oninput="value=value.replace(/[^\d.]/g,'')" :disabled="!readOnly"></el-input> |
| 53 | </el-form-item> | ||
| 47 | </template> | 54 | </template> |
| 48 | </el-table-column> | 55 | </el-table-column> |
| 49 | <el-table-column prop="bs" label="本数"> | 56 | <el-table-column prop="bs" label="本数"> |
| ... | @@ -54,11 +61,10 @@ | ... | @@ -54,11 +61,10 @@ |
| 54 | </template> | 61 | </template> |
| 55 | </el-table-column> | 62 | </el-table-column> |
| 56 | </el-table> | 63 | </el-table> |
| 57 | </div> | ||
| 58 | <el-form-item label="备注" class="middle-margin-bottom"> | 64 | <el-form-item label="备注" class="middle-margin-bottom"> |
| 59 | <el-input type="textarea" v-model="ruleForm.bz" :rows="4" :disabled="!readOnly"></el-input> | 65 | <el-input type="textarea" v-model="ruleForm.bz" :rows="4" :disabled="!readOnly"></el-input> |
| 60 | </el-form-item> | 66 | </el-form-item> |
| 61 | <el-form-item v-if="readOnly"> | 67 | <el-form-item v-if="readOnly" style="text-align:center"> |
| 62 | <el-button type="primary" @click="submitForm">保存</el-button> | 68 | <el-button type="primary" @click="submitForm">保存</el-button> |
| 63 | <el-button @click="closeDialog">取消</el-button> | 69 | <el-button @click="closeDialog">取消</el-button> |
| 64 | </el-form-item> | 70 | </el-form-item> |
| ... | @@ -92,8 +98,7 @@ | ... | @@ -92,8 +98,7 @@ |
| 92 | zsnum: '', | 98 | zsnum: '', |
| 93 | zmstarno: '', | 99 | zmstarno: '', |
| 94 | zmendno: '', | 100 | zmendno: '', |
| 95 | zmnum: '' | 101 | zmnum: '', |
| 96 | }, | ||
| 97 | //表格数据 | 102 | //表格数据 |
| 98 | tableForm: [ | 103 | tableForm: [ |
| 99 | { | 104 | { |
| ... | @@ -110,7 +115,8 @@ | ... | @@ -110,7 +115,8 @@ |
| 110 | bs: 0, | 115 | bs: 0, |
| 111 | zslx: 2 | 116 | zslx: 2 |
| 112 | } | 117 | } |
| 113 | ], | 118 | ] |
| 119 | }, | ||
| 114 | //证书入库业务号参数 | 120 | //证书入库业务号参数 |
| 115 | ywhQueryForm: { | 121 | ywhQueryForm: { |
| 116 | serialtype: 'zsrkbh', | 122 | serialtype: 'zsrkbh', |
| ... | @@ -128,13 +134,19 @@ | ... | @@ -128,13 +134,19 @@ |
| 128 | rksj: [ | 134 | rksj: [ |
| 129 | { required: true, message: '请选择入库时间', trigger: 'change' } | 135 | { required: true, message: '请选择入库时间', trigger: 'change' } |
| 130 | ], | 136 | ], |
| 137 | ksysxlh: [ | ||
| 138 | { required: true, message: '开始印刷序列号不能为空', trigger: 'blur' } | ||
| 139 | ], | ||
| 140 | jsysxlh: [ | ||
| 141 | { required: true, message: '结束印刷序列号不能为空', trigger: 'blur' } | ||
| 142 | ] | ||
| 131 | }, | 143 | }, |
| 132 | } | 144 | } |
| 133 | }, | 145 | }, |
| 134 | mounted () { | 146 | mounted () { |
| 135 | if (this.formData.bsmBatch) { | 147 | if (this.formData.bsmBatch) { |
| 136 | this.tableForm[0].bs = null; | 148 | this.ruleForm.tableForm[0].bs = null; |
| 137 | this.tableForm[1].bs = null; | 149 | this.ruleForm.tableForm[1].bs = null; |
| 138 | this.getDetailInfo(this.formData.bsmBatch); | 150 | this.getDetailInfo(this.formData.bsmBatch); |
| 139 | } else { | 151 | } else { |
| 140 | this.ywhSerial(); | 152 | this.ywhSerial(); |
| ... | @@ -146,24 +158,31 @@ | ... | @@ -146,24 +158,31 @@ |
| 146 | * @author: renchao | 158 | * @author: renchao |
| 147 | */ | 159 | */ |
| 148 | submitForm () { | 160 | submitForm () { |
| 149 | this.tableForm.forEach((item, index) => { | 161 | let that = this |
| 150 | if (item.bs < 0) { | 162 | this.$refs['ruleForm'].validate((valid) => { |
| 151 | return; | 163 | if (valid) { |
| 164 | let arr = this.ruleForm.tableForm.filter(item => item.bs > 0) | ||
| 165 | if (arr.length < 2) { | ||
| 166 | that.$message.error('本书必须大于0,请检查印刷序列号'); | ||
| 167 | return | ||
| 152 | } | 168 | } |
| 153 | }) | 169 | store.dispatch("user/refreshPage", false); |
| 154 | zsrk(this.ruleForm).then(res => { | 170 | zsrk(this.ruleForm).then(res => { |
| 155 | if (res.code == 200) { | 171 | if (res.code == 200) { |
| 156 | this.$message.success('保存成功') | 172 | that.$message.success('保存成功') |
| 157 | this.$emit("input", false); | 173 | that.$popupCacel() |
| 158 | this.$refs['ruleForm'].resetFields(); | 174 | that.$refs['ruleForm'].resetFields() |
| 159 | this.resetTableFields(); | 175 | that.resetTableFields() |
| 160 | this.$parent.queryClick(); | 176 | store.dispatch("user/refreshPage", true); |
| 177 | } else { | ||
| 178 | that.$message.error(res.message); | ||
| 179 | } | ||
| 180 | }) | ||
| 161 | } else { | 181 | } else { |
| 162 | this.$message.error(res.message); | 182 | return false; |
| 163 | } | 183 | } |
| 164 | }) | 184 | }) |
| 165 | }, | 185 | }, |
| 166 | //序列号获取 | ||
| 167 | /** | 186 | /** |
| 168 | * @description: 序列号获取 | 187 | * @description: 序列号获取 |
| 169 | * @author: renchao | 188 | * @author: renchao |
| ... | @@ -176,7 +195,6 @@ | ... | @@ -176,7 +195,6 @@ |
| 176 | } | 195 | } |
| 177 | }) | 196 | }) |
| 178 | }, | 197 | }, |
| 179 | //获取详情信息 | ||
| 180 | /** | 198 | /** |
| 181 | * @description: 获取详情信息 | 199 | * @description: 获取详情信息 |
| 182 | * @param {*} bsmBatch | 200 | * @param {*} bsmBatch |
| ... | @@ -188,16 +206,15 @@ | ... | @@ -188,16 +206,15 @@ |
| 188 | this.ruleForm = res.result; | 206 | this.ruleForm = res.result; |
| 189 | this.$refs.ruleForm.resetFields() | 207 | this.$refs.ruleForm.resetFields() |
| 190 | this.readOnly = false; | 208 | this.readOnly = false; |
| 191 | this.tableForm[0].ksysxlh = res.result.zsstarno; | 209 | this.ruleForm.tableForm[0].ksysxlh = res.result.zsstarno; |
| 192 | this.tableForm[0].jsysxlh = res.result.zsendno; | 210 | this.ruleForm.tableForm[0].jsysxlh = res.result.zsendno; |
| 193 | this.tableForm[0].bs = res.result.zsnum; | 211 | this.ruleForm.tableForm[0].bs = res.result.zsnum; |
| 194 | this.tableForm[1].ksysxlh = res.result.zmstarno; | 212 | this.ruleForm.tableForm[1].ksysxlh = res.result.zmstarno; |
| 195 | this.tableForm[1].jsysxlh = res.result.zmendno; | 213 | this.ruleForm.tableForm[1].jsysxlh = res.result.zmendno; |
| 196 | this.tableForm[1].bs = res.result.zmnum; | 214 | this.ruleForm.tableForm[1].bs = res.result.zmnum; |
| 197 | } | 215 | } |
| 198 | }) | 216 | }) |
| 199 | }, | 217 | }, |
| 200 | //印刷序列号处理 | ||
| 201 | /** | 218 | /** |
| 202 | * @description: 印刷序列号处理 | 219 | * @description: 印刷序列号处理 |
| 203 | * @param {*} item | 220 | * @param {*} item |
| ... | @@ -245,7 +262,7 @@ | ... | @@ -245,7 +262,7 @@ |
| 245 | * @author: renchao | 262 | * @author: renchao |
| 246 | */ | 263 | */ |
| 247 | resetTableFields () { | 264 | resetTableFields () { |
| 248 | this.tableForm = [ | 265 | this.ruleForm.tableForm = [ |
| 249 | { | 266 | { |
| 250 | name: '不动产权证书', | 267 | name: '不动产权证书', |
| 251 | ksysxlh: '', | 268 | ksysxlh: '', |
| ... | @@ -277,7 +294,9 @@ | ... | @@ -277,7 +294,9 @@ |
| 277 | <style scoped lang="scss"> | 294 | <style scoped lang="scss"> |
| 278 | @import "~@/styles/mixin.scss"; | 295 | @import "~@/styles/mixin.scss"; |
| 279 | @import "~@/styles/dialogBoxheader.scss"; | 296 | @import "~@/styles/dialogBoxheader.scss"; |
| 280 | 297 | /deep/.cell .el-form-item { | |
| 298 | margin-bottom: 0; | ||
| 299 | } | ||
| 281 | .font-red { | 300 | .font-red { |
| 282 | color: red; | 301 | color: red; |
| 283 | } | 302 | } | ... | ... |
| ... | @@ -42,6 +42,7 @@ | ... | @@ -42,6 +42,7 @@ |
| 42 | </div> | 42 | </div> |
| 43 | </template> | 43 | </template> |
| 44 | <script> | 44 | <script> |
| 45 | import { mapGetters } from 'vuex' | ||
| 45 | import table from "@/utils/mixin/table"; | 46 | import table from "@/utils/mixin/table"; |
| 46 | import { datas, sendThis } from "./zsrkdata"; | 47 | import { datas, sendThis } from "./zsrkdata"; |
| 47 | import { getZsglrkList, removeZsgl, verifyZsrk } from "@/api/zsgl.js"; | 48 | import { getZsglrkList, removeZsgl, verifyZsrk } from "@/api/zsgl.js"; |
| ... | @@ -51,9 +52,20 @@ | ... | @@ -51,9 +52,20 @@ |
| 51 | mounted () { | 52 | mounted () { |
| 52 | sendThis(this); | 53 | sendThis(this); |
| 53 | }, | 54 | }, |
| 55 | computed: { | ||
| 56 | ...mapGetters(['isRefresh']) | ||
| 57 | }, | ||
| 54 | activated () { | 58 | activated () { |
| 55 | this.queryClick() | 59 | this.queryClick() |
| 56 | }, | 60 | }, |
| 61 | watch: { | ||
| 62 | isRefresh: { | ||
| 63 | handler (newVal, oldVal) { | ||
| 64 | if (newVal) this.queryClick() | ||
| 65 | }, | ||
| 66 | immediate: true | ||
| 67 | } | ||
| 68 | }, | ||
| 57 | data () { | 69 | data () { |
| 58 | return { | 70 | return { |
| 59 | ruleForm: { | 71 | ruleForm: { | ... | ... |
-
Please register or sign in to post a comment