b1d09c72 by renchao@pashanhoo.com

1

1 parent 2c771f97
...@@ -7,114 +7,19 @@ ...@@ -7,114 +7,19 @@
7 <div class="djxxTable"> 7 <div class="djxxTable">
8 <djbDetail :title="title" :shows="shows" :propsParam="propsParam" 8 <djbDetail :title="title" :shows="shows" :propsParam="propsParam"
9 :columns="columns" :tableData="tableData" /> 9 :columns="columns" :tableData="tableData" />
10 <!-- <div v-show="false">
11 <printTemplate id="boxtdsyq" :tableData="tableData" :render="render" />
12 </div>
13 <div class="tableBox">
14 <div class="title">
15 {{ title }}
16 <el-button class="print" v-show="shows" @click="openPrint()"
17 >打印</el-button
18 >
19 <div class="checkbox">
20 <el-checkbox-group v-model="checkList" @change="checkChange">
21 <el-checkbox
22 v-for="item in qsztList"
23 :key="item.value"
24 :label="item.value"
25 >{{ item.label }}</el-checkbox
26 >
27 </el-checkbox-group>
28 </div>
29 </div>
30 <div class="xxTableBox rollTable">
31 <!-- 固定前三个 -->
32 <table class="xxTable">
33 <tr v-for="(item, colindex) in columns" :key="colindex">
34 <td>
35 {{ item.label }}
36 </td>
37 <td
38 v-for="(row, index) in tableData"
39 :key="index"
40 :class="[
41 row.qszt == '2' ? 'lishi' : '',
42 row.qszt == '0' ? 'linshi' : '',
43 row.qlzt == '4' ? 'linshi' : '',
44
45 item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '',
46 item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '',
47 item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '',
48 item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '',
49 ]"
50 >
51 <div
52 class="setbut"
53 v-if="item.prop == 'cz' && row.sjlx != '系统数据'"
54 >
55 <el-button
56 type="text"
57 icon="el-icon-edit-outline"
58 @click="editDialog(row)"
59 >编辑</el-button
60 >
61 <el-button
62 type="text"
63 icon="el-icon-edit-outline"
64 @click="editDialog(row, 'D')"
65 >删除</el-button
66 >
67 </div>
68 <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '1'">
69 有效
70 </div>
71 <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'">
72 正在补录
73 </div>
74 <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'">
75 正在申请
76 </div>
77 <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'">
78 正在注销
79 </div>
80
81 <p v-if="!['djyy', 'fj'].includes(item.prop)">
82 <span v-if="item.prop == 'qszt'">
83 {{ getQsztName(row[item.prop]) }}
84 </span>
85 <span v-else>{{ row[item.prop] }}</span>
86 </p>
87
88 <el-tooltip
89 v-else
90 effect="dark"
91 :content="row[item.prop]"
92 placement="top"
93 popper-class="tooltip-width"
94 >
95 <span class="ellipsis-line">
96 {{ row[item.prop] }}
97 </span>
98 </el-tooltip>
99 </td>
100 <td v-for="count in emptycolNum" :key="~count"></td>
101 </tr>
102 </table>
103 </div>
104 </div> -->
105 </div> 10 </div>
106 </template> 11 </template>
107 12
108 <script> 13 <script>
109 import { datas } from "./qlxxFormData.js"; 14 import { datas } from "./qlxxFormData.js";
110 import { getSjlx } from "@/utils/dictionary.js"; 15 import { getSjlx } from "@/utils/dictionary.js";
111 import { getTdsyqList } from "@/api/djbDetail.js"; 16 import { getTdsyqList } from "@/api/djbDetail.js";
112 import printTemplate from "./components/printTemplate.vue"; 17 import printTemplate from "./components/printTemplate.vue";
113 export default { 18 export default {
114 components: { 19 components: {
115 printTemplate, 20 printTemplate,
116 }, 21 },
117 data() { 22 data () {
118 return { 23 return {
119 printObj: { 24 printObj: {
120 id: "box", 25 id: "box",
...@@ -135,17 +40,17 @@ export default { ...@@ -135,17 +40,17 @@ export default {
135 render: false, 40 render: false,
136 }; 41 };
137 }, 42 },
138 created() { 43 created () {
139 this.loadData(); 44 this.loadData();
140 }, 45 },
141 methods: { 46 methods: {
142 openPrint() { 47 openPrint () {
143 this.render = true; 48 this.render = true;
144 setTimeout(() => { 49 setTimeout(() => {
145 this.prinsss(); 50 this.prinsss();
146 }, 100); 51 }, 100);
147 }, 52 },
148 prinsss() { 53 prinsss () {
149 printJS({ 54 printJS({
150 printable: "boxtdsyq", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象 55 printable: "boxtdsyq", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象
151 type: "html", 56 type: "html",
...@@ -164,7 +69,7 @@ export default { ...@@ -164,7 +69,7 @@ export default {
164 * @description: loadData 69 * @description: loadData
165 * @author: miaofang 70 * @author: miaofang
166 */ 71 */
167 loadData() { 72 loadData () {
168 if (this.$parent.addRepairRecord) { 73 if (this.$parent.addRepairRecord) {
169 this.columns.unshift({ 74 this.columns.unshift({
170 prop: "cz", 75 prop: "cz",
...@@ -195,7 +100,7 @@ export default { ...@@ -195,7 +100,7 @@ export default {
195 * @description: checkChange 100 * @description: checkChange
196 * @author: miaofang 101 * @author: miaofang
197 */ 102 */
198 checkChange() { 103 checkChange () {
199 if (this.checkList.length === 0) { 104 if (this.checkList.length === 0) {
200 this.tableData = []; 105 this.tableData = [];
201 this.emptycolNum = datas.columns().emptycolNum; 106 this.emptycolNum = datas.columns().emptycolNum;
...@@ -208,7 +113,7 @@ export default { ...@@ -208,7 +113,7 @@ export default {
208 * @param {*} code 113 * @param {*} code
209 * @author: miaofang 114 * @author: miaofang
210 */ 115 */
211 getQsztName(code) { 116 getQsztName (code) {
212 let name = ""; 117 let name = "";
213 for (let item of this.qsztList) { 118 for (let item of this.qsztList) {
214 if (item.value == code) { 119 if (item.value == code) {
...@@ -225,7 +130,7 @@ export default { ...@@ -225,7 +130,7 @@ export default {
225 * @param {*} del 130 * @param {*} del
226 * @author: miaofang 131 * @author: miaofang
227 */ 132 */
228 editDialog(row, del) { 133 editDialog (row, del) {
229 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { 134 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
230 confirmButtonText: "确定", 135 confirmButtonText: "确定",
231 cancelButtonText: "取消", 136 cancelButtonText: "取消",
...@@ -247,12 +152,12 @@ export default { ...@@ -247,12 +152,12 @@ export default {
247 }); 152 });
248 }, 153 },
249 }, 154 },
250 }; 155 };
251 </script> 156 </script>
252 157
253 <style lang="scss" scoped> 158 <style lang="scss" scoped>
254 @import "./qlxxCommon.scss"; 159 @import "./qlxxCommon.scss";
255 .title { 160 .title {
256 position: relative; 161 position: relative;
257 .print { 162 .print {
258 // background-color: #0079fe; 163 // background-color: #0079fe;
...@@ -261,5 +166,5 @@ export default { ...@@ -261,5 +166,5 @@ export default {
261 left: 11px; 166 left: 11px;
262 top: 5px; 167 top: 5px;
263 } 168 }
264 } 169 }
265 </style> 170 </style>
......
1 <!-- 1 <!--
2 * @Description: workFrame左侧菜单列表-普通 2 * @Description: workFrame左侧菜单列表-普通
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-15 17:06:29 4 * @LastEditTime: 2023-09-18 11:00:38
5 --> 5 -->
6 <template> 6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
...@@ -45,14 +45,12 @@ ...@@ -45,14 +45,12 @@
45 import { mapGetters } from 'vuex' 45 import { mapGetters } from 'vuex'
46 import { leftMenu, deleteSlbdcdy, jdcxLeftMenu } from "@/api/workFlow.js" 46 import { leftMenu, deleteSlbdcdy, jdcxLeftMenu } from "@/api/workFlow.js"
47 export default { 47 export default {
48 props: {
49 paramData: {
50 type: Object,
51 default: () => { }
52 }
53 },
54 data () { 48 data () {
55 return { 49 return {
50 //受理申请标识码
51 bsmSlsq: this.$route.query.bsmSlsq,
52 //当前流程所在环节
53 bestepid: this.$route.query.bestepid,
56 // 默认选中 54 // 默认选中
57 activeIndex: '0', 55 activeIndex: '0',
58 // 折叠 56 // 折叠
...@@ -67,6 +65,9 @@ ...@@ -67,6 +65,9 @@
67 currentSelectProps: {} 65 currentSelectProps: {}
68 } 66 }
69 }, 67 },
68 mounted () {
69 this.loadBdcdylist();
70 },
70 computed: { 71 computed: {
71 ...mapGetters(['isRefresh']) 72 ...mapGetters(['isRefresh'])
72 }, 73 },
...@@ -78,17 +79,8 @@ ...@@ -78,17 +79,8 @@
78 } 79 }
79 }, 80 },
80 immediate: true 81 immediate: true
81 },
82 paramData: {
83 handler (newVal, oldVal) {
84 if (newVal) {
85 this.loadBdcdylist()
86 } 82 }
87 }, 83 },
88 immediate: true,
89 deep: true
90 },
91 },
92 methods: { 84 methods: {
93 /** 85 /**
94 * @description: 读取申请单元信息 86 * @description: 读取申请单元信息
...@@ -97,11 +89,13 @@ ...@@ -97,11 +89,13 @@
97 loadBdcdylist () { 89 loadBdcdylist () {
98 let that = this 90 let that = this
99 var formdata = new FormData(); 91 var formdata = new FormData();
100 // 受理申请标识码 92 formdata.append("bsmSlsq", this.bsmSlsq);
101 formdata.append("bsmSlsq", this.paramData.bsmSlsq); 93 if (this.$route.query.bestepid) {
102 // 当前流程所在环节 94 formdata.append("bestepid", this.bestepid);
103 formdata.append("bestepid", this.paramData.bestepid); 95 }
104 formdata.append("bsmBusiness", this.paramData.bsmBusiness); 96 if (this.$route.query.bsmBusiness) {
97 formdata.append("bsmBusiness", this.$route.query.bsmBusiness);
98 }
105 if (this.$route.query.type == 'jdcx') { 99 if (this.$route.query.type == 'jdcx') {
106 jdcxLeftMenu(formdata).then((res) => { 100 jdcxLeftMenu(formdata).then((res) => {
107 if (res.code === 200 && res.result) { 101 if (res.code === 200 && res.result) {
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-18 09:32:09 4 * @LastEditTime: 2023-09-18 10:46:56
5 */ 5 */
6 import { getPrintTemplateByCode } from "@/api/print"; 6 import { getPrintTemplateByCode } from "@/api/print";
7 import { uploadUndo } from "@/api/clxx"; 7 import { uploadUndo } from "@/api/clxx";
8 import { getLodop } from "@/utils/LodopFuncs" 8 import { getLodop } from "@/utils/LodopFuncs"
9 import { getXtParamsByYwh } from "@/api/djyw.js"
10 import { 9 import {
11 stepExpandInfo, 10 stepExpandInfo,
12 record, 11 record,
...@@ -39,19 +38,11 @@ export default { ...@@ -39,19 +38,11 @@ export default {
39 batchButtonName: '', 38 batchButtonName: '',
40 // 受理申请信息 39 // 受理申请信息
41 slsq: {}, 40 slsq: {},
42 dqhj: "", 41 dqhj: ""
43 // 业务流程需要的参数
44 paramData: {},
45 } 42 }
46 }, 43 },
47 created () { 44 mounted () {
48 // 根据业务号获取系统参数
49 getXtParamsByYwh(this.$route.query.ywh).then(res => {
50 this.paramData = res.result
51 console.log(this.paramData, 'this.paramData');
52 this.isShowMenu = true
53 this.flowInitParam(); 45 this.flowInitParam();
54 })
55 }, 46 },
56 methods: { 47 methods: {
57 /** 48 /**
...@@ -60,8 +51,8 @@ export default { ...@@ -60,8 +51,8 @@ export default {
60 */ 51 */
61 flowInitParam () { 52 flowInitParam () {
62 var formdata = new FormData(); 53 var formdata = new FormData();
63 formdata.append("bsmSlsq", this.paramData.bsmSlsq); 54 formdata.append("bsmSlsq", this.bsmSlsq);
64 formdata.append("bestepid", this.paramData.bestepid); 55 formdata.append("bestepid", this.bestepid);
65 if (this.type) { 56 if (this.type) {
66 formdata.append("type", "READ_ONLY"); 57 formdata.append("type", "READ_ONLY");
67 } 58 }
...@@ -171,7 +162,6 @@ export default { ...@@ -171,7 +162,6 @@ export default {
171 this.$popupDialog('楼盘表', 'lpb/index', { 162 this.$popupDialog('楼盘表', 'lpb/index', {
172 bsm: res.result[0], 163 bsm: res.result[0],
173 onlyShow: false, 164 onlyShow: false,
174 showSave: true,
175 unitData: window.unitData 165 unitData: window.unitData
176 }, '90%', true) 166 }, '90%', true)
177 } else { 167 } else {
...@@ -321,7 +311,8 @@ export default { ...@@ -321,7 +311,8 @@ export default {
321 width: "50%", 311 width: "50%",
322 btnShow: false, 312 btnShow: false,
323 bsmSlsq: this.bsmSlsq, 313 bsmSlsq: this.bsmSlsq,
324 dataList: this.unitData 314 dataList: this.unitData,
315
325 }) 316 })
326 }, 317 },
327 /** 318 /**
...@@ -342,7 +333,6 @@ export default { ...@@ -342,7 +333,6 @@ export default {
342 } 333 }
343 }) 334 })
344 }, 335 },
345 // 上传
346 /** 336 /**
347 * @description: 上传 337 * @description: 上传
348 * @param {*} file 338 * @param {*} file
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-15 16:32:06 4 * @LastEditTime: 2023-09-18 10:49:50
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -26,10 +26,8 @@ ...@@ -26,10 +26,8 @@
26 <!-- 内容框架 --> 26 <!-- 内容框架 -->
27 <div class="containerFrame"> 27 <div class="containerFrame">
28 <!-- 左侧菜单栏 区分业务--> 28 <!-- 左侧菜单栏 区分业务-->
29 <div v-if="isShowMenu"> 29 <segmentMenu v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
30 <segmentMenu :paramData="paramData" v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" /> 30 <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
31 <ordinaryMenu :paramData="paramData" v-else @getCurrentSelectProps="getCurrentSelectProps" />
32 </div>
33 31
34 <div class="leftCon"> 32 <div class="leftCon">
35 <!-- 分屏左侧预览 --> 33 <!-- 分屏左侧预览 -->
...@@ -71,8 +69,6 @@ ...@@ -71,8 +69,6 @@
71 }, 69 },
72 data () { 70 data () {
73 return { 71 return {
74 // 左侧是否显示,获取完成系统参数之后再显示
75 isShowMenu: false,
76 // 流程图 72 // 流程图
77 imgSrc: "", 73 imgSrc: "",
78 // 折叠 74 // 折叠
......
...@@ -315,24 +315,19 @@ ...@@ -315,24 +315,19 @@
315 ); 315 );
316 window.open(href, `djbworkFrame${item.bsmSlsq}`); 316 window.open(href, `djbworkFrame${item.bsmSlsq}`);
317 } else { 317 } else {
318 // const { href } = this.$router.resolve( 318 const { href } = this.$router.resolve(
319 // "/workFrame?bsmSlsq=" + 319 "/workFrame?bsmSlsq=" +
320 // item.bsmSlsq + 320 item.bsmSlsq +
321 // "&bestepid=" + 321 "&bestepid=" +
322 // item.bestepid + 322 item.bestepid +
323 // "&bsmBusiness=" + 323 "&bsmBusiness=" +
324 // "&sqywbm=" + 324 "&sqywbm=" +
325 // item.djywbm + 325 item.djywbm +
326 // "&zbhj=" + 326 "&zbhj=" +
327 // item.zbhj 327 item.zbhj
328 // ); 328 );
329 // window.open(href, `workFrame${item.bsmSlsq}`); 329 window.open(href, `workFrame${item.bsmSlsq}`);
330
331 const { href } = this.$router.resolve('/workFrame?ywh=' + item.ywh + '&zbhj=' + item.zbhj)
332 window.open(href, `workFrame${item.ywh}`)
333
334 } 330 }
335
336 localStorage.setItem("ywbl", JSON.stringify(item)); 331 localStorage.setItem("ywbl", JSON.stringify(item));
337 332
338 //从待办箱进入的调取任务领取接口 333 //从待办箱进入的调取任务领取接口
......
...@@ -274,8 +274,15 @@ ...@@ -274,8 +274,15 @@
274 ); 274 );
275 window.open(href, `djbworkFrameview${item.bsmSlsq}`); 275 window.open(href, `djbworkFrameview${item.bsmSlsq}`);
276 } else { 276 } else {
277 const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx') 277 const { href } = this.$router.resolve(
278 window.open(href, `urlname${item.ywh}`) 278 "/workFrameView?bsmSlsq=" +
279 item.bsmSlsq +
280 "&bestepid=" +
281 item.bestepid +
282 "&sqywbm=" +
283 item.djywbm + '&type=jdcx'
284 );
285 window.open(href, `urlname${item.bsmSlsq}`);
279 } 286 }
280 } 287 }
281 } 288 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-15 15:06:50 4 * @LastEditTime: 2023-07-25 16:34:27
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -114,6 +114,7 @@ ...@@ -114,6 +114,7 @@
114 this.queryClick() 114 this.queryClick()
115 }, 115 },
116 methods: { 116 methods: {
117 // 初始化数据
117 /** 118 /**
118 * @description: 初始化数据 119 * @description: 初始化数据
119 * @author: renchao 120 * @author: renchao
...@@ -138,6 +139,7 @@ ...@@ -138,6 +139,7 @@
138 handleSort (name, sort) { 139 handleSort (name, sort) {
139 console.log(name, sort); 140 console.log(name, sort);
140 }, 141 },
142 // 高级查询
141 /** 143 /**
142 * @description: 高级查询 144 * @description: 高级查询
143 * @author: renchao 145 * @author: renchao
...@@ -149,8 +151,8 @@ ...@@ -149,8 +151,8 @@
149 * @author: renchao 151 * @author: renchao
150 */ 152 */
151 openDialog (item) { 153 openDialog (item) {
152 const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx') 154 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3' + '&type=jdcx')
153 window.open(href, `urlname${item.ywh}`) 155 window.open(href, `urlname${item.bsmSlsq}`)
154 } 156 }
155 } 157 }
156 } 158 }
......