076291ea by 蔡俊立

退回

1 parent e08e9efc
......@@ -4,12 +4,12 @@
<div class="from-clues-header">
<el-form ref="queryForm" label-width="90px">
<ul style="margin-bottom:15px">
<li v-for="(item,index) in list" class="listDetail">
<li v-for="(item,index) in dataList" class="listDetail" :key="index">
<p class="icon">
<i class="el-icon-circle-check"></i>
</p>
<p>{{item.title}}</p>
<p>{{item.value}}</p>
<p>{{item.activityName}}</p>
<p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p>
</li>
</ul>
<el-form-item label="退回意见:">
......@@ -24,27 +24,31 @@
import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js"
export default {
props: {
formData: {
type: Object,
default: {}
}
},
data () {
return {
list: [
{
title: "初审",
value: '',
},
{
title: "复审",
value: '',
},
{
title: "录入",
value: '',
}
],
dataList: [],
outstepopinion: ''
}
},
created() {
this.getBackNode();
},
methods: {
childFn () {
console.log(1111);
},
getBackNode() {
getTaskBackNode(this.formData).then(res => {
if(res.code == 200){
this.dataList = res.result
}
})
}
}
}
</script>
......
......@@ -285,7 +285,10 @@ export default {
editItem: "workflow/components/th",
height: "330px",
width: '30%',
formData: {},
formData: {
bsmSlsq: this.bsmSlsq,
bestepid: this.bestepid
},
btnShow: true,
cancel: () => {
console.log("取消回调");
......
......@@ -45,7 +45,7 @@ import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/fwsyq.js";
import table from "@/utils/mixin/table";
import jump from "@/views/ywbl/ywsq/components/mixin/jump";
import { selectFwsyq, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
import { selectScBdcdy, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
export default {
mixins: [table, jump],
props: {
......@@ -79,7 +79,7 @@ export default {
},
fetchData () {
this.queryForm.sqywbm = this.djywbm;
selectFwsyq({ ...this.queryForm, ...this.pageData, fwfl: this.activeName }).then((res) => {
selectScBdcdy({ ...this.queryForm, ...this.pageData, fwfl: this.activeName }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
this.tableData.total = total;
......