|
@@ -22,17 +22,16 @@
|
|
plain
|
|
plain
|
|
@click="handleBatchEdit"
|
|
@click="handleBatchEdit"
|
|
><!-- 批量编辑 -->{{$t('SciHongqiPage.btn_batch_edit')}}</el-button>
|
|
><!-- 批量编辑 -->{{$t('SciHongqiPage.btn_batch_edit')}}</el-button>
|
|
- <el-button
|
|
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="right-wrap">
|
|
|
|
+ <el-button
|
|
v-permission="permissionBtn.dataSourcePermission.sciHongqi_export"
|
|
v-permission="permissionBtn.dataSourcePermission.sciHongqi_export"
|
|
- type="primary"
|
|
|
|
- plain
|
|
|
|
- size="medium"
|
|
|
|
|
|
+ type="text"
|
|
@click="exportClick"
|
|
@click="exportClick"
|
|
:loading="btnload"
|
|
:loading="btnload"
|
|
><!-- 导出Excel -->{{$t('Common.exp_excel')}}</el-button>
|
|
><!-- 导出Excel -->{{$t('Common.exp_excel')}}</el-button>
|
|
- </div>
|
|
|
|
|
|
|
|
- <div class="right-wrap">
|
|
|
|
<el-select
|
|
<el-select
|
|
v-model="leftSearchVal"
|
|
v-model="leftSearchVal"
|
|
ref="searchRef"
|
|
ref="searchRef"
|
|
@@ -336,7 +335,7 @@
|
|
<div class="hint-dialog-wrap">
|
|
<div class="hint-dialog-wrap">
|
|
<p style="margin-bottom: 20px;">{{ hintText }}</p>
|
|
<p style="margin-bottom: 20px;">{{ hintText }}</p>
|
|
<ul class="hint-list">
|
|
<ul class="hint-list">
|
|
- <li v-for="(item,index) in showHintList" :key="index" :class="{'hint-item':item.EdbInfoId}" @click="goToEdbBase(item)">
|
|
|
|
|
|
+ <li v-for="(item,index) in showHintList" :key="index" :class="{'hint-item':!batchDelList.length}" @click="goToEdbBase(item)">
|
|
{{ index+1 }}、{{ item.IndexName }}({{ item.IndexCode }})
|
|
{{ index+1 }}、{{ item.IndexName }}({{ item.IndexCode }})
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
@@ -525,6 +524,13 @@ export default {
|
|
if(res.Ret !== 200) return
|
|
if(res.Ret !== 200) return
|
|
|
|
|
|
this.$message.success(/* '删除成功!' */this.$t('MsgPrompt.delete_msg'));
|
|
this.$message.success(/* '删除成功!' */this.$t('MsgPrompt.delete_msg'));
|
|
|
|
+
|
|
|
|
+ if(res.Data&&res.Data.length){
|
|
|
|
+ let haveExistStr= res.Data.map(_ => (`${_.IndexName}(${_.IndexCode})`)).join('、')
|
|
|
|
+ this.$alert(`${haveExistStr}已加入指标库,不可删除,已过滤`,this.$t('Confirm.prompt'),{
|
|
|
|
+ confirmButtonText: '知道了',
|
|
|
|
+ })
|
|
|
|
+ }
|
|
this.getClassify();
|
|
this.getClassify();
|
|
this.getEdbList()
|
|
this.getEdbList()
|
|
},
|
|
},
|
|
@@ -638,7 +644,7 @@ export default {
|
|
intoBaseBack() {
|
|
intoBaseBack() {
|
|
this.isAddIndicsDiaShow = false
|
|
this.isAddIndicsDiaShow = false
|
|
if(this.selectedEdb){
|
|
if(this.selectedEdb){
|
|
- this.$refs.edbDetailRef.edbInfo.EdbExist=1
|
|
|
|
|
|
+ this.$refs.edbDetailRef.getEdbDetail()
|
|
}else {
|
|
}else {
|
|
this.getEdbList()
|
|
this.getEdbList()
|
|
}
|
|
}
|
|
@@ -1274,10 +1280,10 @@ export default {
|
|
.hint-list {
|
|
.hint-list {
|
|
max-height: 350px;
|
|
max-height: 350px;
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
|
|
+ li { margin-bottom: 10px; }
|
|
}
|
|
}
|
|
.hint-item{
|
|
.hint-item{
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- margin-bottom: 10px;
|
|
|
|
&:hover{
|
|
&:hover{
|
|
color:#409EFF;
|
|
color:#409EFF;
|
|
text-decoration: underline;
|
|
text-decoration: underline;
|