| | |
| | | <template> |
| | | <div class="parameterConfiguration_box"> |
| | | <My-bread |
| | | :list="[ |
| | | <div class="parameterConfiguration_box box_div"> |
| | | <My-bread :list="[ |
| | | `${$t('operatManage.operatManage')}`, |
| | | `${$t('operatManage.systemLayout')}`, |
| | | ]" |
| | | ></My-bread> |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <div class="table_box" :style="styleVar"> |
| | | <div |
| | | class="table_box" |
| | | :style="styleVar" |
| | | > |
| | | <el-table |
| | | ref="filterTable" |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | height="calc(100% - 57px)" |
| | | border |
| | | height="calc(100% - 45px)" |
| | | > |
| | | <el-table-column |
| | | align="center" |
| | |
| | | type="warning" |
| | | plain |
| | | size="small" |
| | | >{{ $t("common.edit") }}</el-button |
| | | > |
| | | >{{ $t("common.edit") }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div class="pagination_box"> |
| | | <div |
| | | class="pagination_box" |
| | | style="margin-top: 10px" |
| | | > |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | |
| | | |
| | | <el-dialog |
| | | :title="$t('operatManage.sysLayOutObj.editSysLayOut')" |
| | | top="2vh" |
| | | top="2vh" |
| | | :visible.sync="EditFormdialog" |
| | | :before-close="EditFromDataClose" |
| | | > |
| | | <div style="height: 500px; overflow: auto"> |
| | | <el-form :model="upform" label-position="top"> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.name')" |
| | | :label-width="formLabelWidth" |
| | | <div style="height: 500px; overflow: auto"> |
| | | <el-form |
| | | :model="upform" |
| | | label-position="top" |
| | | > |
| | | <label class="boxlabel">{{ upform.name }}</label> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.cvalue')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="upform.cvalue" autocomplete="off" style="width:85%"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.dvalue')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <label class="boxlabel">{{ upform.dvalue }}</label> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.minValue')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <label class="boxlabel">{{ upform.minValue }}</label> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.maxValue')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <label class="boxlabel">{{ upform.maxValue }}</label> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.descr')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <label class="boxlabel">{{ upform.descr }}</label> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button size="small" @click="EditFromDataClose">{{ |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.name')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <label class="boxlabel">{{ upform.name }}</label> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.cvalue')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="upform.cvalue" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.dvalue')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <label class="boxlabel">{{ upform.dvalue }}</label> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.minValue')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <label class="boxlabel">{{ upform.minValue }}</label> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.maxValue')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <label class="boxlabel">{{ upform.maxValue }}</label> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.sysLayOutObj.descr')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <label class="boxlabel">{{ upform.descr }}</label> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | size="small" |
| | | @click="EditFromDataClose" |
| | | >{{ |
| | | $t("common.close") |
| | | }}</el-button> |
| | | <el-button @click="EditFromData" size="small" type="primary">{{ |
| | | <el-button |
| | | @click="EditFromData" |
| | | size="small" |
| | | type="primary" |
| | | >{{ |
| | | $t("common.confirm") |
| | | }}</el-button> |
| | | </div> |
| | |
| | | tableHeight: 0, |
| | | timer: 0, |
| | | styleVar: { |
| | | height: "calc(100% - 75px)", |
| | | height: "calc(100% - 30px)", |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | this.upform = row; |
| | | }, |
| | | EditFromDataClose() { |
| | | this.EditFormdialog = false; |
| | | this.upform = {}; |
| | | this.$confirm("关闭后无法保存,是否关闭?") |
| | | .then((_) => { |
| | | this.EditFormdialog = false; |
| | | this.upform = {}; |
| | | this.getRoleTabelData(); |
| | | }) |
| | | .catch((_) => { }); |
| | | }, |
| | | async EditFromData() { |
| | | if ( |
| | |
| | | if (data.code != 200) { |
| | | this.$message.error("列表调用失败"); |
| | | } |
| | | console.log(data); |
| | | |
| | | this.tableData = data.result; |
| | | this.count = data.count; |
| | | }, |
| | |
| | | <style lang="less" scoped> |
| | | //@import url(); 引入公共css类 |
| | | .parameterConfiguration_box { |
| | | height: 98%; |
| | | width: 98%; |
| | | padding: 1%; |
| | | |
| | | height: calc(100% - 40px); |
| | | width: calc(100% - 40px); |
| | | padding: 10px; |
| | | margin: 10px; |
| | | border-radius: 10px; |
| | | position: relative; |
| | | .parameterConfiguration { |
| | | padding-top: 10px; |
| | | padding-bottom: 10px; |