| | |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | border |
| | | height="calc(100% - 57px)" |
| | | > |
| | | <el-table-column |
| | |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="listData.pageIndex" |
| | | :page-sizes="[10, 20, 50, 100]" |
| | | :page-sizes="[10, 50, 100, 200]" |
| | | :page-size="listData.pageSize" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="count" |
| | |
| | | <el-dialog |
| | | :title="$t('dataManage.vmobj.editVersion')" |
| | | :visible.sync="dialogFormVisible" |
| | | :before-close="handleClose" |
| | | > |
| | | <div style="height: 500px; overflow: auto"> |
| | | <el-form |
| | |
| | | <el-dialog |
| | | :title="$t('dataManage.vmobj.addVersion')" |
| | | :visible.sync="InsertFormdialog" |
| | | :before-close="handleCloseadd" |
| | | > |
| | | <div style="height: 500px; overflow: auto"> |
| | | <el-form |
| | |
| | | style="width:85%" |
| | | v-model="insertform.name" |
| | | autocomplete="off" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueName1')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | |
| | | <el-select |
| | | :popper-append-to-body="false" |
| | | v-model="insertform.dirName" |
| | | placeholder="请选择" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuedirectory')" |
| | | style="width:85%" |
| | | > |
| | | <el-option |
| | |
| | | style="width:85%" |
| | | v-model="insertform.descr" |
| | | autocomplete="off" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuedescription')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | itemdetail: {}, |
| | | upform: {}, |
| | | ruleForm: {}, |
| | | insertform: {}, |
| | | insertform: { |
| | | name:"" |
| | | }, |
| | | tableData: [], |
| | | companyOption: [], |
| | | count: 0, |
| | |
| | | } |
| | | }, |
| | | editFromDataClose() { |
| | | this.dialogFormVisible = false; |
| | | this.upform = {}; |
| | | this.$confirm("关闭后无法保存,是否关闭?") |
| | | .then((_) => { |
| | | this.dialogFormVisible = false |
| | | this.upform = {}; |
| | | this.getRoleTabelData(); |
| | | }) |
| | | .catch((_) => { }); |
| | | // this.dialogFormVisible = false; |
| | | // this.upform = {}; |
| | | }, |
| | | async editFromData() { |
| | | if (this.upform.depName == null) { |
| | |
| | | } |
| | | }, |
| | | insertFromDataClose() { |
| | | this.InsertFormdialog = false; |
| | | this.insertform = {}; |
| | | this.$confirm("关闭后无法保存,是否关闭?") |
| | | .then((_) => { |
| | | this.InsertFormdialog = false |
| | | this.insertform = {}; |
| | | this.getRoleTabelData(); |
| | | }) |
| | | .catch((_) => { }); |
| | | // this.InsertFormdialog = false; |
| | | // this.insertform = {}; |
| | | }, |
| | | async insertFromData() { |
| | | |
| | |
| | | message: "删除成功!", |
| | | type: "success", |
| | | }); |
| | | this.listData.pageIndex = 1; |
| | | this.getRoleTabelData(); |
| | | } else { |
| | | this.$message({ |
| | |
| | | this.dialogFormVisible = true; |
| | | this.upform = row; |
| | | }, |
| | | handleClose() { |
| | | this.$confirm("关闭后无法保存,是否关闭?") |
| | | .then((_) => { |
| | | this.dialogFormVisible = false |
| | | this.getRoleTabelData(); |
| | | }) |
| | | .catch((_) => { }); |
| | | }, |
| | | handleCloseadd() { |
| | | this.$confirm("关闭后无法保存,是否关闭?") |
| | | .then((_) => { |
| | | this.InsertFormdialog = false |
| | | this.getRoleTabelData(); |
| | | }) |
| | | .catch((_) => { }); |
| | | }, |
| | | }, |
| | | watch: { |
| | | pathId: { |