bug·
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| <template> | ||||
|   <section class="needsDetail"> | ||||
|     <ai-detail> | ||||
|       <ai-title slot="title" title="融资详情" isShowBottomBorder isShowBack @onBackClick="back"> | ||||
|       <ai-title slot="title" title="融资详情" isShowBottomBorder isShowBack @onBackClick="back()"> | ||||
|         <template #rightBtn> | ||||
|           <el-button v-if="isFinanceUser" type="primary" @click="handleGrab">抢单</el-button> | ||||
|           <el-button v-else type="danger" @click="handleCancel">取消发布</el-button> | ||||
| @@ -132,7 +132,8 @@ export default { | ||||
|   props: { | ||||
|     instance: Function, | ||||
|     dict: Object, | ||||
|     permissions: Function | ||||
|     permissions: Function, | ||||
|     row: Object, | ||||
|   }, | ||||
|   computed: { | ||||
|     ...mapState(['user']), | ||||
| @@ -183,7 +184,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       let {id} = this.row | ||||
|       this.instance.post("/appfinancingdemand/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
| @@ -228,7 +229,7 @@ export default { | ||||
|       }).catch(() => 0) | ||||
|     }, | ||||
|     back() { | ||||
|       this.$router.push({query: {}}) | ||||
|       this.$emit('goBack') | ||||
|     } | ||||
|   }, | ||||
|   created() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user