Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
7 changed files
with
44 additions
and
22 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-02-01 16:58:20 | 4 | * @LastEditTime: 2024-03-08 12:52:22 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -96,7 +96,15 @@ | ... | @@ -96,7 +96,15 @@ |
96 | watch: { | 96 | watch: { |
97 | isRefresh: { | 97 | isRefresh: { |
98 | handler (newVal, oldVal) { | 98 | handler (newVal, oldVal) { |
99 | if (newVal) this.loadBdcdylist(true) | 99 | let that = this |
100 | if (newVal) { | ||
101 | if (that.activeIndex >= 0) { | ||
102 | that.unitClick(sessionStorage.getItem('keyPath') - 0) | ||
103 | } | ||
104 | if (that.activeHIndex >= 0) { | ||
105 | that.handleAfterunitClick(sessionStorage.getItem('keyPath') - 0) | ||
106 | } | ||
107 | } | ||
100 | }, | 108 | }, |
101 | immediate: true | 109 | immediate: true |
102 | }, | 110 | }, |
... | @@ -139,9 +147,10 @@ | ... | @@ -139,9 +147,10 @@ |
139 | this.judgeBatchShow(); | 147 | this.judgeBatchShow(); |
140 | if (!status) { | 148 | if (!status) { |
141 | if (sessionStorage.getItem('keyPath')) { | 149 | if (sessionStorage.getItem('keyPath')) { |
142 | if (this.aroundShow) { | 150 | if (that.activeIndex >= 0) { |
143 | that.unitClick(sessionStorage.getItem('keyPath') - 0) | 151 | that.unitClick(sessionStorage.getItem('keyPath') - 0) |
144 | } else { | 152 | } |
153 | if (that.activeHIndex >= 0) { | ||
145 | that.handleAfterunitClick(sessionStorage.getItem('keyPath') - 0) | 154 | that.handleAfterunitClick(sessionStorage.getItem('keyPath') - 0) |
146 | } | 155 | } |
147 | } else { | 156 | } else { |
... | @@ -178,9 +187,10 @@ | ... | @@ -178,9 +187,10 @@ |
178 | this.judgeBatchShow(); | 187 | this.judgeBatchShow(); |
179 | if (!status) { | 188 | if (!status) { |
180 | if (sessionStorage.getItem('keyPath')) { | 189 | if (sessionStorage.getItem('keyPath')) { |
181 | if (this.aroundShow) { | 190 | if (that.activeIndex >= 0) { |
182 | that.unitClick(sessionStorage.getItem('keyPath') - 0) | 191 | that.unitClick(sessionStorage.getItem('keyPath') - 0) |
183 | } else { | 192 | } |
193 | if (that.activeHIndex >= 0) { | ||
184 | that.handleAfterunitClick(sessionStorage.getItem('keyPath') - 0) | 194 | that.handleAfterunitClick(sessionStorage.getItem('keyPath') - 0) |
185 | } | 195 | } |
186 | } else { | 196 | } else { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-18 14:13:02 | 4 | * @LastEditTime: 2024-03-08 14:02:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -172,18 +172,30 @@ | ... | @@ -172,18 +172,30 @@ |
172 | </div> | 172 | </div> |
173 | ); | 173 | ); |
174 | }, | 174 | }, |
175 | // 修改事件 | ||
176 | /** | 175 | /** |
177 | * @description: 修改事件 | 176 | * @description: 修改事件 |
178 | * @author: renchao | 177 | * @author: renchao |
179 | */ | 178 | */ |
179 | getTreeName (list, dcode) { | ||
180 | let _this = this | ||
181 | for (let i = 0; i < list.length; i++) { | ||
182 | let a = list[i] | ||
183 | if (a.dcode === dcode) { | ||
184 | return a.dname | ||
185 | } else { | ||
186 | if (a.children && a.children.length > 0) { | ||
187 | let res = _this.getTreeName(a.children, dcode) | ||
188 | if (res) { | ||
189 | return res | ||
190 | } | ||
191 | } | ||
192 | } | ||
193 | } | ||
194 | }, | ||
180 | addrow (a) { | 195 | addrow (a) { |
181 | // this.tableDataList = this.tableDataList.map((item) => { | 196 | this.tableDataList.forEach(item => { |
182 | // return { | 197 | item.ytmc = this.getTreeName(this.dictData['tdyt'], item.yt) |
183 | // ...item, | 198 | }) |
184 | // yt: a.yt, | ||
185 | // }; | ||
186 | // }); | ||
187 | this.$emit("upDateTdytxxList", this.tableDataList); | 199 | this.$emit("upDateTdytxxList", this.tableDataList); |
188 | }, | 200 | }, |
189 | /** | 201 | /** | ... | ... |
... | @@ -256,7 +256,7 @@ export default { | ... | @@ -256,7 +256,7 @@ export default { |
256 | let key = index + 1 | 256 | let key = index + 1 |
257 | this.$set(infoRes.result, "file" + key, it.sjmc) | 257 | this.$set(infoRes.result, "file" + key, it.sjmc) |
258 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | 258 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) |
259 | // this.$set(infoRes.result, "file" + key + 'xs', it.) | 259 | this.$set(infoRes.result, "file" + key + 'lx', it.sjlx==1?"原件":"复印件") |
260 | }) | 260 | }) |
261 | } | 261 | } |
262 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | 262 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ... | ... |
... | @@ -109,7 +109,7 @@ | ... | @@ -109,7 +109,7 @@ |
109 | label="权利性质"> | 109 | label="权利性质"> |
110 | </el-table-column> | 110 | </el-table-column> |
111 | <el-table-column | 111 | <el-table-column |
112 | property="syqmj" | 112 | property="qlmjmc" |
113 | label="面积"> | 113 | label="面积"> |
114 | </el-table-column> | 114 | </el-table-column> |
115 | <el-table-column | 115 | <el-table-column | ... | ... |
... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
42 | </ul> | 42 | </ul> |
43 | </div> | 43 | </div> |
44 | <!-- 登记簿补录 --> | 44 | <!-- 登记簿补录 --> |
45 | <div v-if="selectType == 'amend'" class="right-situation el-card"> | 45 | <div v-show="selectType == 'amend'" class="right-situation el-card"> |
46 | <div class="right-title">登记簿补录</div> | 46 | <div class="right-title">登记簿补录</div> |
47 | <ul> | 47 | <ul> |
48 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" | 48 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" |
... | @@ -55,8 +55,8 @@ | ... | @@ -55,8 +55,8 @@ |
55 | </ul> | 55 | </ul> |
56 | </div> | 56 | </div> |
57 | <!-- 业务申请 --> | 57 | <!-- 业务申请 --> |
58 | <template v-if="selectType == 'apply'"> | 58 | <template> |
59 | <div class="right-type el-card box-card is-always-shadow"> | 59 | <div v-show="selectType == 'apply'" class="right-type el-card box-card is-always-shadow"> |
60 | <div class="right-title">登记类型</div> | 60 | <div class="right-title">登记类型</div> |
61 | <ul class="type-content"> | 61 | <ul class="type-content"> |
62 | <li :class="item.selected ? 'cactive' : ''" @dblclick="item.sffqlc == 1 && dblclick(djlxList, index, item)" | 62 | <li :class="item.selected ? 'cactive' : ''" @dblclick="item.sffqlc == 1 && dblclick(djlxList, index, item)" |
... | @@ -71,7 +71,7 @@ | ... | @@ -71,7 +71,7 @@ |
71 | </li> | 71 | </li> |
72 | </ul> | 72 | </ul> |
73 | </div> | 73 | </div> |
74 | <div class="right-situation el-card box-card is-always-shadow"> | 74 | <div v-show="selectType == 'apply'" class="right-situation el-card box-card is-always-shadow"> |
75 | <div class="right-title">登记情形</div> | 75 | <div class="right-title">登记情形</div> |
76 | <ul> | 76 | <ul> |
77 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" | 77 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" | ... | ... |
... | @@ -71,7 +71,7 @@ module.exports = { | ... | @@ -71,7 +71,7 @@ module.exports = { |
71 | filename: `static/js/[name].[hash].js`, | 71 | filename: `static/js/[name].[hash].js`, |
72 | chunkFilename: `static/js/[name].[hash].js`, | 72 | chunkFilename: `static/js/[name].[hash].js`, |
73 | }, | 73 | }, |
74 | devtool: process.env.NODE_ENV === 'development' ? '#eval-source-map' : false | 74 | devtool: "source map" |
75 | }, | 75 | }, |
76 | // chainWebpack通过链式编程的形式,来修改默认的webpack配置 | 76 | // chainWebpack通过链式编程的形式,来修改默认的webpack配置 |
77 | chainWebpack (config) { | 77 | chainWebpack (config) { | ... | ... |
-
Please register or sign in to post a comment