27469
This commit is contained in:
		| @@ -42,7 +42,7 @@ | ||||
|         @onConfirm="onConfirm"> | ||||
|         <el-form class="ai-form" label-width="120px" :model="form" ref="form"> | ||||
|           <el-form-item label="是否通过审核" prop="pass" style="width: 100%;" :rules="[{ required: true, message: '请选择是否通过审核' }]"> | ||||
|             <el-radio-group v-model="form.pass"> | ||||
|             <el-radio-group v-model="form.pass" @change="onStatusChange"> | ||||
|               <el-radio label="0">否</el-radio> | ||||
|               <el-radio label="1">是</el-radio> | ||||
|             </el-radio-group> | ||||
| @@ -138,6 +138,10 @@ | ||||
|         }) | ||||
|       }, | ||||
|  | ||||
|       onStatusChange () { | ||||
|         this.$refs.form.clearValidate() | ||||
|       }, | ||||
|  | ||||
|       onClose () { | ||||
|         this.form.auditIntegralType = '' | ||||
|         this.form.auditRuleId = '' | ||||
|   | ||||
| @@ -49,12 +49,11 @@ | ||||
|         :current.sync="search.current" | ||||
|         :size.sync="search.size" | ||||
|         @getList="getList"> | ||||
|         <el-table-column slot="options" width="160px" fixed="right" label="操作" align="center"> | ||||
|         <el-table-column slot="options" width="120px" fixed="right" label="操作" align="center"> | ||||
|           <template slot-scope="{ row }"> | ||||
|             <div class="table-options"> | ||||
|               <el-button type="text" @click="toAudit(row.id)" :disabled="row.auditStatus !== '0'">审核</el-button> | ||||
|               <el-button type="text" @click="toDetail(row.id)">详情</el-button> | ||||
|               <el-button type="text" @click="remove(row.id)" :disabled="row.auditStatus === '0'">删除</el-button> | ||||
|             </div> | ||||
|           </template> | ||||
|         </el-table-column> | ||||
| @@ -67,7 +66,7 @@ | ||||
|         @onConfirm="onConfirm"> | ||||
|         <el-form class="ai-form" label-width="120px" :model="form" ref="form"> | ||||
|           <el-form-item label="是否通过审核" prop="pass" style="width: 100%;" :rules="[{ required: true, message: '请选择是否通过审核' }]"> | ||||
|             <el-radio-group v-model="form.pass"> | ||||
|             <el-radio-group v-model="form.pass" @change="onStatusChange"> | ||||
|               <el-radio label="0">否</el-radio> | ||||
|               <el-radio label="1">是</el-radio> | ||||
|             </el-radio-group> | ||||
| @@ -160,6 +159,10 @@ | ||||
|         }) | ||||
|       }, | ||||
|  | ||||
|       onStatusChange () { | ||||
|         this.$refs.form.clearValidate() | ||||
|       }, | ||||
|  | ||||
|       toAudit (id) { | ||||
|         this.id = id | ||||
|         this.isShow = true | ||||
|   | ||||
| @@ -162,7 +162,7 @@ | ||||
|               </el-table> | ||||
|             </div> | ||||
|           </ai-card> | ||||
|           <ai-card title="处理结果"> | ||||
|           <ai-card title="处理结果" v-if="baseInfo.auditStatus > '0'"> | ||||
|             <div slot="content" style="margin-top: 16px;margin-bottom:24px"> | ||||
|               <div class="detail-info"> | ||||
|                 <div class="detail-left fill"> | ||||
| @@ -188,7 +188,7 @@ | ||||
|             @onConfirm="onConfirm"> | ||||
|             <el-form class="ai-form" label-width="120px" :model="form" ref="form"> | ||||
|               <el-form-item label="是否通过审核" prop="pass" style="width: 100%;" :rules="[{ required: true, message: '请选择是否通过审核' }]"> | ||||
|                 <el-radio-group v-model="form.pass"> | ||||
|                 <el-radio-group v-model="form.pass" @change="onStatusChange"> | ||||
|                   <el-radio label="0">否</el-radio> | ||||
|                   <el-radio label="1">是</el-radio> | ||||
|                 </el-radio-group> | ||||
| @@ -385,6 +385,10 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|  | ||||
|     onStatusChange () { | ||||
|       this.$refs.form.clearValidate() | ||||
|     }, | ||||
|  | ||||
|     onClose () { | ||||
|       this.form.pass = '' | ||||
|       this.form.opinion = '' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user