From ca3c04670ba2f32b868daf6214f82af7d15fc8af Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Fri, 26 Jun 2026 00:31:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E5=B7=A5=E5=BA=8F=E5=8D=95?= =?UTF-8?q?=E5=85=83=E8=AE=BE=E5=AE=9A=E5=80=BC=E5=92=8C=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../process-step/components/result-param.vue | 221 ++++--- .../components/technology-flow-model.vue | 563 +++++++++++++++--- .../process-model/process-step/index.vue | 11 +- 3 files changed, 605 insertions(+), 190 deletions(-) diff --git a/src/views/production-master-data/process-model/process-step/components/result-param.vue b/src/views/production-master-data/process-model/process-step/components/result-param.vue index a9ffbecb..4e13325e 100644 --- a/src/views/production-master-data/process-model/process-step/components/result-param.vue +++ b/src/views/production-master-data/process-model/process-step/components/result-param.vue @@ -7,68 +7,82 @@ :before-close="handleClose" width="80%" > -
- - - - - - - - - - +
+
+ +
+ {{ $t(key('search')) }} + {{ $t(key('query')) }} - - - +
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ $t(key('yes')) }} - {{ $t(key('no')) }} - - - - - {{ $t(key('yes')) }} - {{ $t(key('no')) }} - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t(key('yes')) }} + {{ $t(key('no')) }} + + + + + + + {{ $t(key('yes')) }} + {{ $t(key('no')) }} + + + +
{{ $t(key('cancel')) }} @@ -480,8 +508,17 @@ export default { diff --git a/src/views/production-master-data/process-model/process-step/index.vue b/src/views/production-master-data/process-model/process-step/index.vue index 39cfc2bc..80361706 100644 --- a/src/views/production-master-data/process-model/process-step/index.vue +++ b/src/views/production-master-data/process-model/process-step/index.vue @@ -101,7 +101,7 @@ @@ -271,7 +271,7 @@ export default { color: 'warning', auth: '/production_configuration/technology_model/technology_flow_workingsubclass/setting', onClick: this.openSetting, - visible: row => !!row.setting_plugin + visible: row => !!row.setting_plugin || this.isFormationSettingRow(row) }, { key: 'result', @@ -359,6 +359,9 @@ export default { onSelect (rows) { this.selectedRows = rows }, + isFormationSettingRow (row) { + return ['FORMATION', 'YC', 'HC', 'IC', 'FORMATION_SS'].includes(row.device_category_code) + }, resetForm () { this.formData = { code: '', name: '', device_category_id: '', is_denglu_process: '0', remark: '' } this.editId = '' @@ -432,9 +435,9 @@ export default { openSetting (row) { this.currentRowId = row.id this.settingTitle = `【${row.name}】${this.$t(this.key('preset_setting'))}` - this.settingType = row.setting_plugin || '' + this.settingType = row.setting_plugin || (this.isFormationSettingRow(row) ? 'FormationPlugin' : '') this.settingCode = row.code - this.settingWidth = row.setting_plugin_width ? `${row.setting_plugin_width}%` : '35%' + this.settingWidth = row.setting_plugin_width ? `${row.setting_plugin_width}%` : (this.isFormationSettingRow(row) ? '90%' : '35%') this.settingPluginData = row.default_setting || {} this.settingVisible = true },