5abbd0cc by 杨威

流程回退

1 parent 118118f1
...@@ -181,6 +181,13 @@ export default { ...@@ -181,6 +181,13 @@ export default {
181 }); 181 });
182 } 182 }
183 }, 183 },
184 // 退回
185 rollback(data){
186 rollbackProcess(data).then((res) => {
187 this.sprList = res[0].masterActors;
188 this.spr = res[0].masterActors[0].accountNo;
189 });
190 }
184 }, 191 },
185 watch: { 192 watch: {
186 tjVisible: { 193 tjVisible: {
......
...@@ -49,3 +49,33 @@ export function transitProcess(data) { ...@@ -49,3 +49,33 @@ export function transitProcess(data) {
49 data: data 49 data: data
50 }) 50 })
51 } 51 }
52 /**
53 * 流程回退
54 */
55 export function rollbackProcess(data) {
56 return request({
57 url: '/workflow/rollbackProcess',
58 method: 'post',
59 data: data
60 })
61 }
62 /**
63 * 获取流程环节详细信息
64 */
65 export function getActivityDetail(data) {
66 return request({
67 url: '/workflow/getActivityDetail',
68 method: 'post',
69 data: data
70 })
71 }
72 /**
73 * 模板加载
74 */
75 export function templateLoad(data) {
76 return request({
77 url: '/template/formal/load/'+data,
78 method: 'get',
79 })
80 }
81
......
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
15 <el-tab-pane label="附件材料" name="fjcl"> 15 <el-tab-pane label="附件材料" name="fjcl">
16 <fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl> 16 <fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl>
17 </el-tab-pane> 17 </el-tab-pane>
18 <el-tab-pane label="流程跟踪" name="lcgz" lazy>
19 <lcgz ref="lcgz" ></lcgz>
20 </el-tab-pane>
18 </el-tabs> 21 </el-tabs>
19 <!-- </div> --> 22 <!-- </div> -->
20 </template> 23 </template>
...@@ -27,13 +30,14 @@ import jzx from "./jzx"; ...@@ -27,13 +30,14 @@ import jzx from "./jzx";
27 import djb from "./djb"; 30 import djb from "./djb";
28 import lshs from "./lshs"; 31 import lshs from "./lshs";
29 import fjcl from "./fjcl/fjcl" 32 import fjcl from "./fjcl/fjcl"
33 import Lcgz from "./lcgz"
30 import {queryStatus} from "@api/search" 34 import {queryStatus} from "@api/search"
31 import Fldcb from "@components/Fldcb/Fldcb" 35 import Fldcb from "@components/Fldcb/Fldcb"
32 import {getQjZdjbxxDetailById} from '@api/zd' 36 import {getQjZdjbxxDetailById} from '@api/zd'
33 export default { 37 export default {
34 name: "", 38 name: "",
35 components: { 39 components: {
36 zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Fldcb 40 zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Fldcb,Lcgz
37 }, 41 },
38 props: {}, 42 props: {},
39 data() { 43 data() {
......
...@@ -370,6 +370,7 @@ ...@@ -370,6 +370,7 @@
370 </div> 370 </div>
371 </div> 371 </div>
372 <div class="sh-btn"> 372 <div class="sh-btn">
373 <el-button type="primary" @click="thzd">退回</el-button>
373 <el-button type="primary" @click="shzd">审核</el-button> 374 <el-button type="primary" @click="shzd">审核</el-button>
374 </div> 375 </div>
375 </div> 376 </div>
...@@ -855,20 +856,20 @@ ...@@ -855,20 +856,20 @@
855 }, 856 },
856 //提交宗地基本信息 857 //提交宗地基本信息
857 submitZDxx() { 858 submitZDxx() {
858 vm.setTjDialog(true); 859 // vm.setTjDialog(true);
859 // let data = { 860 let data = {
860 // glbsm: this.$store.state.zdbsm, 861 glbsm: this.$store.state.zdbsm,
861 // status: 1, 862 status: 1,
862 // type: "zd" 863 type: "zd"
863 // } 864 }
864 // submit(data).then((res) => { 865 submit(data).then((res) => {
865 // if (res.code === 200) { 866 if (res.code === 200) {
866 // this.$message.success("提交成功!") 867 this.$message.success("提交成功!")
867 // this.getZdjbxxData(this.curZdbsm); 868 this.getZdjbxxData(this.curZdbsm);
868 // this.$store.state.oldZdbsm = ''; 869 this.$store.state.oldZdbsm = '';
869 // this.getRightTree(this.curZdbsm,'0,1,2') 870 this.getRightTree(this.curZdbsm,'0,1,2')
870 // } 871 }
871 // }) 872 })
872 }, 873 },
873 getQlrxxData() { 874 getQlrxxData() {
874 // console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据 875 // console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据
...@@ -946,7 +947,19 @@ ...@@ -946,7 +947,19 @@
946 shsj:'2021-01-22' 947 shsj:'2021-01-22'
947 } 948 }
948 vm.setShDialog(true,data) 949 vm.setShDialog(true,data)
950 },
951 //宗地审核流程退回
952 thzd(){
953 let data = {
954 bdcdyh:this.formData.bdcdyh,
955 zl:this.formData.zl,
956 shyj:'',
957 shr:'admin',
958 shsj:'2021-01-22'
949 } 959 }
960 vm.rollback(data);
961 },
962
950 }, 963 },
951 computed: { 964 computed: {
952 zl() { 965 zl() {
......