|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
<a-card :bordered="false">
|
|
|
- <itdm-xm-shuru></itdm-xm-shuru>
|
|
|
- <itdm-xq-pingshen></itdm-xq-pingshen>
|
|
|
- <itdm-gc-shishi></itdm-gc-shishi>
|
|
|
- <itdm-bg-jiaofu></itdm-bg-jiaofu>
|
|
|
- <itdm-xn-jiesuan></itdm-xn-jiesuan>
|
|
|
+ <itdm-xm-shuru :tableData1="tableData1"></itdm-xm-shuru>
|
|
|
+ <itdm-xq-pingshen :tableData2="tableData2"></itdm-xq-pingshen>
|
|
|
+ <itdm-gc-shishi :tableData3="tableData3"></itdm-gc-shishi>
|
|
|
+ <itdm-bg-jiaofu :tableData4="tableData4"></itdm-bg-jiaofu>
|
|
|
+ <itdm-xn-jiesuan :tableData5="tableData5"></itdm-xn-jiesuan>
|
|
|
</a-card>
|
|
|
</template>
|
|
|
|
|
@@ -14,9 +14,49 @@ import ItdmXqPingshen from './itdmXqPingshen.vue'
|
|
|
import ItdmGcShishi from './itdmGcShishi.vue'
|
|
|
import ItdmBgJiaofu from './itdmBgJiaofu.vue'
|
|
|
import ItdmXnJiesuan from './itdmXnJiesuan.vue'
|
|
|
+import { getYeWU } from '@/api/api'
|
|
|
export default {
|
|
|
components: { ItdmXmShuru, ItdmXqPingshen, ItdmGcShishi, ItdmBgJiaofu, ItdmXnJiesuan },
|
|
|
-
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ querys:{
|
|
|
+ id: this.$route.query.id
|
|
|
+ },
|
|
|
+ // 接收后端传的json
|
|
|
+ tableData1:[],
|
|
|
+ tableData2:[],
|
|
|
+ tableData3:[],
|
|
|
+ tableData4:[],
|
|
|
+ tableData5:[],
|
|
|
+ }
|
|
|
+ },
|
|
|
+ created(){
|
|
|
+ // this.querys.id = this.$route.query.id
|
|
|
+ console.log(this.querys.id)
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ getList(){
|
|
|
+ getYeWU(this.querys).then((res) => {
|
|
|
+ console.log(11111,res)
|
|
|
+ // this.tableData = res.result.stepList
|
|
|
+ // console.log(this.tableData)
|
|
|
+ this.tableData1.push(res.result.stepList[0])
|
|
|
+ this.tableData1.push(res.result.stepList[1])
|
|
|
+ this.tableData2.push(res.result.stepList[2])
|
|
|
+ this.tableData2.push(res.result.stepList[3])
|
|
|
+ this.tableData3.push(res.result.stepList[4])
|
|
|
+ this.tableData4.push(res.result.stepList[5])
|
|
|
+ this.tableData4.push(res.result.stepList[6])
|
|
|
+ this.tableData5.push(res.result.stepList[7])
|
|
|
+ this.tableData5.push(res.result.stepList[8])
|
|
|
+ this.tableData5.push(res.result.stepList[9])
|
|
|
+ this.tableData5.push(res.result.stepList[10])
|
|
|
+ this.tableData5.push(res.result.stepList[11])
|
|
|
+ // console.log(this.tableData1)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|