Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
56 changed files
with
985 additions
and
254 deletions
... | @@ -57,3 +57,18 @@ export function getWorkFlowImage (bsmSlsq) { | ... | @@ -57,3 +57,18 @@ export function getWorkFlowImage (bsmSlsq) { |
57 | } | 57 | } |
58 | }) | 58 | }) |
59 | } | 59 | } |
60 | // 上传单个文件 | ||
61 | export function sjClmxUpload (data) { | ||
62 | return request({ | ||
63 | url: 'zhcx/sjClmx/upload', | ||
64 | method: 'post', | ||
65 | data | ||
66 | }) | ||
67 | } | ||
68 | // 删除上传文件 | ||
69 | export function sjClmxDelete (bsmClmx) { | ||
70 | return request({ | ||
71 | url: 'zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, | ||
72 | method: 'delete' | ||
73 | }) | ||
74 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -3,7 +3,6 @@ import Popup from './index.vue' | ... | @@ -3,7 +3,6 @@ import Popup from './index.vue' |
3 | 3 | ||
4 | const PopupBox = Vue.extend(Popup) | 4 | const PopupBox = Vue.extend(Popup) |
5 | Popup.install = function (data) { | 5 | Popup.install = function (data) { |
6 | console.log(data) | ||
7 | let instance = new PopupBox({ | 6 | let instance = new PopupBox({ |
8 | data | 7 | data |
9 | }).$mount() | 8 | }).$mount() | ... | ... |
... | @@ -2,8 +2,8 @@ | ... | @@ -2,8 +2,8 @@ |
2 | <transition name="fade" mode="out-in" v-if="isShow"> | 2 | <transition name="fade" mode="out-in" v-if="isShow"> |
3 | <div class="ls-mask" v-loading="loading"> | 3 | <div class="ls-mask" v-loading="loading"> |
4 | <div class="ls-mask-window" :style="{'width':width,'height':height}"> | 4 | <div class="ls-mask-window" :style="{'width':width,'height':height}"> |
5 | <div :style="{'text-align':titleStyle}"><b >{{title}}</b></div> | 5 | <div :style="{'text-align':titleStyle}"><b>{{title}}</b></div> |
6 | <i class="el-icon-close" @click="onCancel" ></i> | 6 | <i class="el-icon-close" @click="onCancel"></i> |
7 | <div class="ls-mask-content"> | 7 | <div class="ls-mask-content"> |
8 | <component :is="editItem" ref='childRef' @loading='loadingFn' :formData='formData' /> | 8 | <component :is="editItem" ref='childRef' @loading='loadingFn' :formData='formData' /> |
9 | </div> | 9 | </div> |
... | @@ -14,9 +14,9 @@ | ... | @@ -14,9 +14,9 @@ |
14 | </div> | 14 | </div> |
15 | </div> | 15 | </div> |
16 | </transition> | 16 | </transition> |
17 | </template> | 17 | </template> |
18 | <script> | 18 | <script> |
19 | export default { | 19 | export default { |
20 | name: 'index', | 20 | name: 'index', |
21 | data () { | 21 | data () { |
22 | return { | 22 | return { |
... | @@ -25,20 +25,20 @@ | ... | @@ -25,20 +25,20 @@ |
25 | confirmText: '确认', | 25 | confirmText: '确认', |
26 | isSync: false, | 26 | isSync: false, |
27 | isShow: false, | 27 | isShow: false, |
28 | cancel: function () {}, | 28 | cancel: function () { }, |
29 | confirm: function () {}, | 29 | confirm: function () { }, |
30 | editItem:"", | 30 | editItem: "", |
31 | titleStyle:'', | 31 | titleStyle: 'center', |
32 | width:"75%", | 32 | width: "75%", |
33 | height:"500px", | 33 | height: "500px", |
34 | formData:"",//父组件传递的参数 负责传给子组件 | 34 | formData: "",//父组件传递的参数 负责传给子组件 |
35 | } | 35 | } |
36 | }, | 36 | }, |
37 | props:{ | 37 | props: { |
38 | loading: { type: Boolean, default: false }, | 38 | loading: { type: Boolean, default: false }, |
39 | }, | 39 | }, |
40 | watch:{ | 40 | watch: { |
41 | isShow(a,b){ | 41 | isShow (a, b) { |
42 | this.editItem = this.loadViewFn(this.editItem) | 42 | this.editItem = this.loadViewFn(this.editItem) |
43 | }, | 43 | }, |
44 | }, | 44 | }, |
... | @@ -50,14 +50,14 @@ | ... | @@ -50,14 +50,14 @@ |
50 | onConfirm () { | 50 | onConfirm () { |
51 | this.loading = true | 51 | this.loading = true |
52 | let isOk = this.$refs.childRef.childFn() //子组件方法 必须命名一致 | 52 | let isOk = this.$refs.childRef.childFn() //子组件方法 必须命名一致 |
53 | if(isOk || isOk==undefined){ //如果子组件没有 return false 就代表子组件方法一切正常 | 53 | if (isOk || isOk == undefined) { //如果子组件没有 return false 就代表子组件方法一切正常 |
54 | this.isShow = false | 54 | this.isShow = false |
55 | this.confirm() | 55 | this.confirm() |
56 | }else{ //否则 | 56 | } else { //否则 |
57 | console.log('弹窗不关闭') | 57 | console.log('弹窗不关闭') |
58 | } | 58 | } |
59 | }, | 59 | }, |
60 | loadingFn(e){ //加载状态 | 60 | loadingFn (e) { //加载状态 |
61 | this.loading = e | 61 | this.loading = e |
62 | }, | 62 | }, |
63 | loadViewFn (view) { | 63 | loadViewFn (view) { |
... | @@ -67,56 +67,63 @@ | ... | @@ -67,56 +67,63 @@ |
67 | ); | 67 | ); |
68 | }, | 68 | }, |
69 | } | 69 | } |
70 | } | 70 | } |
71 | </script> | 71 | </script> |
72 | <style scoped> | 72 | <style scoped> |
73 | #app{ | 73 | #app { |
74 | overflow: hidden; | 74 | overflow: hidden; |
75 | } | 75 | } |
76 | .ls-mask{ | 76 | |
77 | .ls-mask { | ||
77 | width: 100%; | 78 | width: 100%; |
78 | height: 100%; | 79 | height: 100%; |
79 | z-index: 2001; | 80 | z-index: 2001; |
80 | position: fixed; | 81 | position: fixed; |
81 | left: 0; | 82 | left: 0; |
82 | top: 0; | 83 | top: 0; |
83 | background: rgba(0,0,0,0.3); | 84 | background: rgba(0, 0, 0, 0.3); |
84 | } | 85 | } |
85 | .ls-mask-window{ | 86 | |
87 | .ls-mask-window { | ||
86 | padding-top: 20px; | 88 | padding-top: 20px; |
87 | background: white; | 89 | background: white; |
88 | position: absolute; | 90 | position: absolute; |
89 | left: 50%; | 91 | left: 50%; |
90 | top: 50%; | 92 | top: 50%; |
91 | transform: translate(-50%,-50%); | 93 | transform: translate(-50%, -50%); |
92 | } | 94 | } |
93 | .ls-mask-window b{ | 95 | |
96 | .ls-mask-window b { | ||
94 | padding-left: 12px; | 97 | padding-left: 12px; |
95 | } | 98 | } |
96 | .ls-mask-content{ | 99 | |
100 | .ls-mask-content { | ||
97 | padding: 20px; | 101 | padding: 20px; |
98 | text-align: center; | 102 | text-align: center; |
99 | } | 103 | } |
100 | .ls-mask-footer{ | 104 | |
105 | .ls-mask-footer { | ||
101 | height: 45px; | 106 | height: 45px; |
102 | border-top: 1px solid #f0f0f0; | 107 | border-top: 1px solid #f0f0f0; |
103 | display: flex; | 108 | display: flex; |
104 | justify-content: end; | 109 | justify-content: flex-end; |
105 | padding: 2px; | 110 | padding: 2px; |
106 | position: absolute; | 111 | position: absolute; |
107 | width: 98%; | 112 | width: 98%; |
108 | bottom: 10px; | 113 | bottom: 10px; |
109 | right: 12px; | 114 | right: 12px; |
110 | } | 115 | } |
111 | /deep/.el-icon-close{ | 116 | |
117 | /deep/.el-icon-close { | ||
112 | position: absolute; | 118 | position: absolute; |
113 | top: 20px; | 119 | top: 20px; |
114 | right: 12px; | 120 | right: 12px; |
115 | font-size: 20px; | 121 | font-size: 20px; |
116 | cursor: pointer; | 122 | cursor: pointer; |
117 | } | 123 | } |
118 | /deep/.el-loading-mask{ | 124 | |
125 | /deep/.el-loading-mask { | ||
119 | background: none; | 126 | background: none; |
120 | } | 127 | } |
121 | </style> | 128 | </style> |
122 | 129 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -29,7 +29,7 @@ export const constantRoutes = [ | ... | @@ -29,7 +29,7 @@ export const constantRoutes = [ |
29 | // 业务流程框架 | 29 | // 业务流程框架 |
30 | { | 30 | { |
31 | path: '/workFrame', | 31 | path: '/workFrame', |
32 | component: () => import('@/views/ywbl/fqsq/workFrame.vue'), | 32 | component: () => import('@/views/workflow/workFrame.vue'), |
33 | name: 'workFrame', | 33 | name: 'workFrame', |
34 | hidden: true, | 34 | hidden: true, |
35 | meta: { title: '发起申请' } | 35 | meta: { title: '发起申请' } | ... | ... |
... | @@ -218,7 +218,7 @@ aside { | ... | @@ -218,7 +218,7 @@ aside { |
218 | } | 218 | } |
219 | 219 | ||
220 | .width100 { | 220 | .width100 { |
221 | width: 100%!important; | 221 | width: 100% !important; |
222 | } | 222 | } |
223 | 223 | ||
224 | .sub-navbar { | 224 | .sub-navbar { |
... | @@ -327,10 +327,17 @@ aside { | ... | @@ -327,10 +327,17 @@ aside { |
327 | .allow, | 327 | .allow, |
328 | .prohibit { | 328 | .prohibit { |
329 | position: relative; | 329 | position: relative; |
330 | width: 60px; | ||
331 | margin: 0 auto; | 330 | margin: 0 auto; |
332 | } | 331 | } |
333 | 332 | ||
333 | .allow { | ||
334 | color: $green; | ||
335 | } | ||
336 | |||
337 | .prohibit { | ||
338 | color: $pink; | ||
339 | } | ||
340 | |||
334 | .allow::before { | 341 | .allow::before { |
335 | content: ''; | 342 | content: ''; |
336 | position: absolute; | 343 | position: absolute; | ... | ... |
... | @@ -18,6 +18,7 @@ | ... | @@ -18,6 +18,7 @@ |
18 | display: flex; | 18 | display: flex; |
19 | font-size: 12px; | 19 | font-size: 12px; |
20 | flex-wrap: wrap; | 20 | flex-wrap: wrap; |
21 | line-height: 36px; | ||
21 | 22 | ||
22 | span { | 23 | span { |
23 | display: flex; | 24 | display: flex; |
... | @@ -39,6 +40,7 @@ | ... | @@ -39,6 +40,7 @@ |
39 | border: 1px solid $light-blue; | 40 | border: 1px solid $light-blue; |
40 | border-radius: 10px; | 41 | border-radius: 10px; |
41 | padding: 2px 8px; | 42 | padding: 2px 8px; |
43 | line-height: 16px; | ||
42 | } | 44 | } |
43 | } | 45 | } |
44 | 46 | ... | ... |
... | @@ -11,7 +11,7 @@ const service = axios.create({ | ... | @@ -11,7 +11,7 @@ const service = axios.create({ |
11 | withCredentials: true, //是否允许跨域 | 11 | withCredentials: true, //是否允许跨域 |
12 | headers: { | 12 | headers: { |
13 | 'Content-Type': 'application/json; charset=utf-8', | 13 | 'Content-Type': 'application/json; charset=utf-8', |
14 | 'Authorization':'bearer AT-16-oqkOHiUSsDdFA-eAZ49k2rJQDTzQpClO' | 14 | 'Authorization': 'bearer AT-16-oqkOHiUSsDdFA-eAZ49k2rJQDTzQpClO' |
15 | }, | 15 | }, |
16 | timeout: 15000 | 16 | timeout: 15000 |
17 | }) | 17 | }) |
... | @@ -85,6 +85,9 @@ function handleErrorData (errMes) { | ... | @@ -85,6 +85,9 @@ function handleErrorData (errMes) { |
85 | case 504: | 85 | case 504: |
86 | Message.error("网络超时!"); | 86 | Message.error("网络超时!"); |
87 | break; | 87 | break; |
88 | case 2002: | ||
89 | Message.error(errMes.message); | ||
90 | break; | ||
88 | default: | 91 | default: |
89 | Message.error("服务正在联调中,请稍后!"); | 92 | Message.error("服务正在联调中,请稍后!"); |
90 | break; | 93 | break; | ... | ... |
... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
8 | </div> | 8 | </div> |
9 | <div class="img-list-wrap"> | 9 | <div class="img-list-wrap"> |
10 | <div v-for="(img, i) in previewImg.imgList" :key="i"> | 10 | <div v-for="(img, i) in previewImg.imgList" :key="i"> |
11 | <photo-zoom :url="img.url" :bigWidth="165" v-if="i === previewImg.index" :scale="2" | 11 | <photo-zoom :url="img.fjurl" :bigWidth="165" v-if="i === previewImg.index" :scale="2" |
12 | overlayStyle="width: 100%;height: 563px;"> | 12 | overlayStyle="width: 100%;height: 563px;"> |
13 | </photo-zoom> | 13 | </photo-zoom> |
14 | </div> | 14 | </div> |
... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
17 | <div class="thumb-wrap"> | 17 | <div class="thumb-wrap"> |
18 | <div class="thumb-wrap-button"> | 18 | <div class="thumb-wrap-button"> |
19 | <el-button type="primary" @click="clickImage">(放大) 显示(缩小)</el-button> | 19 | <el-button type="primary" @click="clickImage">(放大) 显示(缩小)</el-button> |
20 | <el-upload class="fileUpdate" action="" :show-file-list="false" multiple :limit="5" :auto-upload="false" | 20 | <el-upload class="fileUpdate" action="" :show-file-list="false" multiple :auto-upload="false" |
21 | :on-change="handleChange" accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> | 21 | :on-change="handleChange" accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> |
22 | <el-button icon="el-icon-upload" type="primary">上传</el-button> | 22 | <el-button icon="el-icon-upload" type="primary">上传</el-button> |
23 | </el-upload> | 23 | </el-upload> |
... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
26 | <ul> | 26 | <ul> |
27 | <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active:previewImg.index === index}" | 27 | <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active:previewImg.index === index}" |
28 | @click="showCurrent(index)"> | 28 | @click="showCurrent(index)"> |
29 | <img :src="img.url"> | 29 | <img :src="img.fjurl"> |
30 | </li> | 30 | </li> |
31 | </ul> | 31 | </ul> |
32 | </div> | 32 | </div> |
... | @@ -37,6 +37,7 @@ | ... | @@ -37,6 +37,7 @@ |
37 | </template> | 37 | </template> |
38 | <script> | 38 | <script> |
39 | import PhotoZoom from '@/components/photo-zoom' | 39 | import PhotoZoom from '@/components/photo-zoom' |
40 | import { sjClmxUpload, sjClmxDelete } from '@/api/jsydsyqFlow' | ||
40 | import publicPicture from '@/components/publicPicture/index.vue' | 41 | import publicPicture from '@/components/publicPicture/index.vue' |
41 | export default { | 42 | export default { |
42 | name: 'PreviewImage', | 43 | name: 'PreviewImage', |
... | @@ -57,7 +58,7 @@ export default { | ... | @@ -57,7 +58,7 @@ export default { |
57 | degree: 0 | 58 | degree: 0 |
58 | }, | 59 | }, |
59 | // 缩略图 | 60 | // 缩略图 |
60 | thumbnailImages: this.previewImg.imgList, | 61 | thumbnailImages: [], |
61 | showViewer: false, | 62 | showViewer: false, |
62 | initialIndex: undefined, | 63 | initialIndex: undefined, |
63 | allLi: [], | 64 | allLi: [], |
... | @@ -66,11 +67,16 @@ export default { | ... | @@ -66,11 +67,16 @@ export default { |
66 | watch: { | 67 | watch: { |
67 | previewImg: { | 68 | previewImg: { |
68 | handler (newValue, oldValue) { | 69 | handler (newValue, oldValue) { |
69 | this.allLi = _.cloneDeep(newValue.imgList).map(item => item.url) | 70 | this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl) |
71 | this.thumbnailImages = newValue.imgList | ||
70 | }, | 72 | }, |
71 | deep: true | 73 | deep: true |
72 | } | 74 | } |
73 | }, | 75 | }, |
76 | created () { | ||
77 | this.allLi = _.cloneDeep(this.previewImg.imgList).map(item => item.fjurl) | ||
78 | this.thumbnailImages = this.previewImg.imgList | ||
79 | }, | ||
74 | computed: { | 80 | computed: { |
75 | isSingle () { | 81 | isSingle () { |
76 | return this.previewImg.imgList.length <= 1 | 82 | return this.previewImg.imgList.length <= 1 |
... | @@ -140,22 +146,43 @@ export default { | ... | @@ -140,22 +146,43 @@ export default { |
140 | }, | 146 | }, |
141 | async handleChange (file) { | 147 | async handleChange (file) { |
142 | let data = _.cloneDeep(this.previewImg.imgList[this.previewImg.index]) | 148 | let data = _.cloneDeep(this.previewImg.imgList[this.previewImg.index]) |
149 | var formdata = new FormData(); | ||
150 | formdata.append("file", file.raw); | ||
151 | formdata.append("bsmSj", this.previewImg.bsmSj); | ||
152 | formdata.append("bsmSlsq", this.previewImg.bsmSlsq); | ||
153 | sjClmxUpload(formdata).then((res) => { | ||
154 | if (res.code == 200) { | ||
155 | this.$emit('updateList', res.result) | ||
156 | this.$message({ | ||
157 | message: '上传成功!', | ||
158 | type: 'success' | ||
159 | }) | ||
160 | } | ||
161 | }) | ||
143 | }, | 162 | }, |
144 | handleDelete () { | 163 | handleDelete () { |
145 | let _this = this | 164 | let that = this |
146 | this.$confirm('此操作将永久该附件, 是否继续?', '提示', { | 165 | this.$confirm('此操作将永久删除, 是否继续?', '提示', { |
147 | confirmButtonText: '确定', | 166 | confirmButtonText: '确定', |
148 | cancelButtonText: '取消', | 167 | cancelButtonText: '取消', |
149 | type: 'warning' | 168 | type: 'warning' |
150 | }).then(async () => { | 169 | }).then(async () => { |
151 | let bsmFileList = [] | 170 | let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx |
152 | bsmFileList[0] = this.previewImg.imgList[this.previewImg.index].bsmFile | 171 | sjClmxDelete(bsmClmx).then(res => { |
172 | if (res.code == 200) { | ||
173 | that.$emit('updateList', res.result) | ||
174 | that.$message({ | ||
175 | message: '删除成功!', | ||
176 | type: 'success' | ||
177 | }) | ||
178 | } | ||
179 | }) | ||
153 | }).catch(() => { | 180 | }).catch(() => { |
154 | this.$message({ | 181 | this.$message({ |
155 | type: 'info', | 182 | type: 'info', |
156 | message: '已取消删除' | 183 | message: '已取消删除' |
157 | }); | 184 | }) |
158 | }); | 185 | }) |
159 | } | 186 | } |
160 | } | 187 | } |
161 | } | 188 | } | ... | ... |
src/views/registerBook/jsydsyq.js
0 → 100644
1 | import filter from '@/utils/filter.js' | ||
2 | |||
3 | class data extends filter { | ||
4 | constructor() { | ||
5 | super() | ||
6 | } | ||
7 | columns () { | ||
8 | return [ | ||
9 | { | ||
10 | prop: "qszt", | ||
11 | label: "权属状态", | ||
12 | }, | ||
13 | { | ||
14 | prop: "qllxmc", | ||
15 | label: "权利类型", | ||
16 | }, | ||
17 | { | ||
18 | prop: "djlxmc", | ||
19 | label: "登记类型", | ||
20 | }, | ||
21 | { | ||
22 | prop: "ssywh", | ||
23 | label: "上手业务号", | ||
24 | }, | ||
25 | { | ||
26 | prop: "dah", | ||
27 | label: "档案号", | ||
28 | }, | ||
29 | { | ||
30 | prop: "ywh", | ||
31 | label: "业务号", | ||
32 | }, | ||
33 | { | ||
34 | prop: "bdcdyh", | ||
35 | label: "不动产单元号", | ||
36 | }, | ||
37 | { | ||
38 | prop: "zl", | ||
39 | label: "坐落", | ||
40 | }, | ||
41 | { | ||
42 | prop: "qlrlx", | ||
43 | label: "权利人类型", | ||
44 | }, | ||
45 | { | ||
46 | prop: "qlrmc", | ||
47 | label: "权利人", | ||
48 | }, | ||
49 | { | ||
50 | prop: "qlrzjzl", | ||
51 | label: "证件种类", | ||
52 | }, | ||
53 | { | ||
54 | prop: "qlrzjhm", | ||
55 | label: "证件号", | ||
56 | }, | ||
57 | { | ||
58 | prop: "gyfs", | ||
59 | label: "共有情况", | ||
60 | }, | ||
61 | { | ||
62 | prop: "mj", | ||
63 | label: "使用权面积(m²)", | ||
64 | }, | ||
65 | { | ||
66 | prop: "qlxz", | ||
67 | label: "权利性质", | ||
68 | }, | ||
69 | { | ||
70 | prop: "ytmc", | ||
71 | label: "土地用途", | ||
72 | }, | ||
73 | { | ||
74 | prop: "syqqzsj", | ||
75 | label: "使用权起止时间", | ||
76 | }, | ||
77 | { | ||
78 | prop: "tdsyqx", | ||
79 | label: "土地使用期限", | ||
80 | }, | ||
81 | { | ||
82 | prop: "qdjg", | ||
83 | label: "取得价格(万元)", | ||
84 | }, | ||
85 | { | ||
86 | prop: "djyy", | ||
87 | label: "登记原因", | ||
88 | }, | ||
89 | { | ||
90 | prop: "bdcqzh", | ||
91 | label: "不动产权证号", | ||
92 | }, | ||
93 | { | ||
94 | prop: "djsj", | ||
95 | label: "登记时间", | ||
96 | }, | ||
97 | { | ||
98 | prop: "dbr", | ||
99 | label: "登簿人", | ||
100 | }, | ||
101 | { | ||
102 | prop: "fj", | ||
103 | label: "附记", | ||
104 | }, | ||
105 | ] | ||
106 | } | ||
107 | } | ||
108 | |||
109 | let datas = new data() | ||
110 | |||
111 | export { | ||
112 | datas | ||
113 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/views/registerBook/jsydsyq.vue
0 → 100644
1 | <template> | ||
2 | <div class="djxxTable"> | ||
3 | <div class="tableBox"> | ||
4 | <div class="title"> | ||
5 | {{ title }} | ||
6 | <div class="checkbox"> | ||
7 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
8 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
9 | </el-checkbox-group> | ||
10 | </div> | ||
11 | </div> | ||
12 | <div class="xxTableBox"> | ||
13 | <table class="xxTable"> | ||
14 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
15 | <td> | ||
16 | {{ item.label }} | ||
17 | </td> | ||
18 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
19 | row.qszt == '2' ? 'lishi' : '', | ||
20 | row.qszt == '0' ? 'linshi' : '', | ||
21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
22 | ]"> | ||
23 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
24 | 正在办理 | ||
25 | </div> | ||
26 | <span v-if="item.prop == 'qszt'"> | ||
27 | {{ getQsztName(row[item.prop]) }} | ||
28 | </span> | ||
29 | |||
30 | <span v-else> {{ row[item.prop] }}</span> | ||
31 | </td> | ||
32 | <td v-for="count in emptycolNum" :key="~count"></td> | ||
33 | </tr> | ||
34 | </table> | ||
35 | </div> | ||
36 | </div> | ||
37 | </div> | ||
38 | </template> | ||
39 | |||
40 | <script> | ||
41 | import { datas } from "./jsydsyq.js"; | ||
42 | import { getJsydsyqList } from "@/api/zhcx.js"; | ||
43 | export default { | ||
44 | data () { | ||
45 | return { | ||
46 | qsztList: [ | ||
47 | { | ||
48 | value: "0", | ||
49 | label: "临时", | ||
50 | }, | ||
51 | { | ||
52 | value: "1", | ||
53 | label: "现势", | ||
54 | }, | ||
55 | { | ||
56 | value: "2", | ||
57 | label: "历史", | ||
58 | }, | ||
59 | ], | ||
60 | checkList: ["0", "1", "2"], | ||
61 | //传递参数 | ||
62 | propsParam: {}, | ||
63 | //列表数据 | ||
64 | tableData: [], | ||
65 | //空列值个数 | ||
66 | emptycolNum: 0, | ||
67 | //列名称对象 | ||
68 | columns: [], | ||
69 | title: "建设用地使用权、宅基地使用权登记信息", | ||
70 | }; | ||
71 | }, | ||
72 | created () { | ||
73 | this.propsParam = this.$attrs; | ||
74 | console.log(this.$attrs, 'this.$attrs;'); | ||
75 | this.columns = datas.columns(); | ||
76 | this.loadData(); | ||
77 | // this.$alert(datas.columns()); | ||
78 | }, | ||
79 | methods: { | ||
80 | loadData () { | ||
81 | //this.$alert(this.propsParam.bdcdyh); | ||
82 | getJsydsyqList({ | ||
83 | bdcdyid: this.propsParam.bdcdyid, | ||
84 | qllx: this.propsParam.qllx, | ||
85 | qszt: this.checkList, | ||
86 | }).then((res) => { | ||
87 | if (res.code === 200) { | ||
88 | this.tableData = res.result; | ||
89 | this.emptycolNum = 3 - this.tableData.length; | ||
90 | } | ||
91 | }); | ||
92 | }, | ||
93 | checkChange () { | ||
94 | this.loadData(); | ||
95 | }, | ||
96 | getQsztName (code) { | ||
97 | let name = ""; | ||
98 | for (let item of this.qsztList) { | ||
99 | if (item.value == code) { | ||
100 | name = item.label; | ||
101 | break; | ||
102 | } | ||
103 | } | ||
104 | return name; | ||
105 | }, | ||
106 | }, | ||
107 | }; | ||
108 | </script> | ||
109 | |||
110 | <style lang="scss" scoped> | ||
111 | // @import "./qlxxCommon.scss"; | ||
112 | </style> |
... | @@ -29,7 +29,7 @@ | ... | @@ -29,7 +29,7 @@ |
29 | </el-collapse-transition> | 29 | </el-collapse-transition> |
30 | </div> | 30 | </div> |
31 | </div> | 31 | </div> |
32 | <image-preview :previewImg="previewImg" /> | 32 | <image-preview ref='imageRef' :previewImg="previewImg" @updateList="updateList" /> |
33 | </div> | 33 | </div> |
34 | </div> | 34 | </div> |
35 | <clxxAddDialog v-model="isDialog" /> | 35 | <clxxAddDialog v-model="isDialog" /> |
... | @@ -40,7 +40,6 @@ import { mapGetters } from "vuex"; | ... | @@ -40,7 +40,6 @@ import { mapGetters } from "vuex"; |
40 | import clxxAddDialog from "./clxxAddDialog.vue"; | 40 | import clxxAddDialog from "./clxxAddDialog.vue"; |
41 | import imagePreview from '@/views/components/imagePreview.vue' | 41 | import imagePreview from '@/views/components/imagePreview.vue' |
42 | import { clmlInit, move, save, clmlDelete } from "@/api/fqsq.js"; | 42 | import { clmlInit, move, save, clmlDelete } from "@/api/fqsq.js"; |
43 | import { async } from "q"; | ||
44 | export default { | 43 | export default { |
45 | components: { clxxAddDialog, imagePreview }, | 44 | components: { clxxAddDialog, imagePreview }, |
46 | data () { | 45 | data () { |
... | @@ -191,11 +190,14 @@ export default { | ... | @@ -191,11 +190,14 @@ export default { |
191 | key: 0, | 190 | key: 0, |
192 | tableData: [], | 191 | tableData: [], |
193 | previewImg: { | 192 | previewImg: { |
193 | // 收件标识码 | ||
194 | bsmSj: '', | ||
195 | bsmSlsq: this.$parent.bsmSlsq, | ||
194 | index: 0, | 196 | index: 0, |
195 | selectedIndex: 0, | 197 | selectedIndex: 0, |
196 | imgList: [ | 198 | imgList: [ |
197 | { | 199 | { |
198 | url: 'https://img2.baidu.com/it/u=2955521104,3257476296&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=1111' | 200 | fjurl: 'https://img2.baidu.com/it/u=2955521104,3257476296&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=1111' |
199 | } | 201 | } |
200 | ] | 202 | ] |
201 | } | 203 | } |
... | @@ -213,21 +215,44 @@ export default { | ... | @@ -213,21 +215,44 @@ export default { |
213 | return new Promise(resolve => { | 215 | return new Promise(resolve => { |
214 | this.unitData = this.$parent.unitData; | 216 | this.unitData = this.$parent.unitData; |
215 | var formdata = new FormData(); | 217 | var formdata = new FormData(); |
216 | formdata.append("bsmSldy", this.unitData[0].bsmSldy); | 218 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); |
217 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | 219 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); |
218 | clmlInit(formdata).then((res) => { | 220 | clmlInit(formdata).then((res) => { |
219 | resolve(res.code) | 221 | resolve(res.code) |
220 | if (res.result.result) { | 222 | if (res.result.result && res.result.result.length > 0) { |
221 | this.tableData = res.result.result; | 223 | this.tableData = res.result.result; |
222 | this.treeCheckId = this.tableData[0].bsmSj; | 224 | this.treeCheckId = this.tableData[0].bsmSj; |
223 | this.title = this.tableData[0].sjmc; | 225 | this.title = this.tableData[0].sjmc; |
224 | this.titleYs = 1; | 226 | this.titleYs = 1; |
225 | this.titleNum = this.tableData[0].children.length; | 227 | this.titleNum = this.tableData[0].children.length; |
228 | |||
229 | this.previewImg.imgList = this.tableData[0]?.children; | ||
230 | this.previewImg.bsmSj = this.tableData[0]?.bsmSj; | ||
226 | } | 231 | } |
227 | console.log(this.tableData); | ||
228 | }) | 232 | }) |
229 | }) | 233 | }) |
230 | }, | 234 | }, |
235 | updateList (val) { | ||
236 | if(val!=null){ //删除最后一张图片时 val=null | ||
237 | this.tableData.forEach(item => { | ||
238 | if (item.bsmSj === val.bsmSj) { | ||
239 | item.children = val.children | ||
240 | } | ||
241 | }) | ||
242 | this.previewImg.imgList = _.cloneDeep(val.children) | ||
243 | if (this.previewImg.index == this.previewImg.imgList.length) { | ||
244 | this.previewImg.index = this.previewImg.index - 1 | ||
245 | } | ||
246 | }else{ | ||
247 | this.previewImg.imgList = [] | ||
248 | this.tableData.forEach(item => { | ||
249 | if(this.treeCheckId == item.bsmSj){ | ||
250 | item.children = [] | ||
251 | } | ||
252 | }) | ||
253 | } | ||
254 | |||
255 | }, | ||
231 | // 左侧菜单点击 | 256 | // 左侧菜单点击 |
232 | menuClick (item) { | 257 | menuClick (item) { |
233 | this.checkedId = item.id | 258 | this.checkedId = item.id |
... | @@ -278,15 +303,8 @@ export default { | ... | @@ -278,15 +303,8 @@ export default { |
278 | }, | 303 | }, |
279 | // 新增弹窗保存 | 304 | // 新增弹窗保存 |
280 | addSave (data) { | 305 | addSave (data) { |
281 | let maxXh = 0; | ||
282 | this.tableData && this.tableData.forEach((item) => { | ||
283 | if (item.xh > maxXh) { | ||
284 | maxXh = item.xh; | ||
285 | } | ||
286 | }); | ||
287 | let obj = { | 306 | let obj = { |
288 | bsmSlsq: this.id, | 307 | bsmSlsq: this.$parent.bsmSlsq, |
289 | xh: maxXh + 1, | ||
290 | isrequired: "1", | 308 | isrequired: "1", |
291 | sjmc: data.clmc, | 309 | sjmc: data.clmc, |
292 | sjsl: 0, | 310 | sjsl: 0, |
... | @@ -295,31 +313,39 @@ export default { | ... | @@ -295,31 +313,39 @@ export default { |
295 | sjlx: data.cllx, | 313 | sjlx: data.cllx, |
296 | sfxjcl: "1", // 是否必选 | 314 | sfxjcl: "1", // 是否必选 |
297 | }; | 315 | }; |
298 | save(obj).then((res) => { | 316 | save(obj).then(async (res) => { |
299 | console.log(res); | ||
300 | if (res.code == 200) { | 317 | if (res.code == 200) { |
301 | this.$message({ | 318 | let res = await this.clmlInitList() |
319 | if (res == 200) this.$message({ | ||
302 | message: "新增成功", | 320 | message: "新增成功", |
303 | type: "success", | 321 | type: "success", |
304 | }); | 322 | }) |
305 | this.tableData = res.result ? res.result : []; | ||
306 | // 加载表格 | ||
307 | this.clmlmxInit(); | ||
308 | } | 323 | } |
309 | }); | 324 | }); |
310 | }, | 325 | }, |
311 | // 材料目录删除 | 326 | // 材料目录删除 |
312 | handleDelete (index, row) { | 327 | handleDelete (index, row) { |
313 | clmlDelete({ sjBsm: row.bsmSj }).then((res) => { | 328 | let that = this |
329 | this.$confirm('此操作将永久删除该 是否继续?', '提示', { | ||
330 | confirmButtonText: '确定', | ||
331 | cancelButtonText: '取消', | ||
332 | type: 'warning' | ||
333 | }).then(() => { | ||
334 | clmlDelete({ sjBsm: row.bsmSj }).then(async (res) => { | ||
314 | if (res.code == 200) { | 335 | if (res.code == 200) { |
315 | this.$message({ | 336 | let res = await that.clmlInitList() |
337 | if (res == 200) that.$message({ | ||
316 | message: "删除成功", | 338 | message: "删除成功", |
317 | type: "success", | 339 | type: "success", |
318 | }); | 340 | }) |
319 | // 加载表格 | ||
320 | this.clmlmxInit(); | ||
321 | } | 341 | } |
322 | }); | 342 | }) |
343 | }).catch(() => { | ||
344 | this.$message({ | ||
345 | type: 'info', | ||
346 | message: '已取消删除' | ||
347 | }) | ||
348 | }) | ||
323 | }, | 349 | }, |
324 | // 材料目录关闭收起 | 350 | // 材料目录关闭收起 |
325 | iconClick () { | 351 | iconClick () { |
... | @@ -333,9 +359,8 @@ export default { | ... | @@ -333,9 +359,8 @@ export default { |
333 | // 材料目录点击选中 | 359 | // 材料目录点击选中 |
334 | treeClick (item) { | 360 | treeClick (item) { |
335 | this.treeCheckId = item.bsmSj; | 361 | this.treeCheckId = item.bsmSj; |
336 | this.title = item.sjmc; | 362 | this.previewImg.imgList = item?.children; |
337 | this.titleYs = 1; | 363 | this.previewImg.bsmSj = item?.bsmSj; |
338 | this.titleNum = item.children.length; | ||
339 | }, | 364 | }, |
340 | // 小图片点击 | 365 | // 小图片点击 |
341 | imgClick (item, index) { | 366 | imgClick (item, index) { | ... | ... |
File moved
1 | <template> | 1 | <template> |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 发证信息 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="ruleForm"> | 5 | <el-form :model="ruleForm"> |
6 | <el-row :gutter="20"> | 6 | <el-row :gutter="20"> |
... | @@ -36,14 +36,12 @@ | ... | @@ -36,14 +36,12 @@ |
36 | <script> | 36 | <script> |
37 | import table from "@/utils/mixin/table"; | 37 | import table from "@/utils/mixin/table"; |
38 | import { getCertificateList } from "@/api/fqsq.js"; | 38 | import { getCertificateList } from "@/api/fqsq.js"; |
39 | import { datas } from "./fzxxdata"; | 39 | import { datas } from "../javascript/fzxxdata"; |
40 | export default { | 40 | export default { |
41 | mixins: [table], | 41 | mixins: [table], |
42 | components: {}, | 42 | components: {}, |
43 | props: { | 43 | props: { |
44 | |||
45 | }, | 44 | }, |
46 | |||
47 | data () { | 45 | data () { |
48 | return { | 46 | return { |
49 | ruleForm: { | 47 | ruleForm: { |
... | @@ -56,8 +54,8 @@ export default { | ... | @@ -56,8 +54,8 @@ export default { |
56 | total: 0, | 54 | total: 0, |
57 | columns: datas.columns(), | 55 | columns: datas.columns(), |
58 | data: [], | 56 | data: [], |
59 | }, | 57 | } |
60 | }; | 58 | } |
61 | }, | 59 | }, |
62 | methods: { | 60 | methods: { |
63 | // 列表渲染接口 | 61 | // 列表渲染接口 |
... | @@ -68,9 +66,9 @@ export default { | ... | @@ -68,9 +66,9 @@ export default { |
68 | this.tableData.data = res.result | 66 | this.tableData.data = res.result |
69 | } | 67 | } |
70 | }) | 68 | }) |
71 | }, | ||
72 | } | 69 | } |
73 | }; | 70 | } |
71 | } | ||
74 | </script> | 72 | </script> |
75 | <style scoped lang='scss'> | 73 | <style scoped lang='scss'> |
76 | @import "~@/styles/public.scss"; | 74 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -101,15 +101,12 @@ export default { | ... | @@ -101,15 +101,12 @@ export default { |
101 | this.$message.error(res.message) | 101 | this.$message.error(res.message) |
102 | } | 102 | } |
103 | }) | 103 | }) |
104 | 104 | } | |
105 | }, | 105 | } |
106 | |||
107 | }, | ||
108 | } | 106 | } |
109 | </script> | 107 | </script> |
110 | <style scoped lang='scss'> | 108 | <style scoped lang='scss'> |
111 | @import '~@/styles/mixin.scss'; | 109 | @import '~@/styles/mixin.scss'; |
112 | |||
113 | .spyj { | 110 | .spyj { |
114 | margin-left: 5px; | 111 | margin-left: 5px; |
115 | 112 | ... | ... |
1 | <template> | 1 | <template> |
2 | <dialogBox title="退回" @submitForm="submitForm" saveButton="确认退回" width="80%" | 2 | <dialogBox title="退回" @submitForm="submitForm" saveButton="确认退回" width="80%" @closeDialog="closeDialog" |
3 | @closeDialog="closeDialog" v-model="value"> | 3 | v-model="value"> |
4 | <div class="from-clues"> | 4 | <div class="from-clues"> |
5 | <!-- 表单部分 --> | 5 | <!-- 表单部分 --> |
6 | <div class="from-clues-header"> | 6 | <div class="from-clues-header"> |
7 | <el-form ref="queryForm" label-width="120px"> | 7 | <el-form ref="queryForm" label-width="120px"> |
8 | <div> | 8 | <div> |
9 | <!-- <el-form-item label="不动产单元号:"> | 9 | <lb-table :column="columns" border :heightNum="390" :pagination="false" heightNumSetting :data="tableData"> |
10 | <p>{{item.bdcdyh}}</p> | ||
11 | </el-form-item> --> | ||
12 | <lb-table :column="columns" border :heightNum="390" :pagination="false" heightNumSetting | ||
13 | :data="tableData"> | ||
14 | </lb-table> | 10 | </lb-table> |
15 | <el-form-item label="退回意见:"> | 11 | <el-form-item label="退回意见:"> |
16 | <el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input> | 12 | <el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input> |
... | @@ -23,32 +19,26 @@ | ... | @@ -23,32 +19,26 @@ |
23 | </template> | 19 | </template> |
24 | 20 | ||
25 | <script> | 21 | <script> |
26 | import { getTaskBackNode,sendBackTask } from "@/api/fqsq.js" | 22 | import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js" |
27 | export default { | 23 | export default { |
28 | components: { | 24 | components: { |
29 | }, | 25 | }, |
30 | props: { | 26 | props: { |
31 | value: { type: Boolean, default: false }, | 27 | value: { type: Boolean, default: false }, |
32 | queryForm:{type:Object}, | 28 | queryForm: { type: Object }, |
33 | taskId:{type:String}, | 29 | taskId: { type: String }, |
34 | bsmBusiness:{type:String} | 30 | bsmBusiness: { type: String } |
35 | }, | 31 | }, |
36 | data () { | 32 | data () { |
37 | const columns=[ | 33 | const columns = [ |
38 | // { | ||
39 | // label: '', | ||
40 | // align: 'center', | ||
41 | // render: (h, scope) => { | ||
42 | // return <el-radio label={scope.row.taskid} v-model={this.radioVal} >{''}</el-radio> | ||
43 | // } | ||
44 | // }, | ||
45 | { | 34 | { |
46 | label: "", | 35 | label: "", |
47 | width: "36px", | 36 | width: "36px", |
48 | render: (h, scope) => { | 37 | render: (h, scope) => { |
49 | return ( | 38 | return ( |
50 | <div class="orgColumn"> | 39 | <div class="orgColumn"> |
51 | <el-radio v-model={this.radioVal} label={scope.row.taskid} onChange={() => {this.radioClick(scope.row); | 40 | <el-radio v-model={this.radioVal} label={scope.row.taskid} onChange={() => { |
41 | this.radioClick(scope.row); | ||
52 | }}> | 42 | }}> |
53 | {" "} | 43 | {" "} |
54 |   | 44 |   |
... | @@ -65,50 +55,49 @@ export default { | ... | @@ -65,50 +55,49 @@ export default { |
65 | prop: "assignee", | 55 | prop: "assignee", |
66 | label: "办理人", | 56 | label: "办理人", |
67 | }, | 57 | }, |
68 | |||
69 | ]; | 58 | ]; |
70 | return { | 59 | return { |
71 | columns, | 60 | columns, |
72 | radioVal:"", | 61 | radioVal: "", |
73 | outstepopinion:"", | 62 | outstepopinion: "", |
74 | tableData:[], | 63 | tableData: [], |
75 | list:{ | 64 | list: { |
76 | bsmSlsq:"", | 65 | bsmSlsq: "", |
77 | backNodeList:[], | 66 | backNodeList: [], |
78 | }, | 67 | }, |
79 | sumbitList:{}, | 68 | sumbitList: {}, |
80 | activityId:"", | 69 | activityId: "", |
81 | } | 70 | } |
82 | }, | 71 | }, |
83 | mounted(){ | 72 | mounted () { |
84 | if(this.$route.query.bsmSlsq){ | 73 | if (this.$route.query.bsmSlsq) { |
85 | this.list.bsmSlsq = this.$route.query.bsmSlsq | 74 | this.list.bsmSlsq = this.$route.query.bsmSlsq |
86 | } | 75 | } |
87 | }, | 76 | }, |
88 | methods: { | 77 | methods: { |
89 | tablelistFn(){ | 78 | tablelistFn () { |
90 | getTaskBackNode({bsmBusiness:this.bsmBusiness}).then(res => { | 79 | getTaskBackNode({ bsmBusiness: this.bsmBusiness }).then(res => { |
91 | if (res.code === 200) { | 80 | if (res.code === 200) { |
92 | this.tableData = res.result | 81 | this.tableData = res.result |
93 | } | 82 | } |
94 | }) | 83 | }) |
95 | }, | 84 | }, |
96 | radioClick(scope){ | 85 | radioClick (scope) { |
97 | this.activityId = scope.activityId | 86 | this.activityId = scope.activityId |
98 | this.sumbitList = scope | 87 | this.sumbitList = scope |
99 | 88 | ||
100 | }, | 89 | }, |
101 | submitForm () { | 90 | submitForm () { |
102 | if(this.activityId==undefined){ | 91 | if (this.activityId == undefined) { |
103 | this.$message.error('请至少选择一条数据'); | 92 | this.$message.error('请至少选择一条数据'); |
104 | return | 93 | return |
105 | } | 94 | } |
106 | this.list.backNodeList.push({ | 95 | this.list.backNodeList.push({ |
107 | id:this.taskId, | 96 | id: this.taskId, |
108 | taskid:this.activityId, | 97 | taskid: this.activityId, |
109 | processInstanceId:this.sumbitList.processInstanceId, | 98 | processInstanceId: this.sumbitList.processInstanceId, |
110 | bsmBusiness:this.bsmBusiness, | 99 | bsmBusiness: this.bsmBusiness, |
111 | outstepopinion:this.outstepopinion | 100 | outstepopinion: this.outstepopinion |
112 | }) | 101 | }) |
113 | sendBackTask(this.list).then(res => { | 102 | sendBackTask(this.list).then(res => { |
114 | if (res.code === 200) { | 103 | if (res.code === 200) { |
... | @@ -120,7 +109,7 @@ export default { | ... | @@ -120,7 +109,7 @@ export default { |
120 | this.$emit('input', false) | 109 | this.$emit('input', false) |
121 | }, 1000); | 110 | }, 1000); |
122 | 111 | ||
123 | }else{ | 112 | } else { |
124 | this.$message.error(res.message) | 113 | this.$message.error(res.message) |
125 | } | 114 | } |
126 | }) | 115 | }) |
... | @@ -134,6 +123,7 @@ export default { | ... | @@ -134,6 +123,7 @@ export default { |
134 | </script> | 123 | </script> |
135 | <style scoped lang="scss"> | 124 | <style scoped lang="scss"> |
136 | @import "~@/styles/mixin.scss"; | 125 | @import "~@/styles/mixin.scss"; |
126 | |||
137 | .textArea { | 127 | .textArea { |
138 | /deep/.el-textarea__inner { | 128 | /deep/.el-textarea__inner { |
139 | min-height: 90px !important; | 129 | min-height: 90px !important; | ... | ... |
... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
28 | <script> | 28 | <script> |
29 | import table from "@/utils/mixin/table"; | 29 | import table from "@/utils/mixin/table"; |
30 | import { getCertificateList, issueCertificate } from "@/api/fqsq.js"; | 30 | import { getCertificateList, issueCertificate } from "@/api/fqsq.js"; |
31 | import { datas } from "./fzxxdata"; | 31 | import { datas } from "../javascript/fzxxdata"; |
32 | import { mapGetters } from 'vuex' | 32 | import { mapGetters } from 'vuex' |
33 | export default { | 33 | export default { |
34 | mixins: [table], | 34 | mixins: [table], | ... | ... |
... | @@ -49,7 +49,7 @@ | ... | @@ -49,7 +49,7 @@ |
49 | </template> | 49 | </template> |
50 | 50 | ||
51 | <script> | 51 | <script> |
52 | import { datas } from "./zsyl.js"; | 52 | import { datas } from "../javascript/zsyl.js"; |
53 | import { readYsxlh,certificate } from "@/api/fqsq.js" | 53 | import { readYsxlh,certificate } from "@/api/fqsq.js" |
54 | export default { | 54 | export default { |
55 | components: { | 55 | components: { | ... | ... |
1 | //流程环节操作按钮 | 1 | //流程环节操作按钮 |
2 | export function getForm(tabName) { | 2 | export function getForm (tabName) { |
3 | let form; | 3 | let form; |
4 | switch (tabName) { | 4 | switch (tabName) { |
5 | case "slxx": | 5 | case "slxx": |
6 | form = require("@/views/ywbl/fqsq/components/slxx.vue"); | 6 | form = require("@/views/ywbl/jsydsyq/slxx.vue"); |
7 | break; | 7 | break; |
8 | case "slxxCfdj": | 8 | case "slxxCfdj": |
9 | form = require("@/views/ywbl/fqsq/components/slxxCfdj.vue"); | 9 | form = require("@/views/ywbl/cfdj/slxx.vue"); |
10 | break; | 10 | break; |
11 | case "clxx": | 11 | case "clxx": |
12 | form = require("@/views/ywbl/fqsq/components/clxx.vue"); | 12 | form = require("@/views/workflow/components/clxx.vue"); |
13 | break; | 13 | break; |
14 | case "spyj": | 14 | case "spyj": |
15 | form = require("@/views/ywbl/fqsq/components/spyj.vue"); | 15 | form = require("@/views/workflow/components/spyj.vue"); |
16 | break; | 16 | break; |
17 | case "zdjbxx": | 17 | case "zdjbxx": |
18 | form = require("@/views/zhcx/djbcx/components/zdxx.vue"); | 18 | form = require("@/views/zhcx/djbcx/components/zdxx.vue"); |
... | @@ -21,10 +21,10 @@ export function getForm(tabName) { | ... | @@ -21,10 +21,10 @@ export function getForm(tabName) { |
21 | form = require("@/views/zhcx/djbcx/components/jsydsyq.vue"); | 21 | form = require("@/views/zhcx/djbcx/components/jsydsyq.vue"); |
22 | break; | 22 | break; |
23 | case "szxx": | 23 | case "szxx": |
24 | form = require("@/views/ywbl/fqsq/components/szxx.vue"); | 24 | form = require("@/views/workflow/components/szxx.vue"); |
25 | break; | 25 | break; |
26 | case "fzxx": | 26 | case "fzxx": |
27 | form = require("@/views/ywbl/fqsq/components/fzxx.vue"); | 27 | form = require("@/views/workflow/components/fzxx.vue"); |
28 | break; | 28 | break; |
29 | } | 29 | } |
30 | 30 | ... | ... |
... | @@ -122,13 +122,13 @@ | ... | @@ -122,13 +122,13 @@ |
122 | } | 122 | } |
123 | 123 | ||
124 | .map-drawer-expand { | 124 | .map-drawer-expand { |
125 | background: url("../../../image/right.png"); | 125 | background: url("../../image/right.png"); |
126 | background-size: cover; | 126 | background-size: cover; |
127 | right: 0%; | 127 | right: 0%; |
128 | } | 128 | } |
129 | 129 | ||
130 | .map-drawer-click { | 130 | .map-drawer-click { |
131 | background: url("../../../image/left.png"); | 131 | background: url("../../image/left.png"); |
132 | background-size: cover; | 132 | background-size: cover; |
133 | left: 0%; | 133 | left: 0%; |
134 | } | 134 | } | ... | ... |
... | @@ -74,9 +74,9 @@ import { | ... | @@ -74,9 +74,9 @@ import { |
74 | record, | 74 | record, |
75 | getNextLinkInfo, | 75 | getNextLinkInfo, |
76 | completeTask, | 76 | completeTask, |
77 | } from "@/api/fqsq.js"; | 77 | } from "@/api/fqsq.js" |
78 | import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" | 78 | import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" |
79 | import { getForm } from "./flowform.js"; | 79 | import { getForm } from "./flowform.js" |
80 | export default { | 80 | export default { |
81 | data () { | 81 | data () { |
82 | return { | 82 | return { |
... | @@ -115,7 +115,7 @@ export default { | ... | @@ -115,7 +115,7 @@ export default { |
115 | clxxIndex: "", | 115 | clxxIndex: "", |
116 | //材料信息选项卡对象 | 116 | //材料信息选项卡对象 |
117 | clxxTab: {}, | 117 | clxxTab: {}, |
118 | }; | 118 | } |
119 | }, | 119 | }, |
120 | mounted () { | 120 | mounted () { |
121 | this.loadBdcdylist(); | 121 | this.loadBdcdylist(); |
... | @@ -145,7 +145,7 @@ export default { | ... | @@ -145,7 +145,7 @@ export default { |
145 | //默认加载第一个选项卡的组件内容 | 145 | //默认加载第一个选项卡的组件内容 |
146 | this.getFromRouter(res.result.form[0].value); | 146 | this.getFromRouter(res.result.form[0].value); |
147 | } | 147 | } |
148 | }); | 148 | }) |
149 | }, | 149 | }, |
150 | //流程环节操作按钮 | 150 | //流程环节操作按钮 |
151 | operation (index, item) { | 151 | operation (index, item) { |
... | @@ -187,7 +187,6 @@ export default { | ... | @@ -187,7 +187,6 @@ export default { |
187 | this.send(res.result); | 187 | this.send(res.result); |
188 | } | 188 | } |
189 | }); | 189 | }); |
190 | // this.$alert(res.result); | ||
191 | break; | 190 | break; |
192 | case "signout": | 191 | case "signout": |
193 | window.close(); | 192 | window.close(); |
... | @@ -196,7 +195,6 @@ export default { | ... | @@ -196,7 +195,6 @@ export default { |
196 | var formdata = new FormData(); | 195 | var formdata = new FormData(); |
197 | formdata.append("bsmSlsq", this.bsmSlsq); | 196 | formdata.append("bsmSlsq", this.bsmSlsq); |
198 | formdata.append("bestepid", this.bestepid); | 197 | formdata.append("bestepid", this.bestepid); |
199 | // comMsg; | ||
200 | this.$confirm("请确认是否登簿", "提示", { | 198 | this.$confirm("请确认是否登簿", "提示", { |
201 | iconClass: "el-icon-question", //自定义图标样式 | 199 | iconClass: "el-icon-question", //自定义图标样式 |
202 | confirmButtonText: "确认", //确认按钮文字更换 | 200 | confirmButtonText: "确认", //确认按钮文字更换 | ... | ... |
... | @@ -129,7 +129,7 @@ | ... | @@ -129,7 +129,7 @@ |
129 | </div> | 129 | </div> |
130 | </template> | 130 | </template> |
131 | <script> | 131 | <script> |
132 | import InformationTable from "./InformationTable"; | 132 | import InformationTable from "@/views/workflow/components/InformationTable"; |
133 | import { Init, fristReg } from "@/api/cfdjFlow.js"; | 133 | import { Init, fristReg } from "@/api/cfdjFlow.js"; |
134 | import { mapGetters } from "vuex"; | 134 | import { mapGetters } from "vuex"; |
135 | export default { | 135 | export default { | ... | ... |
src/views/ywbl/commonForm/clxx.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/ywbl/commonForm/clxxAddDialog.vue
0 → 100644
1 | <template> | ||
2 | <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" | ||
3 | :isFullscreen="false"> | ||
4 | <el-form :model="ruleForm" ref="ruleForm" label-width="70px"> | ||
5 | <el-row> | ||
6 | <el-col :span="24"> | ||
7 | <el-form-item label="材料类型"> | ||
8 | <el-select v-model="ruleForm.cllx" class="width100" placeholder="请选择"> | ||
9 | <el-option v-for="item in dictData['A40']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
10 | </el-option> | ||
11 | </el-select> | ||
12 | </el-form-item> | ||
13 | </el-col> | ||
14 | </el-row> | ||
15 | <el-row :gutter="20"> | ||
16 | <el-col :span="24"> | ||
17 | <el-form-item label="材料名称"> | ||
18 | <el-input v-model="ruleForm.clmc"></el-input> | ||
19 | </el-form-item> | ||
20 | </el-col> | ||
21 | </el-row> | ||
22 | </el-form> | ||
23 | </dialogBox> | ||
24 | </template> | ||
25 | |||
26 | <script> | ||
27 | import { mapGetters } from "vuex"; | ||
28 | export default { | ||
29 | props: { | ||
30 | value: { type: Boolean, default: false }, | ||
31 | }, | ||
32 | data () { | ||
33 | return { | ||
34 | myValue: this.value, | ||
35 | ruleForm: { | ||
36 | cllx: "", | ||
37 | clmc: "", | ||
38 | }, | ||
39 | }; | ||
40 | }, | ||
41 | computed: { | ||
42 | ...mapGetters(["dictData"]), | ||
43 | }, | ||
44 | watch: { | ||
45 | value (val) { | ||
46 | this.myValue = val; | ||
47 | }, | ||
48 | }, | ||
49 | methods: { | ||
50 | closeDialog () { | ||
51 | this.$emit("input", false); | ||
52 | }, | ||
53 | handleSubmit () { | ||
54 | this.$parent.addSave(this.ruleForm); | ||
55 | this.$emit("input", false); | ||
56 | }, | ||
57 | }, | ||
58 | }; | ||
59 | </script> | ||
60 | <style scoped lang="scss"> | ||
61 | .submit-button { | ||
62 | text-align: center; | ||
63 | height: 52px; | ||
64 | padding-top: 10px; | ||
65 | background-color: #fff; | ||
66 | } | ||
67 | </style> |
src/views/ywbl/components/mixin/index.js
0 → 100644
1 | export default { | ||
2 | data () { | ||
3 | return { | ||
4 | isSearch: false, | ||
5 | searchList: [] | ||
6 | } | ||
7 | }, | ||
8 | methods: { | ||
9 | moreQueryClick () { | ||
10 | this.isSearch = true | ||
11 | }, | ||
12 | getSearch (val) { | ||
13 | let obj = { ywlymc: '业务来源', sqywmc: '申请业务名称', qlrmc: '权利人', ywrmc: '义务人', slsj: '受理时间' } | ||
14 | this.searchList = Object.entries(val).map((item) => { | ||
15 | const [name, value] = item | ||
16 | if (value) return { name: obj[name], value } | ||
17 | }).filter(Boolean) | ||
18 | }, | ||
19 | hanldeCleanAll () { | ||
20 | this.searchList = [] | ||
21 | } | ||
22 | } | ||
23 | } |
src/views/ywbl/components/search.vue
0 → 100644
1 | <!-- | ||
2 | 功能:高级搜索 | ||
3 | 作者:calliope | ||
4 | --> | ||
5 | <template> | ||
6 | <dialogBox :isButton="false" :isFullscreen="false" width="50%" @closeDialog="closeDialog" v-model="myValue" | ||
7 | title="高级搜索"> | ||
8 | <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> | ||
9 | <el-row> | ||
10 | <el-col :span="8"> | ||
11 | <el-form-item label="业务来源" prop="ywlymc"> | ||
12 | <el-input v-model="ruleForm.ywlymc"></el-input> | ||
13 | </el-form-item> | ||
14 | </el-col> | ||
15 | <el-col :span="8"> | ||
16 | <el-form-item label="申请业务名称" prop="sqywmc"> | ||
17 | <el-input v-model="ruleForm.sqywmc"></el-input> | ||
18 | </el-form-item> | ||
19 | </el-col> | ||
20 | <el-col :span="8"> | ||
21 | <el-form-item label="权利人" prop="qlrmc"> | ||
22 | <el-input v-model="ruleForm.qlrmc"></el-input> | ||
23 | </el-form-item> | ||
24 | </el-col> | ||
25 | </el-row> | ||
26 | <el-row> | ||
27 | <el-col :span="8"> | ||
28 | <el-form-item label="义务人" prop="ywrmc"> | ||
29 | <el-input v-model="ruleForm.ywrmc"></el-input> | ||
30 | </el-form-item> | ||
31 | </el-col> | ||
32 | <el-col :span="8"> | ||
33 | <el-form-item label="受理时间" prop="slsj"> | ||
34 | <el-date-picker v-model="ruleForm.slsj" value-format="yyyy-MM-dd" class="width100" type="date" | ||
35 | placeholder="请选择日期" clearable> | ||
36 | </el-date-picker> | ||
37 | </el-form-item> | ||
38 | </el-col> | ||
39 | </el-row> | ||
40 | <el-row class="search-btn"> | ||
41 | <el-button type="text" @click.native="closeDialog">收起搜索</el-button> | ||
42 | <el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button> | ||
43 | <el-button icon="el-icon-refresh-left" @click="resetForm('ruleForm')">重置</el-button> | ||
44 | </el-row> | ||
45 | </el-form> | ||
46 | </dialogBox> | ||
47 | </template> | ||
48 | <script> | ||
49 | |||
50 | export default { | ||
51 | props: { | ||
52 | value: { type: Boolean, default: false }, | ||
53 | }, | ||
54 | data () { | ||
55 | return { | ||
56 | myValue: this.value, | ||
57 | ruleForm: { | ||
58 | ywlymc: '', | ||
59 | sqywmc: '', | ||
60 | qlrmc: '', | ||
61 | ywrmc: '', | ||
62 | slsj: '' | ||
63 | } | ||
64 | } | ||
65 | }, | ||
66 | watch: { | ||
67 | value (val) { | ||
68 | this.myValue = val | ||
69 | } | ||
70 | }, | ||
71 | methods: { | ||
72 | closeDialog () { | ||
73 | this.$emit('input', false) | ||
74 | }, | ||
75 | resetForm () { | ||
76 | this.$refs['ruleForm'].resetFields() | ||
77 | }, | ||
78 | submitForm () { | ||
79 | this.$emit('getSearch', this.ruleForm) | ||
80 | this.$refs['ruleForm'].resetFields() | ||
81 | this.$emit('input', false) | ||
82 | } | ||
83 | } | ||
84 | } | ||
85 | </script> | ||
86 | <style scoped lang='scss'> | ||
87 | @import '~@/styles/public.scss'; | ||
88 | |||
89 | .search-btn { | ||
90 | padding: 0 20px 20px 20px; | ||
91 | text-align: right; | ||
92 | } | ||
93 | |||
94 | /deep/.el-icon-date { | ||
95 | display: none; | ||
96 | } | ||
97 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -45,9 +45,13 @@ | ... | @@ -45,9 +45,13 @@ |
45 | <el-row class="advanced-search"> | 45 | <el-row class="advanced-search"> |
46 | <span>高级搜索条件:</span> | 46 | <span>高级搜索条件:</span> |
47 | <ul> | 47 | <ul> |
48 | <li>不动产单元号:201252222<i class="el-icon-circle-close"></i></li> | 48 | <li v-for="(item,index) in searchList" :key="index"> |
49 | {{item.name}}:{{item.value}} | ||
50 | <i class="el-icon-circle-close" @click="handelItem(index)"></i> | ||
51 | </li> | ||
49 | </ul> | 52 | </ul> |
50 | <el-button class="clean-btn" type="text">清除全部</el-button> | 53 | <el-button class="clean-btn" type="text" v-if="searchList.length>0" @click.native="hanldeCleanAll">清除全部 |
54 | </el-button> | ||
51 | </el-row> | 55 | </el-row> |
52 | </el-form> | 56 | </el-form> |
53 | </div> | 57 | </div> |
... | @@ -57,17 +61,20 @@ | ... | @@ -57,17 +61,20 @@ |
57 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 61 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> |
58 | </lb-table> | 62 | </lb-table> |
59 | </div> | 63 | </div> |
64 | <searchBox v-model="isSearch" @getSearch="getSearch" /> | ||
60 | </div> | 65 | </div> |
61 | </template> | 66 | </template> |
62 | <script> | 67 | <script> |
63 | import table from "@/utils/mixin/table"; | ||
64 | import { datas, sendThis } from "./dbxdata"; | ||
65 | import { searchTaskToDo, deleteFlow } from "@/api/ywbl.js" | ||
66 | import { mapGetters } from 'vuex' | 68 | import { mapGetters } from 'vuex' |
69 | import searchBox from '../components/search.vue' | ||
70 | import table from "@/utils/mixin/table" | ||
71 | import searchMin from "../components/mixin/index" | ||
72 | import { datas, sendThis } from "./dbxdata" | ||
73 | import { searchTaskToDo, deleteFlow } from "@/api/ywbl.js" | ||
67 | export default { | 74 | export default { |
68 | name: "dbx", | 75 | name: "dbx", |
69 | components: {}, | 76 | components: { searchBox }, |
70 | mixins: [table], | 77 | mixins: [table, searchMin], |
71 | computed: { | 78 | computed: { |
72 | ...mapGetters(['dictData']), | 79 | ...mapGetters(['dictData']), |
73 | }, | 80 | }, |
... | @@ -83,12 +90,11 @@ export default { | ... | @@ -83,12 +90,11 @@ export default { |
83 | total: 0, | 90 | total: 0, |
84 | columns: datas.columns(), | 91 | columns: datas.columns(), |
85 | data: [], | 92 | data: [], |
86 | }, | 93 | } |
87 | }; | 94 | } |
88 | }, | 95 | }, |
89 | mounted () { | 96 | mounted () { |
90 | sendThis(this); | 97 | sendThis(this); |
91 | let that = this | ||
92 | window.addEventListener('visibilitychange', this.init, true) | 98 | window.addEventListener('visibilitychange', this.init, true) |
93 | }, | 99 | }, |
94 | destroyed () { | 100 | destroyed () { |
... | @@ -111,7 +117,6 @@ export default { | ... | @@ -111,7 +117,6 @@ export default { |
111 | searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => { | 117 | searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => { |
112 | if (res.code === 200) { | 118 | if (res.code === 200) { |
113 | let { total, records } = res.result | 119 | let { total, records } = res.result |
114 | let str = '' | ||
115 | records.forEach(item => { | 120 | records.forEach(item => { |
116 | item.qlrmc = item.qlrmc.join(',') | 121 | item.qlrmc = item.qlrmc.join(',') |
117 | item.ywh = item.ywh.join(',') | 122 | item.ywh = item.ywh.join(',') |
... | @@ -120,7 +125,6 @@ export default { | ... | @@ -120,7 +125,6 @@ export default { |
120 | item.qlrmcStr = item.qlrmc ? String(item.qlrmc) : '' | 125 | item.qlrmcStr = item.qlrmc ? String(item.qlrmc) : '' |
121 | item.ywrmcStr = item.ywrmc ? String(item.ywrmc) : '' | 126 | item.ywrmcStr = item.ywrmc ? String(item.ywrmc) : '' |
122 | }) | 127 | }) |
123 | console.log(records); | ||
124 | this.tableData.total = total; | 128 | this.tableData.total = total; |
125 | this.tableData.data = records ? records : [] | 129 | this.tableData.data = records ? records : [] |
126 | } | 130 | } |
... | @@ -129,6 +133,11 @@ export default { | ... | @@ -129,6 +133,11 @@ export default { |
129 | queryClick () { | 133 | queryClick () { |
130 | this.fetchData() | 134 | this.fetchData() |
131 | }, | 135 | }, |
136 | |||
137 | handelItem (index) { | ||
138 | console.log(index); | ||
139 | this.searchList.splice(index, 1) | ||
140 | }, | ||
132 | handleSort (val) { | 141 | handleSort (val) { |
133 | this.queryForm.sortField = val.prop | 142 | this.queryForm.sortField = val.prop |
134 | this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc' | 143 | this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc' |
... | @@ -158,8 +167,8 @@ export default { | ... | @@ -158,8 +167,8 @@ export default { |
158 | this.$message({ | 167 | this.$message({ |
159 | type: 'info', | 168 | type: 'info', |
160 | message: '已取消删除' | 169 | message: '已取消删除' |
161 | }); | 170 | }) |
162 | }); | 171 | }) |
163 | }, | 172 | }, |
164 | ywhClick (item) { | 173 | ywhClick (item) { |
165 | const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1'); | 174 | const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1'); | ... | ... |
... | @@ -33,9 +33,9 @@ class data extends filter { | ... | @@ -33,9 +33,9 @@ class data extends filter { |
33 | render: (h, scope) => { | 33 | render: (h, scope) => { |
34 | switch (scope.row.lczt) { | 34 | switch (scope.row.lczt) { |
35 | case '1': | 35 | case '1': |
36 | return <span>进行中</span> | 36 | return <div class='allow'>进行中</div> |
37 | case '2': | 37 | case '2': |
38 | return <span>已结束</span> | 38 | return <div class='prohibit'>已结束</div> |
39 | case '3': | 39 | case '3': |
40 | return <span>进行中</span> | 40 | return <span>进行中</span> |
41 | } | 41 | } | ... | ... |
src/views/ywbl/diyaq/1.vue
0 → 100644
File mode changed
src/views/ywbl/fqsq/fqsq废弃.vue
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
src/views/ywbl/fqsq/images/1.png
deleted
100644 → 0
2.97 KB
src/views/ywbl/fqsq/images/2.png
deleted
100644 → 0
3.31 KB
src/views/ywbl/fqsq/images/3.png
deleted
100644 → 0
3.47 KB
src/views/ywbl/fwsyq/slxx.vue
0 → 100644
This diff is collapsed.
Click to expand it.
1 | <template> | 1 | <template> |
2 | <!-- 受理信息 --> | ||
2 | <div class="slxx"> | 3 | <div class="slxx"> |
3 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" | 4 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" |
4 | label-width="120px"> | 5 | label-width="120px"> |
... | @@ -162,12 +163,11 @@ | ... | @@ -162,12 +163,11 @@ |
162 | </div> | 163 | </div> |
163 | </template> | 164 | </template> |
164 | <script> | 165 | <script> |
165 | import InformationTable from "./InformationTable"; | 166 | import InformationTable from "@/views/workflow/components/InformationTable"; |
166 | import { Init, fristReg } from "@/api/jsydsyqFlow.js"; | 167 | import { Init, fristReg } from "@/api/jsydsyqFlow.js"; |
167 | import { mapGetters } from "vuex"; | 168 | import { mapGetters } from "vuex"; |
168 | export default { | 169 | export default { |
169 | async created () { | 170 | async created () { |
170 | //var bsmSldy = this.$parent._data.unitData[0].bsmSldy; | ||
171 | this.propsParam = this.$attrs; | 171 | this.propsParam = this.$attrs; |
172 | var formdata = new FormData(); | 172 | var formdata = new FormData(); |
173 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 173 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | ... | ... |
... | @@ -42,26 +42,39 @@ | ... | @@ -42,26 +42,39 @@ |
42 | </el-form-item> | 42 | </el-form-item> |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> |
45 | <el-row class="advanced-search"> | ||
46 | <span>高级搜索条件:</span> | ||
47 | <ul> | ||
48 | <li v-for="(item,index) in searchList" :key="index"> | ||
49 | {{item.name}}:{{item.value}} | ||
50 | <i class="el-icon-circle-close" @click="handelItem(index)"></i> | ||
51 | </li> | ||
52 | </ul> | ||
53 | <el-button class="clean-btn" type="text" v-if="searchList.length>0" @click.native="hanldeCleanAll">清除全部</el-button> | ||
54 | </el-row> | ||
45 | </el-form> | 55 | </el-form> |
46 | </div> | 56 | </div> |
47 | <!-- 表格 --> | 57 | <!-- 表格 --> |
48 | <div class="from-clues-content"> | 58 | <div class="from-clues-content"> |
49 | <lb-table :page-size="pageData.size" @sort-change="handleSort" border :current-page.sync="pageData.current" | 59 | <lb-table :page-size="pageData.size" :heightNum="300" @sort-change="handleSort" border |
50 | :total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 60 | :current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange" |
51 | :column="tableData.columns" :data="tableData.data"> | 61 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> |
52 | </lb-table> | 62 | </lb-table> |
53 | </div> | 63 | </div> |
64 | <searchBox v-model="isSearch" @getSearch="getSearch" /> | ||
54 | </div> | 65 | </div> |
55 | </template> | 66 | </template> |
56 | <script> | 67 | <script> |
57 | import { mapGetters } from 'vuex' | 68 | import { mapGetters } from 'vuex' |
58 | import table from "@/utils/mixin/table"; | 69 | import searchMin from "../components/mixin/index" |
59 | import { datas, sendThis } from "./ybxdata"; | 70 | import table from "@/utils/mixin/table" |
71 | import { datas, sendThis } from "./ybxdata" | ||
60 | import { searchTaskDone } from "@/api/ywbl.js" | 72 | import { searchTaskDone } from "@/api/ywbl.js" |
73 | import searchBox from '../components/search.vue' | ||
61 | export default { | 74 | export default { |
62 | name: "ybx", | 75 | name: "ybx", |
63 | components: {}, | 76 | components: { searchBox }, |
64 | mixins: [table], | 77 | mixins: [table, searchMin], |
65 | mounted () { | 78 | mounted () { |
66 | sendThis(this); | 79 | sendThis(this); |
67 | }, | 80 | }, |
... | @@ -70,6 +83,7 @@ export default { | ... | @@ -70,6 +83,7 @@ export default { |
70 | }, | 83 | }, |
71 | data () { | 84 | data () { |
72 | return { | 85 | return { |
86 | |||
73 | queryForm: { | 87 | queryForm: { |
74 | ywly: "", | 88 | ywly: "", |
75 | qllx: "", | 89 | qllx: "", | ... | ... |
... | @@ -54,6 +54,7 @@ | ... | @@ -54,6 +54,7 @@ |
54 | <script> | 54 | <script> |
55 | //查封登记 | 55 | //查封登记 |
56 | import { datas, sendThis } from "../javascript/bdcql.js"; | 56 | import { datas, sendThis } from "../javascript/bdcql.js"; |
57 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
57 | import table from "@/utils/mixin/table"; | 58 | import table from "@/utils/mixin/table"; |
58 | import jump from "../components/mixin/jump"; | 59 | import jump from "../components/mixin/jump"; |
59 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 60 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -65,13 +66,7 @@ export default { | ... | @@ -65,13 +66,7 @@ export default { |
65 | mixins: [table, jump], | 66 | mixins: [table, jump], |
66 | data () { | 67 | data () { |
67 | return { | 68 | return { |
68 | queryForm: { | 69 | queryForm: defaultParameters.defaultParameters(), |
69 | qllx: "", | ||
70 | bdcdyh: "", | ||
71 | ywh: "", | ||
72 | bdcqzh: "", | ||
73 | sqywbm: this.djywbm, | ||
74 | }, | ||
75 | qllxs: [], | 70 | qllxs: [], |
76 | tableData: { | 71 | tableData: { |
77 | total: 0, | 72 | total: 0, |
... | @@ -96,6 +91,7 @@ export default { | ... | @@ -96,6 +91,7 @@ export default { |
96 | }, | 91 | }, |
97 | fetchData () { | 92 | fetchData () { |
98 | if (this.bsmSqyw) { | 93 | if (this.bsmSqyw) { |
94 | this.queryForm.sqywbm=this.djywbm; | ||
99 | selectQlxx({ ...this.queryForm, ...this.pageData }) | 95 | selectQlxx({ ...this.queryForm, ...this.pageData }) |
100 | .then((res) => { | 96 | .then((res) => { |
101 | if (res.code === 200) { | 97 | if (res.code === 200) { | ... | ... |
... | @@ -54,6 +54,7 @@ | ... | @@ -54,6 +54,7 @@ |
54 | </template> | 54 | </template> |
55 | <script> | 55 | <script> |
56 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; | 56 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; |
57 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
57 | import table from "@/utils/mixin/table"; | 58 | import table from "@/utils/mixin/table"; |
58 | import jump from "../components/mixin/jump"; | 59 | import jump from "../components/mixin/jump"; |
59 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 60 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -65,13 +66,7 @@ export default { | ... | @@ -65,13 +66,7 @@ export default { |
65 | mixins: [table, jump], | 66 | mixins: [table, jump], |
66 | data () { | 67 | data () { |
67 | return { | 68 | return { |
68 | queryForm: { | 69 | queryForm: defaultParameters.defaultParameters(), |
69 | qllx: "", | ||
70 | bdcdyh: "", | ||
71 | ywh: "", | ||
72 | bdcqzh: "", | ||
73 | sqywbm: this.djywbm, | ||
74 | }, | ||
75 | qllxs: [], | 70 | qllxs: [], |
76 | tableData: { | 71 | tableData: { |
77 | total: 0, | 72 | total: 0, |
... | @@ -96,6 +91,7 @@ export default { | ... | @@ -96,6 +91,7 @@ export default { |
96 | }, | 91 | }, |
97 | fetchData () { | 92 | fetchData () { |
98 | if (this.bsmSqyw) { | 93 | if (this.bsmSqyw) { |
94 | this.queryForm.sqywbm=this.djywbm; | ||
99 | selectQlxx({ ...this.queryForm, ...this.pageData }) | 95 | selectQlxx({ ...this.queryForm, ...this.pageData }) |
100 | .then((res) => { | 96 | .then((res) => { |
101 | if (res.code === 200) { | 97 | if (res.code === 200) { | ... | ... |
... | @@ -54,6 +54,7 @@ | ... | @@ -54,6 +54,7 @@ |
54 | <script> | 54 | <script> |
55 | //查封登记 | 55 | //查封登记 |
56 | import { datas, sendThis } from "../javascript/cfdj.js"; | 56 | import { datas, sendThis } from "../javascript/cfdj.js"; |
57 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
57 | import table from "@/utils/mixin/table"; | 58 | import table from "@/utils/mixin/table"; |
58 | import jump from "../components/mixin/jump"; | 59 | import jump from "../components/mixin/jump"; |
59 | import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; | 60 | import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -65,13 +66,7 @@ export default { | ... | @@ -65,13 +66,7 @@ export default { |
65 | mixins: [table, jump], | 66 | mixins: [table, jump], |
66 | data () { | 67 | data () { |
67 | return { | 68 | return { |
68 | queryForm: { | 69 | queryForm: defaultParameters.defaultParameters(), |
69 | qllx: "", | ||
70 | bdcdyh: "", | ||
71 | ywh: "", | ||
72 | bdcqzh: "", | ||
73 | sqywbm: this.djywbm, | ||
74 | }, | ||
75 | qllxs: [], | 70 | qllxs: [], |
76 | tableData: { | 71 | tableData: { |
77 | total: 0, | 72 | total: 0, |
... | @@ -96,6 +91,7 @@ export default { | ... | @@ -96,6 +91,7 @@ export default { |
96 | }, | 91 | }, |
97 | fetchData () { | 92 | fetchData () { |
98 | if (this.bsmSqyw) { | 93 | if (this.bsmSqyw) { |
94 | this.queryForm.sqywbm=this.djywbm; | ||
99 | selectCfdj({ ...this.queryForm, ...this.pageData }) | 95 | selectCfdj({ ...this.queryForm, ...this.pageData }) |
100 | .then((res) => { | 96 | .then((res) => { |
101 | if (res.code === 200) { | 97 | if (res.code === 200) { | ... | ... |
... | @@ -56,6 +56,7 @@ | ... | @@ -56,6 +56,7 @@ |
56 | <script> | 56 | <script> |
57 | //抵押权首次登记 | 57 | //抵押权首次登记 |
58 | import { datas, sendThis } from "../javascript/diyaq.js"; | 58 | import { datas, sendThis } from "../javascript/diyaq.js"; |
59 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
59 | import table from "@/utils/mixin/table"; | 60 | import table from "@/utils/mixin/table"; |
60 | import jump from "../components/mixin/jump"; | 61 | import jump from "../components/mixin/jump"; |
61 | import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; | 62 | import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -68,13 +69,7 @@ export default { | ... | @@ -68,13 +69,7 @@ export default { |
68 | mixins: [table, jump], | 69 | mixins: [table, jump], |
69 | data () { | 70 | data () { |
70 | return { | 71 | return { |
71 | queryForm: { | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | qllx: "", | ||
73 | bdcdyh: "", | ||
74 | ywh: "", | ||
75 | bdcqzh: "", | ||
76 | sqywbm: this.djywbm | ||
77 | }, | ||
78 | qllxs: [], | 73 | qllxs: [], |
79 | tableData: { | 74 | tableData: { |
80 | total: 0, | 75 | total: 0, |
... | @@ -99,6 +94,7 @@ export default { | ... | @@ -99,6 +94,7 @@ export default { |
99 | }, | 94 | }, |
100 | fetchData () { | 95 | fetchData () { |
101 | if (this.bsmSqyw) { | 96 | if (this.bsmSqyw) { |
97 | this.queryForm.sqywbm=this.djywbm; | ||
102 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { | 98 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { |
103 | if (res.code === 200) { | 99 | if (res.code === 200) { |
104 | let { total, records } = res.result; | 100 | let { total, records } = res.result; |
... | @@ -131,11 +127,9 @@ export default { | ... | @@ -131,11 +127,9 @@ export default { |
131 | handleSelectionChange (val) { | 127 | handleSelectionChange (val) { |
132 | this.bdcdysz = val; | 128 | this.bdcdysz = val; |
133 | }, | 129 | }, |
134 | queryClick () { | 130 | |
135 | this.fetchData(); | 131 | } |
136 | }, | 132 | } |
137 | }, | ||
138 | }; | ||
139 | </script> | 133 | </script> |
140 | <style scoped lang="scss"> | 134 | <style scoped lang="scss"> |
141 | @import "~@/styles/mixin.scss"; | 135 | @import "~@/styles/mixin.scss"; | ... | ... |
1 | <template> | ||
2 | <div class="from-clues"> | ||
3 | <!-- 表单部分 --> | ||
4 | <div class="from-clues-header"> | ||
5 | <el-tabs v-model="activeName"> | ||
6 | <el-tab-pane label="自然幢" name="first"></el-tab-pane> | ||
7 | <el-tab-pane label="户" name="second"></el-tab-pane> | ||
8 | </el-tabs> | ||
9 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
10 | <el-row> | ||
11 | <el-col :span="5"> | ||
12 | <el-form-item label="权利类型" label-width="70px"> | ||
13 | <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型"> | ||
14 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
15 | </el-option> | ||
16 | </el-select> | ||
17 | </el-form-item> | ||
18 | </el-col> | ||
19 | <el-col :span="5"> | ||
20 | <el-form-item label="不动产单元号"> | ||
21 | <el-input placeholder="不动产单元号" v-model="queryForm.bdcdyh" clearable> | ||
22 | </el-input> | ||
23 | </el-form-item> | ||
24 | </el-col> | ||
25 | <el-col :span="5"> | ||
26 | <el-form-item label="业务号" label-width="70px"> | ||
27 | <el-input placeholder="业务号" v-model="queryForm.ywh" clearable> | ||
28 | </el-input> | ||
29 | </el-form-item> | ||
30 | </el-col> | ||
31 | <el-col :span="5"> | ||
32 | <el-form-item label="不动产权证号"> | ||
33 | <el-input placeholder="不动产权证号" v-model="queryForm.bdcqzh" clearable> | ||
34 | </el-input> | ||
35 | </el-form-item> | ||
36 | </el-col> | ||
37 | <el-col :span="4" class="btnCol"> | ||
38 | <el-form-item> | ||
39 | <el-button type="primary" @click="queryClick()">查询</el-button> | ||
40 | </el-form-item> | ||
41 | </el-col> | ||
42 | </el-row> | ||
43 | </el-form> | ||
44 | </div> | ||
45 | <!-- 表格 --> | ||
46 | <div class="from-clues-content"> | ||
47 | <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" | ||
48 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | ||
49 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | ||
50 | </lb-table> | ||
51 | </div> | ||
52 | <div class="submit_button"> | ||
53 | <el-button @click="closeDialog">取消</el-button> | ||
54 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> | ||
55 | </div> | ||
56 | </div> | ||
57 | </template> | ||
58 | <script> | ||
59 | //国有建设用地使用权/房屋使用权 | ||
60 | import { mapGetters } from 'vuex' | ||
61 | import { datas, sendThis } from "../javascript/houseOwnership.js"; | ||
62 | import table from "@/utils/mixin/table"; | ||
63 | import jump from "../components/mixin/jump"; | ||
64 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | ||
65 | export default { | ||
66 | props: { | ||
67 | bsmSqyw: { type: String, default: "" }, | ||
68 | djqxObj: { type: Object, default: "" }, | ||
69 | djywbm: { type: String, default: "" } | ||
70 | }, | ||
71 | mixins: [table, jump], | ||
72 | data () { | ||
73 | return { | ||
74 | activeName: 'first', | ||
75 | queryForm: { | ||
76 | qllx: '', | ||
77 | bdcdyh: '', | ||
78 | ywh: '', | ||
79 | bdcqzh: '' | ||
80 | }, | ||
81 | |||
82 | tableData: { | ||
83 | total: 0, | ||
84 | columns: datas.columns(), | ||
85 | data: [], | ||
86 | }, | ||
87 | bdcdysz: [], | ||
88 | saveloding: false, | ||
89 | }; | ||
90 | }, | ||
91 | watch: { | ||
92 | bsmSqyw (val) { | ||
93 | this.fetchData(); | ||
94 | }, | ||
95 | }, | ||
96 | mounted () { | ||
97 | sendThis(this); | ||
98 | }, | ||
99 | computed: { | ||
100 | ...mapGetters(['dictData']), | ||
101 | }, | ||
102 | methods: { | ||
103 | closeDialog () { | ||
104 | this.$emit("closeDialog"); | ||
105 | }, | ||
106 | fetchData () { | ||
107 | if (this.bsmSqyw) { | ||
108 | this.queryForm.sqywbm = this.djywbm; | ||
109 | |||
110 | selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
111 | if (res.code === 200) { | ||
112 | let { total, records } = res.result; | ||
113 | this.tableData.total = total; | ||
114 | this.tableData.data = records; | ||
115 | } | ||
116 | }); | ||
117 | } | ||
118 | }, | ||
119 | submitForm () { | ||
120 | if (this.bdcdysz.length == 0) { | ||
121 | this.$message.error("请至少选择一条数据"); | ||
122 | return; | ||
123 | } | ||
124 | this.saveloding = true; | ||
125 | startBusinessFlow({ | ||
126 | bsmSqyw: this.bsmSqyw, | ||
127 | bdcdysz: this.bdcdysz, | ||
128 | djqxbm: this.djqxObj.djqxbm, | ||
129 | djqxmc: this.djqxObj.djqxmc, | ||
130 | }).then((res) => { | ||
131 | this.saveloding = false; | ||
132 | if (res.code == 200) { | ||
133 | this.jump(res.result) | ||
134 | } else { | ||
135 | this.$message.error(res.message); | ||
136 | } | ||
137 | }); | ||
138 | }, | ||
139 | handleSelectionChange (val) { | ||
140 | this.bdcdysz = val; | ||
141 | } | ||
142 | }, | ||
143 | }; | ||
144 | </script> | ||
145 | <style scoped lang="scss"> | ||
146 | @import "~@/styles/mixin.scss"; | ||
147 | @import "~@/styles/public.scss"; | ||
148 | </style> |
1 | <template> | 1 | <template> |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 国有建设用地使用权 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> | 5 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> |
6 | <el-row> | 6 | <el-row> |
... | @@ -11,8 +11,8 @@ | ... | @@ -11,8 +11,8 @@ |
11 | </el-form-item> | 11 | </el-form-item> |
12 | </el-col> | 12 | </el-col> |
13 | <el-col :span="10"> | 13 | <el-col :span="10"> |
14 | <el-form-item label="不动产权证号"> | 14 | <el-form-item label="坐落"> |
15 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width300px"> | 15 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px"> |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
... | @@ -40,6 +40,7 @@ | ... | @@ -40,6 +40,7 @@ |
40 | <script> | 40 | <script> |
41 | //首次登记 | 41 | //首次登记 |
42 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; | 42 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; |
43 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
43 | import table from "@/utils/mixin/table"; | 44 | import table from "@/utils/mixin/table"; |
44 | import jump from "../components/mixin/jump"; | 45 | import jump from "../components/mixin/jump"; |
45 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | 46 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -52,13 +53,8 @@ export default { | ... | @@ -52,13 +53,8 @@ export default { |
52 | mixins: [table, jump], | 53 | mixins: [table, jump], |
53 | data () { | 54 | data () { |
54 | return { | 55 | return { |
55 | queryForm: { | 56 | queryForm: defaultParameters.defaultParameters(), |
56 | qllx: "", | 57 | |
57 | bdcdyh: "", | ||
58 | ywh: "", | ||
59 | bdcqzh: "", | ||
60 | sqywbm: this.djywbm, | ||
61 | }, | ||
62 | qllxs: [], | 58 | qllxs: [], |
63 | tableData: { | 59 | tableData: { |
64 | total: 0, | 60 | total: 0, |
... | @@ -83,6 +79,8 @@ export default { | ... | @@ -83,6 +79,8 @@ export default { |
83 | }, | 79 | }, |
84 | fetchData () { | 80 | fetchData () { |
85 | if (this.bsmSqyw) { | 81 | if (this.bsmSqyw) { |
82 | this.queryForm.sqywbm = this.djywbm; | ||
83 | |||
86 | selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { | 84 | selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { |
87 | if (res.code === 200) { | 85 | if (res.code === 200) { |
88 | let { total, records } = res.result; | 86 | let { total, records } = res.result; |
... | @@ -115,11 +113,8 @@ export default { | ... | @@ -115,11 +113,8 @@ export default { |
115 | handleSelectionChange (val) { | 113 | handleSelectionChange (val) { |
116 | this.bdcdysz = val; | 114 | this.bdcdysz = val; |
117 | }, | 115 | }, |
118 | queryClick () { | 116 | } |
119 | this.fetchData(); | 117 | } |
120 | }, | ||
121 | }, | ||
122 | }; | ||
123 | </script> | 118 | </script> |
124 | <style scoped lang="scss"> | 119 | <style scoped lang="scss"> |
125 | @import "~@/styles/mixin.scss"; | 120 | @import "~@/styles/mixin.scss"; | ... | ... |
... | @@ -56,6 +56,7 @@ | ... | @@ -56,6 +56,7 @@ |
56 | <script> | 56 | <script> |
57 | //首次登记 | 57 | //首次登记 |
58 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | 58 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; |
59 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
59 | import table from "@/utils/mixin/table"; | 60 | import table from "@/utils/mixin/table"; |
60 | import jump from "../components/mixin/jump"; | 61 | import jump from "../components/mixin/jump"; |
61 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 62 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -68,13 +69,7 @@ export default { | ... | @@ -68,13 +69,7 @@ export default { |
68 | mixins: [table, jump], | 69 | mixins: [table, jump], |
69 | data () { | 70 | data () { |
70 | return { | 71 | return { |
71 | queryForm: { | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | qllx: "", | ||
73 | bdcdyh: "", | ||
74 | ywh: "", | ||
75 | bdcqzh: "", | ||
76 | sqywbm: this.djywbm, | ||
77 | }, | ||
78 | qllxs: [], | 73 | qllxs: [], |
79 | tableData: { | 74 | tableData: { |
80 | total: 0, | 75 | total: 0, |
... | @@ -99,6 +94,8 @@ export default { | ... | @@ -99,6 +94,8 @@ export default { |
99 | }, | 94 | }, |
100 | fetchData () { | 95 | fetchData () { |
101 | if (this.bsmSqyw) { | 96 | if (this.bsmSqyw) { |
97 | this.queryForm.sqywbm = this.djywbm; | ||
98 | |||
102 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 99 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
103 | if (res.code === 200) { | 100 | if (res.code === 200) { |
104 | let { total, records } = res.result; | 101 | let { total, records } = res.result; |
... | @@ -134,13 +131,9 @@ export default { | ... | @@ -134,13 +131,9 @@ export default { |
134 | item.ybdcqzsh = item.bdcqzh | 131 | item.ybdcqzsh = item.bdcqzh |
135 | }) | 132 | }) |
136 | this.bdcdysz = val; | 133 | this.bdcdysz = val; |
137 | 134 | } | |
138 | }, | 135 | } |
139 | queryClick () { | 136 | } |
140 | this.fetchData(); | ||
141 | }, | ||
142 | }, | ||
143 | }; | ||
144 | </script> | 137 | </script> |
145 | <style scoped lang="scss"> | 138 | <style scoped lang="scss"> |
146 | @import "~@/styles/mixin.scss"; | 139 | @import "~@/styles/mixin.scss"; | ... | ... |
... | @@ -9,6 +9,10 @@ export default { | ... | @@ -9,6 +9,10 @@ export default { |
9 | data.bestepid + '&bsmBusiness=' | 9 | data.bestepid + '&bsmBusiness=' |
10 | ); | 10 | ); |
11 | window.open(href, "_blank"); | 11 | window.open(href, "_blank"); |
12 | }, | ||
13 | queryClick () { | ||
14 | this.pageData.currentPage = 1 | ||
15 | this.fetchData(); | ||
12 | } | 16 | } |
13 | } | 17 | } |
14 | } | 18 | } | ... | ... |
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 | type: 'selection', | ||
15 | label: '全选' | ||
16 | }, | ||
17 | { | ||
18 | label: '序号', | ||
19 | type: 'index', | ||
20 | width: '50', | ||
21 | render: (h, scope) => { | ||
22 | return ( | ||
23 | <div> | ||
24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
25 | </div> | ||
26 | ) | ||
27 | } | ||
28 | }, | ||
29 | { | ||
30 | prop: "status", | ||
31 | label: "状态", | ||
32 | }, | ||
33 | { | ||
34 | prop: "qllxmc", | ||
35 | label: "权利类型", | ||
36 | }, | ||
37 | { | ||
38 | prop: "zrzh", | ||
39 | label: "自然幢号", | ||
40 | }, | ||
41 | { | ||
42 | prop: "bdcdyh", | ||
43 | label: "不动产单元号", | ||
44 | }, | ||
45 | { | ||
46 | prop: "showQlxz", | ||
47 | label: "权利性质", | ||
48 | }, | ||
49 | { | ||
50 | prop: "zdmj", | ||
51 | label: "宗地面积", | ||
52 | }, | ||
53 | { | ||
54 | prop: "qlsdfsmc", | ||
55 | label: "权利设定方式", | ||
56 | }, | ||
57 | { | ||
58 | prop: "showFwyt", | ||
59 | label: "房屋用途", | ||
60 | }, | ||
61 | { | ||
62 | prop: "zl", | ||
63 | label: "坐落", | ||
64 | }, | ||
65 | ] | ||
66 | } | ||
67 | |||
68 | |||
69 | } | ||
70 | let datas = new data() | ||
71 | export { | ||
72 | datas, | ||
73 | sendThis | ||
74 | } |
... | @@ -26,10 +26,10 @@ class data extends filter { | ... | @@ -26,10 +26,10 @@ class data extends filter { |
26 | ) | 26 | ) |
27 | } | 27 | } |
28 | }, | 28 | }, |
29 | { | 29 | // { |
30 | prop: "status", | 30 | // prop: "status", |
31 | label: "状态", | 31 | // label: "状态", |
32 | }, | 32 | // }, |
33 | { | 33 | { |
34 | prop: "qllxmc", | 34 | prop: "qllxmc", |
35 | label: "权利类型", | 35 | label: "权利类型", |
... | @@ -48,7 +48,7 @@ class data extends filter { | ... | @@ -48,7 +48,7 @@ class data extends filter { |
48 | }, | 48 | }, |
49 | { | 49 | { |
50 | prop: "zdmj", | 50 | prop: "zdmj", |
51 | label: "宗地面积", | 51 | label: "宗地面积(㎡)", |
52 | }, | 52 | }, |
53 | { | 53 | { |
54 | prop: "qlsdfsmc", | 54 | prop: "qlsdfsmc", | ... | ... |
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | |||
8 | //选择单元通用默认查询条件 | ||
9 | class data extends filter { | ||
10 | constructor() { | ||
11 | super() | ||
12 | } | ||
13 | defaultParameters () { | ||
14 | return { | ||
15 | qllx: "", | ||
16 | bdcdyh: "", | ||
17 | ywh: "", | ||
18 | bdcqzh: "", | ||
19 | fwfl: "", | ||
20 | zl: "", | ||
21 | } | ||
22 | } | ||
23 | } | ||
24 | let defaultParameters = new data() | ||
25 | export { | ||
26 | defaultParameters, | ||
27 | sendThis | ||
28 | } |
... | @@ -23,6 +23,7 @@ export default { | ... | @@ -23,6 +23,7 @@ export default { |
23 | this.myValue = val | 23 | this.myValue = val |
24 | }, | 24 | }, |
25 | djywbm (val) { | 25 | djywbm (val) { |
26 | console.log(val); | ||
26 | let dd = queueDjywmc(val); | 27 | let dd = queueDjywmc(val); |
27 | this.editItem = this.loadView(dd); | 28 | this.editItem = this.loadView(dd); |
28 | }, | 29 | }, | ... | ... |
1 | export function queueDjywmc(djywbm) { | 1 | export function queueDjywmc (djywbm) { |
2 | let vm = null; | 2 | let vm = null; |
3 | switch (djywbm) { | 3 | switch (djywbm) { |
4 | case "A03100"://建设用地使用权(首次登记) | 4 | case "A03100"://建设用地使用权(首次登记) |
... | @@ -9,6 +9,9 @@ export function queueDjywmc(djywbm) { | ... | @@ -9,6 +9,9 @@ export function queueDjywmc(djywbm) { |
9 | case "A03200": | 9 | case "A03200": |
10 | case "A03300": | 10 | case "A03300": |
11 | case "A03400": | 11 | case "A03400": |
12 | case "A04100": | ||
13 | vm = "houseOwnership"; | ||
14 | break; | ||
12 | case "A05200": | 15 | case "A05200": |
13 | case "A05300": | 16 | case "A05300": |
14 | case "A05400": | 17 | case "A05400": | ... | ... |
-
Please register or sign in to post a comment