修改bug
This commit is contained in:
parent
4c921252f5
commit
fcd42060c1
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<a-drawer :title="title" :width="`70vw`" v-model:visible="visible" :closable="true"
|
||||
<a-drawer :title="title" :width="`1100`" v-model:visible="visible" :closable="true"
|
||||
:footer-style="{ textAlign: 'right' }" :bodyStyle="{padding:'0px'}" @close="handleCancel">
|
||||
<OrgApplyInfoForm ref="registerForm" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false">
|
||||
</OrgApplyInfoForm>
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
</template>
|
||||
</a-drawer>
|
||||
|
||||
<a-drawer :title="title" :width="`70vw`" v-model:visible="contractVisible" :closable="true"
|
||||
<a-drawer :title="title" :width="`1100`" v-model:visible="contractVisible" :closable="true"
|
||||
:footer-style="{ textAlign: 'right' }" :bodyStyle="{padding:'0px'}" @close="handleCancel">
|
||||
<OrgUpContractForm ref="upContractForm" @ok="submitContractCallback" :formBpm="false"></OrgUpContractForm>
|
||||
<template #footer>
|
||||
|
|
|
|||
|
|
@ -49,29 +49,36 @@
|
|||
</a-form-item>
|
||||
</a-col> -->
|
||||
<a-col :span="12">
|
||||
<a-form-item label="服务时长(分钟)" v-bind="validateInfos.serviceDuration"
|
||||
<a-form-item label="服务时长 (分钟)" v-bind="validateInfos.serviceDuration"
|
||||
id="ConfigServiceDirectiveForm-serviceDuration" name="serviceDuration">
|
||||
<a-input v-model:value="formData.serviceDuration" placeholder="服务时长(分钟)" disabled></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="收费价格(元)" v-bind="validateInfos.tollPrice" id="ConfigServiceDirectiveForm-tollPrice"
|
||||
<a-form-item label="收费价格 (元)" v-bind="validateInfos.tollPrice" id="ConfigServiceDirectiveForm-tollPrice"
|
||||
name="tollPrice">
|
||||
<a-input v-model:value="formData.tollPrice" placeholder="收费价格" disabled></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="超时时长(分钟)" v-bind="validateInfos.timeoutDuration"
|
||||
<a-form-item label="超时时长 (分钟)" v-bind="validateInfos.timeoutDuration"
|
||||
id="ConfigServiceDirectiveForm-timeoutDuration" name="timeoutDuration">
|
||||
<a-input v-model:value="formData.timeoutDuration" placeholder="超时时长(分钟)" disabled></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="提成价格(元)" v-bind="validateInfos.comPrice" id="ConfigServiceDirectiveForm-comPrice"
|
||||
<a-form-item label="提成价格 (元)" v-bind="validateInfos.comPrice" id="ConfigServiceDirectiveForm-comPrice"
|
||||
name="comPrice">
|
||||
<a-input v-model:value="formData.comPrice" placeholder="提成价格" disabled></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24" >
|
||||
<a-form-item label="服务指令描述" v-bind="validateInfos.comPrice" id="ConfigServiceDirectiveForm-comPrice" :labelCol="labelCol2" :wrapperCol="wrapperCol2"
|
||||
name="comPrice">
|
||||
<a-textarea style="color: #606266;" v-model:value="formData.serviceContent" placeholder="服务指令描述"
|
||||
:maxlength="200" :rows="3" :autoSize="{ minRows: 3 }" :showCount="true" disabled />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</template>
|
||||
|
|
@ -93,26 +100,26 @@
|
|||
<a-col :span="24" v-show="directiveMediaBtnValue == 0">
|
||||
<JImageUploadtz :value="!!formData.previewFile ? formData.previewFile : defaultPrePic" disabled />
|
||||
</a-col>
|
||||
<a-col :span="24" v-show="directiveMediaBtnValue == 1">
|
||||
<!-- <a-col :span="24" v-show="directiveMediaBtnValue == 1">
|
||||
<JImageUploadtz :value="!!formData.previewFileSmall ? formData.previewFileSmall : defaultPreSmallPic"
|
||||
disabled />
|
||||
</a-col>
|
||||
<a-col :span="24" v-show="directiveMediaBtnValue == 2">
|
||||
</a-col> -->
|
||||
<a-col :span="24" v-show="directiveMediaBtnValue == 1">
|
||||
<JUploadMP3 :value="formData.mp3File" disabled />
|
||||
</a-col>
|
||||
<a-col :span="24" v-show="directiveMediaBtnValue == 3">
|
||||
<a-col :span="24" v-show="directiveMediaBtnValue == 2">
|
||||
<JUploadMP4 :value="formData.mp4File" fileType="mp4" disabled />
|
||||
</a-col>
|
||||
<a-col :span="24" v-show="directiveMediaBtnValue == 4">
|
||||
<a-col :span="24" v-show="directiveMediaBtnValue == 3">
|
||||
<JImageUploadtz :value="!!formData.immediateFile ? formData.immediateFile : defaultImmediatePic"
|
||||
disabled />
|
||||
</a-col>
|
||||
<a-col :span="24" v-show="directiveMediaBtnValue == 5">
|
||||
<a-col :span="24" v-show="directiveMediaBtnValue == 4">
|
||||
<JImageUploadtz
|
||||
:value="!!formData.immediateFileFocus ? formData.immediateFileFocus : defaultImmediatePic" disabled />
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row style="padding: 20px;">
|
||||
<!-- <a-row style="padding: 20px;">
|
||||
<a-col :span="2">
|
||||
<div class="description-container">
|
||||
<a-button @click="toggleDescription">服务指令描述</a-button>
|
||||
|
|
@ -130,7 +137,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-row> -->
|
||||
</a-form>
|
||||
</template>
|
||||
</JFormContainer>
|
||||
|
|
@ -191,8 +198,10 @@ const formData = reactive<Record<string, any>>({
|
|||
previewFile: '',
|
||||
previewFileSmall: '',
|
||||
});
|
||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 4 } });
|
||||
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 19 } });
|
||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 6 } });
|
||||
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 16 } });
|
||||
const labelCol2 = ref<any>({ xs: { span: 24 }, sm: { span: 3 } });
|
||||
const wrapperCol2 = ref<any>({ xs: { span: 24 }, sm: { span: 20 } });
|
||||
const confirmLoading = ref<boolean>(false);
|
||||
const isEditMedia = ref(false)
|
||||
//表单验证
|
||||
|
|
|
|||
|
|
@ -78,8 +78,8 @@ const fieldLabels: Record<string, string> = {
|
|||
mp4File: '视频文件',
|
||||
previewFile: '服务指令图片',
|
||||
// previewFileSmall: '预览图片(小)',
|
||||
immediateFile: '指令样式(选中)',
|
||||
immediateFileFocus: '指令样式(选中)',
|
||||
immediateFile: '默认指令图标',
|
||||
immediateFileFocus: '焦点指令图标',
|
||||
};
|
||||
|
||||
// 需要显示的字段顺序
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<a-drawer :title="title" width="1000" v-model:visible="visible" :closable="true"
|
||||
<a-drawer :title="title" width="800" v-model:visible="visible" :closable="true"
|
||||
:footer-style="{ textAlign: 'right' }" :bodyStyle="{ 'padding': '14px' }" @close="handleCancel">
|
||||
<!-- 新增-查看 -->
|
||||
<DirectiveOpeLogInfoAdd v-if="dataType == 'add'" ref="registerForm" @ok="submitCallback"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ const props = defineProps({
|
|||
|
||||
const emit = defineEmits(['update:directiveMediaBtnValue', 'change'])
|
||||
|
||||
const tabs = ['服务指令图片(大)', '服务指令图片(小)', '指令音频文件', '指令视频文件', '即时指令图标', '即时指令-焦点']
|
||||
const tabs = ['服务指令图片', '指令音频文件', '指令视频文件', '默认指令图标', '焦点指令图标']
|
||||
const activeTab = ref(props.directiveMediaBtnValue)
|
||||
|
||||
watch(() => props.directiveMediaBtnValue, (newVal) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue