From 7864b173683ee7a73dc91d00ed1105dd07deaa84 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期一, 26 二月 2024 14:37:02 +0800
Subject: [PATCH] 车间看板页面背景图尺寸调整为固定尺寸,不随屏幕分辨率改变而改变
---
src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue | 76 +++++++++++++++++++-------------------
1 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue
index 3e3ad33..8036c29 100644
--- a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue
+++ b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue
@@ -1,7 +1,7 @@
<template>
<a-modal
:title='title'
- :width='1250'
+ :width='650'
:visible='visible'
:maskClosable='false'
@ok='handleOk'
@@ -12,7 +12,7 @@
<a-spin :spinning='confirmLoading'>
<a-form :form='form'>
<a-row :gutter='24'>
- <a-col :span='12'>
+ <a-col :span='24'>
<a-form-item
label='宸ュ崟鍙�'
:labelCol='labelCol'
@@ -26,25 +26,7 @@
/>
</a-form-item>
</a-col>
- <a-col :span='12'>
- <a-form-item
- label='妫�瀹氭柟寮�'
- :labelCol='labelCol'
- :wrapperCol='wrapperCol'
- >
- <j-dict-select-tag
- allow-clear
- :disabled='disableSubmit'
- :placeholder="disableSubmit?'':'璇烽�夋嫨妫�瀹氭柟寮�'"
- :triggerChange='true'
- dictCode='calibration_type'
- v-decorator="['calibrationType', validatorRules.calibrationType]"
- />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row :gutter='24'>
- <a-col :span='12'>
+ <a-col :span='24'>
<a-form-item
label='璁惧'
:labelCol='labelCol'
@@ -60,8 +42,24 @@
/>
</a-form-item>
</a-col>
+ <a-col :span='24'>
+ <a-form-item
+ label='妫�瀹氭柟寮�'
+ :labelCol='labelCol'
+ :wrapperCol='wrapperCol'
+ >
+ <j-dict-select-tag
+ allow-clear
+ :disabled='disableSubmit'
+ :placeholder="disableSubmit?'':'璇烽�夋嫨妫�瀹氭柟寮�'"
+ :triggerChange='true'
+ dictCode='calibration_type'
+ v-decorator="['calibrationType', validatorRules.calibrationType]"
+ />
+ </a-form-item>
+ </a-col>
- <a-col :span='12'>
+ <a-col :span='24'>
<a-form-item
label='鍒ゆ柇渚濇嵁'
:labelCol='labelCol'
@@ -83,7 +81,7 @@
hidden
:gutter='24'
>
- <a-col :span='12'>
+ <a-col :span='24'>
<a-form-item
label='璁惧Id'
:labelCol='labelCol'
@@ -99,7 +97,7 @@
</a-col>
</a-row>
<a-row :gutter='24'>
- <a-col :span='24'>
+ <!-- <a-col :span='24'>
<a-form-item
:labelCol='{span:3}'
:wrapperCol='{span:21}'
@@ -112,7 +110,7 @@
v-decorator="['remark', validatorRules.remark]"
/>
</a-form-item>
- </a-col>
+ </a-col> -->
<a-col :span='24'>
<a-form-item
:labelCol='{span:3}'
@@ -131,16 +129,17 @@
</a-row>
</a-form>
</a-spin>
- <a-table v-show='false'
- ref='table'
- bordered
- size='middle'
- rowKey='id'
- :columns='columns'
- :pagination='ipagination'
- :loading='loading'
- :dataSource='dataSource'
- @change='handleTableChange'
+ <a-table
+ v-show='false'
+ ref='table'
+ bordered
+ size='middle'
+ rowKey='id'
+ :columns='columns'
+ :pagination='ipagination'
+ :loading='loading'
+ :dataSource='dataSource'
+ @change='handleTableChange'
>
</a-table>
@@ -221,7 +220,7 @@
disableSubmit: false,
codeDisable: true,
dataSource: [],
- num:"",
+ num: "",
model: { 'management_mode': 'report', 'calibration_type': 'self' },
labelCol: {
xs: { span: 24 },
@@ -281,11 +280,12 @@
this.precisionParametersTemplateId = '-1'
getAction(this.url.getNum, { type: 'CalibrationOrder', length: '4' }).then((res) => {
if (res.success) {
- this.num = res.message
+ // this.num = res.message
+ this.form.setFieldsValue({ "num": res.message })
}
})
// 鏂板鏃跺�欒缃壌瀹氱被鍨嬩负鑷銆� 鍒ゅ畾渚濇嵁涓烘姤鍛�
- this.edit({ "num":this.num,'calibrationType': 'self', 'managementMode': 'report' })
+ this.edit({ "num": this.num, 'calibrationType': 'self', 'managementMode': 'report' })
},
edit(record) {
let that = this
--
Gitblit v1.9.3