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