f291d427 by renchao@pashanhoo.com

style:业务流程不动产单元模块的完善

1 parent 46b93c6b
1 /* 1 /*
2 * @Description: api请求配置文件 2 * @Description: api请求配置文件
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-03-02 13:56:25 4 * @LastEditTime: 2023-04-17 15:17:01
5 */ 5 */
6 export default { 6 export default {
7 // SERVERAPI: '/service-jiao', // 泽平 7 SERVERAPI: '/bdcdj' // 38服务器地址
8 SERVERAPI: '/service' // 38服务器地址
9 } 8 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
55 if (messageEvent.data.update) { 55 if (messageEvent.data.update) {
56 that.queryNoticeList() 56 that.queryNoticeList()
57 } 57 }
58 }, false) 58 })
59 }, 59 },
60 destroyed () { 60 destroyed () {
61 window.removeEventListener('message') 61 window.removeEventListener('message')
...@@ -217,7 +217,6 @@ export default { ...@@ -217,7 +217,6 @@ export default {
217 217
218 .right-menu-item { 218 .right-menu-item {
219 display: inline-block; 219 display: inline-block;
220 height: 100%;
221 font-size: 18px; 220 font-size: 18px;
222 color: #fff; 221 color: #fff;
223 vertical-align: text-bottom; 222 vertical-align: text-bottom;
......
1 //*****start*通用表单查询条件,列表样式******// 1 //*****start*通用表单查询条件,列表样式******//
2 .from-clues { 2 .from-clues {
3 min-width: 1280px;
4 height: 100%;
5 width: 100%; 3 width: 100%;
4 min-width: 1000px;
5 height: 100%;
6 box-sizing: border-box; 6 box-sizing: border-box;
7 7
8 &-header { 8 &-header {
......
...@@ -10,6 +10,7 @@ import { ...@@ -10,6 +10,7 @@ import {
10 completeTask, 10 completeTask,
11 getNextLinkInfo, 11 getNextLinkInfo,
12 } from "@/api/fqsq.js"; 12 } from "@/api/fqsq.js";
13 import { log } from "bpmn-js-token-simulation";
13 export default { 14 export default {
14 data () { 15 data () {
15 return { 16 return {
......
...@@ -242,8 +242,9 @@ export default { ...@@ -242,8 +242,9 @@ export default {
242 this.stepForm(); 242 this.stepForm();
243 }, 243 },
244 openDialog () { 244 openDialog () {
245 let title = "申请业务:" + this.$route.query.sqywbm ? this.$route.query.sqywbm : '' 245 let data = JSON.parse(localStorage.getItem('ywbl'))
246 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true }, "80%", true) 246 let title = "申请业务:" + data.sqywmc;
247 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true)
247 } 248 }
248 } 249 }
249 } 250 }
......
1 <template> 1 <template>
2 <div class="from-clues"> 2 <div class="from-clues">
3 <div class="from-clues-header"> 3 <div class="from-clues-header">
4 <el-form 4 <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="80px">
5 :model="queryForm"
6 ref="queryForm"
7 @submit.native.prevent
8 label-width="80px"
9 >
10 <el-row> 5 <el-row>
11 <el-col :span="5"> 6 <el-col :span="5">
12 <el-form-item label="业务来源" label-width="70px"> 7 <el-form-item label="业务来源" label-width="70px">
13 <el-select 8 <el-select v-model="queryForm.ywly" class="width100" filterable
14 v-model="queryForm.ywly" 9 @change="handleSelect('ywly', 'ywlymc', 'ywly')" @clear="handleEmpty('ywlymc')" clearable
15 class="width100" 10 placeholder="请选择业务来源">
16 filterable 11 <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode">
17 @change="handleSelect('ywly', 'ywlymc', 'ywly')"
18 @clear="handleEmpty('ywlymc')"
19 clearable
20 placeholder="请选择业务来源"
21 >
22 <el-option
23 v-for="item in dictData['ywly']"
24 :key="item.dcode"
25 :label="item.dname"
26 :value="item.dcode"
27 >
28 </el-option> 12 </el-option>
29 </el-select> 13 </el-select>
30 </el-form-item> 14 </el-form-item>
31 </el-col> 15 </el-col>
32 <el-col :span="5"> 16 <el-col :span="5">
33 <el-form-item label="权利类型"> 17 <el-form-item label="权利类型">
34 <el-select 18 <el-select v-model="queryForm.qllx" class="width100" @change="handleSelect('A8', 'qllxmc', 'qllx')"
35 v-model="queryForm.qllx" 19 @clear="handleEmpty('qllxmc')" filterable clearable placeholder="请选择权利类型">
36 class="width100" 20 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
37 @change="handleSelect('A8', 'qllxmc', 'qllx')"
38 @clear="handleEmpty('qllxmc')"
39 filterable
40 clearable
41 placeholder="请选择权利类型"
42 >
43 <el-option
44 v-for="item in dictData['A8']"
45 :key="item.dcode"
46 :label="item.dname"
47 :value="item.dcode"
48 >
49 </el-option> 21 </el-option>
50 </el-select> 22 </el-select>
51 </el-form-item> 23 </el-form-item>
52 </el-col> 24 </el-col>
53 <el-col :span="5"> 25 <el-col :span="5">
54 <el-form-item label="登记类型"> 26 <el-form-item label="登记类型">
55 <el-select 27 <el-select v-model="queryForm.djlx" class="width100" @change="handleSelect('A21', 'djlxmc', 'djlx')"
56 v-model="queryForm.djlx" 28 @clear="handleEmpty('djlxmc')" filterable clearable placeholder="请选择登记类型">
57 class="width100" 29 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
58 @change="handleSelect('A21', 'djlxmc', 'djlx')"
59 @clear="handleEmpty('djlxmc')"
60 filterable
61 clearable
62 placeholder="请选择登记类型"
63 >
64 <el-option
65 v-for="item in dictData['A21']"
66 :key="item.dcode"
67 :label="item.dname"
68 :value="item.dcode"
69 >
70 </el-option> 30 </el-option>
71 </el-select> 31 </el-select>
72 </el-form-item> 32 </el-form-item>
73 </el-col> 33 </el-col>
74 <el-col :span="5"> 34 <el-col :span="5">
75 <el-form-item label="业务号"> 35 <el-form-item label="业务号">
76 <el-input 36 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100">
77 placeholder="请输入业务号"
78 v-model="queryForm.ywh"
79 clearable
80 class="width100"
81 >
82 </el-input> 37 </el-input>
83 </el-form-item> 38 </el-form-item>
84 </el-col> 39 </el-col>
85 40
86 <el-col :span="4" class="btnColRight"> 41 <el-col :span="4" class="btnColRight">
87 <el-form-item> 42 <el-form-item>
88 <el-button type="primary" native-type="submit" @click="handleSearch" 43 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
89 >查询</el-button
90 >
91 <el-button @click="moreQueryClick">高级查询</el-button> 44 <el-button @click="moreQueryClick">高级查询</el-button>
92 </el-form-item> 45 </el-form-item>
93 </el-col> 46 </el-col>
...@@ -97,42 +50,22 @@ ...@@ -97,42 +50,22 @@
97 <ul> 50 <ul>
98 <li v-for="(item, index) in searchList" :key="index"> 51 <li v-for="(item, index) in searchList" :key="index">
99 {{ item.name }}:{{ item.value }} 52 {{ item.name }}:{{ item.value }}
100 <i 53 <i class="el-icon-circle-close" @click="handelItem(item, index)"></i>
101 class="el-icon-circle-close"
102 @click="handelItem(item, index)"
103 ></i>
104 </li> 54 </li>
105 </ul> 55 </ul>
106 <el-button 56 <el-button class="clean-btn" type="text" v-if="searchList.length > 0" @click.native="hanldeCleanAll">清除全部
107 class="clean-btn"
108 type="text"
109 v-if="searchList.length > 0"
110 @click.native="hanldeCleanAll"
111 >清除全部
112 </el-button> 57 </el-button>
113 </el-row> 58 </el-row>
114 </el-form> 59 </el-form>
115 </div> 60 </div>
116 <div class="from-clues-content"> 61 <div class="from-clues-content">
117 <lb-table 62 <lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
118 :page-size="pageData.size" 63 :current-page.sync="pageData.currentPage" :heightNum="295" :total="tableData.total"
119 class="loadingtext" 64 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
120 @sort-change="handleSort" 65 :data="tableData.data">
121 :current-page.sync="pageData.currentPage"
122 :heightNum="295"
123 :total="tableData.total"
124 @size-change="handleSizeChange"
125 @p-current-change="handleCurrentChange"
126 :column="tableData.columns"
127 :data="tableData.data"
128 >
129 </lb-table> 66 </lb-table>
130 </div> 67 </div>
131 <searchBox 68 <searchBox v-model="isSearch" @getSearch="getSearch" :advancedForm="otherForm" />
132 v-model="isSearch"
133 @getSearch="getSearch"
134 :advancedForm="otherForm"
135 />
136 </div> 69 </div>
137 </template> 70 </template>
138 <script> 71 <script>
...@@ -150,7 +83,7 @@ export default { ...@@ -150,7 +83,7 @@ export default {
150 computed: { 83 computed: {
151 ...mapGetters(["dictData", "transfer"]), 84 ...mapGetters(["dictData", "transfer"]),
152 }, 85 },
153 data() { 86 data () {
154 return { 87 return {
155 queryForm: { 88 queryForm: {
156 ywly: "", 89 ywly: "",
...@@ -172,7 +105,7 @@ export default { ...@@ -172,7 +105,7 @@ export default {
172 jumpid: "", 105 jumpid: "",
173 }; 106 };
174 }, 107 },
175 mounted() { 108 mounted () {
176 sendThis(this); 109 sendThis(this);
177 window["getBpageList"] = () => { 110 window["getBpageList"] = () => {
178 this.queryClick(); 111 this.queryClick();
...@@ -181,13 +114,13 @@ export default { ...@@ -181,13 +114,13 @@ export default {
181 114
182 watch: { 115 watch: {
183 queryForm: { 116 queryForm: {
184 handler(newName, oldName) {}, 117 handler (newName, oldName) { },
185 immediate: true, 118 immediate: true,
186 }, 119 },
187 }, 120 },
188 methods: { 121 methods: {
189 // 列表渲染接口 122 // 列表渲染接口
190 queryClick() { 123 queryClick () {
191 this.$startLoading(); 124 this.$startLoading();
192 this.searchForm.ywh = this.queryForm.ywh; 125 this.searchForm.ywh = this.queryForm.ywh;
193 this.iterationData(); 126 this.iterationData();
...@@ -212,12 +145,12 @@ export default { ...@@ -212,12 +145,12 @@ export default {
212 } 145 }
213 }); 146 });
214 }, 147 },
215 handleSort(val) { 148 handleSort (val) {
216 this.queryForm.sortField = val.prop; 149 this.queryForm.sortField = val.prop;
217 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; 150 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc";
218 this.queryClick(); 151 this.queryClick();
219 }, 152 },
220 del(item) { 153 del (item) {
221 let formdata = new FormData(); 154 let formdata = new FormData();
222 formdata.append("bsmSlsq", item.bsmSlsq); 155 formdata.append("bsmSlsq", item.bsmSlsq);
223 this.$confirm("确定要删除吗, 是否继续?", "提示", { 156 this.$confirm("确定要删除吗, 是否继续?", "提示", {
...@@ -246,7 +179,7 @@ export default { ...@@ -246,7 +179,7 @@ export default {
246 }); 179 });
247 }); 180 });
248 }, 181 },
249 ywhClick(item) { 182 ywhClick (item) {
250 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 183 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面
251 judgeUserTaskPermission({ 184 judgeUserTaskPermission({
252 bsmSlsq: item.bsmSlsq, 185 bsmSlsq: item.bsmSlsq,
...@@ -257,13 +190,14 @@ export default { ...@@ -257,13 +190,14 @@ export default {
257 //有任务权限 190 //有任务权限
258 const { href } = this.$router.resolve( 191 const { href } = this.$router.resolve(
259 "/workFrame?bsmSlsq=" + 192 "/workFrame?bsmSlsq=" +
260 item.bsmSlsq + 193 item.bsmSlsq +
261 "&bestepid=" + 194 "&bestepid=" +
262 item.bestepid + 195 item.bestepid +
263 "&bsmBusiness=" + 196 "&bsmBusiness=" +
264 "&sqywbm=" + 197 "&sqywbm=" +
265 item.djywbm 198 item.djywbm
266 ); 199 );
200 localStorage.setItem('ywbl', JSON.stringify(item));
267 window.open(href, `urlname${item.bsmSlsq}`); 201 window.open(href, `urlname${item.bsmSlsq}`);
268 //从待办箱进入的调取任务领取接口 202 //从待办箱进入的调取任务领取接口
269 claimTask(item.bsmSlsq, item.bestepid); 203 claimTask(item.bsmSlsq, item.bestepid);
......
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
6 <el-row> 6 <el-row>
7 <el-col :span="10"> 7 <el-col :span="10">
8 <el-form-item label="不动产单元号"> 8 <el-form-item label="不动产单元号">
9 <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width300px"> 9 <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100">
10 </el-input> 10 </el-input>
11 </el-form-item> 11 </el-form-item>
12 </el-col> 12 </el-col>
13 <el-col :span="10"> 13 <el-col :span="10">
14 <el-form-item label="坐落"> 14 <el-form-item label="坐落">
15 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px"> 15 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100">
16 </el-input> 16 </el-input>
17 </el-form-item> 17 </el-form-item>
18 </el-col> 18 </el-col>
......
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
6 <el-row> 6 <el-row>
7 <el-col :span="8"> 7 <el-col :span="8">
8 <el-form-item label="不动产单元号"> 8 <el-form-item label="不动产单元号">
9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable maxlength="28" class="width300px"> 9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable maxlength="28" class="width100">
10 </el-input> 10 </el-input>
11 </el-form-item> 11 </el-form-item>
12 </el-col> 12 </el-col>
13 <el-col :span="10"> 13 <el-col :span="10">
14 <el-form-item label="不动产权证号"> 14 <el-form-item label="不动产权证号">
15 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width300px"> 15 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100">
16 </el-input> 16 </el-input>
17 </el-form-item> 17 </el-form-item>
18 </el-col> 18 </el-col>
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
20 <el-row> 20 <el-row>
21 <el-col :span="8"> 21 <el-col :span="8">
22 <el-form-item label="权利人"> 22 <el-form-item label="权利人">
23 <el-input placeholder="请输入权利人" v-model="queryForm.qlr" clearable class="width300px"> 23 <el-input placeholder="请输入权利人" v-model="queryForm.qlr" clearable class="width100">
24 </el-input> 24 </el-input>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
27 <el-col :span="10"> 27 <el-col :span="10">
28 <el-form-item label="坐落"> 28 <el-form-item label="坐落">
29 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px"> 29 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100">
30 </el-input> 30 </el-input>
31 </el-form-item> 31 </el-form-item>
32 </el-col> 32 </el-col>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-04-17 09:33:12 4 * @LastEditTime: 2023-04-17 16:06:24
5 --> 5 -->
6 <template> 6 <template>
7 <component :is="router" :sqywInfo="formData.sqywInfo" @updateDialog="updateDialog" /> 7 <component :is="router" :sqywInfo="formData.sqywInfo" @updateDialog="updateDialog" />
...@@ -22,12 +22,17 @@ export default { ...@@ -22,12 +22,17 @@ export default {
22 } 22 }
23 }, 23 },
24 mounted () { 24 mounted () {
25 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm); 25 if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) {
26 this.router = this.loadView(view); 26 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm);
27 this.router = this.loadView(view);
28 } else {
29 let view = queueDjywmc(this.$route.query?.sqywbm);
30 this.router = this.loadView(view);
31 }
27 }, 32 },
28 methods: { 33 methods: {
29 loadView (view) { 34 loadView (view) {
30 console.log(view, 'viewviewviewview'); 35 console.log(view, 'view');
31 return (r) => 36 return (r) =>
32 require.ensure([], () => r(require(`./components/${view}.vue`))); 37 require.ensure([], () => r(require(`./components/${view}.vue`)));
33 }, 38 },
......
...@@ -188,6 +188,7 @@ ...@@ -188,6 +188,7 @@
188 justify-content: space-between; 188 justify-content: space-between;
189 margin-left: 10px; 189 margin-left: 10px;
190 cursor: pointer; 190 cursor: pointer;
191 font-size: 13px;
191 margin-bottom: 15px; 192 margin-bottom: 15px;
192 193
193 p:nth-child(2) { 194 p:nth-child(2) {
...@@ -204,8 +205,9 @@ ...@@ -204,8 +205,9 @@
204 width: 100%; 205 width: 100%;
205 padding: 1px; 206 padding: 1px;
206 padding-left: 30px; 207 padding-left: 30px;
208 font-size: 13px;
207 display: flex; 209 display: flex;
208 // align-items: center; 210 justify-content: center;
209 flex-direction: column; 211 flex-direction: column;
210 } 212 }
211 213
......
...@@ -5,6 +5,7 @@ const defaultSettings = require('./src/settings.js') ...@@ -5,6 +5,7 @@ const defaultSettings = require('./src/settings.js')
5 function resolve (dir) { 5 function resolve (dir) {
6 return path.join(__dirname, dir) 6 return path.join(__dirname, dir)
7 } 7 }
8
8 const name = defaultSettings.title 9 const name = defaultSettings.title
9 const port = process.env.port || process.env.npm_config_port || 8888 // dev port 10 const port = process.env.port || process.env.npm_config_port || 8888 // dev port
10 11
...@@ -18,7 +19,7 @@ module.exports = { ...@@ -18,7 +19,7 @@ module.exports = {
18 * Detail: https://cli.vuejs.org/config/#publicpath 19 * Detail: https://cli.vuejs.org/config/#publicpath
19 */ 20 */
20 // 加载资源的路径 21 // 加载资源的路径
21 publicPath: './', 22 publicPath: '/bdcdj/',
22 // 设置项目打包生成的文件的存储目录,可以是静态路径也可以是相对路径 23 // 设置项目打包生成的文件的存储目录,可以是静态路径也可以是相对路径
23 outputDir: 'dist', 24 outputDir: 'dist',
24 // 设置放置打包生成的静态资源 (js、css、img、fonts) 的目录 25 // 设置放置打包生成的静态资源 (js、css、img、fonts) 的目录
......