This commit is contained in:
大黑 2026-01-22 09:33:32 +08:00
parent d53901e00a
commit 501742b95a
6 changed files with 135 additions and 89 deletions

View File

@ -83,7 +83,8 @@ export default {
GET_APPROVAL_CHANGE: {
url: '/custom/approval/getTemplateChanges',
method: 'get'
}, //获取审批所有
},
// 获取审批所有
GET_PPROVAL_ALL: {
url: '/custom/approval/getApprovalProcess',
method: 'get'

View File

@ -1557,7 +1557,6 @@ export default {
}
}
}
}
.return-opinion-section {

View File

@ -770,7 +770,16 @@ export default {
//
this.chartList.unshift(newChart)
this.$nextTick(() => {
//
this.initChart(0)
//
this.$nextTick(() => {
this.chartList.forEach((chart, idx) => {
if (!chart.chartInstance) {
this.initChart(idx)
}
})
})
})
},
toggleFloatingPanel() {
@ -799,6 +808,14 @@ export default {
chart.chartInstance = null
}
this.chartList.splice(index, 1)
//
this.$nextTick(() => {
this.chartList.forEach((c, idx) => {
if (c && !c.chartInstance) {
this.initChart(idx)
}
})
})
},
handleClearAllCharts() {
this.disposeAllCharts()
@ -1269,8 +1286,12 @@ export default {
//
chart.newSelectedModels = newSelectedModels
// currentChartIndex
const chartIndex = this.currentChartIndex
if (chartIndex >= 0) {
this.handleChartModelQuery(chartIndex)
}
this.handleAddModelDialogClose()
this.handleChartModelQuery(this.currentChartIndex)
},
//
handleChartModelQuery(index) {

View File

@ -20,10 +20,14 @@
/>
</el-select>
<el-button class="update-favorite-button" @click="handleUpdateFavorite"
>更新常用</el-button
>
更新常用
</el-button
>
<el-button type="primary" class="add-favorite-button" @click="handleAddFavorite"
>新增常用</el-button
>
新增常用
</el-button
>
<el-button class="hidden-params-button" @click="handleShowHiddenParams">
已隐藏参数
@ -44,8 +48,12 @@
<div class="left-param-panel">
<div class="tree-search-header">
<el-radio-group v-model="treeSearchMode" size="mini" class="search-mode-switch">
<el-radio-button label="subsystem">子系统</el-radio-button>
<el-radio-button label="parts">零部件名称</el-radio-button>
<el-radio-button label="subsystem">
子系统
</el-radio-button>
<el-radio-button label="parts">
零部件名称
</el-radio-button>
</el-radio-group>
</div>
<el-input
@ -78,13 +86,21 @@
<table class="comparison-table">
<thead>
<tr>
<th class="subsystem-column">子系统名称</th>
<th class="parts-column">零部件名称</th>
<th class="param-column">参数名称</th>
<th class="subsystem-column">
子系统名称
</th>
<th class="parts-column">
零部件名称
</th>
<th class="param-column">
参数名称
</th>
<th v-for="(model, index) in comparisonModels" :key="index" class="model-column">
<div class="model-header">
<div v-if="model.name" class="model-name"
>{{ model.name }} V{{ model.parameterVersion }}</div
>
{{ model.name }} V{{ model.parameterVersion }}
</div
>
<i
v-if="model.name"
@ -107,8 +123,12 @@
</thead>
<tbody>
<tr v-for="(param, paramIndex) in displayParams" :key="paramIndex">
<td class="subsystem-column">{{ param.subsystemName }}</td>
<td class="parts-column">{{ param.displayPartsName }}</td>
<td class="subsystem-column">
{{ param.subsystemName }}
</td>
<td class="parts-column">
{{ param.displayPartsName }}
</td>
<td class="param-column">
<span class="param-name">{{ getParamDisplayName(param) }}</span>
<i
@ -157,7 +177,8 @@
<el-table-column type="selection" width="55" />
<el-table-column prop="modelName" label="产品型号" min-width="150" />
<el-table-column prop="parameterVersion" label="版本" min-width="70"
><template slot-scope="scope">
>
<template slot-scope="scope">
<span>V{{ scope.row.parameterVersion }}</span>
</template>
</el-table-column>
@ -220,7 +241,9 @@
</template>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="handleHiddenParamsDialogClose">取消</el-button>
<el-button @click="handleHiddenParamsDialogClose">
取消
</el-button>
<el-button
type="primary"
:disabled="selectedParamsToRestore.length === 0"
@ -255,7 +278,9 @@
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="handleAddFavoriteDialogClose">取消</el-button>
<el-button @click="handleAddFavoriteDialogClose">
取消
</el-button>
<el-button type="primary" :loading="savingFavorite" @click="handleConfirmAddFavorite">
确定
</el-button>