| | |
| | | :placeholder="$t('common.pleaseInput')" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | icon="el-icon-search" |
| | | @click="setRefreshTable" |
| | | type="primary" |
| | | size="small" |
| | | >{{ $t('common.iquery') }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-form-item style="float:right"> |
| | | <el-button |
| | | icon="el-icon-refresh" |
| | | @click="restRefreshTable" |
| | |
| | | size="small" |
| | | >{{ $t('common.empty') }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-form-item style="float:right"> |
| | | <el-button |
| | | v-if="btnStatus.insert" |
| | | @click="setTableInsert" |
| | | icon="el-icon-edit" |
| | | type="success" |
| | | icon="el-icon-search" |
| | | @click="setRefreshTable" |
| | | type="primary" |
| | | size="small" |
| | | >{{ $t('common.append') }}</el-button> |
| | | >{{ $t('common.iquery') }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-form-item style="float:right"> |
| | | <el-button |
| | | v-if="btnStatus.delete" |
| | | icon="el-icon-delete" |
| | |
| | | size="small" |
| | | >{{ $t('common.delete') }}</el-button> |
| | | </el-form-item> |
| | | |
| | | <el-form-item style="float:right"> |
| | | <el-button |
| | | v-if="btnStatus.insert" |
| | | @click="setTableInsert" |
| | | icon="el-icon-edit" |
| | | type="success" |
| | | size="small" |
| | | >{{ $t('common.append') }}</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div> |
| | |
| | | :label="$t('common.domCode')" |
| | | :formatter="codeData" |
| | | /> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | align="center" |
| | | prop="fname" |
| | | :label="$t('common.filePath')" |
| | | /> |
| | | <el-table-column |
| | | /> --> |
| | | <!-- <el-table-column |
| | | align="center" |
| | | prop="bak" |
| | | :label="$t('common.bak')" |
| | | /> |
| | | /> --> |
| | | <el-table-column |
| | | align="center" |
| | | prop="createName" |
| | |
| | | for (var i in this.multipleSelection) { |
| | | std.push(this.multipleSelection[i].id) |
| | | } |
| | | const data = await report_deletes({ ids: std.toString() }) |
| | | if (data.code != 200) { |
| | | return this.$message.error("删除失败"); |
| | | } |
| | | this.$message({ |
| | | message: '删除成功', |
| | | type: 'success' |
| | | this.$confirm('此操作将永久删除该模块, 是否继续?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(async () => { |
| | | const data = await report_deletes({ ids: std.toString() }) |
| | | if (data.code == 200) { |
| | | this.InsertFormdialog = false; |
| | | this.$message({ |
| | | message: '删除成功!', |
| | | type: 'success', |
| | | }); |
| | | this.setRefreshTable(); |
| | | } else { |
| | | this.$message({ |
| | | message: '删除失败!', |
| | | type: 'warning', |
| | | }); |
| | | } |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消删除' |
| | | }); |
| | | }); |
| | | this.setRefreshTable(); |
| | | // const data = await report_deletes({ ids: std.toString() }) |
| | | // if (data.code != 200) { |
| | | // return this.$message.error("删除失败"); |
| | | // } |
| | | // this.$message({ |
| | | // message: '删除成功', |
| | | // type: 'success' |
| | | // }); |
| | | // this.setRefreshTable(); |
| | | }, |
| | | |
| | | |