| | |
| | | :size="size" |
| | | :type="type" |
| | | class="zhengJian-icon" |
| | | @click.stop="handleCredentials(row)">附件上传 |
| | | @click.stop="handleCredentials(row)">附件查阅 |
| | | </el-button> |
| | | <el-button |
| | | icon="el-icon-edit" |
| | | :size="size" |
| | | :type="type" |
| | | @click.stop="rowDel(row)" |
| | | >许可审批 |
| | | </el-button> |
| | | </template> |
| | | <template class="tdtype" slot-scope="{ row }" slot="type"> |
| | |
| | | }, |
| | | { |
| | | label: "企业名称", |
| | | search: true, |
| | | prop: "enterprisename", |
| | | rules: [{ |
| | | required: true, |
| | |
| | | }, |
| | | { |
| | | label: "许可类型", |
| | | search: true, |
| | | prop: "ptype", |
| | | type: "select", |
| | | dicData: [ |
| | |
| | | } |
| | | , |
| | | rowDel(row) { |
| | | this.$confirm("确定将选择数据删除?", { |
| | | this.$confirm("确定对选择的许可进行审批?", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | return remove(row.id); |
| | | }) |
| | | row.type='0'; |
| | | return update(row); |
| | | } |
| | | ) |
| | | .then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |