NEZ-2802 fix:国际化补充

This commit is contained in:
zhangyu
2023-04-25 15:09:33 +08:00
parent 1ade31b1b7
commit 5e438b5bbd
2 changed files with 4 additions and 4 deletions

View File

@@ -118,11 +118,11 @@ export default {
} }
}) })
// && n.alertRule.dashboardId // && n.alertRule.dashboardId
if (n.alertRule) { if (n.alertRule && n.alertRule.dashboardId) {
n.alertRule.dashboardId = 1487 // n.alertRule.dashboardId = 1487
this.cardNames.push({ this.cardNames.push({
key: 'dashboard', key: 'dashboard',
label: this.$t('dashboard') label: this.$t('overall.dashboard')
}) })
} }
if (n.alertRule && n.alertRule.trbShot && n.alertRule.trbShot != '<div class="editor-core ql-container ql-snow"><div class="ql-editor"><p><br></p></div></div>') { if (n.alertRule && n.alertRule.trbShot && n.alertRule.trbShot != '<div class="editor-core ql-container ql-snow"><div class="ql-editor"><p><br></p></div></div>') {

View File

@@ -327,7 +327,7 @@
<!--panel--> <!--panel-->
<el-form-item <el-form-item
class="form-item--half-width" class="form-item--half-width"
:label="$t('overall.dashboard')" :label="$t('overall.associateDashboard')"
prop="dashboard" prop="dashboard"
> >
<select-panel @setPanelName="setPanelName" ref="selectPanel" :disabled="false" :filter-panel="filterPanel" :chart-box="true" :panel-lock="true" :show-panel="showPanel" :panelData="panelData" :placement="'bottom-start'" @selectPanel="selectPanel"> <select-panel @setPanelName="setPanelName" ref="selectPanel" :disabled="false" :filter-panel="filterPanel" :chart-box="true" :panel-lock="true" :show-panel="showPanel" :panelData="panelData" :placement="'bottom-start'" @selectPanel="selectPanel">