| | |
| | | |
| | | textDispose () { |
| | | return (row, flag, type) => { |
| | | console.log('row', row, flag, type) |
| | | if (row[flag] || row[type] == null) { |
| | | return row[type] |
| | | } else { |
| | |
| | | 详情 |
| | | </el-button> |
| | | <el-button icon="el-icon-detail" :size="size" :type="type" @click.stop="goAudit(row)" |
| | | v-show="row.status == 1">审核</el-button> |
| | | :disabled="row.status == 1">审核</el-button> |
| | | </template> |
| | | </avue-crud> |
| | | <el-drawer title="整改情况详情" :visible.sync="isDetail" :append-to-body="true" size="46%" direction="rtl"> |
| | |
| | | <el-button type="text" :size="size" icon="el-icon-view" v-if="permission.place_view" plain |
| | | @click="lookDetail(row, 0)">查 看 |
| | | </el-button> |
| | | <el-button type="text" :size="size" icon="el-icon-s-check" v-if="permission.place_check && row.status == 1" |
| | | plain @click="goAudit(row)">审 核 |
| | | </el-button> |
| | | <el-button type="text" :size="size" icon="el-icon-delete" v-if="permission.place_del" plain |
| | | @click="rowDel(row)">删 除 |
| | | </el-button> |
| | | <el-button type="text" :size="size" icon="el-icon-s-check" v-if="permission.place_check" plain |
| | | @click="goAudit(row)" :disabled="true">审 核 |
| | | </el-button> |
| | | </template> |
| | | |
| | |
| | | padding: 0 !important; |
| | | } |
| | | |
| | | :deep(.el-button--text) { |
| | | border: 0 !important; |
| | | } |
| | | |
| | | .avue-upload__icon { |
| | | line-height: 6; |
| | | } |
| | |
| | | align: 'center', |
| | | }, |
| | | { |
| | | label: "场所类别", |
| | | prop: "nineType", |
| | | label: "阵地类别", |
| | | prop: "frontType", |
| | | align: 'center', |
| | | dicUrl: "/api/blade-system/dict-biz/tree?code=nineType", |
| | | dicUrl: "/api/blade-system/dict-biz/tree?code=frontType", |
| | | props: { |
| | | label: "title", |
| | | value: "key", |
| | |
| | | exportBlob( |
| | | `/api/blade-place/place/exportNineType?${this.website.tokenHeader}=${getToken()}&` + data |
| | | ).then(res => { |
| | | console.log('exportBlob', res) |
| | | downloadXls(res.data, `档案管理${dateNow()}.xlsx`) |
| | | NProgress.done() |
| | | }) |