0c9e21be by xiaomiao
2 parents de00e24a 4f6c4305
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 登记簿详情页 4 登记簿详情页
5 */ 5 */
......
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 // 获取自然幢下其他户 5 // 获取自然幢下其他户
......
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 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 */ 5 */
......
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 */ 5 */
......
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 */ 5 */
......
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 */ 5 */
......
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
19 },
14 }, 20 },
15 }, 21 }
16 }
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 33 }
29 } 34 }
30 }
31 </style> 35 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-04-26 09:36:10 4 * @LastEditTime: 2023-05-06 09:14:47
5 */ 5 */
6 import Vue from 'vue' 6 import Vue from 'vue'
7 import App from './App' 7 import App from './App'
......
...@@ -109,4 +109,4 @@ export function down (index, data) { ...@@ -109,4 +109,4 @@ export function down (index, data) {
109 data.splice(index + 1, 1); 109 data.splice(index + 1, 1);
110 data.splice(index, 0, downData); 110 data.splice(index, 0, downData);
111 } 111 }
112 }
...\ No newline at end of file ...\ No newline at end of file
112 }
......
...@@ -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,79 +122,87 @@ ...@@ -122,79 +122,87 @@
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: [
138 { 137 {
139 prop: "ssywh", 138 prop: "ssywh",
140 label: "上手业务号", 139 label: "上手业务号",
141 }, 140 },
142 { 141 {
143 prop: "zddm", 142 prop: "zddm",
144 label: "宗地代码", 143 label: "宗地代码",
145 }, 144 },
146 { 145 {
147 prop: "bhqzddm", 146 prop: "bhqzddm",
148 label: "变化前宗地代码", 147 label: "变化前宗地代码",
149 }, 148 },
150 { 149 {
151 prop: "bhnr", 150 prop: "bhnr",
152 label: "变化内容", 151 label: "变化内容",
153 }, 152 },
154 { 153 {
155 prop: "bhyy", 154 prop: "bhyy",
156 label: "变化原因", 155 label: "变化原因",
157 }, 156 },
158 { 157 {
159 prop: "djsj", 158 prop: "djsj",
160 label: "登记时间", 159 label: "登记时间",
161 }, 160 },
162 { 161 {
163 prop: "dbr", 162 prop: "dbr",
164 label: "登簿人", 163 label: "登簿人",
165 }, 164 },
166 { 165 {
167 prop: "fj", 166 prop: "fj",
168 label: "附记", 167 label: "附记",
169 }, 168 },
170 ], 169 ],
171 bhqkTableWidth: 745, 170 bhqkTableWidth: 745,
172 zdjbxx: {}, 171 zdjbxx: {},
173 zdbhqks: [], 172 zdbhqks: [],
174 propsParam: this.$attrs, 173 propsParam: this.$attrs,
175 showGroup: false, 174 showGroup: false,
176 bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"], 175 bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"],
177 }; 176 };
178 }, 177 },
179 created () { 178 filters: {
180 this.loadData(); 179 qlsdfs: function (value) {
181 }, 180 const foundItem = store.getters.dictData['A10'].find(item => item.dcode === String(value));
182 methods: { 181 if (foundItem) {
183 loadData () { 182 console.log(foundItem.dname, 'foundItem.dname');
184 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { 183 return foundItem.dname;
185 if (res.code === 200) {
186 this.zdjbxx = res.result.zdjbxx;
187 this.zdbhqks = res.result.zdbhqkList;
188 if (this.zdbhqks != null && this.zdbhqks.length > 0) {
189 this.showGroup = true;
190 }
191 } 184 }
192 }); 185 }
186 },
187 created () {
188 this.loadData();
189 },
190 methods: {
191 loadData () {
192 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
193 if (res.code === 200) {
194 this.zdjbxx = res.result.zdjbxx;
195 this.zdbhqks = res.result.zdbhqkList;
196 if (this.zdbhqks != null && this.zdbhqks.length > 0) {
197 this.showGroup = true;
198 }
199 }
200 });
201 },
193 }, 202 },
194 }, 203 };
195 };
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>
......
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,48 +29,52 @@ ...@@ -24,48 +29,52 @@
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 },
32 data () { 37 data () {
33 return { 38 return {
34 myValue: this.value, 39 myValue: this.value,
35 ruleForm: { 40 ruleForm: {
36 cllx: "", 41 cllx: "",
37 clmc: "", 42 clmc: "",
38 }, 43 },
39 }; 44 };
40 }, 45 },
41 computed: { 46 computed: {
42 ...mapGetters(["dictData"]), 47 ...mapGetters(["dictData"]),
43 },
44 watch: {
45 value (val) {
46 this.myValue = val;
47 }, 48 },
48 }, 49 watch: {
49 methods: { 50 value (val) {
50 closeDialog () { 51 this.myValue = val;
51 this.$emit("input", false); 52 },
52 this.ruleForm = {
53 cllx: "",
54 clmc: "",
55 }
56 }, 53 },
57 handleSubmit () { 54 methods: {
58 this.$parent.addSave(this.ruleForm); 55 closeDialog () {
59 this.$emit("input", false); 56 this.$emit("input", false);
57 this.ruleForm = {
58 cllx: "",
59 clmc: "",
60 }
61 },
62 handleSubmit () {
63 this.$parent.addSave(this.ruleForm);
64 this.ruleForm = {
65 cllx: "",
66 clmc: "",
67 }
68 this.$emit("input", false);
69 },
60 }, 70 },
61 }, 71 };
62 };
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 () {
......
...@@ -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,53 +187,56 @@ ...@@ -188,53 +187,56 @@
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();
198 let that = this 197 let that = this
199 this.$startLoading(); 198 this.$startLoading();
200 formdata.append("bsmSldy", this.propsParam.bsmSldy); 199 formdata.append("bsmSldy", this.propsParam.bsmSldy);
201 formdata.append("djlx", this.propsParam.djlx); 200 formdata.append("djlx", this.propsParam.djlx);
202 Init(formdata).then((res) => { 201 Init(formdata).then((res) => {
203 this.$nextTick(() => { 202 this.$nextTick(() => {
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;
207 })
208 }) 208 })
209 })
210 },
211 components: { qlrCommonTable },
212 computed: {
213 ...mapGetters(["dictData", "flag"])
214 },
215 data () {
216 return {
217 isShow: false,
218 disabled: true,
219 czrOptions: [],
220 ruleForm: {},
221 //传递参数
222 propsParam: {},
223 rules: {}
224 }
225 },
226 methods: {
227 // 更新权利人信息
228 upDateQlrxxList (val) {
229 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val))
230 this.czrOptions=this.ruleForm.qlrList;
231 }, 209 },
232 // 更新义务人信息 210 components: { qlrCommonTable },
233 upDateYwrxxList (val) { 211 computed: {
234 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) 212 ...mapGetters(["dictData", "flag"])
213 },
214 data () {
215 return {
216 key: 0,
217 isShow: false,
218 disabled: true,
219 czrOptions: [],
220 ruleForm: {},
221 //传递参数
222 propsParam: {},
223 rules: {}
224 }
235 }, 225 },
236 onSubmit () { 226 methods: {
237 if (this.ruleForm.qlrList.length == 0) { 227 // 更新权利人信息
228 upDateQlrxxList (val) {
229 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val))
230 this.czrOptions = this.ruleForm.qlrList;
231 this.key++
232 },
233 // 更新义务人信息
234 upDateYwrxxList (val) {
235 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val))
236 this.key++
237 },
238 onSubmit () {
239 if (this.ruleForm.qlrList.length == 0) {
238 this.$message({ 240 this.$message({
239 showClose: true, 241 showClose: true,
240 message: "请确认权利人信息", 242 message: "请确认权利人信息",
...@@ -242,53 +244,53 @@ export default { ...@@ -242,53 +244,53 @@ export default {
242 }); 244 });
243 return false; 245 return false;
244 } 246 }
245 247
246 if (this.ruleForm.slywxx.gyfs == "0") { 248 if (this.ruleForm.slywxx.gyfs == "0") {
247 if (this.ruleForm.qlrList.length > 1) { 249 if (this.ruleForm.qlrList.length > 1) {
248 this.$message({ 250 this.$message({
249 showClose: true, 251 showClose: true,
250 message: "共有方式:单独所有,权利人只能是一个人", 252 message: "共有方式:单独所有,权利人只能是一个人",
251 type: "error", 253 type: "error",
252 }); 254 });
253 return false; 255 return false;
256 }
257 this.ruleForm.qlrList[0].sfczr = "1";
254 } 258 }
255 this.ruleForm.qlrList[0].sfczr="1"; 259 if (this.ruleForm.slywxx.gyfs == "1") {
256 } 260 //是否分别持证
257 if (this.ruleForm.slywxx.gyfs == "1") { 261 if (this.ruleForm.slywxx.sqfbcz == '1') { //是
258 //是否分别持证 262 this.ruleForm.qlrList.forEach((item, index) => {
259 if(this.ruleForm.slywxx.sqfbcz == '1'){ //是
260 this.ruleForm.qlrList.forEach((item, index) => {
261 item.sfczr = "1";
262 });
263 }else{
264 this.ruleForm.qlrList.forEach((item, index) => {
265 if(item.zjh==this.ruleForm.czr){
266 item.sfczr = "1"; 263 item.sfczr = "1";
267 } 264 });
268 }); 265 } else {
269 } 266 this.ruleForm.qlrList.forEach((item, index) => {
270 } 267 if (item.zjh == this.ruleForm.czr) {
271 268 item.sfczr = "1";
272 saveData(this.ruleForm).then((res) => { 269 }
273 if (res.code === 200) { 270 });
274 this.$message({ 271 }
275 showClose: true,
276 message: "保存成功!",
277 type: "success",
278 });
279 } else {
280 this.$message({
281 showClose: true,
282 message: res.message,
283 type: "error",
284 });
285 } 272 }
286 }); 273
274 saveData(this.ruleForm).then((res) => {
275 if (res.code === 200) {
276 this.$message({
277 showClose: true,
278 message: "保存成功!",
279 type: "success",
280 });
281 } else {
282 this.$message({
283 showClose: true,
284 message: res.message,
285 type: "error",
286 });
287 }
288 });
289 },
287 }, 290 },
288 }, 291 };
289 };
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 {
......
...@@ -8,49 +8,49 @@ ...@@ -8,49 +8,49 @@
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,
16 default: () => { } 16 default: () => { }
17 } 17 }
18 },
19 data () {
20 return {
21 title: "",
22 router: ""
23 }
24 },
25 mounted () {
26 if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) {
27 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm);
28 this.router = this.loadView(view);
29 } else {
30 let view = queueDjywmc(this.$route.query?.sqywbm);
31 this.router = this.loadView(view);
32 }
33 },
34 methods: {
35 loadView (view) {
36 console.log(view, 'view');
37 return (r) =>
38 require.ensure([], () => r(require(`./components/${view}.vue`)));
39 }, 18 },
40 updateDialog () { 19 data () {
41 this.$popupCacel() 20 return {
42 this.$emit("updateDialog", true); 21 title: "",
22 router: ""
23 }
24 },
25 mounted () {
26 if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) {
27 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm);
28 this.router = this.loadView(view);
29 } else {
30 let view = queueDjywmc(this.$route.query?.sqywbm);
31 this.router = this.loadView(view);
32 }
33 },
34 methods: {
35 loadView (view) {
36 console.log(view, 'view');
37 return (r) =>
38 require.ensure([], () => r(require(`./components/${view}.vue`)));
39 },
40 updateDialog () {
41 this.$popupCacel()
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(() => [
......