|
@@ -160,6 +160,7 @@
|
|
>
|
|
>
|
|
<template v-if="!selectEdb">
|
|
<template v-if="!selectEdb">
|
|
<div class="right-header">
|
|
<div class="right-header">
|
|
|
|
+ <span>{{$t('SciHongqiPage.total_msg',{limit:total})}}</span>
|
|
<el-checkbox
|
|
<el-checkbox
|
|
v-model="filterObj.checkAll"
|
|
v-model="filterObj.checkAll"
|
|
:indeterminate="filterObj.checkSome"
|
|
:indeterminate="filterObj.checkSome"
|
|
@@ -260,7 +261,7 @@
|
|
:rules="classifyFormRules"
|
|
:rules="classifyFormRules"
|
|
@close="cancelDialogHandle"
|
|
@close="cancelDialogHandle"
|
|
>
|
|
>
|
|
- <el-form-item :label="$t('SteelChemicalPage.label_one_level')" v-if="classifyForm.parent_classify_id">
|
|
|
|
|
|
+ <el-form-item :label="$t('SteelChemicalPage.label_one_level')" v-if="classifyForm.parent_classify_name">
|
|
<span>{{ classifyForm.parent_classify_name }}</span>
|
|
<span>{{ classifyForm.parent_classify_name }}</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item :label="$t('SteelChemicalPage.label_classify_name')" prop="classifyId" v-if="classifyForm.indexId">
|
|
<el-form-item :label="$t('SteelChemicalPage.label_classify_name')" prop="classifyId" v-if="classifyForm.indexId">
|
|
@@ -270,7 +271,7 @@
|
|
:options="classifyList"
|
|
:options="classifyList"
|
|
:props="{
|
|
:props="{
|
|
label: 'ClassifyName',
|
|
label: 'ClassifyName',
|
|
- value: 'ClassifyId',
|
|
|
|
|
|
+ value: 'ClassifyIdStr',
|
|
children: 'Children',
|
|
children: 'Children',
|
|
emitPath:false
|
|
emitPath:false
|
|
}"
|
|
}"
|
|
@@ -604,7 +605,7 @@ export default {
|
|
title: "编辑分类",
|
|
title: "编辑分类",
|
|
classify_name: '',
|
|
classify_name: '',
|
|
indexId: item.BaseFromSciHqIndexId,
|
|
indexId: item.BaseFromSciHqIndexId,
|
|
- classify_id: item.ClassifyId,
|
|
|
|
|
|
+ classify_id: String(item.ClassifyId),
|
|
parent_classify_name:"",
|
|
parent_classify_name:"",
|
|
parent_classify_id: "",
|
|
parent_classify_id: "",
|
|
};
|
|
};
|
|
@@ -612,12 +613,14 @@ export default {
|
|
async handleEditEdbApi() {
|
|
async handleEditEdbApi() {
|
|
const res = await zhuochuangRedStageInterface.edbEdit({
|
|
const res = await zhuochuangRedStageInterface.edbEdit({
|
|
BaseFromSciHqIndexId: this.classifyForm.indexId,
|
|
BaseFromSciHqIndexId: this.classifyForm.indexId,
|
|
- ClassifyId: this.classifyForm.classify_id
|
|
|
|
|
|
+ ClassifyId: Number(this.classifyForm.classify_id)
|
|
})
|
|
})
|
|
if(res.Ret !== 200) return
|
|
if(res.Ret !== 200) return
|
|
this.$message.success(/* "保存成功" */this.$t('MsgPrompt.saved_msg'));
|
|
this.$message.success(/* "保存成功" */this.$t('MsgPrompt.saved_msg'));
|
|
this.cancelDialogHandle();
|
|
this.cancelDialogHandle();
|
|
- this.getClassify()
|
|
|
|
|
|
+
|
|
|
|
+ this.getClassify();
|
|
|
|
+ !this.selectEdb && this.getEdbList()
|
|
},
|
|
},
|
|
|
|
|
|
/* 加入指标库 */
|
|
/* 加入指标库 */
|
|
@@ -691,6 +694,7 @@ export default {
|
|
filterNodes(arr) {
|
|
filterNodes(arr) {
|
|
arr.length &&
|
|
arr.length &&
|
|
arr.forEach((item) => {
|
|
arr.forEach((item) => {
|
|
|
|
+ item.ClassifyIdStr = String(item.ClassifyId)
|
|
item.Children&&item.Children.length && this.filterNodes(item.Children);
|
|
item.Children&&item.Children.length && this.filterNodes(item.Children);
|
|
if (!item.Children||!item.Children.length) {
|
|
if (!item.Children||!item.Children.length) {
|
|
delete item.Children;
|
|
delete item.Children;
|
|
@@ -1250,7 +1254,7 @@ export default {
|
|
position: relative;
|
|
position: relative;
|
|
.right-header {
|
|
.right-header {
|
|
display: flex;
|
|
display: flex;
|
|
- justify-content: flex-end;
|
|
|
|
|
|
+ justify-content: space-between;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1263,6 +1267,7 @@ export default {
|
|
.dia-bot {
|
|
.dia-bot {
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
|
+ margin-top: 50px;
|
|
}
|
|
}
|
|
.hint-dialog-wrap{
|
|
.hint-dialog-wrap{
|
|
padding-bottom:30px;
|
|
padding-bottom:30px;
|
|
@@ -1318,8 +1323,5 @@ export default {
|
|
.el-tree-node__content {
|
|
.el-tree-node__content {
|
|
padding-right: 10px !important;
|
|
padding-right: 10px !important;
|
|
}
|
|
}
|
|
- .el-cascader .el-input {
|
|
|
|
- width: 100% !important;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|