385f5d08 by jiaozeping@pashanhoo.com
2 parents 7b22bc55 b4b9ddf3
......@@ -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("取消回调");
......