|
@@ -14,7 +14,7 @@ import ItdmXqPingshen from './itdmXqPingshen.vue'
|
|
import ItdmGcShishi from './itdmGcShishi.vue'
|
|
import ItdmGcShishi from './itdmGcShishi.vue'
|
|
import ItdmBgJiaofu from './itdmBgJiaofu.vue'
|
|
import ItdmBgJiaofu from './itdmBgJiaofu.vue'
|
|
import ItdmXnJiesuan from './itdmXnJiesuan.vue'
|
|
import ItdmXnJiesuan from './itdmXnJiesuan.vue'
|
|
-import { getYeWU, runFlowPathSaveData } from '@/api/api'
|
|
|
|
|
|
+import { getYeWU, runFlowPathSaveData, jixiaoPersonPrice } from '@/api/api'
|
|
export default {
|
|
export default {
|
|
components: { ItdmXmShuru, ItdmXqPingshen, ItdmGcShishi, ItdmBgJiaofu, ItdmXnJiesuan },
|
|
components: { ItdmXmShuru, ItdmXqPingshen, ItdmGcShishi, ItdmBgJiaofu, ItdmXnJiesuan },
|
|
data() {
|
|
data() {
|
|
@@ -33,6 +33,7 @@ export default {
|
|
created(){
|
|
created(){
|
|
// this.querys.id = this.$route.query.id
|
|
// this.querys.id = this.$route.query.id
|
|
console.log(this.querys.id)
|
|
console.log(this.querys.id)
|
|
|
|
+ console.log(this.$route.query.weituoNo)
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -64,15 +65,32 @@ export default {
|
|
// console.log(this.tableData1)
|
|
// console.log(this.tableData1)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ // 保存数据
|
|
runFlowPathSaveData(saveData){
|
|
runFlowPathSaveData(saveData){
|
|
- console.log(JSON.parse(saveData.saveData))
|
|
|
|
runFlowPathSaveData(saveData).then(response => {
|
|
runFlowPathSaveData(saveData).then(response => {
|
|
- console.log('ddd', response)
|
|
|
|
if (response.success) {
|
|
if (response.success) {
|
|
this.$message.success(response.message)
|
|
this.$message.success(response.message)
|
|
this.getList()
|
|
this.getList()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ if(saveData.stepBUfen && saveData.stepBUfen === '3'){
|
|
|
|
+ var arr = JSON.parse(saveData.saveData).assessmentLog
|
|
|
|
+ var jixiaoData = arr.map(res => {
|
|
|
|
+ return {
|
|
|
|
+ weituoNo: this.$route.query.weituoNo,
|
|
|
|
+ name: res.name,
|
|
|
|
+ lhJifen: res.lhJifen,
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ console.log(jixiaoData)
|
|
|
|
+ jixiaoPersonPrice(jixiaoData).then(response=> {
|
|
|
|
+ if (response.success) {
|
|
|
|
+ // this.$message.success(response.message)
|
|
|
|
+ } else {
|
|
|
|
+ this.$message.error(response.message)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|