|  | @@ -19,19 +19,19 @@
 | 
	
		
			
				|  |  |                  <div class="divider-line">开始条件</div>
 | 
	
		
			
				|  |  |                  <div v-for="(item, index) in settingParam1" class="input-item" :key="index">
 | 
	
		
			
				|  |  |                    <div class="title">{{ item.title }}:</div>
 | 
	
		
			
				|  |  | -                  <a-input-number class="input-value" v-model="item.value" placeholder="" />
 | 
	
		
			
				|  |  | +                  <a-input-number class="input-value" v-model:value="formData[item.code]" placeholder="" />
 | 
	
		
			
				|  |  |                    <div class="unit">{{ item.unit }}</div>
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |                  <div class="divider-line">调节参数</div>
 | 
	
		
			
				|  |  |                  <div v-for="(item, index) in settingParam2" class="input-item" :key="index">
 | 
	
		
			
				|  |  |                    <div class="title">{{ item.title }}:</div>
 | 
	
		
			
				|  |  | -                  <a-input-number class="input-value" v-model="item.value" placeholder="" />
 | 
	
		
			
				|  |  | +                  <a-input-number class="input-value" v-model:value="formData[item.code]" placeholder="" />
 | 
	
		
			
				|  |  |                    <div class="unit">{{ item.unit }}</div>
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |                  <div class="divider-line">结束时间</div>
 | 
	
		
			
				|  |  |                  <div v-for="(item, index) in settingParam3" class="input-item" :key="index">
 | 
	
		
			
				|  |  |                    <div class="title">{{ item.title }}:</div>
 | 
	
		
			
				|  |  | -                  <a-input-number class="input-value" v-model="item.value" placeholder="" />
 | 
	
		
			
				|  |  | +                  <a-input-number class="input-value" v-model:value="formData[item.code]" placeholder="" />
 | 
	
		
			
				|  |  |                    <div class="unit">{{ item.unit }}</div>
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |                </div>
 | 
	
	
		
			
				|  | @@ -106,7 +106,7 @@
 | 
	
		
			
				|  |  |    import ventBox1 from '/@/components/vent/ventBox1.vue';
 | 
	
		
			
				|  |  |    import { SvgIcon } from '/@/components/Icon';
 | 
	
		
			
				|  |  |    import { mountedThree, destroy, setModelType, updateText, play } from '../balancePress.threejs';
 | 
	
		
			
				|  |  | -  import { settingParam1, settingParam2, settingParam3, windowParam, localFanParam, monitorParam, o2Param } from '../balancePress.data';
 | 
	
		
			
				|  |  | +  import { settingParam1, settingParam2, settingParam3, windowParam, localFanParam, monitorParam } from '../balancePress.data';
 | 
	
		
			
				|  |  |    import { list } from '../balancePress.api';
 | 
	
		
			
				|  |  |    import { message } from 'ant-design-vue';
 | 
	
		
			
				|  |  |    import { get } from 'lodash-es';
 | 
	
	
		
			
				|  | @@ -184,6 +184,7 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    // 喷粉操作
 | 
	
		
			
				|  |  |    function onSubmit() {
 | 
	
		
			
				|  |  | +    sessionStorage.setItem('lalance-press-formdata', JSON.stringify(formData.value));
 | 
	
		
			
				|  |  |      message.success('提交成功');
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -198,11 +199,29 @@
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    );
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +  const formData = ref({
 | 
	
		
			
				|  |  | +    a: 0,
 | 
	
		
			
				|  |  | +    b: 0,
 | 
	
		
			
				|  |  | +    c: 0,
 | 
	
		
			
				|  |  | +    d: 0,
 | 
	
		
			
				|  |  | +    e: 0,
 | 
	
		
			
				|  |  | +    f: 0,
 | 
	
		
			
				|  |  | +    g: 0,
 | 
	
		
			
				|  |  | +    h: 0,
 | 
	
		
			
				|  |  | +    i: 0,
 | 
	
		
			
				|  |  | +    j: 0,
 | 
	
		
			
				|  |  | +    k: 0,
 | 
	
		
			
				|  |  | +    l: 0,
 | 
	
		
			
				|  |  | +    m: 0,
 | 
	
		
			
				|  |  | +  });
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    onBeforeMount(() => {});
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    onMounted(() => {
 | 
	
		
			
				|  |  |      // getMonitor()
 | 
	
		
			
				|  |  |      loading.value = true;
 | 
	
		
			
				|  |  | +    const storage = sessionStorage.getItem('lalance-press-formdata');
 | 
	
		
			
				|  |  | +    if (storage) formData.value = JSON.parse(storage);
 | 
	
		
			
				|  |  |      mountedThree().then(async () => {
 | 
	
		
			
				|  |  |        await setModelType('balancePressBase');
 | 
	
		
			
				|  |  |        loading.value = false;
 |