Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
46 changed files
with
278 additions
and
225 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-26 09:35:33 | 4 | * @LastEditTime: 2023-05-06 10:24:46 |
5 | --> | 5 | --> |
6 | <!DOCTYPE html> | 6 | <!DOCTYPE html> |
7 | <html> | 7 | <html> |
... | @@ -17,17 +17,21 @@ | ... | @@ -17,17 +17,21 @@ |
17 | <%= webpackConfig.name %> | 17 | <%= webpackConfig.name %> |
18 | </title> | 18 | </title> |
19 | </head> | 19 | </head> |
20 | <script> | ||
21 | fetch('<%= BASE_URL %>config.json') | ||
22 | .then(response => response.json()) | ||
23 | .then(config => { | ||
24 | window.config = config | ||
25 | }); | ||
26 | </script> | ||
20 | 27 | ||
21 | <body> | 28 | <body> |
22 | <div id="app"></div> | 29 | <div id="app"></div> |
23 | <!-- built files will be auto injected --> | ||
24 | </body> | 30 | </body> |
25 | 31 | ||
26 | </html> | 32 | </html> |
27 | <script> | 33 | <script> |
28 | window.baseUrl = location.origin || location.protocol + '//' + location.host | 34 | window.baseUrl = location.origin || location.protocol + '//' + location.host |
29 | // window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR'; | ||
30 | // window.authorization = 'bearer AT-223-c-Q86EHx75m7ig3EDf-SwMWl4U0AKn0b'; | ||
31 | window.timeout = 5000 | 35 | window.timeout = 5000 |
32 | window.authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" | 36 | window.authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" |
33 | </script> | 37 | </script> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | * @LastEditTime: 2023-04-20 09:40:17 | 4 | * @LastEditTime: 2023-04-20 09:40:17 |
5 | */ | 5 | */ |
6 | import request from '@/utils/request'; | 6 | import request from '@/utils/request'; |
7 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | 8 | ||
9 | // 获取不动产权证列表 | 9 | // 获取不动产权证列表 |
10 | export function getBdcqzList (params) { | 10 | export function getBdcqzList (params) { | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-20 09:40:36 | 4 | * @LastEditTime: 2023-05-06 09:15:02 |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | 8 | ||
9 | // 材料目录明细初始化 | 9 | // 材料目录明细初始化 |
10 | export function InitClml (data) { | 10 | export function InitClml (data) { | ... | ... |
1 | import request from '@/utils/request' | 1 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | ||
3 | export function uploadUrl () { | 2 | export function uploadUrl () { |
4 | return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload' | 3 | return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload' |
5 | } | 4 | } | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-06 09:17:56 | ||
5 | */ | ||
1 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | // 转出 | 8 | // 转出 |
4 | export function completeTask (data) { | 9 | export function completeTask (data) { |
5 | return request({ | 10 | return request({ | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | // 新增平台接口 | 4 | // 新增平台接口 |
5 | export function addSysInterface (data) { | 5 | export function addSysInterface (data) { | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-06 09:17:41 | ||
5 | */ | ||
1 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | const url = SERVER.LPBSERVERAPI + '/rest/zhcx/lpcx/' | 8 | const url = SERVER.LPBSERVERAPI + '/rest/zhcx/lpcx/' |
4 | /* | 9 | /* |
5 | 楼盘查询 | 10 | 楼盘查询 |
... | @@ -7,7 +12,6 @@ const url = SERVER.LPBSERVERAPI + '/rest/zhcx/lpcx/' | ... | @@ -7,7 +12,6 @@ const url = SERVER.LPBSERVERAPI + '/rest/zhcx/lpcx/' |
7 | // 根据条件进行列表查询 | 12 | // 根据条件进行列表查询 |
8 | export function getLpZrz (data) { | 13 | export function getLpZrz (data) { |
9 | return request({ | 14 | return request({ |
10 | // url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpZrz', | ||
11 | url: 'service-lpb/rest/zhcx/lpcx/getLpZrz', | 15 | url: 'service-lpb/rest/zhcx/lpcx/getLpZrz', |
12 | method: 'post', | 16 | method: 'post', |
13 | data: data | 17 | data: data |
... | @@ -18,7 +22,6 @@ export function getLpZrz (data) { | ... | @@ -18,7 +22,6 @@ export function getLpZrz (data) { |
18 | export function getLpb (zrzbsm) { | 22 | export function getLpb (zrzbsm) { |
19 | return request({ | 23 | return request({ |
20 | url: url + 'getLpb?scyclx=1&zrzbsm=' + zrzbsm, | 24 | url: url + 'getLpb?scyclx=1&zrzbsm=' + zrzbsm, |
21 | // url: 'service-lpb/rest/zhcx/lpcx/getLpb?zrzbsm=' + zrzbsm , | ||
22 | method: 'get' | 25 | method: 'get' |
23 | }) | 26 | }) |
24 | } | 27 | } | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | // 获取申请查询列表 | 3 | // 获取申请查询列表 |
4 | export function getSqcxPage (data) { | 4 | export function getSqcxPage (data) { |
5 | return request({ | 5 | return request({ | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | // 上传单个文件 | 4 | // 上传单个文件 |
5 | export function upload (data) { | 5 | export function upload (data) { | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | |||
4 | // 用户首页 | 3 | // 用户首页 |
5 | // 获取首页通知公告列表 | 4 | // 获取首页通知公告列表 |
6 | export function getHomeNoticeList () { | 5 | export function getHomeNoticeList () { | ... | ... |
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | * @LastEditTime: 2023-04-20 09:39:44 | 4 | * @LastEditTime: 2023-04-20 09:39:44 |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | 8 | ||
9 | //批量初始化 | 9 | //批量初始化 |
10 | export function BatchInit (data) { | 10 | export function BatchInit (data) { | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | // 初始化内容 | 4 | // 初始化内容 |
5 | export function Init (data) { | 5 | export function Init (data) { | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | // 初始化内容 | 3 | // 初始化内容 |
4 | export function Init (data) { | 4 | export function Init (data) { |
5 | let apiUrl = ""; | 5 | let apiUrl = ""; | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | // 初始化内容 | 4 | // 初始化内容 |
5 | export function Init (data) { | 5 | export function Init (data) { | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | // 初始化内容 | 4 | // 初始化内容 |
5 | export function Init (data) { | 5 | export function Init (data) { | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | // 初始化内容 | 3 | // 初始化内容 |
4 | export function Init (data) { | 4 | export function Init (data) { |
5 | let apiUrl = ""; | 5 | let apiUrl = ""; | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | // 初始化内容 | 3 | // 初始化内容 |
4 | export function Init (data) { | 4 | export function Init (data) { |
5 | let apiUrl = ""; | 5 | let apiUrl = ""; | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | // 初始化内容 | 4 | // 初始化内容 |
5 | export function Init (data) { | 5 | export function Init (data) { | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-08 15:19:43 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <section class="app-main"> | 7 | <section class="app-main"> |
3 | <transition name="fade-transform" mode="out-in"> | 8 | <transition name="fade-transform" mode="out-in"> |
... | @@ -6,26 +11,25 @@ | ... | @@ -6,26 +11,25 @@ |
6 | </section> | 11 | </section> |
7 | </template> | 12 | </template> |
8 | <script> | 13 | <script> |
9 | export default { | 14 | export default { |
10 | name: 'AppMain', | 15 | name: 'AppMain', |
11 | computed: { | 16 | computed: { |
12 | key () { | 17 | key () { |
13 | return this.$route.path | 18 | return this.$route.path |
14 | }, | 19 | }, |
15 | }, | 20 | }, |
16 | } | 21 | } |
17 | </script> | 22 | </script> |
18 | 23 | ||
19 | <style lang="scss" scoped> | 24 | <style lang="scss" scoped> |
20 | .hasTagsView { | 25 | .hasTagsView { |
21 | .app-main { | 26 | .app-main { |
22 | height: calc(100% - 41px); | 27 | height: calc(100% - 50px); |
23 | overflow-x: auto; | 28 | overflow-x: auto; |
24 | padding: 5px; | 29 | padding: 5px; |
25 | box-sizing: border-box; | 30 | box-sizing: border-box; |
26 | background-color: #EDF1F7; | 31 | background-color: #edf1f7; |
27 | box-sizing: border-box; | 32 | box-sizing: border-box; |
28 | |||
29 | } | 33 | } |
30 | } | 34 | } |
31 | </style> | 35 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -19,10 +19,10 @@ | ... | @@ -19,10 +19,10 @@ |
19 | </template> | 19 | </template> |
20 | 20 | ||
21 | <script> | 21 | <script> |
22 | import ScrollPane from './ScrollPane' | 22 | import ScrollPane from './ScrollPane' |
23 | import path from 'path' | 23 | import path from 'path' |
24 | 24 | ||
25 | export default { | 25 | export default { |
26 | components: { ScrollPane }, | 26 | components: { ScrollPane }, |
27 | data () { | 27 | data () { |
28 | return { | 28 | return { |
... | @@ -186,26 +186,25 @@ export default { | ... | @@ -186,26 +186,25 @@ export default { |
186 | this.closeMenu() | 186 | this.closeMenu() |
187 | } | 187 | } |
188 | } | 188 | } |
189 | } | 189 | } |
190 | </script> | 190 | </script> |
191 | 191 | ||
192 | <style lang="scss" scoped> | 192 | <style lang="scss" scoped> |
193 | .tags-view-container { | 193 | .tags-view-container { |
194 | height: 40px; | 194 | height: 50px; |
195 | width: 100%; | 195 | width: 100%; |
196 | background: #fff; | 196 | background: #fff; |
197 | border-bottom: 1px solid #d8dce5; | 197 | border-bottom: 1px solid #d8dce5; |
198 | box-sizing: border-box; | 198 | box-sizing: border-box; |
199 | padding-top: 3px; | 199 | padding-top: 3px; |
200 | box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04); | 200 | box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04); |
201 | 201 | ||
202 | .tags-view-wrapper { | 202 | .tags-view-wrapper { |
203 | .tags-view-item { | 203 | .tags-view-item { |
204 | display: inline-block; | 204 | display: inline-block; |
205 | position: relative; | 205 | position: relative; |
206 | cursor: pointer; | 206 | cursor: pointer; |
207 | height: 26px; | 207 | line-height: 30px; |
208 | line-height: 26px; | ||
209 | border: 1px solid #d8dce5; | 208 | border: 1px solid #d8dce5; |
210 | color: #495060; | 209 | color: #495060; |
211 | background: #fff; | 210 | background: #fff; |
... | @@ -223,12 +222,12 @@ export default { | ... | @@ -223,12 +222,12 @@ export default { |
223 | } | 222 | } |
224 | 223 | ||
225 | &.active { | 224 | &.active { |
226 | background-color: #0794FF; | 225 | background-color: #0794ff; |
227 | color: #fff; | 226 | color: #fff; |
228 | border-color: #0794FF; | 227 | border-color: #0794ff; |
229 | 228 | ||
230 | &::before { | 229 | &::before { |
231 | content: ''; | 230 | content: ""; |
232 | background: #fff; | 231 | background: #fff; |
233 | display: inline-block; | 232 | display: inline-block; |
234 | width: 8px; | 233 | width: 8px; |
... | @@ -252,7 +251,7 @@ export default { | ... | @@ -252,7 +251,7 @@ export default { |
252 | font-size: 12px; | 251 | font-size: 12px; |
253 | font-weight: 400; | 252 | font-weight: 400; |
254 | color: #333; | 253 | color: #333; |
255 | box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3); | 254 | box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3); |
256 | 255 | ||
257 | li { | 256 | li { |
258 | margin: 0; | 257 | margin: 0; |
... | @@ -264,12 +263,12 @@ export default { | ... | @@ -264,12 +263,12 @@ export default { |
264 | } | 263 | } |
265 | } | 264 | } |
266 | } | 265 | } |
267 | } | 266 | } |
268 | </style> | 267 | </style> |
269 | 268 | ||
270 | <style lang="scss"> | 269 | <style lang="scss"> |
271 | //reset element css of el-icon-close | 270 | //reset element css of el-icon-close |
272 | .tags-view-wrapper { | 271 | .tags-view-wrapper { |
273 | .tags-view-item { | 272 | .tags-view-item { |
274 | .el-icon-close { | 273 | .el-icon-close { |
275 | width: 16px; | 274 | width: 16px; |
... | @@ -277,11 +276,11 @@ export default { | ... | @@ -277,11 +276,11 @@ export default { |
277 | vertical-align: 2px; | 276 | vertical-align: 2px; |
278 | border-radius: 50%; | 277 | border-radius: 50%; |
279 | text-align: center; | 278 | text-align: center; |
280 | transition: all .3s cubic-bezier(.645, .045, .355, 1); | 279 | transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); |
281 | transform-origin: 100% 50%; | 280 | transform-origin: 100% 50%; |
282 | 281 | ||
283 | &:before { | 282 | &:before { |
284 | transform: scale(.6); | 283 | transform: scale(0.6); |
285 | display: inline-block; | 284 | display: inline-block; |
286 | vertical-align: -3px; | 285 | vertical-align: -3px; |
287 | } | 286 | } |
... | @@ -292,5 +291,5 @@ export default { | ... | @@ -292,5 +291,5 @@ export default { |
292 | } | 291 | } |
293 | } | 292 | } |
294 | } | 293 | } |
295 | } | 294 | } |
296 | </style> | 295 | </style> | ... | ... |
... | @@ -17,8 +17,9 @@ | ... | @@ -17,8 +17,9 @@ |
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 :auto-upload="false" | 20 | <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" |
21 | :on-change="handleChange" accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> | 21 | :on-change="handleChange" |
22 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> | ||
22 | <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button> | 23 | <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button> |
23 | </el-upload> | 24 | </el-upload> |
24 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" v-if="!this.$route.query.viewtype">删除</el-button> | 25 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" v-if="!this.$route.query.viewtype">删除</el-button> |
... | @@ -36,10 +37,10 @@ | ... | @@ -36,10 +37,10 @@ |
36 | </div> | 37 | </div> |
37 | </template> | 38 | </template> |
38 | <script> | 39 | <script> |
39 | import PhotoZoom from '@/components/PhotoZoom' | 40 | import PhotoZoom from '@/components/PhotoZoom' |
40 | import { uploadSjClmx, deleteClmx } from "@/api/clxx.js"; | 41 | import { uploadSjClmx, deleteClmx } from "@/api/clxx.js"; |
41 | import publicPicture from '@/components/publicPicture/index.vue' | 42 | import publicPicture from '@/components/publicPicture/index.vue' |
42 | export default { | 43 | export default { |
43 | name: 'PreviewImage', | 44 | name: 'PreviewImage', |
44 | props: { | 45 | props: { |
45 | previewImg: { | 46 | previewImg: { |
... | @@ -57,6 +58,7 @@ export default { | ... | @@ -57,6 +58,7 @@ export default { |
57 | scale: 1, | 58 | scale: 1, |
58 | degree: 0 | 59 | degree: 0 |
59 | }, | 60 | }, |
61 | maxLength: 0, | ||
60 | // 缩略图 | 62 | // 缩略图 |
61 | thumbnailImages: [], | 63 | thumbnailImages: [], |
62 | showViewer: false, | 64 | showViewer: false, |
... | @@ -74,6 +76,7 @@ export default { | ... | @@ -74,6 +76,7 @@ export default { |
74 | } | 76 | } |
75 | }, | 77 | }, |
76 | created () { | 78 | created () { |
79 | this.maxLength = 0; | ||
77 | this.allLi = _.cloneDeep(this.previewImg.imgList).map(item => item.fjurl) | 80 | this.allLi = _.cloneDeep(this.previewImg.imgList).map(item => item.fjurl) |
78 | this.thumbnailImages = this.previewImg.imgList | 81 | this.thumbnailImages = this.previewImg.imgList |
79 | }, | 82 | }, |
... | @@ -129,21 +132,32 @@ export default { | ... | @@ -129,21 +132,32 @@ export default { |
129 | this.imgHidden = (isJPG || isJPEG || isPNG || isGIF) && isLt5M | 132 | this.imgHidden = (isJPG || isJPEG || isPNG || isGIF) && isLt5M |
130 | return this.imgHidden | 133 | return this.imgHidden |
131 | }, | 134 | }, |
132 | async handleChange (file) { | 135 | async handleChange (file, files) { |
133 | let data = _.cloneDeep(this.previewImg.imgList[this.previewImg.index]) | 136 | // 清空 fileList 数组 |
134 | var formdata = new FormData(); | 137 | let length = files.length; |
135 | formdata.append("file", file.raw); | 138 | this.maxLength = Math.max(length, this.maxLength) |
136 | formdata.append("bsmSj", this.previewImg.bsmSj); | 139 | this.$refs.upload.clearFiles(); |
137 | formdata.append("bsmSlsq", this.previewImg.bsmSlsq); | 140 | setTimeout(() => { |
138 | uploadSjClmx(formdata).then((res) => { | 141 | if (length !== this.maxLength) return |
142 | console.log(files); | ||
143 | // let data = _.cloneDeep(this.previewImg.imgList[this.previewImg.index]) | ||
144 | var formData = new FormData(); | ||
145 | files.forEach(file => { | ||
146 | formData.append('file', file.raw) | ||
147 | }) | ||
148 | formData.append("bsmSj", this.previewImg.bsmSj); | ||
149 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); | ||
150 | uploadSjClmx(formData).then((res) => { | ||
139 | if (res.code == 200) { | 151 | if (res.code == 200) { |
140 | this.$emit('updateList', res.result) | 152 | this.$emit('updateList', res.result) |
141 | this.$message({ | 153 | this.$message({ |
142 | message: '上传成功!', | 154 | message: '上传成功!', |
143 | type: 'success' | 155 | type: 'success' |
144 | }) | 156 | }) |
157 | |||
145 | } | 158 | } |
146 | }) | 159 | }) |
160 | }) | ||
147 | }, | 161 | }, |
148 | handleDelete () { | 162 | handleDelete () { |
149 | let that = this | 163 | let that = this |
... | @@ -170,12 +184,11 @@ export default { | ... | @@ -170,12 +184,11 @@ export default { |
170 | }) | 184 | }) |
171 | } | 185 | } |
172 | } | 186 | } |
173 | } | 187 | } |
174 | </script> | 188 | </script> |
175 | |||
176 | <style lang="scss" scoped> | 189 | <style lang="scss" scoped> |
177 | // 查看大图 | 190 | // 查看大图 |
178 | .rlPopup { | 191 | .rlPopup { |
179 | position: relative; | 192 | position: relative; |
180 | width: 100%; | 193 | width: 100%; |
181 | text-align: center; | 194 | text-align: center; |
... | @@ -204,7 +217,6 @@ export default { | ... | @@ -204,7 +217,6 @@ export default { |
204 | background-color: rgb(185, 183, 183); | 217 | background-color: rgb(185, 183, 183); |
205 | } | 218 | } |
206 | 219 | ||
207 | |||
208 | .prev { | 220 | .prev { |
209 | left: 1%; | 221 | left: 1%; |
210 | } | 222 | } |
... | @@ -269,29 +281,29 @@ export default { | ... | @@ -269,29 +281,29 @@ export default { |
269 | border-color: #409eff; | 281 | border-color: #409eff; |
270 | } | 282 | } |
271 | } | 283 | } |
272 | } | 284 | } |
273 | </style> | 285 | </style> |
274 | <style> | 286 | <style> |
275 | .zoom-on-hover { | 287 | .zoom-on-hover { |
276 | position: relative; | 288 | position: relative; |
277 | overflow: hidden; | 289 | overflow: hidden; |
278 | } | 290 | } |
279 | 291 | ||
280 | .zoom-on-hover .normal { | 292 | .zoom-on-hover .normal { |
281 | width: 100%; | 293 | width: 100%; |
282 | } | 294 | } |
283 | 295 | ||
284 | .zoom-on-hover .zoom { | 296 | .zoom-on-hover .zoom { |
285 | position: absolute; | 297 | position: absolute; |
286 | opacity: 0; | 298 | opacity: 0; |
287 | transform-origin: top left; | 299 | transform-origin: top left; |
288 | } | 300 | } |
289 | 301 | ||
290 | .zoom-on-hover.zoomed .zoom { | 302 | .zoom-on-hover.zoomed .zoom { |
291 | opacity: 1; | 303 | opacity: 1; |
292 | } | 304 | } |
293 | 305 | ||
294 | .zoom-on-hover.zoomed .normal { | 306 | .zoom-on-hover.zoomed .normal { |
295 | opacity: 0; | 307 | opacity: 0; |
296 | } | 308 | } |
297 | </style> | 309 | </style> | ... | ... |
... | @@ -87,7 +87,7 @@ | ... | @@ -87,7 +87,7 @@ |
87 | </div> | 87 | </div> |
88 | <div id="loginTime"></div> | 88 | <div id="loginTime"></div> |
89 | </el-card> | 89 | </el-card> |
90 | <el-card class="marginTop10" shadow="hover"> | 90 | <el-card class="marginTop10" shadow="hover" style="height:60%"> |
91 | <div slot="header" class="flexst"> | 91 | <div slot="header" class="flexst"> |
92 | <h5 class="title">动态信息</h5> | 92 | <h5 class="title">动态信息</h5> |
93 | <i class="el-icon-s-unfold pointer"></i> | 93 | <i class="el-icon-s-unfold pointer"></i> |
... | @@ -104,12 +104,12 @@ | ... | @@ -104,12 +104,12 @@ |
104 | </div> | 104 | </div> |
105 | </template> | 105 | </template> |
106 | <script> | 106 | <script> |
107 | import * as G2 from '@antv/g2' | 107 | import * as G2 from '@antv/g2' |
108 | import vueSeamlessScroll from "vue-seamless-scroll" | 108 | import vueSeamlessScroll from "vue-seamless-scroll" |
109 | import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js"; | 109 | import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js"; |
110 | import { setReadStatus } from '@/api/system' | 110 | import { setReadStatus } from '@/api/system' |
111 | import addDialog from "./components/addProject.vue"; | 111 | import addDialog from "./components/addProject.vue"; |
112 | export default { | 112 | export default { |
113 | name: 'home', | 113 | name: 'home', |
114 | components: { vueSeamlessScroll, addDialog }, | 114 | components: { vueSeamlessScroll, addDialog }, |
115 | data () { | 115 | data () { |
... | @@ -345,18 +345,17 @@ export default { | ... | @@ -345,18 +345,17 @@ export default { |
345 | this.$alertMes(item.noticeTitle, item.noticeContent) | 345 | this.$alertMes(item.noticeTitle, item.noticeContent) |
346 | } | 346 | } |
347 | } | 347 | } |
348 | } | 348 | } |
349 | </script> | 349 | </script> |
350 | <style scoped lang="scss"> | 350 | <style scoped lang="scss"> |
351 | @import "~@/styles/mixin.scss"; | 351 | @import "~@/styles/mixin.scss"; |
352 | @import "./index.scss"; | 352 | @import "./index.scss"; |
353 | 353 | /deep/.el-card__header { | |
354 | /deep/.el-card__header { | 354 | padding: 8px 15px; |
355 | padding: 8px 15px | 355 | } |
356 | } | ||
357 | 356 | ||
358 | /deep/.el-card__body { | 357 | /deep/.el-card__body { |
359 | padding: 3px 10px 5px 10px; | 358 | padding: 3px 10px 5px 10px; |
360 | overflow: hidden; | 359 | overflow: hidden; |
361 | } | 360 | } |
362 | </style> | 361 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
39 | </tr> | 39 | </tr> |
40 | <tr> | 40 | <tr> |
41 | <td>权利设定方式</td> | 41 | <td>权利设定方式</td> |
42 | <td>{{ zdjbxx.qlsdfs }}</td> | 42 | <td>{{zdjbxx.qlsdfs | qlsdfs}}</td> |
43 | <td>容积率</td> | 43 | <td>容积率</td> |
44 | <td>{{ zdjbxx.rjl }}</td> | 44 | <td>{{ zdjbxx.rjl }}</td> |
45 | </tr> | 45 | </tr> |
... | @@ -122,16 +122,15 @@ | ... | @@ -122,16 +122,15 @@ |
122 | <td>{{ zdbhqks[0].dbr }}</td> | 122 | <td>{{ zdbhqks[0].dbr }}</td> |
123 | </tr> --> | 123 | </tr> --> |
124 | 124 | ||
125 | |||
126 | |||
127 | </table> | 125 | </table> |
128 | </div> | 126 | </div> |
129 | </template> | 127 | </template> |
130 | 128 | ||
131 | <script> | 129 | <script> |
132 | import { getZdjjxxBybdcdyid } from "@/api/registerBook.js"; | 130 | import store from '@/store/index.js' |
131 | import { getZdjjxxBybdcdyid } from "@/api/registerBook.js"; | ||
133 | 132 | ||
134 | export default { | 133 | export default { |
135 | data () { | 134 | data () { |
136 | return { | 135 | return { |
137 | bhqkColumns: [ | 136 | bhqkColumns: [ |
... | @@ -176,6 +175,15 @@ export default { | ... | @@ -176,6 +175,15 @@ export default { |
176 | bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"], | 175 | bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"], |
177 | }; | 176 | }; |
178 | }, | 177 | }, |
178 | filters: { | ||
179 | qlsdfs: function (value) { | ||
180 | const foundItem = store.getters.dictData['A10'].find(item => item.dcode === String(value)); | ||
181 | if (foundItem) { | ||
182 | console.log(foundItem.dname, 'foundItem.dname'); | ||
183 | return foundItem.dname; | ||
184 | } | ||
185 | } | ||
186 | }, | ||
179 | created () { | 187 | created () { |
180 | this.loadData(); | 188 | this.loadData(); |
181 | }, | 189 | }, |
... | @@ -192,9 +200,9 @@ export default { | ... | @@ -192,9 +200,9 @@ export default { |
192 | }); | 200 | }); |
193 | }, | 201 | }, |
194 | }, | 202 | }, |
195 | }; | 203 | }; |
196 | </script> | 204 | </script> |
197 | 205 | ||
198 | <style lang="scss" scoped> | 206 | <style lang="scss" scoped> |
199 | @import "~@/styles/tablecss.scss"; | 207 | @import "~@/styles/tablecss.scss"; |
200 | </style> | 208 | </style> | ... | ... |
... | @@ -36,11 +36,11 @@ | ... | @@ -36,11 +36,11 @@ |
36 | </div> | 36 | </div> |
37 | </template> | 37 | </template> |
38 | <script> | 38 | <script> |
39 | import { mapGetters } from "vuex"; | 39 | import { mapGetters } from "vuex"; |
40 | import clxxAddDialog from "./clxxAddDialog.vue"; | 40 | import clxxAddDialog from "./dialog/clxxAddDialog.vue"; |
41 | import imagePreview from '@/views/components/imagePreview.vue' | 41 | import imagePreview from '@/views/components/imagePreview.vue' |
42 | import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; | 42 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; |
43 | export default { | 43 | export default { |
44 | components: { clxxAddDialog, imagePreview }, | 44 | components: { clxxAddDialog, imagePreview }, |
45 | data () { | 45 | data () { |
46 | return { | 46 | return { |
... | @@ -239,7 +239,7 @@ export default { | ... | @@ -239,7 +239,7 @@ export default { |
239 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); | 239 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); |
240 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | 240 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); |
241 | InitClml(formdata).then((res) => { | 241 | InitClml(formdata).then((res) => { |
242 | if(res.result.code == 200){ | 242 | if (res.result.code == 200) { |
243 | resolve(res.code) | 243 | resolve(res.code) |
244 | if (res.result.result && res.result.result.length > 0) { | 244 | if (res.result.result && res.result.result.length > 0) { |
245 | this.tableData = res.result.result; | 245 | this.tableData = res.result.result; |
... | @@ -251,7 +251,7 @@ export default { | ... | @@ -251,7 +251,7 @@ export default { |
251 | this.previewImg.imgList = this.tableData[0]?.children; | 251 | this.previewImg.imgList = this.tableData[0]?.children; |
252 | this.previewImg.bsmSj = this.tableData[0]?.bsmSj; | 252 | this.previewImg.bsmSj = this.tableData[0]?.bsmSj; |
253 | } | 253 | } |
254 | }else{ | 254 | } else { |
255 | this.$message.error(res.result.message) | 255 | this.$message.error(res.result.message) |
256 | } | 256 | } |
257 | }) | 257 | }) |
... | @@ -401,27 +401,27 @@ export default { | ... | @@ -401,27 +401,27 @@ export default { |
401 | } | 401 | } |
402 | }, | 402 | }, |
403 | }, | 403 | }, |
404 | }; | 404 | }; |
405 | </script> | 405 | </script> |
406 | <style scoped lang='scss'> | 406 | <style scoped lang='scss'> |
407 | @import "~@/styles/mixin.scss"; | 407 | @import "~@/styles/mixin.scss"; |
408 | 408 | ||
409 | .active { | 409 | .active { |
410 | background: $light-blue !important; | 410 | background: $light-blue !important; |
411 | color: #fff; | 411 | color: #fff; |
412 | } | 412 | } |
413 | 413 | ||
414 | .required { | 414 | .required { |
415 | font-size: 12px; | 415 | font-size: 12px; |
416 | color: $pink; | 416 | color: $pink; |
417 | float: left; | 417 | float: left; |
418 | } | 418 | } |
419 | 419 | ||
420 | .cl_number { | 420 | .cl_number { |
421 | float: right; | 421 | float: right; |
422 | } | 422 | } |
423 | 423 | ||
424 | .clxx { | 424 | .clxx { |
425 | width: 100%; | 425 | width: 100%; |
426 | display: flex; | 426 | display: flex; |
427 | padding-left: 5px; | 427 | padding-left: 5px; |
... | @@ -436,7 +436,7 @@ export default { | ... | @@ -436,7 +436,7 @@ export default { |
436 | width: 28px; | 436 | width: 28px; |
437 | height: 49%; | 437 | height: 49%; |
438 | @include flex-center; | 438 | @include flex-center; |
439 | background-color: #E4E7ED; | 439 | background-color: #e4e7ed; |
440 | border-bottom-right-radius: 10px; | 440 | border-bottom-right-radius: 10px; |
441 | padding: 5px; | 441 | padding: 5px; |
442 | cursor: pointer; | 442 | cursor: pointer; |
... | @@ -479,7 +479,6 @@ export default { | ... | @@ -479,7 +479,6 @@ export default { |
479 | border-right: 1px dotted #d9d9d9; | 479 | border-right: 1px dotted #d9d9d9; |
480 | padding: 0 15px; | 480 | padding: 0 15px; |
481 | 481 | ||
482 | |||
483 | .item { | 482 | .item { |
484 | line-height: 30px; | 483 | line-height: 30px; |
485 | padding-top: 5px; | 484 | padding-top: 5px; |
... | @@ -528,5 +527,5 @@ export default { | ... | @@ -528,5 +527,5 @@ export default { |
528 | } | 527 | } |
529 | } | 528 | } |
530 | } | 529 | } |
531 | } | 530 | } |
532 | </style> | 531 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -24,18 +24,18 @@ | ... | @@ -24,18 +24,18 @@ |
24 | </div> | 24 | </div> |
25 | </div> | 25 | </div> |
26 | <clxxAddDialog v-model="isDialog" /> | 26 | <clxxAddDialog v-model="isDialog" /> |
27 | <clxxDetailDialog v-model="detailDialog" :data="tableData"/> | 27 | <clxxDetailDialog v-model="detailDialog" :data="tableData" /> |
28 | </div> | 28 | </div> |
29 | </template> | 29 | </template> |
30 | <script> | 30 | <script> |
31 | import { mapGetters } from "vuex"; | 31 | import { mapGetters } from "vuex"; |
32 | import clxxAddDialog from "./clxxAddDialog.vue"; | 32 | import clxxAddDialog from "./dialog/clxxAddDialog.vue"; |
33 | import clxxDetailDialog from "./clxxDetailDialog.vue"; | 33 | import clxxDetailDialog from "./clxxDetailDialog.vue"; |
34 | import imagePreview from '@/views/components/imagePreview.vue' | 34 | import imagePreview from '@/views/components/imagePreview.vue' |
35 | import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; | 35 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; |
36 | import { popupDialog } from "@/utils/popup.js"; | 36 | import { popupDialog } from "@/utils/popup.js"; |
37 | export default { | 37 | export default { |
38 | components: { clxxAddDialog, imagePreview,clxxDetailDialog }, | 38 | components: { clxxAddDialog, imagePreview, clxxDetailDialog }, |
39 | data () { | 39 | data () { |
40 | return { | 40 | return { |
41 | isDialog: false, | 41 | isDialog: false, |
... | @@ -91,24 +91,24 @@ export default { | ... | @@ -91,24 +91,24 @@ export default { |
91 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); | 91 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); |
92 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | 92 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); |
93 | InitClml(formdata).then((res) => { | 93 | InitClml(formdata).then((res) => { |
94 | if(res.code == 200){ | 94 | if (res.code == 200) { |
95 | resolve(res.code) | 95 | resolve(res.code) |
96 | if (res.result && res.result.length > 0) { | 96 | if (res.result && res.result.length > 0) { |
97 | this.tableData = res.result; | 97 | this.tableData = res.result; |
98 | if(type == 1){ | 98 | if (type == 1) { |
99 | this.treeClick(this.tableData[0],0); | 99 | this.treeClick(this.tableData[0], 0); |
100 | }else{ | 100 | } else { |
101 | //新增材料后刷新列表焦点置于新增的对象上 | 101 | //新增材料后刷新列表焦点置于新增的对象上 |
102 | this.treeClick(this.tableData[this.tableData.length - 1],this.tableData.length - 1); | 102 | this.treeClick(this.tableData[this.tableData.length - 1], this.tableData.length - 1); |
103 | } | 103 | } |
104 | } | 104 | } |
105 | }else{ | 105 | } else { |
106 | this.$message.error(res.message) | 106 | this.$message.error(res.message) |
107 | } | 107 | } |
108 | }) | 108 | }) |
109 | }) | 109 | }) |
110 | }, | 110 | }, |
111 | setChecked(item){ | 111 | setChecked (item) { |
112 | this.treeCheckId = item.bsmSj; | 112 | this.treeCheckId = item.bsmSj; |
113 | this.title = item.sjmc; | 113 | this.title = item.sjmc; |
114 | this.titleYs = 1; | 114 | this.titleYs = 1; |
... | @@ -192,37 +192,37 @@ export default { | ... | @@ -192,37 +192,37 @@ export default { |
192 | } | 192 | } |
193 | }, | 193 | }, |
194 | //查看明细 | 194 | //查看明细 |
195 | viewDetail(){ | 195 | viewDetail () { |
196 | this.detailDialog = true; | 196 | this.detailDialog = true; |
197 | }, | 197 | }, |
198 | //设置tableData | 198 | //设置tableData |
199 | setTableData(tableData){ | 199 | setTableData (tableData) { |
200 | this.$nextTick(res => { | 200 | this.$nextTick(res => { |
201 | this.tableData = tableData; | 201 | this.tableData = tableData; |
202 | }) | 202 | }) |
203 | }, | 203 | }, |
204 | }, | 204 | }, |
205 | }; | 205 | }; |
206 | </script> | 206 | </script> |
207 | <style scoped lang='scss'> | 207 | <style scoped lang='scss'> |
208 | @import "~@/styles/mixin.scss"; | 208 | @import "~@/styles/mixin.scss"; |
209 | 209 | ||
210 | .active { | 210 | .active { |
211 | background: $light-blue !important; | 211 | background: $light-blue !important; |
212 | color: #fff; | 212 | color: #fff; |
213 | } | 213 | } |
214 | 214 | ||
215 | .required { | 215 | .required { |
216 | font-size: 12px; | 216 | font-size: 12px; |
217 | color: $pink; | 217 | color: $pink; |
218 | float: left; | 218 | float: left; |
219 | } | 219 | } |
220 | 220 | ||
221 | .cl_number { | 221 | .cl_number { |
222 | float: right; | 222 | float: right; |
223 | } | 223 | } |
224 | 224 | ||
225 | .clxx { | 225 | .clxx { |
226 | width: 100%; | 226 | width: 100%; |
227 | display: flex; | 227 | display: flex; |
228 | padding-left: 5px; | 228 | padding-left: 5px; |
... | @@ -237,7 +237,7 @@ export default { | ... | @@ -237,7 +237,7 @@ export default { |
237 | width: 28px; | 237 | width: 28px; |
238 | height: 49%; | 238 | height: 49%; |
239 | @include flex-center; | 239 | @include flex-center; |
240 | background-color: #E4E7ED; | 240 | background-color: #e4e7ed; |
241 | border-bottom-right-radius: 10px; | 241 | border-bottom-right-radius: 10px; |
242 | padding: 5px; | 242 | padding: 5px; |
243 | cursor: pointer; | 243 | cursor: pointer; |
... | @@ -280,7 +280,6 @@ export default { | ... | @@ -280,7 +280,6 @@ export default { |
280 | border-right: 1px dotted #d9d9d9; | 280 | border-right: 1px dotted #d9d9d9; |
281 | padding: 0 15px; | 281 | padding: 0 15px; |
282 | 282 | ||
283 | |||
284 | .item { | 283 | .item { |
285 | line-height: 30px; | 284 | line-height: 30px; |
286 | padding-top: 5px; | 285 | padding-top: 5px; |
... | @@ -329,5 +328,5 @@ export default { | ... | @@ -329,5 +328,5 @@ export default { |
329 | } | 328 | } |
330 | } | 329 | } |
331 | } | 330 | } |
332 | } | 331 | } |
333 | </style> | 332 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-09 09:20:10 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" | 7 | <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" |
3 | :isFullscreen="false"> | 8 | :isFullscreen="false"> |
... | @@ -24,8 +29,8 @@ | ... | @@ -24,8 +29,8 @@ |
24 | </template> | 29 | </template> |
25 | 30 | ||
26 | <script> | 31 | <script> |
27 | import { mapGetters } from "vuex"; | 32 | import { mapGetters } from "vuex"; |
28 | export default { | 33 | export default { |
29 | props: { | 34 | props: { |
30 | value: { type: Boolean, default: false }, | 35 | value: { type: Boolean, default: false }, |
31 | }, | 36 | }, |
... | @@ -56,16 +61,20 @@ export default { | ... | @@ -56,16 +61,20 @@ export default { |
56 | }, | 61 | }, |
57 | handleSubmit () { | 62 | handleSubmit () { |
58 | this.$parent.addSave(this.ruleForm); | 63 | this.$parent.addSave(this.ruleForm); |
64 | this.ruleForm = { | ||
65 | cllx: "", | ||
66 | clmc: "", | ||
67 | } | ||
59 | this.$emit("input", false); | 68 | this.$emit("input", false); |
60 | }, | 69 | }, |
61 | }, | 70 | }, |
62 | }; | 71 | }; |
63 | </script> | 72 | </script> |
64 | <style scoped lang="scss"> | 73 | <style scoped lang="scss"> |
65 | .submit-button { | 74 | .submit-button { |
66 | text-align: center; | 75 | text-align: center; |
67 | height: 52px; | 76 | height: 52px; |
68 | padding-top: 10px; | 77 | padding-top: 10px; |
69 | background-color: #fff; | 78 | background-color: #fff; |
70 | } | 79 | } |
71 | </style> | 80 | </style> | ... | ... |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | <lb-table :column="column" :pagination="false" :key="key" :data="tableDataList"> | 3 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" |
4 | :data="tableDataList"> | ||
4 | </lb-table> | 5 | </lb-table> |
5 | <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> | 6 | <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> |
6 | </div> | 7 | </div> | ... | ... |
... | @@ -44,7 +44,7 @@ | ... | @@ -44,7 +44,7 @@ |
44 | <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button> | 44 | <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button> |
45 | </div> | 45 | </div> |
46 | <div class="text" v-else> | 46 | <div class="text" v-else> |
47 | <el-button class="operation_button" type="text" @click="openZsylDialog(item, 2)">证书打印({{ item.szcs | 47 | <el-button class="operation_button" type="text" @click="openZsylDialog(item, 2)">证书打印1({{ item.szcs |
48 | }})</el-button> | 48 | }})</el-button> |
49 | <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button> | 49 | <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button> |
50 | </div> | 50 | </div> | ... | ... |
... | @@ -12,7 +12,6 @@ import { | ... | @@ -12,7 +12,6 @@ import { |
12 | getNextLinkInfo, | 12 | getNextLinkInfo, |
13 | } from "@/api/fqsq.js"; | 13 | } from "@/api/fqsq.js"; |
14 | import { mapGetters } from 'vuex' | 14 | import { mapGetters } from 'vuex' |
15 | import { log } from "bpmn-js-token-simulation"; | ||
16 | export default { | 15 | export default { |
17 | data () { | 16 | data () { |
18 | return { | 17 | return { |
... | @@ -37,7 +36,8 @@ export default { | ... | @@ -37,7 +36,8 @@ export default { |
37 | isRefresh: { | 36 | isRefresh: { |
38 | handler (newVal, oldVal) { | 37 | handler (newVal, oldVal) { |
39 | if (newVal) this.loadBdcdylist() | 38 | if (newVal) this.loadBdcdylist() |
40 | } | 39 | }, |
40 | immediate: true | ||
41 | } | 41 | } |
42 | }, | 42 | }, |
43 | mounted () { | 43 | mounted () { | ... | ... |
... | @@ -79,20 +79,20 @@ | ... | @@ -79,20 +79,20 @@ |
79 | </div> | 79 | </div> |
80 | </template> | 80 | </template> |
81 | <style scoped lang="scss"> | 81 | <style scoped lang="scss"> |
82 | @import "~@/styles/mixin.scss"; | 82 | @import "~@/styles/mixin.scss"; |
83 | @import "./workFrame.scss"; | 83 | @import "./workFrame.scss"; |
84 | </style> | 84 | </style> |
85 | <script> | 85 | <script> |
86 | import { mapGetters } from 'vuex' | 86 | import { mapGetters } from 'vuex' |
87 | import WorkFlow from "./mixin/index"; | 87 | import WorkFlow from "./mixin/index"; |
88 | import publicFlow from "./mixin/public.js"; | 88 | import publicFlow from "./mixin/public.js"; |
89 | import { getStepFormInfo } from "@/api/fqsq.js"; | 89 | import { getStepFormInfo } from "@/api/fqsq.js"; |
90 | import { getForm } from "./flowform"; | 90 | import { getForm } from "./flowform"; |
91 | import NoticeBar from "@/components/NoticeBar/index"; | 91 | import NoticeBar from "@/components/NoticeBar/index"; |
92 | import { deleteFlow, unClaimTask } from "@/api/ywbl.js"; | 92 | import { deleteFlow, unClaimTask } from "@/api/ywbl.js"; |
93 | import ProcessViewer from "./components/processViewer.vue"; | 93 | import ProcessViewer from "./components/processViewer.vue"; |
94 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 94 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
95 | export default { | 95 | export default { |
96 | components: { | 96 | components: { |
97 | selectBdc, | 97 | selectBdc, |
98 | NoticeBar, | 98 | NoticeBar, |
... | @@ -242,11 +242,17 @@ export default { | ... | @@ -242,11 +242,17 @@ export default { |
242 | this.stepForm(); | 242 | this.stepForm(); |
243 | }, | 243 | }, |
244 | openDialog () { | 244 | openDialog () { |
245 | this.$store.dispatch('user/refreshPage', false) | ||
245 | let data = JSON.parse(localStorage.getItem('ywbl')) | 246 | let data = JSON.parse(localStorage.getItem('ywbl')) |
246 | let title = "申请业务:" + data.sqywmc; | 247 | let title |
248 | if (data?.sqywmc) { | ||
249 | title = "申请业务:" + data?.sqywmc | ||
250 | } else { | ||
251 | title = "申请业务:" + data?.djywmc | ||
252 | } | ||
247 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true) | 253 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true) |
248 | } | 254 | } |
249 | } | 255 | } |
250 | } | 256 | } |
251 | </script> | 257 | </script> |
252 | 258 | ... | ... |
... | @@ -101,6 +101,7 @@ | ... | @@ -101,6 +101,7 @@ |
101 | import { datas, sendThis } from "./dbxdata"; | 101 | import { datas, sendThis } from "./dbxdata"; |
102 | import { searchTaskToDo, deleteFlow, claimTask } from "@/api/ywbl"; | 102 | import { searchTaskToDo, deleteFlow, claimTask } from "@/api/ywbl"; |
103 | import { judgeUserTaskPermission } from "@/api/fqsq"; | 103 | import { judgeUserTaskPermission } from "@/api/fqsq"; |
104 | import { log } from 'bpmn-js-token-simulation'; | ||
104 | export default { | 105 | export default { |
105 | name: "dbx", | 106 | name: "dbx", |
106 | components: { searchBox }, | 107 | components: { searchBox }, | ... | ... |
... | @@ -138,8 +138,8 @@ | ... | @@ -138,8 +138,8 @@ |
138 | <el-col :span="6" v-show="ruleForm.slywxx.gyfs == '1'"> | 138 | <el-col :span="6" v-show="ruleForm.slywxx.gyfs == '1'"> |
139 | <el-form-item label="是否分别持证:"> | 139 | <el-form-item label="是否分别持证:"> |
140 | <el-radio-group v-model="ruleForm.slywxx.sqfbcz"> | 140 | <el-radio-group v-model="ruleForm.slywxx.sqfbcz"> |
141 | <el-radio :label = 1>是</el-radio> | 141 | <el-radio :label=1>是</el-radio> |
142 | <el-radio :label = 0>否</el-radio> | 142 | <el-radio :label=0>否</el-radio> |
143 | </el-radio-group> | 143 | </el-radio-group> |
144 | </el-form-item> | 144 | </el-form-item> |
145 | </el-col> | 145 | </el-col> |
... | @@ -152,16 +152,15 @@ | ... | @@ -152,16 +152,15 @@ |
152 | </el-form-item> | 152 | </el-form-item> |
153 | </el-col> | 153 | </el-col> |
154 | </el-row> | 154 | </el-row> |
155 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" | 155 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :key="key" |
156 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> | 156 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> |
157 | 157 | ||
158 | |||
159 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 158 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> |
160 | <div class="slxx_title title-block"> | 159 | <div class="slxx_title title-block"> |
161 | 义务人信息 | 160 | 义务人信息 |
162 | <div class="triangle"></div> | 161 | <div class="triangle"></div> |
163 | </div> | 162 | </div> |
164 | <qlrCommonTable v-if="ruleForm.ywrList" :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" | 163 | <qlrCommonTable v-if="ruleForm.ywrList" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" |
165 | :viewtype="$route.query.viewtype" /> | 164 | :viewtype="$route.query.viewtype" /> |
166 | </div> | 165 | </div> |
167 | 166 | ||
... | @@ -188,10 +187,10 @@ | ... | @@ -188,10 +187,10 @@ |
188 | </div> | 187 | </div> |
189 | </template> | 188 | </template> |
190 | <script> | 189 | <script> |
191 | import { mapGetters } from "vuex" | 190 | import { mapGetters } from "vuex" |
192 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js" | 191 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js" |
193 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" | 192 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" |
194 | export default { | 193 | export default { |
195 | mounted () { | 194 | mounted () { |
196 | this.propsParam = this.$attrs; | 195 | this.propsParam = this.$attrs; |
197 | var formdata = new FormData(); | 196 | var formdata = new FormData(); |
... | @@ -204,7 +203,7 @@ export default { | ... | @@ -204,7 +203,7 @@ export default { |
204 | that.ruleForm = res.result; | 203 | that.ruleForm = res.result; |
205 | that.$endLoading(); | 204 | that.$endLoading(); |
206 | that.isShow = true; | 205 | that.isShow = true; |
207 | this.czrOptions=this.ruleForm.qlrList; | 206 | this.czrOptions = this.ruleForm.qlrList; |
208 | }) | 207 | }) |
209 | }) | 208 | }) |
210 | }, | 209 | }, |
... | @@ -214,6 +213,7 @@ export default { | ... | @@ -214,6 +213,7 @@ export default { |
214 | }, | 213 | }, |
215 | data () { | 214 | data () { |
216 | return { | 215 | return { |
216 | key: 0, | ||
217 | isShow: false, | 217 | isShow: false, |
218 | disabled: true, | 218 | disabled: true, |
219 | czrOptions: [], | 219 | czrOptions: [], |
... | @@ -227,11 +227,13 @@ export default { | ... | @@ -227,11 +227,13 @@ export default { |
227 | // 更新权利人信息 | 227 | // 更新权利人信息 |
228 | upDateQlrxxList (val) { | 228 | upDateQlrxxList (val) { |
229 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) | 229 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) |
230 | this.czrOptions=this.ruleForm.qlrList; | 230 | this.czrOptions = this.ruleForm.qlrList; |
231 | this.key++ | ||
231 | }, | 232 | }, |
232 | // 更新义务人信息 | 233 | // 更新义务人信息 |
233 | upDateYwrxxList (val) { | 234 | upDateYwrxxList (val) { |
234 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) | 235 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) |
236 | this.key++ | ||
235 | }, | 237 | }, |
236 | onSubmit () { | 238 | onSubmit () { |
237 | if (this.ruleForm.qlrList.length == 0) { | 239 | if (this.ruleForm.qlrList.length == 0) { |
... | @@ -252,17 +254,17 @@ export default { | ... | @@ -252,17 +254,17 @@ export default { |
252 | }); | 254 | }); |
253 | return false; | 255 | return false; |
254 | } | 256 | } |
255 | this.ruleForm.qlrList[0].sfczr="1"; | 257 | this.ruleForm.qlrList[0].sfczr = "1"; |
256 | } | 258 | } |
257 | if (this.ruleForm.slywxx.gyfs == "1") { | 259 | if (this.ruleForm.slywxx.gyfs == "1") { |
258 | //是否分别持证 | 260 | //是否分别持证 |
259 | if(this.ruleForm.slywxx.sqfbcz == '1'){ //是 | 261 | if (this.ruleForm.slywxx.sqfbcz == '1') { //是 |
260 | this.ruleForm.qlrList.forEach((item, index) => { | 262 | this.ruleForm.qlrList.forEach((item, index) => { |
261 | item.sfczr = "1"; | 263 | item.sfczr = "1"; |
262 | }); | 264 | }); |
263 | }else{ | 265 | } else { |
264 | this.ruleForm.qlrList.forEach((item, index) => { | 266 | this.ruleForm.qlrList.forEach((item, index) => { |
265 | if(item.zjh==this.ruleForm.czr){ | 267 | if (item.zjh == this.ruleForm.czr) { |
266 | item.sfczr = "1"; | 268 | item.sfczr = "1"; |
267 | } | 269 | } |
268 | }); | 270 | }); |
... | @@ -286,9 +288,9 @@ export default { | ... | @@ -286,9 +288,9 @@ export default { |
286 | }); | 288 | }); |
287 | }, | 289 | }, |
288 | }, | 290 | }, |
289 | }; | 291 | }; |
290 | </script> | 292 | </script> |
291 | <style scoped lang='scss'> | 293 | <style scoped lang='scss'> |
292 | @import "~@/styles/public.scss"; | 294 | @import "~@/styles/public.scss"; |
293 | @import "~@/styles/slxx/slxx.scss"; | 295 | @import "~@/styles/slxx/slxx.scss"; |
294 | </style> | 296 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -56,7 +56,7 @@ | ... | @@ -56,7 +56,7 @@ |
56 | </el-form> | 56 | </el-form> |
57 | </div> | 57 | </div> |
58 | <div class="from-clues-content"> | 58 | <div class="from-clues-content"> |
59 | <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" | 59 | <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="400" |
60 | :current-page.sync="pageData.currentPage" :total="zrztableData.total" @size-change="handleSizeChange" | 60 | :current-page.sync="pageData.currentPage" :total="zrztableData.total" @size-change="handleSizeChange" |
61 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="zrztableData.columns" | 61 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="zrztableData.columns" |
62 | :data="zrztableData.data"> | 62 | :data="zrztableData.data"> |
... | @@ -107,7 +107,7 @@ | ... | @@ -107,7 +107,7 @@ |
107 | </el-form> | 107 | </el-form> |
108 | </div> | 108 | </div> |
109 | <div class="from-clues-content loadingtext"> | 109 | <div class="from-clues-content loadingtext"> |
110 | <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | 110 | <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="400" |
111 | :current-page.sync="pageData.currentPage" :total="dztableData.total" @size-change="handleSizeChange" | 111 | :current-page.sync="pageData.currentPage" :total="dztableData.total" @size-change="handleSizeChange" |
112 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="dztableData.columns" | 112 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="dztableData.columns" |
113 | :data="dztableData.data"> | 113 | :data="dztableData.data"> | ... | ... |
... | @@ -8,7 +8,7 @@ export default { | ... | @@ -8,7 +8,7 @@ export default { |
8 | methods: { | 8 | methods: { |
9 | //点击行选中或取消复选框 | 9 | //点击行选中或取消复选框 |
10 | handleRowClick (row, column, event) { | 10 | handleRowClick (row, column, event) { |
11 | (this.$refs.table.toggleRowSelection(row)) | 11 | this.$refs.table.toggleRowSelection(row) |
12 | }, | 12 | }, |
13 | jump (data, type) { | 13 | jump (data, type) { |
14 | const { href } = Router.resolve( | 14 | const { href } = Router.resolve( | ... | ... |
... | @@ -106,6 +106,7 @@ | ... | @@ -106,6 +106,7 @@ |
106 | if (!this.isJump) { | 106 | if (!this.isJump) { |
107 | this.jump(res.result, this.sqywInfo.djywbm); | 107 | this.jump(res.result, this.sqywInfo.djywbm); |
108 | } else { | 108 | } else { |
109 | this.$popupCacel() | ||
109 | store.dispatch('user/refreshPage', true); | 110 | store.dispatch('user/refreshPage', true); |
110 | } | 111 | } |
111 | } else { | 112 | } else { | ... | ... |
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | <div class="right-title">常办业务列表</div> | 19 | <div class="right-title">常办业务列表</div> |
20 | <ul> | 20 | <ul> |
21 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in collectList" :key="index" | 21 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in collectList" :key="index" |
22 | @dblclick="dblclick(collectList, index)" @click="selectSqywClick(collectList, index)"> | 22 | @dblclick="dblclick(collectList, index, item)" @click="selectSqywClick(collectList, index)"> |
23 | <p v-if="item.nodetype == 'djqx'">{{ item.djywmc }}<br>{{ item.nodename }}</p> | 23 | <p v-if="item.nodetype == 'djqx'">{{ item.djywmc }}<br>{{ item.nodename }}</p> |
24 | <dt v-else>{{ item.djywmc }}</dt> | 24 | <dt v-else>{{ item.djywmc }}</dt> |
25 | <p class="active" @click.stop="handleCollection(item)"> | 25 | <p class="active" @click.stop="handleCollection(item)"> |
... | @@ -37,7 +37,7 @@ | ... | @@ -37,7 +37,7 @@ |
37 | <div class="right-type el-card box-card is-always-shadow"> | 37 | <div class="right-type el-card box-card is-always-shadow"> |
38 | <div class="right-title">登记类型</div> | 38 | <div class="right-title">登记类型</div> |
39 | <ul class="type-content"> | 39 | <ul class="type-content"> |
40 | <li :class="item.selected ? 'cactive' : ''" @dblclick="item.sffqlc == 1 && dblclick(djlxList, index)" | 40 | <li :class="item.selected ? 'cactive' : ''" @dblclick="item.sffqlc == 1 && dblclick(djlxList, index, item)" |
41 | @click="selectSqywClick(djlxList, index)" v-for="(item, index) in djlxList" :key="index"> | 41 | @click="selectSqywClick(djlxList, index)" v-for="(item, index) in djlxList" :key="index"> |
42 | <p> | 42 | <p> |
43 | {{ item.nodename }} | 43 | {{ item.nodename }} |
... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
53 | <div class="right-title">登记情形</div> | 53 | <div class="right-title">登记情形</div> |
54 | <ul> | 54 | <ul> |
55 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" | 55 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" |
56 | @dblclick="dblclick(djqxList, index)" @click="selectSqywClick(djqxList, index)"> | 56 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> |
57 | <dt>{{ item.nodename }}</dt> | 57 | <dt>{{ item.nodename }}</dt> |
58 | <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> | 58 | <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> |
59 | <i class="el-icon-star-off"></i> | 59 | <i class="el-icon-star-off"></i> |
... | @@ -69,8 +69,8 @@ | ... | @@ -69,8 +69,8 @@ |
69 | </div> | 69 | </div> |
70 | </template> | 70 | </template> |
71 | <script> | 71 | <script> |
72 | import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" | 72 | import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" |
73 | export default { | 73 | export default { |
74 | data () { | 74 | data () { |
75 | return { | 75 | return { |
76 | //申请业务类型集合 | 76 | //申请业务类型集合 |
... | @@ -166,7 +166,8 @@ export default { | ... | @@ -166,7 +166,8 @@ export default { |
166 | }) | 166 | }) |
167 | }, | 167 | }, |
168 | //双击事件 | 168 | //双击事件 |
169 | dblclick (data, index) { | 169 | dblclick (data, index, item) { |
170 | localStorage.setItem('ywbl', JSON.stringify(item)); | ||
170 | this.selectSqywClick(data, index); | 171 | this.selectSqywClick(data, index); |
171 | this.dialogClick(); | 172 | this.dialogClick(); |
172 | }, | 173 | }, |
... | @@ -258,17 +259,17 @@ export default { | ... | @@ -258,17 +259,17 @@ export default { |
258 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | 259 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) |
259 | } | 260 | } |
260 | } | 261 | } |
261 | } | 262 | } |
262 | </script> | 263 | </script> |
263 | <style scoped lang='scss'> | 264 | <style scoped lang='scss'> |
264 | @import "~@/styles/mixin.scss"; | 265 | @import "~@/styles/mixin.scss"; |
265 | @import './ywsq.scss'; | 266 | @import "./ywsq.scss"; |
266 | 267 | ||
267 | /deep/.el-collapse-item__content { | 268 | /deep/.el-collapse-item__content { |
268 | padding-bottom: 0; | 269 | padding-bottom: 0; |
269 | } | 270 | } |
270 | 271 | ||
271 | /deep/.el-collapse-item__wrap { | 272 | /deep/.el-collapse-item__wrap { |
272 | border-bottom: none; | 273 | border-bottom: none; |
273 | } | 274 | } |
274 | </style> | 275 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -8,8 +8,8 @@ | ... | @@ -8,8 +8,8 @@ |
8 | @updateDialog="updateDialog" /> | 8 | @updateDialog="updateDialog" /> |
9 | </template> | 9 | </template> |
10 | <script> | 10 | <script> |
11 | import { queueDjywmc } from "./slectBdcdata.js"; | 11 | import { queueDjywmc } from "./slectBdcdata.js"; |
12 | export default { | 12 | export default { |
13 | props: { | 13 | props: { |
14 | formData: { | 14 | formData: { |
15 | type: Object, | 15 | type: Object, |
... | @@ -42,15 +42,15 @@ export default { | ... | @@ -42,15 +42,15 @@ export default { |
42 | this.$emit("updateDialog", true); | 42 | this.$emit("updateDialog", true); |
43 | } | 43 | } |
44 | } | 44 | } |
45 | } | 45 | } |
46 | </script> | 46 | </script> |
47 | <style scoped lang="scss"> | 47 | <style scoped lang="scss"> |
48 | @import "~@/styles/mixin.scss"; | 48 | @import "~@/styles/mixin.scss"; |
49 | @import "~@/styles/public.scss"; | 49 | @import "~@/styles/public.scss"; |
50 | 50 | ||
51 | /deep/.submit_button { | 51 | /deep/.submit_button { |
52 | text-align: center; | 52 | text-align: center; |
53 | padding: 10px; | 53 | padding: 10px; |
54 | margin: 10px; | 54 | margin: 10px; |
55 | } | 55 | } |
56 | </style> | 56 | </style> | ... | ... |
... | @@ -61,6 +61,9 @@ module.exports = { | ... | @@ -61,6 +61,9 @@ module.exports = { |
61 | // configureWebpack通过操作对象的形式,来修改默认的webpack配置 | 61 | // configureWebpack通过操作对象的形式,来修改默认的webpack配置 |
62 | configureWebpack: { | 62 | configureWebpack: { |
63 | name: name, | 63 | name: name, |
64 | entry: { | ||
65 | app: './src/main.js' | ||
66 | }, | ||
64 | resolve: { | 67 | resolve: { |
65 | alias: { | 68 | alias: { |
66 | '@': resolve('src') | 69 | '@': resolve('src') |
... | @@ -70,7 +73,6 @@ module.exports = { | ... | @@ -70,7 +73,6 @@ module.exports = { |
70 | }, | 73 | }, |
71 | // chainWebpack通过链式编程的形式,来修改默认的webpack配置 | 74 | // chainWebpack通过链式编程的形式,来修改默认的webpack配置 |
72 | chainWebpack (config) { | 75 | chainWebpack (config) { |
73 | config.entry.app = ['babel-polyfill', './src/main.js']; | ||
74 | // it can improve the speed of the first screen, it is recommended to turn on preload | 76 | // it can improve the speed of the first screen, it is recommended to turn on preload |
75 | // it can improve the speed of the first screen, it is recommended to turn on preload | 77 | // it can improve the speed of the first screen, it is recommended to turn on preload |
76 | config.plugin('preload').tap(() => [ | 78 | config.plugin('preload').tap(() => [ | ... | ... |
-
Please register or sign in to post a comment