BUG 28743
This commit is contained in:
		| @@ -21,6 +21,11 @@ | ||||
|             <el-button type="primary" @click="handleAccept(1)">纳入监测</el-button> | ||||
|             <el-button v-if="isGridAdmin" icon="iconfont iconDelete" @click="handleDelete(detail.id)">删除</el-button> | ||||
|           </template> | ||||
|           <template v-if="/5/.test(detail.status)"> | ||||
|             <el-button v-if="isGridAdmin" type="primary" @click="handleAccept(1)">纳入监测</el-button> | ||||
|             <el-button v-else type="primary" @click="handleAccept()">申请纳入监测</el-button> | ||||
|             <el-button v-if="isGridAdmin" icon="iconfont iconDelete" @click="handleDelete(detail.id)">删除</el-button> | ||||
|           </template> | ||||
|           <el-button v-if="/4/g.test(detail.status)" icon="iconfont iconDelete" @click="handleDelete(detail.id)"> | ||||
|             删除 | ||||
|           </el-button> | ||||
| @@ -261,7 +266,7 @@ export default { | ||||
|       }).catch(() => 0) | ||||
|     }, | ||||
|     handleAccept(pass) { | ||||
|       let msg = pass == 1 ? "是否将该人员纳入监测对象?" : "是否驳回纳入监测对象申请?", {id} = this.detail | ||||
|       let msg = pass == 0 ? "是否驳回纳入监测对象申请?" : `是否${isNaN(pass) ? '(申请)' : ''}纳入监测对象?`, {id} = this.detail | ||||
|       this.$confirm(msg).then(() => { | ||||
|         this.instance.post("/app/apppreventionreturntopoverty/examine", null, { | ||||
|           params: {pass, id} | ||||
| @@ -316,7 +321,8 @@ export default { | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|   ::v-deep.el-tabs__content{ | ||||
|  | ||||
|   ::v-deep.el-tabs__content { | ||||
|     max-height: calc(100vh - 136px); | ||||
|     overflow-y: auto; | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user