Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
31 changed files
with
618 additions
and
104 deletions
... | @@ -64,3 +64,12 @@ export function saveGZBatchData(data) { | ... | @@ -64,3 +64,12 @@ export function saveGZBatchData(data) { |
64 | data | 64 | data |
65 | }) | 65 | }) |
66 | } | 66 | } |
67 | // 更正/变更登记提交 | ||
68 | export function saveBHZData(data) { | ||
69 | return request({ | ||
70 | url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveBHZData", | ||
71 | method: 'post', | ||
72 | data | ||
73 | }) | ||
74 | } | ||
75 | ... | ... |
... | @@ -6,29 +6,29 @@ export function Init (data) { | ... | @@ -6,29 +6,29 @@ export function Init (data) { |
6 | let apiUrl = ""; | 6 | let apiUrl = ""; |
7 | switch (data.get("djlx")) { | 7 | switch (data.get("djlx")) { |
8 | case "100": | 8 | case "100": |
9 | apiUrl = "/ywbl/jsydsyqlr/fristInit"; | 9 | apiUrl = "/rest/ywbl/jsydsyqlr/fristInit"; |
10 | break; | 10 | break; |
11 | case "200": | 11 | case "200": |
12 | apiUrl = "/ywbl/jsydsyqlr/transferInit"; | 12 | apiUrl = "/rest/ywbl/jsydsyqlr/transferInit"; |
13 | break; | 13 | break; |
14 | case "300": | 14 | case "300": |
15 | apiUrl = "/ywbl/jsydsyqlr/changeInit"; | 15 | apiUrl = "/rest/ywbl/jsydsyqlr/changeInit"; |
16 | break; | 16 | break; |
17 | case "400": | 17 | case "400": |
18 | apiUrl = "/ywbl/jsydsyqlr/logoutInit"; | 18 | apiUrl = "/rest/ywbl/jsydsyqlr/logoutInit"; |
19 | break; | 19 | break; |
20 | case "500": | 20 | case "500": |
21 | apiUrl = "/ywbl/jsydsyqlr/riviseInit"; | 21 | apiUrl = "/rest/ywbl/jsydsyqlr/riviseInit"; |
22 | break; | 22 | break; |
23 | case "901": | 23 | case "901": |
24 | apiUrl = "/ywbl/jsydsyqlr/renewalInit"; | 24 | apiUrl = "/rest/ywbl/jsydsyqlr/renewalInit"; |
25 | break; | 25 | break; |
26 | case "902": | 26 | case "902": |
27 | apiUrl = "/ywbl/jsydsyqlr/replaceInit"; | 27 | apiUrl = "/rest/ywbl/jsydsyqlr/replaceInit"; |
28 | break; | 28 | break; |
29 | } | 29 | } |
30 | return request({ | 30 | return request({ |
31 | url: apiUrl, | 31 | url: SERVER.SERVERAPI + apiUrl, |
32 | method: 'post', | 32 | method: 'post', |
33 | data | 33 | data |
34 | }) | 34 | }) | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | import SERVER from './config' | 2 | import SERVER from './config' |
3 | // export function getMenuInfo () { | ||
4 | // return request({ | ||
5 | // url: SERVER.SERVERAPI + '/rest/user/getUserMenus', | ||
6 | // method: 'get', | ||
7 | // }) | ||
8 | // } | ||
3 | export function getMenuInfo () { | 9 | export function getMenuInfo () { |
4 | return request({ | 10 | return request({ |
5 | url: SERVER.SERVERAPI + '/rest/user/getUserMenus', | 11 | url: SERVER.SERVERCAI + '/rest/user/getUserAuthorizationMenus', |
6 | method: 'get', | 12 | method: 'get', |
7 | }) | 13 | }) |
8 | } | 14 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <template> | 1 | <template> |
2 | <el-image-viewer | 2 | <el-image-viewer :on-close="closeViewer" :url-list="urlList"> |
3 | :on-close="closeViewer" | ||
4 | :url-list="urlList"> | ||
5 | </el-image-viewer> | 3 | </el-image-viewer> |
6 | </template> | 4 | </template> |
7 | |||
8 | <script> | 5 | <script> |
9 | import ElImageViewer from 'element-ui/packages/image/src/image-viewer' | 6 | import ElImageViewer from 'element-ui/packages/image/src/image-viewer' |
10 | export default { | 7 | export default { |
11 | components: { | 8 | components: { |
12 | ElImageViewer, | 9 | ElImageViewer, |
13 | }, | 10 | }, |
... | @@ -16,12 +13,12 @@ | ... | @@ -16,12 +13,12 @@ |
16 | type: Array, | 13 | type: Array, |
17 | default: function () { | 14 | default: function () { |
18 | return [] | 15 | return [] |
19 | }, | 16 | } |
20 | }, | 17 | } |
21 | }, | 18 | }, |
22 | data () { | 19 | data () { |
23 | return { | 20 | return { |
24 | wrapperElem: null, | 21 | wrapperElem: null |
25 | } | 22 | } |
26 | }, | 23 | }, |
27 | mounted () { | 24 | mounted () { |
... | @@ -79,11 +76,11 @@ | ... | @@ -79,11 +76,11 @@ |
79 | xhr.send() | 76 | xhr.send() |
80 | }, | 77 | }, |
81 | }, | 78 | }, |
82 | } | 79 | } |
83 | </script> | 80 | </script> |
84 | 81 | ||
85 | <style lang="scss" scoped> | 82 | <style lang="scss" scoped> |
86 | /deep/ .el-image-viewer__close { | 83 | /deep/ .el-image-viewer__close { |
87 | color: #ffffff; | 84 | color: #ffffff; |
88 | } | 85 | } |
89 | </style> | 86 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -9,7 +9,6 @@ | ... | @@ -9,7 +9,6 @@ |
9 | </div> | 9 | </div> |
10 | <svg-icon icon-class='close' class="closeStyle" @click="onCancel" /> | 10 | <svg-icon icon-class='close' class="closeStyle" @click="onCancel" /> |
11 | </div> | 11 | </div> |
12 | |||
13 | <div class="ls-mask-content" ref='contentRef' :style="{ 'height': contentHeight }"> | 12 | <div class="ls-mask-content" ref='contentRef' :style="{ 'height': contentHeight }"> |
14 | <component :is="editItem" ref='childRef' @loading='loadingFn' :key="key" :formData='formData' /> | 13 | <component :is="editItem" ref='childRef' @loading='loadingFn' :key="key" :formData='formData' /> |
15 | </div> | 14 | </div> |
... | @@ -27,7 +26,7 @@ export default { | ... | @@ -27,7 +26,7 @@ export default { |
27 | data () { | 26 | data () { |
28 | return { | 27 | return { |
29 | btnShow: false, | 28 | btnShow: false, |
30 | title: '提示', | 29 | title: '标题', |
31 | cancelText: '取消', | 30 | cancelText: '取消', |
32 | confirmText: '确认', | 31 | confirmText: '确认', |
33 | isSync: false, | 32 | isSync: false, | ... | ... |
... | @@ -5,13 +5,8 @@ | ... | @@ -5,13 +5,8 @@ |
5 | this.$popup({ | 5 | this.$popup({ |
6 | title: '提示', // 弹窗标题 | 6 | title: '提示', // 弹窗标题 |
7 | titleStyle:"", //标题存在的位置 center left | 7 | titleStyle:"", //标题存在的位置 center left |
8 | width:"", //弹窗的宽度 | ||
9 | height:"", //弹窗的高度 | ||
10 | editItem: 'ywbl/dbx/aa', // 子组件的路径 相当于你平时img取的路径 | 8 | editItem: 'ywbl/dbx/aa', // 子组件的路径 相当于你平时img取的路径 |
11 | formData:this.formData, //父组件传给子组件的参数 | 9 | formData:this.formData, //父组件传给子组件的参数 |
12 | btnShow:false,//按钮显隐 false隐藏 true显示 | ||
13 | confirmText:"" // 确认按钮的文字 | ||
14 | cancelText:"" //取消按钮的文字 | ||
15 | cancel: function () {}, //取消事件的回调 | 10 | cancel: function () {}, //取消事件的回调 |
16 | confirm: function () {}, //确认事件的回调 | 11 | confirm: function () {}, //确认事件的回调 |
17 | iconClass:"",//标题前面icon图标名称 | 12 | iconClass:"",//标题前面icon图标名称 | ... | ... |
1 | <template> | 1 | <template> |
2 | <div v-if="!item.hidden"> | 2 | <div v-if="!item.hidden"> |
3 | <template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)"> | 3 | <template |
4 | v-if="hasOneShowingChild(item.children, item) && (!onlyOneChild.children || onlyOneChild.noShowingChildren)"> | ||
4 | <app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)"> | 5 | <app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)"> |
5 | <el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}"> | 6 | <el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{ 'submenu-title-noDropdown': !isNest }"> |
6 | <item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" | 7 | <item :icon="onlyOneChild.meta.icon || (item.meta && item.meta.icon)" :title="onlyOneChild.meta.title" |
7 | class="menu-icon" /> | 8 | class="menu-icon" /> |
8 | </el-menu-item> | 9 | </el-menu-item> |
9 | </app-link> | 10 | </app-link> | ... | ... |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | <el-scrollbar wrap-class="scrollbar-wrapper"> | 3 | <el-scrollbar wrap-class="scrollbar-wrapper"> |
4 | <el-menu :default-active="activeMenu" :background-color="variables.menuBg" :text-color="variables.menuText" | 4 | <el-menu router :default-active="activeMenu" :background-color="variables.menuBg" :text-color="variables.menuText" |
5 | :unique-opened="true" :active-text-color="variables.menuActiveText" :collapse-transition="false" | 5 | :unique-opened="true" :active-text-color="variables.menuActiveText" :collapse-transition="false" |
6 | mode="vertical"> | 6 | mode="vertical"> |
7 | <!-- 权限菜单 --> | 7 | <!-- 权限菜单 --> |
... | @@ -26,7 +26,6 @@ export default { | ... | @@ -26,7 +26,6 @@ export default { |
26 | activeMenu () { | 26 | activeMenu () { |
27 | const route = this.$route | 27 | const route = this.$route |
28 | const { meta, path } = route | 28 | const { meta, path } = route |
29 | // if set path, the sidebar will highlight the path you set | ||
30 | if (meta.activeMenu) { | 29 | if (meta.activeMenu) { |
31 | return meta.activeMenu | 30 | return meta.activeMenu |
32 | } | 31 | } |
... | @@ -37,7 +36,7 @@ export default { | ... | @@ -37,7 +36,7 @@ export default { |
37 | }, | 36 | }, |
38 | asyncRoutes () { | 37 | asyncRoutes () { |
39 | return asyncRoutes | 38 | return asyncRoutes |
40 | }, | 39 | } |
41 | }, | 40 | } |
42 | } | 41 | } |
43 | </script> | 42 | </script> | ... | ... |
src/layout/newLayout.vue
0 → 100644
1 | <template> | ||
2 | <div> | ||
3 | <!--布局容器--> | ||
4 | <el-container class="home_container"> | ||
5 | <!--顶部栏--> | ||
6 | <el-header class="home_header"> | ||
7 | <span class="home_title"> | ||
8 | |||
9 | </span> | ||
10 | </el-header> | ||
11 | <el-container > | ||
12 | <!--左侧侧边栏--> | ||
13 | <el-aside class="home_aside" width="180px"> | ||
14 | |||
15 | </el-aside> | ||
16 | <!--主要区域容器--> | ||
17 | <el-main class="home_main"> | ||
18 | 主要区域容器 | ||
19 | </el-main> | ||
20 | </el-container> | ||
21 | </el-container> | ||
22 | </div> | ||
23 | |||
24 | </template> | ||
25 | <script> | ||
26 | |||
27 | </script> | ||
28 | <style> | ||
29 | .home_container { | ||
30 | height: 100%; | ||
31 | position: absolute; | ||
32 | top: 0px; | ||
33 | left: 0px; | ||
34 | width: 100%; | ||
35 | } | ||
36 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -22,13 +22,19 @@ router.beforeEach(async (to, from, next) => { | ... | @@ -22,13 +22,19 @@ router.beforeEach(async (to, from, next) => { |
22 | const { result: getMenuData } = await getMenuInfo() | 22 | const { result: getMenuData } = await getMenuInfo() |
23 | const accessRoutes = await store.dispatch('permission/generateRoutes', getMenuData) | 23 | const accessRoutes = await store.dispatch('permission/generateRoutes', getMenuData) |
24 | router.addRoutes(accessRoutes) | 24 | router.addRoutes(accessRoutes) |
25 | const routeTo = Cookies.get('routerTo') | ||
26 | if (routeTo) { | ||
27 | next(routeTo) | ||
28 | } else { | ||
25 | next({ ...to, replace: true }) | 29 | next({ ...to, replace: true }) |
26 | } | 30 | } |
31 | } | ||
27 | NProgress.done() | 32 | NProgress.done() |
28 | 33 | ||
29 | }) | 34 | }) |
30 | router.afterEach(to => { | 35 | router.afterEach(to => { |
31 | // 解决刷新页面报404问题 | 36 | // 解决刷新页面报404问题 |
37 | console.log(to.fullPath); | ||
32 | Cookies.set("routerTo", to.fullPath) | 38 | Cookies.set("routerTo", to.fullPath) |
33 | NProgress.done() | 39 | NProgress.done() |
34 | }) | 40 | }) | ... | ... |
... | @@ -21,9 +21,18 @@ export const constantRoutes = [ | ... | @@ -21,9 +21,18 @@ export const constantRoutes = [ |
21 | ] | 21 | ] |
22 | }, | 22 | }, |
23 | { | 23 | { |
24 | path: '/404', | 24 | path: '/', |
25 | component: Layout, | ||
26 | meta: { title: '404' }, | ||
27 | hidden: true, | ||
28 | children: [ | ||
29 | { | ||
30 | path: '404', | ||
25 | component: () => import('@/views/error-page/404'), | 31 | component: () => import('@/views/error-page/404'), |
26 | hidden: true | 32 | name: '404', |
33 | meta: { title: '404' } | ||
34 | } | ||
35 | ] | ||
27 | }, | 36 | }, |
28 | // 业务流程框架 | 37 | // 业务流程框架 |
29 | { | 38 | { |
... | @@ -40,9 +49,23 @@ export const constantRoutes = [ | ... | @@ -40,9 +49,23 @@ export const constantRoutes = [ |
40 | name: 'workFrameView', | 49 | name: 'workFrameView', |
41 | hidden: true, | 50 | hidden: true, |
42 | meta: { title: '发起申请' } | 51 | meta: { title: '发起申请' } |
52 | }, | ||
53 | { | ||
54 | path: '*', | ||
55 | component: Layout, | ||
56 | meta: { title: '404' }, | ||
57 | redirect: '/404', | ||
58 | hidden: true, | ||
59 | children: [ | ||
60 | { | ||
61 | path: '404', | ||
62 | component: () => import('@/views/error-page/404'), | ||
63 | name: '404', | ||
64 | meta: { title: '404' } | ||
43 | } | 65 | } |
66 | ] | ||
67 | }, | ||
44 | ] | 68 | ] |
45 | |||
46 | /** | 69 | /** |
47 | * asyncRoutes | 70 | * asyncRoutes |
48 | * the routes that need to be dynamically loaded based on user roles | 71 | * the routes that need to be dynamically loaded based on user roles |
... | @@ -68,8 +91,7 @@ export const asyncRoutes = [ | ... | @@ -68,8 +91,7 @@ export const asyncRoutes = [ |
68 | parentId: null, | 91 | parentId: null, |
69 | component: Layout, | 92 | component: Layout, |
70 | meta: { title: '业务办理', icon: 'ywbl' }, | 93 | meta: { title: '业务办理', icon: 'ywbl' }, |
71 | redirect: '/ywbl/ywsq/ywsq', | 94 | redirect: '/ywbl/ywsq', |
72 | alwaysShow: true, | ||
73 | name: 'ywbl', | 95 | name: 'ywbl', |
74 | children: [ | 96 | children: [ |
75 | { | 97 | { | ... | ... |
... | @@ -3,16 +3,18 @@ export default function filterAsyncRouter (routers) { | ... | @@ -3,16 +3,18 @@ export default function filterAsyncRouter (routers) { |
3 | routers.forEach(item => { | 3 | routers.forEach(item => { |
4 | if (!item.children) { | 4 | if (!item.children) { |
5 | delete item.children | 5 | delete item.children |
6 | delete item.redirect | 6 | } else { |
7 | item.children = filterAsyncRouter(item.children) | ||
7 | } | 8 | } |
9 | item.path = JSON.parse(item.metadata).path | ||
8 | if (!item.parentId) { | 10 | if (!item.parentId) { |
9 | item.component = Layout | 11 | item.component = Layout |
10 | } else { | 12 | } else { |
11 | item.component = loadView(item.uri) | 13 | item.component = loadView(item.uri) |
12 | } | 14 | } |
13 | item.meta.icon = item.icon | 15 | item.meta = { |
14 | if (item.children) { | 16 | title: item.name, |
15 | item.children = filterAsyncRouter(item.children) | 17 | icon: item.icon |
16 | } | 18 | } |
17 | }) | 19 | }) |
18 | return routers | 20 | return routers | ... | ... |
src/views/error-page/404.png
0 → 100644
577 KB
1 | <template> | 1 | <template> |
2 | <div class="wscn-http404-container"> | 2 | <div> |
3 | 404 | 3 | <img src="./404.png" alt=""> |
4 | </div> | 4 | </div> |
5 | </template> | 5 | </template> |
6 | 6 | ||
... | @@ -34,14 +34,14 @@ export default { | ... | @@ -34,14 +34,14 @@ export default { |
34 | 34 | ||
35 | .wscn-http404 { | 35 | .wscn-http404 { |
36 | position: relative; | 36 | position: relative; |
37 | width: 1200px; | 37 | width: 100%; |
38 | padding: 0 50px; | 38 | padding: 0 50px; |
39 | overflow: hidden; | 39 | overflow: hidden; |
40 | 40 | ||
41 | .pic-404 { | 41 | .pic-404 { |
42 | position: relative; | 42 | position: relative; |
43 | float: left; | 43 | float: left; |
44 | width: 600px; | 44 | width: 100%; |
45 | overflow: hidden; | 45 | overflow: hidden; |
46 | 46 | ||
47 | &__parent { | 47 | &__parent { | ... | ... |
src/views/sjgx/gbmsjgx/gbmsjgx.vue
0 → 100644
1 | <template> | ||
2 | <div class="from-clues"> | ||
3 | <!-- 表单部分 --> | ||
4 | <div class="from-clues-header"> | ||
5 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> | ||
6 | <el-row> | ||
7 | <el-col :span="5"> | ||
8 | <el-form-item label="接口类型"> | ||
9 | <el-input | ||
10 | placeholder="请输入编号" | ||
11 | v-model="queryForm.jklx" | ||
12 | class="width200px" | ||
13 | clearable | ||
14 | ></el-input> | ||
15 | </el-form-item> | ||
16 | </el-col> | ||
17 | <el-col :span="5"> | ||
18 | <el-form-item label="调用状态"> | ||
19 | <el-input | ||
20 | placeholder="请输入编号" | ||
21 | v-model="queryForm.dyzt" | ||
22 | class="width200px" | ||
23 | clearable | ||
24 | ></el-input> | ||
25 | </el-form-item> | ||
26 | </el-col> | ||
27 | </el-row> | ||
28 | <el-row> | ||
29 | <el-col :span="5"> | ||
30 | <el-form-item label="访问IP"> | ||
31 | |||
32 | <el-input | ||
33 | placeholder="请输入IP" | ||
34 | v-model="queryForm.fwip" | ||
35 | class="width200px" | ||
36 | clearable | ||
37 | ></el-input> | ||
38 | |||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | <el-col :span="5"> | ||
42 | <el-form-item label="访问时间"> | ||
43 | <el-input placeholder="请输入业务号" v-model="queryForm.fwsj" clearable class="width200px"> | ||
44 | </el-input> | ||
45 | </el-form-item> | ||
46 | </el-col> | ||
47 | </el-row> | ||
48 | <el-row> | ||
49 | <el-col :span="10"> | ||
50 | <el-form-item label="请求地址"> | ||
51 | |||
52 | <el-input | ||
53 | placeholder="请输入url" | ||
54 | v-model="queryForm.qqdz" | ||
55 | class="width500px" | ||
56 | clearable | ||
57 | ></el-input> | ||
58 | |||
59 | </el-form-item> | ||
60 | </el-col> | ||
61 | </el-row> | ||
62 | |||
63 | </el-row> | ||
64 | <el-row> | ||
65 | <el-col :span="20"> | ||
66 | <el-form-item label="请求头数据"> | ||
67 | |||
68 | <el-input | ||
69 | placeholder="请输入请求头数据" | ||
70 | v-model="queryForm.qqtsj" | ||
71 | class="width500px" | ||
72 | clearable | ||
73 | ></el-input> | ||
74 | |||
75 | </el-form-item> | ||
76 | </el-col> | ||
77 | </el-row> | ||
78 | <el-row> | ||
79 | <el-col :span="20"> | ||
80 | <el-form-item label="入参数据"> | ||
81 | |||
82 | <el-input | ||
83 | placeholder="请输入参数" | ||
84 | v-model="queryForm.rcsj" | ||
85 | class="width500px" | ||
86 | clearable | ||
87 | ></el-input> | ||
88 | |||
89 | </el-form-item> | ||
90 | </el-col> | ||
91 | </el-row> | ||
92 | |||
93 | <el-row> | ||
94 | <el-col :span="5"> | ||
95 | <el-form-item label="调用描述"> | ||
96 | |||
97 | <el-input | ||
98 | placeholder="调用描述" | ||
99 | v-model="queryForm.dyms" | ||
100 | class="width200px" | ||
101 | clearable | ||
102 | ></el-input> | ||
103 | |||
104 | </el-form-item> | ||
105 | </el-col> | ||
106 | </el-row> | ||
107 | |||
108 | <el-row> | ||
109 | <el-col :span="5"> | ||
110 | <el-form-item label="返回数据"> | ||
111 | |||
112 | <el-input | ||
113 | placeholder="返回数据" | ||
114 | v-model="queryForm.fhsj" | ||
115 | class="width200px" | ||
116 | clearable | ||
117 | ></el-input> | ||
118 | |||
119 | </el-form-item> | ||
120 | </el-col> | ||
121 | </el-row> | ||
122 | |||
123 | <el-row> | ||
124 | <el-col :span="4" class="btnColRight"> | ||
125 | <el-form-item> | ||
126 | <el-button type="primary" @click="queryClick()">发送</el-button> | ||
127 | |||
128 | </el-form-item> | ||
129 | </el-col> | ||
130 | </el-row> | ||
131 | </el-form> | ||
132 | </div> | ||
133 | <!-- 表格 --> | ||
134 | |||
135 | </div> | ||
136 | </template> | ||
137 | <script> | ||
138 | |||
139 | |||
140 | export default { | ||
141 | |||
142 | data () { | ||
143 | return { | ||
144 | queryForm: { | ||
145 | jklx: "", | ||
146 | dyzt: "", | ||
147 | fwip: "", | ||
148 | fwsj: "", | ||
149 | qqdz: "", | ||
150 | qqtsj: "", | ||
151 | rcsj: "", | ||
152 | dyms: "", | ||
153 | fhsj: "", | ||
154 | }, | ||
155 | } | ||
156 | }, | ||
157 | |||
158 | } | ||
159 | </script> | ||
160 | <style scoped lang="scss"> | ||
161 | @import "~@/styles/public.scss"; | ||
162 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/views/sjgx/jkgnck/jkgnck.vue
0 → 100644
1 | <template> | ||
2 | <div class="from-clues"> | ||
3 | <!-- 表单部分 --> | ||
4 | <div class="from-clues-header"> | ||
5 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> | ||
6 | <el-row> | ||
7 | <el-col :span="5"> | ||
8 | <el-form-item label="接口类型"> | ||
9 | <el-input | ||
10 | placeholder="请输入编号" | ||
11 | v-model="queryForm.jklx" | ||
12 | class="width200px" | ||
13 | clearable | ||
14 | ></el-input> | ||
15 | </el-form-item> | ||
16 | </el-col> | ||
17 | <el-col :span="5"> | ||
18 | <el-form-item label="调用状态"> | ||
19 | <el-input | ||
20 | placeholder="请输入编号" | ||
21 | v-model="queryForm.dyzt" | ||
22 | class="width200px" | ||
23 | clearable | ||
24 | ></el-input> | ||
25 | </el-form-item> | ||
26 | </el-col> | ||
27 | </el-row> | ||
28 | <el-row> | ||
29 | <el-col :span="5"> | ||
30 | <el-form-item label="访问IP"> | ||
31 | |||
32 | <el-input | ||
33 | placeholder="请输入IP" | ||
34 | v-model="queryForm.fwip" | ||
35 | class="width200px" | ||
36 | clearable | ||
37 | ></el-input> | ||
38 | |||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | <el-col :span="5"> | ||
42 | <el-form-item label="访问时间"> | ||
43 | <el-input placeholder="请输入业务号" v-model="queryForm.fwsj" clearable class="width200px"> | ||
44 | </el-input> | ||
45 | </el-form-item> | ||
46 | </el-col> | ||
47 | </el-row> | ||
48 | <el-row> | ||
49 | <el-col :span="10"> | ||
50 | <el-form-item label="请求地址"> | ||
51 | |||
52 | <el-input | ||
53 | placeholder="请输入url" | ||
54 | v-model="queryForm.qqdz" | ||
55 | class="width500px" | ||
56 | clearable | ||
57 | ></el-input> | ||
58 | |||
59 | </el-form-item> | ||
60 | </el-col> | ||
61 | </el-row> | ||
62 | |||
63 | </el-row> | ||
64 | <el-row> | ||
65 | <el-col :span="20"> | ||
66 | <el-form-item label="请求头数据"> | ||
67 | |||
68 | <el-input | ||
69 | placeholder="请输入请求头数据" | ||
70 | v-model="queryForm.qqtsj" | ||
71 | class="width500px" | ||
72 | clearable | ||
73 | ></el-input> | ||
74 | |||
75 | </el-form-item> | ||
76 | </el-col> | ||
77 | </el-row> | ||
78 | <el-row> | ||
79 | <el-col :span="20"> | ||
80 | <el-form-item label="入参数据"> | ||
81 | |||
82 | <el-input | ||
83 | placeholder="请输入参数" | ||
84 | v-model="queryForm.rcsj" | ||
85 | class="width500px" | ||
86 | clearable | ||
87 | ></el-input> | ||
88 | |||
89 | </el-form-item> | ||
90 | </el-col> | ||
91 | </el-row> | ||
92 | |||
93 | <el-row> | ||
94 | <el-col :span="5"> | ||
95 | <el-form-item label="调用描述"> | ||
96 | |||
97 | <el-input | ||
98 | placeholder="调用描述" | ||
99 | v-model="queryForm.dyms" | ||
100 | class="width200px" | ||
101 | clearable | ||
102 | ></el-input> | ||
103 | |||
104 | </el-form-item> | ||
105 | </el-col> | ||
106 | </el-row> | ||
107 | |||
108 | <el-row> | ||
109 | <el-col :span="5"> | ||
110 | <el-form-item label="返回数据"> | ||
111 | |||
112 | <el-input | ||
113 | placeholder="返回数据" | ||
114 | v-model="queryForm.fhsj" | ||
115 | class="width200px" | ||
116 | clearable | ||
117 | ></el-input> | ||
118 | |||
119 | </el-form-item> | ||
120 | </el-col> | ||
121 | </el-row> | ||
122 | |||
123 | <el-row> | ||
124 | <el-col :span="4" class="btnColRight"> | ||
125 | <el-form-item> | ||
126 | <el-button type="primary" @click="queryClick()">发送</el-button> | ||
127 | |||
128 | </el-form-item> | ||
129 | </el-col> | ||
130 | </el-row> | ||
131 | </el-form> | ||
132 | </div> | ||
133 | <!-- 表格 --> | ||
134 | |||
135 | </div> | ||
136 | </template> | ||
137 | <script> | ||
138 | |||
139 | |||
140 | export default { | ||
141 | |||
142 | data () { | ||
143 | return { | ||
144 | queryForm: { | ||
145 | jklx: "", | ||
146 | dyzt: "", | ||
147 | fwip: "", | ||
148 | fwsj: "", | ||
149 | qqdz: "", | ||
150 | qqtsj: "", | ||
151 | rcsj: "", | ||
152 | dyms: "", | ||
153 | fhsj: "", | ||
154 | }, | ||
155 | } | ||
156 | }, | ||
157 | |||
158 | } | ||
159 | </script> | ||
160 | <style scoped lang="scss"> | ||
161 | @import "~@/styles/public.scss"; | ||
162 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -23,6 +23,9 @@ export function getForm(tabName, djywbm) { | ... | @@ -23,6 +23,9 @@ export function getForm(tabName, djywbm) { |
23 | case "fwsyqslxx400": | 23 | case "fwsyqslxx400": |
24 | form = require("@/views/ywbl/fdcq2/slxx400.vue"); | 24 | form = require("@/views/ywbl/fdcq2/slxx400.vue"); |
25 | break; | 25 | break; |
26 | case "fwsyqslxx900": | ||
27 | form = require("@/views/ywbl/fdcq2/slxx900.vue"); | ||
28 | break; | ||
26 | case "tdslxxCfdj": | 29 | case "tdslxxCfdj": |
27 | form = require("@/views/ywbl/cfdj/tdslxx.vue"); | 30 | form = require("@/views/ywbl/cfdj/tdslxx.vue"); |
28 | break; | 31 | break; |
... | @@ -53,6 +56,9 @@ export function getForm(tabName, djywbm) { | ... | @@ -53,6 +56,9 @@ export function getForm(tabName, djywbm) { |
53 | case "fzxx": | 56 | case "fzxx": |
54 | form = require("@/views/workflow/components/fzxx.vue"); | 57 | form = require("@/views/workflow/components/fzxx.vue"); |
55 | break; | 58 | break; |
59 | default: | ||
60 | form = require("@/views/error-page/404.vue"); | ||
61 | break; | ||
56 | } | 62 | } |
57 | return (r) => require.ensure([], () => r(form)); | 63 | return (r) => require.ensure([], () => r(form)); |
58 | } | 64 | } | ... | ... |
... | @@ -258,7 +258,7 @@ export default { | ... | @@ -258,7 +258,7 @@ export default { |
258 | this.$popup({ | 258 | this.$popup({ |
259 | titleStyle: "left", | 259 | titleStyle: "left", |
260 | title: "登记簿详情", // 弹窗标题 | 260 | title: "登记簿详情", // 弹窗标题 |
261 | editItem: "ywbl/fdcq2/slxx900", // 弹窗内容 | 261 | editItem: "ywbl/fdcq2/slxxCompareDetai", // 弹窗内容 |
262 | formData: { | 262 | formData: { |
263 | bsmSlsq: this.propsParam.bsmSldy, | 263 | bsmSlsq: this.propsParam.bsmSldy, |
264 | qllx: this.propsParam.qllx | 264 | qllx: this.propsParam.qllx | ... | ... |
... | @@ -261,7 +261,7 @@ export default { | ... | @@ -261,7 +261,7 @@ export default { |
261 | this.$popup({ | 261 | this.$popup({ |
262 | titleStyle: "left", | 262 | titleStyle: "left", |
263 | title: "登记簿详情", // 弹窗标题 | 263 | title: "登记簿详情", // 弹窗标题 |
264 | editItem: "ywbl/fdcq2/slxx900", // 弹窗内容 | 264 | editItem: "ywbl/fdcq2/slxxCompareDetai;", // 弹窗内容 |
265 | formData: { | 265 | formData: { |
266 | bsmSlsq: this.propsParam.bsmSldy, | 266 | bsmSlsq: this.propsParam.bsmSldy, |
267 | qllx: this.propsParam.qllx | 267 | qllx: this.propsParam.qllx | ... | ... |
This diff is collapsed.
Click to expand it.
src/views/ywbl/fdcq2/slxxCompareDetai.vue
0 → 100644
1 | <template> | ||
2 | <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" | ||
3 | style="overflow-y:scroll;"> | ||
4 | <div class="tableBox" > | ||
5 | <div class="title"> | ||
6 | <span v-if="this.propsParam.formData.qllx=='A04' || this.propsParam.formData.qllx=='A06' || this.propsParam.formData.qllx=='A08'">{{ title }}</span> | ||
7 | <span v-if="this.propsParam.formData.qllx=='A03' || this.propsParam.formData.qllx=='A05' || this.propsParam.formData.qllx=='A07'">{{ ydTitile }}</span> | ||
8 | </div> | ||
9 | <div class="xxTableBox"> | ||
10 | <table class="xxTable"> | ||
11 | <tr> | ||
12 | <td></td> | ||
13 | <td>变更前</td> | ||
14 | <td>变更后</td> | ||
15 | </tr> | ||
16 | <tr v-if="this.propsParam.formData.qllx=='A04' || this.propsParam.formData.qllx=='A06' || this.propsParam.formData.qllx=='A08'" v-for="(item, colindex) in columns" :key="colindex"> | ||
17 | <td> | ||
18 | {{ item.label }} | ||
19 | </td> | ||
20 | <td | ||
21 | v-for="(row, index) in tableData" | ||
22 | :key="index" | ||
23 | :class="[ | ||
24 | row.qszt == '2' ? 'lishi' : '', | ||
25 | row.qszt == '0' ? 'linshi' : '', | ||
26 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
27 | ]" | ||
28 | > | ||
29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
30 | 正在办理 | ||
31 | </div> | ||
32 | <span v-if="item.prop == 'qszt'"> | ||
33 | {{ getQsztName(row[item.prop]) }} | ||
34 | </span> | ||
35 | |||
36 | <span v-else> {{ row[item.prop] }}</span> | ||
37 | </td> | ||
38 | </tr> | ||
39 | <tr v-if="this.propsParam.formData.qllx=='A03' || this.propsParam.formData.qllx=='A05' || this.propsParam.formData.qllx=='A07'" v-for="(item, colindex) in tdColumns" :key="colindex"> | ||
40 | <td> | ||
41 | {{ item.label }} | ||
42 | </td> | ||
43 | <td | ||
44 | v-for="(row, index) in tableData" | ||
45 | :key="index" | ||
46 | :class="[ | ||
47 | row.qszt == '2' ? 'lishi' : '', | ||
48 | row.qszt == '0' ? 'linshi' : '', | ||
49 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
50 | ]" | ||
51 | > | ||
52 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
53 | 正在办理 | ||
54 | </div> | ||
55 | <span v-if="item.prop == 'qszt'"> | ||
56 | {{ getQsztName(row[item.prop]) }} | ||
57 | </span> | ||
58 | |||
59 | <span v-else> {{ row[item.prop] }}</span> | ||
60 | </td> | ||
61 | </tr> | ||
62 | </table> | ||
63 | </div> | ||
64 | </div> | ||
65 | </div> | ||
66 | </template> | ||
67 | |||
68 | <script> | ||
69 | import {getFdcqLSInfo} from "@/api/registerBook.js"; | ||
70 | import { datas } from "@/views/registerBook/qlxxFormData.js"; | ||
71 | export default { | ||
72 | data() { | ||
73 | return { | ||
74 | title: "房地产权登记信息(独幢、层、套、间房屋)", | ||
75 | ydTitile: "土地使用权登记信息", | ||
76 | qsztList: datas.columns().qsztList, | ||
77 | checkList: datas.columns().checkList, | ||
78 | //传递参数 | ||
79 | propsParam: this.$attrs, | ||
80 | //列表数据 | ||
81 | tableData: [], | ||
82 | //空列值个数 | ||
83 | emptycolNum: 1, | ||
84 | //列名称对象 | ||
85 | columns: datas.columns().FDCQ2, | ||
86 | tdColumns: datas.columns().JSYDSYQ | ||
87 | |||
88 | }; | ||
89 | }, | ||
90 | created() { | ||
91 | this.loadData(); | ||
92 | }, | ||
93 | mounted() { | ||
94 | this.timeLineHeight = document.documentElement.clientHeight - 210; | ||
95 | window.onresize = () => { | ||
96 | this.timeLineHeight = document.documentElement.clientHeight - 210; | ||
97 | }; | ||
98 | }, | ||
99 | methods: { | ||
100 | loadData() { | ||
101 | getFdcqLSInfo(this.propsParam.formData).then((res) => { | ||
102 | if (res.code === 200) { | ||
103 | this.tableData = res.result; | ||
104 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
105 | this.emptycolNum = | ||
106 | datas.columns().emptycolNum - this.tableData.length; | ||
107 | } else { | ||
108 | this.emptycolNum = 0; | ||
109 | } | ||
110 | } | ||
111 | }); | ||
112 | }, | ||
113 | checkChange() { | ||
114 | if (this.checkList.length === 0) { | ||
115 | this.tableData = []; | ||
116 | this.emptycolNum = datas.columns().emptycolNum; | ||
117 | } else { | ||
118 | this.loadData(); | ||
119 | } | ||
120 | }, | ||
121 | getQsztName(code) { | ||
122 | let name = ""; | ||
123 | for (let item of this.qsztList) { | ||
124 | if (item.value == code) { | ||
125 | name = item.label; | ||
126 | break; | ||
127 | } | ||
128 | } | ||
129 | return name; | ||
130 | }, | ||
131 | }, | ||
132 | }; | ||
133 | </script> | ||
134 | |||
135 | <style lang="scss" scoped> | ||
136 | @import "~@/views/registerBook/qlxxCommon.scss"; | ||
137 | </style> |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="closeDialog">取消</el-button> | 49 | <el-button @click="closeDialog">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
... | @@ -101,7 +101,6 @@ export default { | ... | @@ -101,7 +101,6 @@ export default { |
101 | this.$message.error("请至少选择一条数据"); | 101 | this.$message.error("请至少选择一条数据"); |
102 | return; | 102 | return; |
103 | } | 103 | } |
104 | this.saveloding = true; | ||
105 | if (!this.isJump) { | 104 | if (!this.isJump) { |
106 | startBusinessFlow({ | 105 | startBusinessFlow({ |
107 | bsmSqyw: Cookies.get("bsmSqyw"), | 106 | bsmSqyw: Cookies.get("bsmSqyw"), |
... | @@ -109,7 +108,6 @@ export default { | ... | @@ -109,7 +108,6 @@ export default { |
109 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 108 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', |
110 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 109 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', |
111 | }).then((res) => { | 110 | }).then((res) => { |
112 | this.saveloding = false; | ||
113 | if (res.code == 200) { | 111 | if (res.code == 200) { |
114 | this.$message({ | 112 | this.$message({ |
115 | showClose: true, | 113 | showClose: true, |
... | @@ -118,7 +116,7 @@ export default { | ... | @@ -118,7 +116,7 @@ export default { |
118 | }) | 116 | }) |
119 | this.jump(res.result, this.djywbm) | 117 | this.jump(res.result, this.djywbm) |
120 | } else { | 118 | } else { |
121 | this.$message.error(res.message); | 119 | this.$message.error(res.message) |
122 | } | 120 | } |
123 | }) | 121 | }) |
124 | } else { | 122 | } else { |
... | @@ -126,7 +124,6 @@ export default { | ... | @@ -126,7 +124,6 @@ export default { |
126 | bsmSlsq: this.$route.query.bsmSlsq, | 124 | bsmSlsq: this.$route.query.bsmSlsq, |
127 | bdcdysz: this.bdcdysz | 125 | bdcdysz: this.bdcdysz |
128 | }).then(res => { | 126 | }).then(res => { |
129 | this.saveloding = false; | ||
130 | if (res.code == 200) { | 127 | if (res.code == 200) { |
131 | this.$message({ | 128 | this.$message({ |
132 | showClose: true, | 129 | showClose: true, | ... | ... |
... | @@ -48,7 +48,7 @@ | ... | @@ -48,7 +48,7 @@ |
48 | </div> | 48 | </div> |
49 | <div class="submit_button"> | 49 | <div class="submit_button"> |
50 | <el-button @click="closeDialog">取消</el-button> | 50 | <el-button @click="closeDialog">取消</el-button> |
51 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> | 51 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
52 | </div> | 52 | </div> |
53 | </div> | 53 | </div> |
54 | </template> | 54 | </template> |
... | @@ -74,8 +74,7 @@ export default { | ... | @@ -74,8 +74,7 @@ export default { |
74 | columns: datas.columns(), | 74 | columns: datas.columns(), |
75 | data: [], | 75 | data: [], |
76 | }, | 76 | }, |
77 | bdcdysz: [], | 77 | bdcdysz: [] |
78 | saveloding: false | ||
79 | }; | 78 | }; |
80 | }, | 79 | }, |
81 | mounted () { | 80 | mounted () { |
... | @@ -101,14 +100,12 @@ export default { | ... | @@ -101,14 +100,12 @@ export default { |
101 | this.$message.error("请至少选择一条数据"); | 100 | this.$message.error("请至少选择一条数据"); |
102 | return; | 101 | return; |
103 | } | 102 | } |
104 | this.saveloding = true; | ||
105 | startBusinessFlow({ | 103 | startBusinessFlow({ |
106 | bsmSqyw: Cookies.get("bsmSqyw"), | 104 | bsmSqyw: Cookies.get("bsmSqyw"), |
107 | bdcdysz: this.bdcdysz, | 105 | bdcdysz: this.bdcdysz, |
108 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 106 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', |
109 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 107 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', |
110 | }).then((res) => { | 108 | }).then((res) => { |
111 | this.saveloding = false; | ||
112 | if (res.code == 200) { | 109 | if (res.code == 200) { |
113 | this.jump(res.result) | 110 | this.jump(res.result) |
114 | } else { | 111 | } else { | ... | ... |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="closeDialog">取消</el-button> | 49 | <el-button @click="closeDialog">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
... | @@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js"; | ... | @@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js"; |
58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
59 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
60 | import jump from "../components/mixin/jump"; | 60 | import jump from "../components/mixin/jump"; |
61 | import { selectCfdj, startBusinessFlow ,choiceBdcdy} from "@/api/ywbl.js"; | 61 | import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; |
62 | export default { | 62 | export default { |
63 | props: { | 63 | props: { |
64 | isJump: { type: Boolean, default: false }, | 64 | isJump: { type: Boolean, default: false }, |
... | @@ -74,8 +74,7 @@ export default { | ... | @@ -74,8 +74,7 @@ export default { |
74 | columns: datas.columns(), | 74 | columns: datas.columns(), |
75 | data: [], | 75 | data: [], |
76 | }, | 76 | }, |
77 | bdcdysz: [], | 77 | bdcdysz: [] |
78 | saveloding: false | ||
79 | }; | 78 | }; |
80 | }, | 79 | }, |
81 | mounted () { | 80 | mounted () { |
... | @@ -101,7 +100,6 @@ export default { | ... | @@ -101,7 +100,6 @@ export default { |
101 | this.$message.error("请至少选择一条数据"); | 100 | this.$message.error("请至少选择一条数据"); |
102 | return; | 101 | return; |
103 | } | 102 | } |
104 | this.saveloding = true; | ||
105 | if (!this.isJump) { | 103 | if (!this.isJump) { |
106 | startBusinessFlow({ | 104 | startBusinessFlow({ |
107 | bsmSqyw: Cookies.get("bsmSqyw"), | 105 | bsmSqyw: Cookies.get("bsmSqyw"), |
... | @@ -109,7 +107,6 @@ export default { | ... | @@ -109,7 +107,6 @@ export default { |
109 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 107 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', |
110 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 108 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', |
111 | }).then((res) => { | 109 | }).then((res) => { |
112 | this.saveloding = false; | ||
113 | if (res.code == 200) { | 110 | if (res.code == 200) { |
114 | this.$message({ | 111 | this.$message({ |
115 | showClose: true, | 112 | showClose: true, |
... | @@ -118,7 +115,7 @@ export default { | ... | @@ -118,7 +115,7 @@ export default { |
118 | }) | 115 | }) |
119 | this.jump(res.result, this.djywbm) | 116 | this.jump(res.result, this.djywbm) |
120 | } else { | 117 | } else { |
121 | this.$message.error(res.message); | 118 | this.$message.error(res.message) |
122 | } | 119 | } |
123 | }) | 120 | }) |
124 | } else { | 121 | } else { |
... | @@ -126,7 +123,6 @@ export default { | ... | @@ -126,7 +123,6 @@ export default { |
126 | bsmSlsq: this.$route.query.bsmSlsq, | 123 | bsmSlsq: this.$route.query.bsmSlsq, |
127 | bdcdysz: this.bdcdysz | 124 | bdcdysz: this.bdcdysz |
128 | }).then(res => { | 125 | }).then(res => { |
129 | this.saveloding = false; | ||
130 | if (res.code == 200) { | 126 | if (res.code == 200) { |
131 | this.$message({ | 127 | this.$message({ |
132 | showClose: true, | 128 | showClose: true, | ... | ... |
... | @@ -49,7 +49,7 @@ | ... | @@ -49,7 +49,7 @@ |
49 | </div> | 49 | </div> |
50 | <div class="submit_button"> | 50 | <div class="submit_button"> |
51 | <el-button @click="closeDialog">取消</el-button> | 51 | <el-button @click="closeDialog">取消</el-button> |
52 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> | 52 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
53 | </div> | 53 | </div> |
54 | </div> | 54 | </div> |
55 | </template> | 55 | </template> |
... | @@ -76,8 +76,7 @@ export default { | ... | @@ -76,8 +76,7 @@ export default { |
76 | columns: datas.columns(), | 76 | columns: datas.columns(), |
77 | data: [], | 77 | data: [], |
78 | }, | 78 | }, |
79 | bdcdysz: [], | 79 | bdcdysz: [] |
80 | saveloding: false, | ||
81 | }; | 80 | }; |
82 | }, | 81 | }, |
83 | mounted () { | 82 | mounted () { |
... | @@ -102,14 +101,12 @@ export default { | ... | @@ -102,14 +101,12 @@ export default { |
102 | this.$message.error("请至少选择一条数据"); | 101 | this.$message.error("请至少选择一条数据"); |
103 | return; | 102 | return; |
104 | } | 103 | } |
105 | this.saveloding = true; | ||
106 | startBusinessFlow({ | 104 | startBusinessFlow({ |
107 | bsmSqyw: Cookies.get("bsmSqyw"), | 105 | bsmSqyw: Cookies.get("bsmSqyw"), |
108 | bdcdysz: this.bdcdysz, | 106 | bdcdysz: this.bdcdysz, |
109 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 107 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', |
110 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 108 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', |
111 | }).then((res) => { | 109 | }).then((res) => { |
112 | this.saveloding = false; | ||
113 | if (res.code == 200) { | 110 | if (res.code == 200) { |
114 | this.$message({ | 111 | this.$message({ |
115 | showClose: true, | 112 | showClose: true, | ... | ... |
... | @@ -45,7 +45,7 @@ import Cookies from 'js-cookie' | ... | @@ -45,7 +45,7 @@ import Cookies from 'js-cookie' |
45 | import { datas, sendThis } from "../javascript/fwsyq.js"; | 45 | import { datas, sendThis } from "../javascript/fwsyq.js"; |
46 | import table from "@/utils/mixin/table"; | 46 | import table from "@/utils/mixin/table"; |
47 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; | 47 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; |
48 | import { selectScBdcdy, startBusinessFlow, choiceBdcdy,selectOtherH } from "@/api/ywbl.js"; | 48 | import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH } from "@/api/ywbl.js"; |
49 | import { selectZrz, selectH } from "@/api/selectQlxx.js"; | 49 | import { selectZrz, selectH } from "@/api/selectQlxx.js"; |
50 | export default { | 50 | export default { |
51 | mixins: [table, jump], | 51 | mixins: [table, jump], |
... | @@ -79,18 +79,18 @@ export default { | ... | @@ -79,18 +79,18 @@ export default { |
79 | this.$emit("closeDialog"); | 79 | this.$emit("closeDialog"); |
80 | }, | 80 | }, |
81 | fetchData () { | 81 | fetchData () { |
82 | if(!this.isJump){ | 82 | if (!this.isJump) { |
83 | //从业务办理进入 | 83 | //从业务办理进入 |
84 | this.queryForm.sqywbm = this.djywbm; | 84 | this.queryForm.sqywbm = this.djywbm; |
85 | this.queryForm.fwfl = this.activeName; | 85 | this.queryForm.fwfl = this.activeName; |
86 | if(this.activeName=="zrz"){ | 86 | if (this.activeName == "zrz") { |
87 | selectZrz({ ...this.queryForm, ...this.pageData }).then((res) => { | 87 | selectZrz({ ...this.queryForm, ...this.pageData }).then((res) => { |
88 | if (res.code === 200) { | 88 | if (res.code === 200) { |
89 | this.tableData.total = res.result.total; | 89 | this.tableData.total = res.result.total; |
90 | this.tableData.data = res.result.records; | 90 | this.tableData.data = res.result.records; |
91 | } | 91 | } |
92 | }); | 92 | }); |
93 | }else{ | 93 | } else { |
94 | selectH({ ...this.queryForm, ...this.pageData }).then((res) => { | 94 | selectH({ ...this.queryForm, ...this.pageData }).then((res) => { |
95 | if (res.code === 200) { | 95 | if (res.code === 200) { |
96 | this.tableData.total = res.result.total; | 96 | this.tableData.total = res.result.total; |
... | @@ -99,7 +99,7 @@ export default { | ... | @@ -99,7 +99,7 @@ export default { |
99 | }) | 99 | }) |
100 | } | 100 | } |
101 | 101 | ||
102 | }else{ | 102 | } else { |
103 | //从办理框架选择不动产单元进入 | 103 | //从办理框架选择不动产单元进入 |
104 | //房屋首次办理选择不动产需找出对应自然幢下未选择的户 | 104 | //房屋首次办理选择不动产需找出对应自然幢下未选择的户 |
105 | this.queryForm.bsmSlsq = this.$route.query.bsmSlsq; | 105 | this.queryForm.bsmSlsq = this.$route.query.bsmSlsq; | ... | ... |
... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
33 | </div> | 33 | </div> |
34 | <div class="submit_button"> | 34 | <div class="submit_button"> |
35 | <el-button @click="closeDialog">取消</el-button> | 35 | <el-button @click="closeDialog">取消</el-button> |
36 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> | 36 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
37 | </div> | 37 | </div> |
38 | </div> | 38 | </div> |
39 | </template> | 39 | </template> |
... | @@ -62,13 +62,12 @@ export default { | ... | @@ -62,13 +62,12 @@ export default { |
62 | columns: datas.columns(), | 62 | columns: datas.columns(), |
63 | data: [], | 63 | data: [], |
64 | }, | 64 | }, |
65 | bdcdysz: [], | 65 | bdcdysz: [] |
66 | saveloding: false, | ||
67 | }; | 66 | }; |
68 | }, | 67 | }, |
69 | mounted () { | 68 | mounted () { |
70 | sendThis(this); | 69 | sendThis(this); |
71 | console.log(Cookies.get("bsmSqyw")) ; | 70 | console.log(Cookies.get("bsmSqyw")); |
72 | }, | 71 | }, |
73 | methods: { | 72 | methods: { |
74 | closeDialog () { | 73 | closeDialog () { |
... | @@ -90,14 +89,12 @@ export default { | ... | @@ -90,14 +89,12 @@ export default { |
90 | this.$message.error("请至少选择一条数据"); | 89 | this.$message.error("请至少选择一条数据"); |
91 | return; | 90 | return; |
92 | } | 91 | } |
93 | this.saveloding = true; | ||
94 | startBusinessFlow({ | 92 | startBusinessFlow({ |
95 | bsmSqyw: Cookies.get("bsmSqyw"), | 93 | bsmSqyw: Cookies.get("bsmSqyw"), |
96 | bdcdysz: this.bdcdysz, | 94 | bdcdysz: this.bdcdysz, |
97 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 95 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', |
98 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 96 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', |
99 | }).then((res) => { | 97 | }).then((res) => { |
100 | this.saveloding = false; | ||
101 | if (res.code == 200) { | 98 | if (res.code == 200) { |
102 | this.$message({ | 99 | this.$message({ |
103 | showClose: true, | 100 | showClose: true, | ... | ... |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="closeDialog">取消</el-button> | 49 | <el-button @click="closeDialog">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
... | @@ -75,8 +75,7 @@ export default { | ... | @@ -75,8 +75,7 @@ export default { |
75 | columns: datas.columns(), | 75 | columns: datas.columns(), |
76 | data: [], | 76 | data: [], |
77 | }, | 77 | }, |
78 | bdcdysz: [], | 78 | bdcdysz: [] |
79 | saveloding: false, | ||
80 | }; | 79 | }; |
81 | }, | 80 | }, |
82 | mounted () { | 81 | mounted () { |
... | @@ -101,14 +100,12 @@ export default { | ... | @@ -101,14 +100,12 @@ export default { |
101 | this.$message.error("请至少选择一条数据"); | 100 | this.$message.error("请至少选择一条数据"); |
102 | return; | 101 | return; |
103 | } | 102 | } |
104 | this.saveloding = true; | ||
105 | startBusinessFlow({ | 103 | startBusinessFlow({ |
106 | bsmSqyw: Cookies.get("bsmSqyw"), | 104 | bsmSqyw: Cookies.get("bsmSqyw"), |
107 | bdcdysz: this.bdcdysz, | 105 | bdcdysz: this.bdcdysz, |
108 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 106 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', |
109 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 107 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', |
110 | }).then((res) => { | 108 | }).then((res) => { |
111 | this.saveloding = false; | ||
112 | if (res.code == 200) { | 109 | if (res.code == 200) { |
113 | this.$message({ | 110 | this.$message({ |
114 | showClose: true, | 111 | showClose: true, |
... | @@ -132,8 +129,8 @@ export default { | ... | @@ -132,8 +129,8 @@ export default { |
132 | }) | 129 | }) |
133 | this.bdcdysz = val; | 130 | this.bdcdysz = val; |
134 | }, | 131 | }, |
135 | openBook(row){ | 132 | openBook (row) { |
136 | var param={bdcdyid:row.bdcdyid,qllx:row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx}; | 133 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; |
137 | this.$popup({ | 134 | this.$popup({ |
138 | titleStyle: "left", | 135 | titleStyle: "left", |
139 | title: "登记簿详情", // 弹窗标题 | 136 | title: "登记簿详情", // 弹窗标题 | ... | ... |
... | @@ -57,6 +57,10 @@ class data extends filter { | ... | @@ -57,6 +57,10 @@ class data extends filter { |
57 | label: "权利类型", | 57 | label: "权利类型", |
58 | }, | 58 | }, |
59 | { | 59 | { |
60 | prop: "xmmc", | ||
61 | label: "项目名称", | ||
62 | }, | ||
63 | { | ||
60 | prop: "zrzh", | 64 | prop: "zrzh", |
61 | label: "自然幢号", | 65 | label: "自然幢号", |
62 | }, | 66 | }, |
... | @@ -84,10 +88,6 @@ class data extends filter { | ... | @@ -84,10 +88,6 @@ class data extends filter { |
84 | ) | 88 | ) |
85 | } | 89 | } |
86 | }, | 90 | }, |
87 | // { | ||
88 | // prop: "qlsdfs", | ||
89 | // label: "权利设定方式", | ||
90 | // }, | ||
91 | { | 91 | { |
92 | prop: "jzwjbyt", | 92 | prop: "jzwjbyt", |
93 | label: "用途", | 93 | label: "用途", | ... | ... |
... | @@ -45,14 +45,7 @@ module.exports = { | ... | @@ -45,14 +45,7 @@ module.exports = { |
45 | '^/api': '' | 45 | '^/api': '' |
46 | } | 46 | } |
47 | } | 47 | } |
48 | // '': { | 48 | } |
49 | // target: process.env.VUE_APP_API_BASE_URL, | ||
50 | // changeOrigin: true, | ||
51 | // pathRewrite: { | ||
52 | // '^': '' | ||
53 | // } | ||
54 | // } | ||
55 | }, | ||
56 | }, | 49 | }, |
57 | css: { | 50 | css: { |
58 | extract: false, // 是否使用css分离插件 ExtractTextPlugin | 51 | extract: false, // 是否使用css分离插件 ExtractTextPlugin | ... | ... |
-
Please register or sign in to post a comment