退回
Showing
3 changed files
with
27 additions
and
20 deletions
... | @@ -4,12 +4,12 @@ | ... | @@ -4,12 +4,12 @@ |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form ref="queryForm" label-width="90px"> | 5 | <el-form ref="queryForm" label-width="90px"> |
6 | <ul style="margin-bottom:15px"> | 6 | <ul style="margin-bottom:15px"> |
7 | <li v-for="(item,index) in list" class="listDetail"> | 7 | <li v-for="(item,index) in dataList" class="listDetail" :key="index"> |
8 | <p class="icon"> | 8 | <p class="icon"> |
9 | <i class="el-icon-circle-check"></i> | 9 | <i class="el-icon-circle-check"></i> |
10 | </p> | 10 | </p> |
11 | <p>{{item.title}}</p> | 11 | <p>{{item.activityName}}</p> |
12 | <p>{{item.value}}</p> | 12 | <p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p> |
13 | </li> | 13 | </li> |
14 | </ul> | 14 | </ul> |
15 | <el-form-item label="退回意见:"> | 15 | <el-form-item label="退回意见:"> |
... | @@ -24,27 +24,31 @@ | ... | @@ -24,27 +24,31 @@ |
24 | import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js" | 24 | import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js" |
25 | export default { | 25 | export default { |
26 | props: { | 26 | props: { |
27 | formData: { | ||
28 | type: Object, | ||
29 | default: {} | ||
30 | } | ||
27 | }, | 31 | }, |
28 | data () { | 32 | data () { |
29 | return { | 33 | return { |
30 | list: [ | 34 | dataList: [], |
31 | { | ||
32 | title: "初审", | ||
33 | value: '', | ||
34 | }, | ||
35 | { | ||
36 | title: "复审", | ||
37 | value: '', | ||
38 | }, | ||
39 | { | ||
40 | title: "录入", | ||
41 | value: '', | ||
42 | } | ||
43 | ], | ||
44 | outstepopinion: '' | 35 | outstepopinion: '' |
45 | } | 36 | } |
46 | }, | 37 | }, |
38 | created() { | ||
39 | this.getBackNode(); | ||
40 | }, | ||
47 | methods: { | 41 | methods: { |
42 | childFn () { | ||
43 | console.log(1111); | ||
44 | }, | ||
45 | getBackNode() { | ||
46 | getTaskBackNode(this.formData).then(res => { | ||
47 | if(res.code == 200){ | ||
48 | this.dataList = res.result | ||
49 | } | ||
50 | }) | ||
51 | } | ||
48 | } | 52 | } |
49 | } | 53 | } |
50 | </script> | 54 | </script> | ... | ... |
... | @@ -285,7 +285,10 @@ export default { | ... | @@ -285,7 +285,10 @@ export default { |
285 | editItem: "workflow/components/th", | 285 | editItem: "workflow/components/th", |
286 | height: "330px", | 286 | height: "330px", |
287 | width: '30%', | 287 | width: '30%', |
288 | formData: {}, | 288 | formData: { |
289 | bsmSlsq: this.bsmSlsq, | ||
290 | bestepid: this.bestepid | ||
291 | }, | ||
289 | btnShow: true, | 292 | btnShow: true, |
290 | cancel: () => { | 293 | cancel: () => { |
291 | console.log("取消回调"); | 294 | console.log("取消回调"); | ... | ... |
... | @@ -45,7 +45,7 @@ import Cookies from 'js-cookie' | ... | @@ -45,7 +45,7 @@ import Cookies from 'js-cookie' |
45 | import { datas, sendThis } from "../javascript/fwsyq.js"; | 45 | import { datas, sendThis } from "../javascript/fwsyq.js"; |
46 | import table from "@/utils/mixin/table"; | 46 | import table from "@/utils/mixin/table"; |
47 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; | 47 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; |
48 | import { selectFwsyq, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; | 48 | import { selectScBdcdy, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; |
49 | export default { | 49 | export default { |
50 | mixins: [table, jump], | 50 | mixins: [table, jump], |
51 | props: { | 51 | props: { |
... | @@ -79,7 +79,7 @@ export default { | ... | @@ -79,7 +79,7 @@ export default { |
79 | }, | 79 | }, |
80 | fetchData () { | 80 | fetchData () { |
81 | this.queryForm.sqywbm = this.djywbm; | 81 | this.queryForm.sqywbm = this.djywbm; |
82 | selectFwsyq({ ...this.queryForm, ...this.pageData, fwfl: this.activeName }).then((res) => { | 82 | selectScBdcdy({ ...this.queryForm, ...this.pageData, fwfl: this.activeName }).then((res) => { |
83 | if (res.code === 200) { | 83 | if (res.code === 200) { |
84 | let { total, records } = res.result; | 84 | let { total, records } = res.result; |
85 | this.tableData.total = total; | 85 | this.tableData.total = total; | ... | ... |
-
Please register or sign in to post a comment