| | |
| | | <el-button icon="el-icon-tickets" :size="size" :type="type" @click="polishApplication(row.id)">补正</el-button> |
| | | <el-button v-if="permit" icon="el-icon-tickets" :size="size" :type="type">受 理</el-button> |
| | | <el-button v-if="permit" icon="el-icon-tickets" :size="size" :type="type" @click="rejectApplication(row)">不予受理</el-button> |
| | | <!-- <el-button icon="el-icon-delete" :size="size" :type="type">车辆变更</el-button>--> |
| | | <!-- <el-button icon="el-icon-delete" :size="size" :type="type">延 期</el-button>--> |
| | | <!-- <el-button icon="el-icon-delete" :size="size" :type="type">撤 销</el-button>--> |
| | | </template> |
| | | <!--按钮自定义-End--> |
| | | |
| | |
| | | }, |
| | | permit(){ |
| | | return this.userInfo.role_name == 'admin' || this.userInfo.role_name == 'administrator' ? true:false |
| | | } |
| | | }, |
| | | watch:{ |
| | | 'form.passTime':{ |
| | | handler(newVal){ |
| | | if (newVal){ |
| | | this.form.startPassTime = newVal[0] |
| | | this.form.endPassTime = newVal[1] |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | let catId = car.id |
| | | let goods = this.form.goodsEntity |
| | | let goodsId = goods.id |
| | | this.form.endPassTime = basic.endPassTime |
| | | this.form.passTime = [basic.startPassTime,basic.endPassTime] |
| | | let form = this.form |
| | | //保留原form中的字段 |
| | | let common = Object.assign({},form) |