b266ae97 by 田浩浩

添加弹框内容

1 parent 8a93be0b
...@@ -2,7 +2,7 @@ import request from '@/utils/request' ...@@ -2,7 +2,7 @@ import request from '@/utils/request'
2 2
3 3
4 // 转出 4 // 转出
5 export function completeTask (data) { 5 export function completeTask(data) {
6 return request({ 6 return request({
7 url: '/business/workFlow/completeTask', 7 url: '/business/workFlow/completeTask',
8 method: 'post', 8 method: 'post',
...@@ -10,15 +10,15 @@ export function completeTask (data) { ...@@ -10,15 +10,15 @@ export function completeTask (data) {
10 }) 10 })
11 } 11 }
12 // 回退表格数据 12 // 回退表格数据
13 export function getTaskBackNode (params) { 13 export function getTaskBackNode(params) {
14 return request({ 14 return request({
15 url: '/business/workFlow/getTaskBackNode', 15 url: '/business/workFlow/getTaskBackNode',
16 method: 'get', 16 method: 'get',
17 params: params 17 params: params
18 }) 18 })
19 } 19 }
20 // 退回确认接口 20 // 退回确认接口
21 export function sendBackTask (data) { 21 export function sendBackTask(data) {
22 return request({ 22 return request({
23 url: '/business/workFlow/sendBackTask', 23 url: '/business/workFlow/sendBackTask',
24 method: 'post', 24 method: 'post',
...@@ -26,7 +26,7 @@ export function sendBackTask (data) { ...@@ -26,7 +26,7 @@ export function sendBackTask (data) {
26 }) 26 })
27 } 27 }
28 // 获取左侧列表 28 // 获取左侧列表
29 export function leftMenu (data) { 29 export function leftMenu(data) {
30 return request({ 30 return request({
31 url: '/ywbl/tdsyqlr/leftMenu', 31 url: '/ywbl/tdsyqlr/leftMenu',
32 method: 'post', 32 method: 'post',
...@@ -35,7 +35,7 @@ export function leftMenu (data) { ...@@ -35,7 +35,7 @@ export function leftMenu (data) {
35 } 35 }
36 36
37 // 受理信息返显接口 37 // 受理信息返显接口
38 export function Init (data) { 38 export function Init(data) {
39 return request({ 39 return request({
40 url: '/ywbl/tdsyqlr/Init', 40 url: '/ywbl/tdsyqlr/Init',
41 method: 'post', 41 method: 'post',
...@@ -44,7 +44,7 @@ export function Init (data) { ...@@ -44,7 +44,7 @@ export function Init (data) {
44 } 44 }
45 45
46 // 材料目录明细初始化 46 // 材料目录明细初始化
47 export function clmlInit (data) { 47 export function clmlInit(data) {
48 return request({ 48 return request({
49 url: '/zhcx/clml/Init', 49 url: '/zhcx/clml/Init',
50 method: 'post', 50 method: 'post',
...@@ -53,7 +53,7 @@ export function clmlInit (data) { ...@@ -53,7 +53,7 @@ export function clmlInit (data) {
53 } 53 }
54 54
55 // 材料目录明细移动 55 // 材料目录明细移动
56 export function move (data) { 56 export function move(data) {
57 return request({ 57 return request({
58 url: '/zhcx/clml/move', 58 url: '/zhcx/clml/move',
59 method: 'post', 59 method: 'post',
...@@ -62,7 +62,7 @@ export function move (data) { ...@@ -62,7 +62,7 @@ export function move (data) {
62 } 62 }
63 63
64 // 材料目录明细保存 64 // 材料目录明细保存
65 export function save (data) { 65 export function save(data) {
66 return request({ 66 return request({
67 url: '/zhcx/clml/save', 67 url: '/zhcx/clml/save',
68 method: 'post', 68 method: 'post',
...@@ -71,7 +71,7 @@ export function save (data) { ...@@ -71,7 +71,7 @@ export function save (data) {
71 } 71 }
72 72
73 // 材料目录批量删除 73 // 材料目录批量删除
74 export function clmlDelete (params) { 74 export function clmlDelete(params) {
75 return request({ 75 return request({
76 url: '/zhcx/clml/delete', 76 url: '/zhcx/clml/delete',
77 method: 'delete', 77 method: 'delete',
...@@ -80,16 +80,22 @@ export function clmlDelete (params) { ...@@ -80,16 +80,22 @@ export function clmlDelete (params) {
80 } 80 }
81 81
82 // 获取下一环节信息 82 // 获取下一环节信息
83 export function getNextLinkInfo (params) { 83 export function getNextLinkInfo(params) {
84 // return axios({
85 // url: '/business/workFlow/getNextLinkInfo',
86 // method: 'get',
87 // params: params
88 // });
89
84 return request({ 90 return request({
85 url: '/business/workFlow/getNextLinkInfo', 91 url: '/business/workFlow/getNextLinkInfo',
86 method: 'get', 92 method: 'get',
87 params: params 93 params: params
88 }) 94 });
89 } 95 }
90 96
91 // 环节扩展信息 97 // 环节扩展信息
92 export function stepExpandInfo (data) { 98 export function stepExpandInfo(data) {
93 return request({ 99 return request({
94 url: '/business/workFlow/stepExpandInfo', 100 url: '/business/workFlow/stepExpandInfo',
95 method: 'post', 101 method: 'post',
...@@ -98,7 +104,7 @@ export function stepExpandInfo (data) { ...@@ -98,7 +104,7 @@ export function stepExpandInfo (data) {
98 } 104 }
99 105
100 // 获取审批意见 106 // 获取审批意见
101 export function getSpyjList (data) { 107 export function getSpyjList(data) {
102 return request({ 108 return request({
103 url: '/business/workFlow/getSpyjList', 109 url: '/business/workFlow/getSpyjList',
104 method: 'post', 110 method: 'post',
...@@ -107,7 +113,7 @@ export function getSpyjList (data) { ...@@ -107,7 +113,7 @@ export function getSpyjList (data) {
107 } 113 }
108 114
109 // 保存审批意见 115 // 保存审批意见
110 export function saveSpyj (data) { 116 export function saveSpyj(data) {
111 return request({ 117 return request({
112 url: '/business/workFlow/saveSpyj', 118 url: '/business/workFlow/saveSpyj',
113 method: 'post', 119 method: 'post',
...@@ -115,7 +121,7 @@ export function saveSpyj (data) { ...@@ -115,7 +121,7 @@ export function saveSpyj (data) {
115 }) 121 })
116 } 122 }
117 // 根据受理申请保存审批意见 123 // 根据受理申请保存审批意见
118 export function saveSpyjBySlsq (data) { 124 export function saveSpyjBySlsq(data) {
119 return request({ 125 return request({
120 url: '/business/workFlow/saveSpyjBySlsq', 126 url: '/business/workFlow/saveSpyjBySlsq',
121 method: 'post', 127 method: 'post',
...@@ -123,7 +129,7 @@ export function saveSpyjBySlsq (data) { ...@@ -123,7 +129,7 @@ export function saveSpyjBySlsq (data) {
123 }) 129 })
124 } 130 }
125 // 登簿接口 131 // 登簿接口
126 export function record (data) { 132 export function record(data) {
127 return request({ 133 return request({
128 url: '/business/workFlow/record', 134 url: '/business/workFlow/record',
129 method: 'post', 135 method: 'post',
...@@ -131,7 +137,7 @@ export function record (data) { ...@@ -131,7 +137,7 @@ export function record (data) {
131 }) 137 })
132 } 138 }
133 // 获取不动产权证列表 139 // 获取不动产权证列表
134 export function getBdcqzList (params) { 140 export function getBdcqzList(params) {
135 return request({ 141 return request({
136 url: '/business/workFlow/getBdcqzList', 142 url: '/business/workFlow/getBdcqzList',
137 method: 'get', 143 method: 'get',
...@@ -139,7 +145,7 @@ export function getBdcqzList (params) { ...@@ -139,7 +145,7 @@ export function getBdcqzList (params) {
139 }) 145 })
140 } 146 }
141 // 获取印刷序列号 147 // 获取印刷序列号
142 export function readYsxlh (params) { 148 export function readYsxlh(params) {
143 return request({ 149 return request({
144 url: '/business/workFlow/readYsxlh', 150 url: '/business/workFlow/readYsxlh',
145 method: 'get', 151 method: 'get',
...@@ -147,7 +153,7 @@ export function readYsxlh (params) { ...@@ -147,7 +153,7 @@ export function readYsxlh (params) {
147 }) 153 })
148 } 154 }
149 // 缮证 155 // 缮证
150 export function certificate (data) { 156 export function certificate(data) {
151 return request({ 157 return request({
152 url: '/business/workFlow/certificate', 158 url: '/business/workFlow/certificate',
153 method: 'post', 159 method: 'post',
...@@ -155,7 +161,7 @@ export function certificate (data) { ...@@ -155,7 +161,7 @@ export function certificate (data) {
155 }) 161 })
156 } 162 }
157 // 作废缮证信息 163 // 作废缮证信息
158 export function invalidCertificate (data) { 164 export function invalidCertificate(data) {
159 return request({ 165 return request({
160 url: '/business/workFlow/invalidCertificate', 166 url: '/business/workFlow/invalidCertificate',
161 method: 'post', 167 method: 'post',
...@@ -163,7 +169,7 @@ export function invalidCertificate (data) { ...@@ -163,7 +169,7 @@ export function invalidCertificate (data) {
163 }) 169 })
164 } 170 }
165 // 缮证列表 171 // 缮证列表
166 export function getCertificateList (data) { 172 export function getCertificateList(data) {
167 return request({ 173 return request({
168 url: '/business/workFlow/getCertificateList', 174 url: '/business/workFlow/getCertificateList',
169 method: 'post', 175 method: 'post',
...@@ -171,7 +177,7 @@ export function getCertificateList (data) { ...@@ -171,7 +177,7 @@ export function getCertificateList (data) {
171 }) 177 })
172 } 178 }
173 // 发证 179 // 发证
174 export function issueCertificate (data) { 180 export function issueCertificate(data) {
175 return request({ 181 return request({
176 url: '/business/workFlow/issueCertificate', 182 url: '/business/workFlow/issueCertificate',
177 method: 'post', 183 method: 'post',
......
...@@ -29,4 +29,5 @@ export function getForm(tabName) { ...@@ -29,4 +29,5 @@ export function getForm(tabName) {
29 } 29 }
30 30
31 return (r) => require.ensure([], () => r(form)); 31 return (r) => require.ensure([], () => r(form));
32 }
...\ No newline at end of file ...\ No newline at end of file
32 }
33
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
46 // min-width: 50%; 46 // min-width: 50%;
47 // border-right: 1px solid #ebeef5; 47 // border-right: 1px solid #ebeef5;
48 // } 48 // }
49 49 //padding:5px 0 0 15px;
50 background-color: #ffffffe7; 50 background-color: #ffffffe7;
51 width: 100%; 51 width: 100%;
52 height: 100%; 52 height: 100%;
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
43 </el-menu-item> 43 </el-menu-item>
44 </el-menu> 44 </el-menu>
45 </div> 45 </div>
46 <!-- 分屏左侧预览 -->
46 <div v-if="splitScreen" class="splitScreen-con"> 47 <div v-if="splitScreen" class="splitScreen-con">
47 <component :is="clxxForm" v-bind="currentSelectProps" :key="fresh" /> 48 <component :is="clxxForm" v-bind="currentSelectProps" :key="fresh" />
48 </div> 49 </div>
...@@ -57,15 +58,17 @@ ...@@ -57,15 +58,17 @@
57 :key="index" 58 :key="index"
58 > 59 >
59 </el-tab-pane> 60 </el-tab-pane>
61 <component
62 :key="fresh"
63 :is="componentTag"
64 v-bind="currentSelectProps"
65 />
60 </el-tabs> 66 </el-tabs>
61 <component
62 :key="fresh"
63 :is="componentTag"
64 v-bind="currentSelectProps"
65 />
66 </div> 67 </div>
67 </div> 68 </div>
68 </div> 69 </div>
70
71 <!-- <zslqDialog ref="zslqDialog" v-model="zslqDialog" /> -->
69 </div> 72 </div>
70 </template> 73 </template>
71 74
...@@ -75,17 +78,21 @@ ...@@ -75,17 +78,21 @@
75 </style> 78 </style>
76 79
77 <script> 80 <script>
78 import { leftMenu, stepExpandInfo, record } from "@/api/fqsq.js"; 81 import {
82 leftMenu,
83 stepExpandInfo,
84 record,
85 getNextLinkInfo,
86 completeTask,
87 } from "@/api/fqsq.js";
79 import { getForm } from "./flowform.js"; 88 import { getForm } from "./flowform.js";
89 import axios from "axios";
90 // import zc from "./components/zc.vue";
91 // import thDialog from "./components/th.vue";
92 // import zsylDialog from "./components/zsyl";
93 // import zslqDialog from "./components/zslq";
80 export default { 94 export default {
81 components: { 95 // components: { zc, thDialog, zsylDialog, comMsg,zslqDialog},
82 //注册表单组件,后期改为路由模式
83 // slxx: () => import("@/views/ywbl/fqsq/components/slxx.vue"),
84 // clxx: () => import("./components/clxx.vue"),
85 // spyj: () => import("./components/spyj.vue"),
86 // zdjbxx: () => import("../../zhcx/djbcx/components/zdxx.vue"),
87 // qlxx: () => import("../../zhcx/djbcx/components/jsydsyq.vue"),
88 },
89 data() { 96 data() {
90 return { 97 return {
91 //受理申请标识码 98 //受理申请标识码
...@@ -105,7 +112,7 @@ export default { ...@@ -105,7 +112,7 @@ export default {
105 //选择加载哪一个组件 112 //选择加载哪一个组件
106 componentTag: "", 113 componentTag: "",
107 //设置表单组件是否刷选值 114 //设置表单组件是否刷选值
108 fresh: 0, 115 fresh: 10,
109 //设置表单传递数据 116 //设置表单传递数据
110 currentSelectProps: {}, 117 currentSelectProps: {},
111 //是否开启材料分屏 118 //是否开启材料分屏
...@@ -155,9 +162,8 @@ export default { ...@@ -155,9 +162,8 @@ export default {
155 case "zsyl": 162 case "zsyl":
156 this.zsylFlag = true; 163 this.zsylFlag = true;
157 break; 164 break;
158 case "clfp": 165 case "clfp": //材料分屏按钮
159 this.splitScreen = this.splitScreen ? false : true; 166 this.splitScreen = this.splitScreen ? false : true;
160 //this.$alert(this.tabName);
161 if (this.splitScreen) { 167 if (this.splitScreen) {
162 //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 168 //如果当前选项卡为材料信息内容,递减到上一个选项卡内容
163 if (this.tabName == this.clxxTab.value) { 169 if (this.tabName == this.clxxTab.value) {
...@@ -169,15 +175,23 @@ export default { ...@@ -169,15 +175,23 @@ export default {
169 this.tabList.splice(this.clxxIndex, 1, this.clxxTab); 175 this.tabList.splice(this.clxxIndex, 1, this.clxxTab);
170 } 176 }
171 break; 177 break;
172 case "th": 178 case "th": //退回按钮
173 this.thflag = true; 179 // this.thflag = true;
174 this.$nextTick(() => { 180 // this.$nextTick(() => {
175 this.$refs.thdialogRef.tablelistFn(); 181 // this.$refs.thdialogRef.tablelistFn();
176 }); 182 // });
177 break; 183 break;
178 case "zc": 184 case "zc": //转件按钮
179 this.zcDialog = true; 185 getNextLinkInfo({
180 this.$refs.zcDialogRef.tablelistFn(); 186 bsmSlsq: this.bsmSlsq,
187 bestepid: this.bestepid,
188 }).then((res) => {
189 if (res.code === 200) {
190 this.send(res.result);
191 }
192 });
193 // this.$alert(res.result);
194
181 break; 195 break;
182 case "tc": 196 case "tc":
183 window.close(); 197 window.close();
...@@ -231,6 +245,51 @@ export default { ...@@ -231,6 +245,51 @@ export default {
231 getFromRouter(tabname) { 245 getFromRouter(tabname) {
232 this.componentTag = getForm(tabname); 246 this.componentTag = getForm(tabname);
233 }, 247 },
248 //发送下一个环节
249 send(obj) {
250 const h = this.$createElement;
251 this.$msgbox({
252 title: "您确定转出吗?",
253 message: h("div", { style: "margin: auto" }, [
254 h("span", null, "下个环节名称:"),
255 h("i", { style: "color: teal" }, obj.taskName),
256 h("div", null, ""),
257 h("span", null, "下个环节经办人: "),
258 h("i", { style: "color: teal" }, obj.usernames.join(",")),
259 ]),
260 showCancelButton: true,
261 confirmButtonText: "确定",
262 cancelButtonText: "取消",
263 beforeClose: (action, instance, done) => {
264 if (action === "confirm") {
265 instance.confirmButtonLoading = true;
266 instance.confirmButtonText = "执行中...";
267 completeTask({
268 bsmSlsq: this.bsmSlsq,
269 shyj: "this.bestepid",
270 }).then((res) => {
271 if (res.code === 200) {
272 instance.confirmButtonLoading = false;
273 this.$message.success("转件成功");
274 setTimeout(() => {
275 window.opener = null;
276 window.open("about:blank", "_self");
277 window.close();
278 this.$emit("input", false);
279 }, 1000);
280 }
281 });
282 } else {
283 done();
284 }
285 },
286 }).then((action) => {
287 this.$message({
288 type: "info",
289 message: "action: " + action,
290 });
291 });
292 },
234 }, 293 },
235 }; 294 };
236 </script> 295 </script>
...\ No newline at end of file ...\ No newline at end of file
......