5abbd0cc by 杨威

流程回退

1 parent 118118f1
......@@ -181,6 +181,13 @@ export default {
});
}
},
// 退回
rollback(data){
rollbackProcess(data).then((res) => {
this.sprList = res[0].masterActors;
this.spr = res[0].masterActors[0].accountNo;
});
}
},
watch: {
tjVisible: {
......
......@@ -49,3 +49,33 @@ export function transitProcess(data) {
data: data
})
}
/**
* 流程回退
*/
export function rollbackProcess(data) {
return request({
url: '/workflow/rollbackProcess',
method: 'post',
data: data
})
}
/**
* 获取流程环节详细信息
*/
export function getActivityDetail(data) {
return request({
url: '/workflow/getActivityDetail',
method: 'post',
data: data
})
}
/**
* 模板加载
*/
export function templateLoad(data) {
return request({
url: '/template/formal/load/'+data,
method: 'get',
})
}
......
......@@ -15,6 +15,9 @@
<el-tab-pane label="附件材料" name="fjcl">
<fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl>
</el-tab-pane>
<el-tab-pane label="流程跟踪" name="lcgz" lazy>
<lcgz ref="lcgz" ></lcgz>
</el-tab-pane>
</el-tabs>
<!-- </div> -->
</template>
......@@ -27,13 +30,14 @@ import jzx from "./jzx";
import djb from "./djb";
import lshs from "./lshs";
import fjcl from "./fjcl/fjcl"
import Lcgz from "./lcgz"
import {queryStatus} from "@api/search"
import Fldcb from "@components/Fldcb/Fldcb"
import {getQjZdjbxxDetailById} from '@api/zd'
export default {
name: "",
components: {
zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Fldcb
zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Fldcb,Lcgz
},
props: {},
data() {
......
......@@ -370,6 +370,7 @@
</div>
</div>
<div class="sh-btn">
<el-button type="primary" @click="thzd">退回</el-button>
<el-button type="primary" @click="shzd">审核</el-button>
</div>
</div>
......@@ -855,20 +856,20 @@
},
//提交宗地基本信息
submitZDxx() {
vm.setTjDialog(true);
// let data = {
// glbsm: this.$store.state.zdbsm,
// status: 1,
// type: "zd"
// }
// submit(data).then((res) => {
// if (res.code === 200) {
// this.$message.success("提交成功!")
// this.getZdjbxxData(this.curZdbsm);
// this.$store.state.oldZdbsm = '';
// this.getRightTree(this.curZdbsm,'0,1,2')
// }
// })
// vm.setTjDialog(true);
let data = {
glbsm: this.$store.state.zdbsm,
status: 1,
type: "zd"
}
submit(data).then((res) => {
if (res.code === 200) {
this.$message.success("提交成功!")
this.getZdjbxxData(this.curZdbsm);
this.$store.state.oldZdbsm = '';
this.getRightTree(this.curZdbsm,'0,1,2')
}
})
},
getQlrxxData() {
// console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据
......@@ -946,7 +947,19 @@
shsj:'2021-01-22'
}
vm.setShDialog(true,data)
},
//宗地审核流程退回
thzd(){
let data = {
bdcdyh:this.formData.bdcdyh,
zl:this.formData.zl,
shyj:'',
shr:'admin',
shsj:'2021-01-22'
}
vm.rollback(data);
},
},
computed: {
zl() {
......