| | |
| | | </el-pagination> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="infoBox" v-show="showinfoBox"> |
| | | <el-card class="box-card"> |
| | | <div slot="header" class="clearfix"> |
| | | <span>{{ $t("common.details") }}</span> |
| | | <div style="float: right; cursor: pointer" @click="closeDetial"> |
| | | |
| | | <div |
| | | class="infoBox box_div" |
| | | v-show="showinfoBox" |
| | | > |
| | | <div |
| | | slot="header" |
| | | class="clearfix" |
| | | > |
| | | <span>{{ $t('common.details') }}</span> |
| | | <div |
| | | style="float: right; cursor: pointer" |
| | | @click="closeDetial" |
| | | > |
| | | <i class="el-icon-close"></i> |
| | | </div> |
| | | </div> |
| | | <div class="contentBox" style="padding: 1%"> |
| | | <p>{{ $t("dataManage.vmobj.name") }}:{{ itemdetail.name }}</p> |
| | | <el-divider></el-divider> |
| | | <div |
| | | class="contentBox" |
| | | style="padding:1%" |
| | | > |
| | | <p>{{ $t('dataManage.vmobj.name') }}:{{ itemdetail.name }}</p> |
| | | <el-divider></el-divider> |
| | | <p>{{ $t("dataManage.vmobj.format") }}:{{ itemdetail.type }}</p> |
| | | <el-divider></el-divider> |
| | |
| | | }} |
| | | </p> |
| | | </div> |
| | | </el-card> |
| | | |
| | | </div> |
| | | <el-dialog |
| | | width="80vh" |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | |
| | | <iframe |
| | | id="downFrame" |
| | | src="" |
| | |
| | | return; |
| | | } |
| | | this.companyOption1 = this.treeData(res.result); |
| | | this.queryForm.depid = this.companyOption1[0].id; |
| | | this.queryForm.depcode = this.companyOption1[0].code; |
| | | this.queryForm.depName = this.companyOption1[0].name; |
| | | this.getQueryDirTree(); |
| | | }, |
| | |
| | | } |
| | | this.companyOption = this.treeData(res.result); |
| | | this.queryForm.dirid = this.companyOption[0].id; |
| | | this.queryForm.dircode = this.companyOption[0].code; |
| | | this.queryForm.dirName = this.companyOption[0].name; |
| | | this.getQueryVerList(); |
| | | }, |
| | |
| | | handleChange(data, node, nodeData) { |
| | | this.listData.pageSize = 10; |
| | | this.listData.pageIndex = 1; |
| | | this.queryForm.dircode = data.code; |
| | | this.queryForm.dirid = data.id; |
| | | this.queryForm.dirName = data.name; |
| | | this.getQueryVerList(); |
| | |
| | | handleChange1(data, node, nodeData) { |
| | | this.listData.pageSize = 10; |
| | | this.listData.pageIndex = 1; |
| | | this.queryForm.depid = data.id; |
| | | this.queryForm.depcode = data.code; |
| | | this.queryForm.depName = data.name; |
| | | this.getMetaData(); |
| | | }, |
| | | handleChange2(data, node, nodeData) { |
| | | this.editForm.depid = data.id; |
| | | this.editForm.depcode = data.code; |
| | | this.editForm.depName = data.name; |
| | | }, |
| | | handleChange3(data, node, nodeData) { |
| | | this.editForm.dirid = data.id; |
| | | this.editForm.dircode = data.code; |
| | | this.editForm.dirName = data.name; |
| | | }, |
| | | //格式化列表 |
| | |
| | | } |
| | | this.optionCount = this.treeData(res.result); |
| | | this.dirComPanyOption = this.treeData(res.result); |
| | | this.listData.dirid = this.optionCount[0].id; |
| | | this.listData.depcode = this.optionCount[0].code; |
| | | }, |
| | | handleNodeClick(data) { |
| | | this.listData.pageSize = 10; |
| | |
| | | // }, |
| | | // 请求数据内容 |
| | | getMetaData() { |
| | | this.listData.depid = this.queryForm.depid; |
| | | this.listData.dirid = this.queryForm.dirid; |
| | | this.listData.depcode = this.queryForm.depcode; |
| | | this.listData.dircode = this.queryForm.dircode; |
| | | |
| | | this.listData.verid = this.queryForm.verid; |
| | | // this.listData.dirid = 57 |
| | |
| | | this.listData.name = null; |
| | | this.queryForm.dirid = this.companyOption[0].id; |
| | | this.queryForm.depid = this.companyOption1[0].id; |
| | | this.queryForm.dircode = this.companyOption[0].code; |
| | | this.queryForm.depcode = this.companyOption1[0].code; |
| | | this.queryForm.dirName = this.companyOption[0].name; |
| | | this.queryForm.depName = this.companyOption1[0].name; |
| | | this.getQueryVerList(); |
| | |
| | | sendAdd(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | console.log(this.editForm); |
| | | this.fullscreenLoading = true; |
| | | insertMeta(this.editForm) |
| | | .then((res) => { |