修改上传不好使的问题
This commit is contained in:
parent
9924005cdd
commit
dae83f0919
|
@ -1,5 +1,5 @@
|
||||||
# 是否打开mock
|
# 是否打开mock
|
||||||
VITE_USE_MOCK = true
|
VITE_USE_MOCK = false
|
||||||
|
|
||||||
# 发布路径
|
# 发布路径
|
||||||
VITE_PUBLIC_PATH = /
|
VITE_PUBLIC_PATH = /
|
||||||
|
|
|
@ -3,6 +3,7 @@ import { message } from 'ant-design-vue';
|
||||||
import { useGlobSetting } from '/@/hooks/setting';
|
import { useGlobSetting } from '/@/hooks/setting';
|
||||||
const globSetting = useGlobSetting();
|
const globSetting = useGlobSetting();
|
||||||
const baseUploadUrl = globSetting.uploadUrl;
|
const baseUploadUrl = globSetting.uploadUrl;
|
||||||
|
const baseApiUrl = globSetting.apiUrl;
|
||||||
enum Api {
|
enum Api {
|
||||||
positionList = '/sys/position/list',
|
positionList = '/sys/position/list',
|
||||||
userList = '/sys/user/list',
|
userList = '/sys/user/list',
|
||||||
|
@ -28,7 +29,7 @@ export const getNuList = (params) => {
|
||||||
/**
|
/**
|
||||||
* 上传父路径
|
* 上传父路径
|
||||||
*/
|
*/
|
||||||
export const uploadUrl = `${baseUploadUrl}/sys/common/upload`;
|
export const uploadUrl = `${baseApiUrl}/sys/common/upload`;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 职务列表
|
* 职务列表
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
import JModal from '/@/components/Modal/src/JModal/JModal.vue';
|
import JModal from '/@/components/Modal/src/JModal/JModal.vue';
|
||||||
|
|
||||||
const title = ref<string>('');
|
const title = ref<string>('');
|
||||||
const width = ref<string>('80%');
|
const width = ref<number>(1200);
|
||||||
const visible = ref<boolean>(false);
|
const visible = ref<boolean>(false);
|
||||||
const disableSubmit = ref<boolean>(false);
|
const disableSubmit = ref<boolean>(false);
|
||||||
const registerForm = ref();
|
const registerForm = ref();
|
||||||
|
|
|
@ -55,6 +55,13 @@ export const columns: BasicColumn[] = [
|
||||||
];
|
];
|
||||||
|
|
||||||
export const selectedColumns: BasicColumn[] = [
|
export const selectedColumns: BasicColumn[] = [
|
||||||
|
{
|
||||||
|
title: '序号',
|
||||||
|
dataIndex: 'index',
|
||||||
|
key: 'index',
|
||||||
|
width: 60,
|
||||||
|
align: 'center',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '分类标签',
|
title: '分类标签',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
|
|
@ -55,6 +55,9 @@
|
||||||
<a-table :columns="selectedColumns" :data-source="directiveList" :scroll="{ x: '100%', y: '32vh' }"
|
<a-table :columns="selectedColumns" :data-source="directiveList" :scroll="{ x: '100%', y: '32vh' }"
|
||||||
:pagination="false" size="small">
|
:pagination="false" size="small">
|
||||||
<template v-slot:bodyCell="{ column, record, index, text }">
|
<template v-slot:bodyCell="{ column, record, index, text }">
|
||||||
|
<span v-if="column.dataIndex === 'index'">
|
||||||
|
{{ parseInt(index) + 1 }}
|
||||||
|
</span>
|
||||||
<span v-if="column.dataIndex === 'instructionTagId'">
|
<span v-if="column.dataIndex === 'instructionTagId'">
|
||||||
{{ filterDictTextByCache('instruction_tag', text) }}
|
{{ filterDictTextByCache('instruction_tag', text) }}
|
||||||
</span>
|
</span>
|
||||||
|
@ -78,6 +81,9 @@
|
||||||
<a @click="removeDirective(record.id)">移除</a>
|
<a @click="removeDirective(record.id)">移除</a>
|
||||||
</template>
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
|
<div style="text-align: right;margin-top: 10px;margin-right: 10px;">
|
||||||
|
共 {{ directiveList.length }} 条记录
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- 表单区域 -->
|
<!-- 表单区域 -->
|
||||||
<ConfigServiceDirectiveModal ref="registerModal" @success="handleSuccess"></ConfigServiceDirectiveModal>
|
<ConfigServiceDirectiveModal ref="registerModal" @success="handleSuccess"></ConfigServiceDirectiveModal>
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
<JRangeNumber v-model:value="queryParam.comPrice" class="query-group-cust"></JRangeNumber>
|
<JRangeNumber v-model:value="queryParam.comPrice" class="query-group-cust"></JRangeNumber>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col> -->
|
</a-col> -->
|
||||||
<a-col :lg="6">
|
<!-- <a-col :lg="6">
|
||||||
<a-form-item name="izReimbursement">
|
<a-form-item name="izReimbursement">
|
||||||
<template #label><span title="医保报销">医保报销</span></template>
|
<template #label><span title="医保报销">医保报销</span></template>
|
||||||
<j-dict-select-tag type='list' v-model:value="queryParam.izReimbursement" dictCode="med_ins_reimb"
|
<j-dict-select-tag type='list' v-model:value="queryParam.izReimbursement" dictCode="med_ins_reimb"
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
<j-dict-select-tag type='list' v-model:value="queryParam.izPreferential"
|
<j-dict-select-tag type='list' v-model:value="queryParam.izPreferential"
|
||||||
dictCode="institutional_discount" :ignoreDisabled="true" placeholder="请选择机构优惠" allowClear />
|
dictCode="institutional_discount" :ignoreDisabled="true" placeholder="请选择机构优惠" allowClear />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col> -->
|
||||||
<!-- <a-col :lg="6">
|
<!-- <a-col :lg="6">
|
||||||
<a-form-item name="chargingFrequency">
|
<a-form-item name="chargingFrequency">
|
||||||
<template #label><span title="收费频次">收费频次</span></template>
|
<template #label><span title="收费频次">收费频次</span></template>
|
||||||
|
@ -82,13 +82,13 @@
|
||||||
placeholder="请选择情绪标签" allowClear />
|
placeholder="请选择情绪标签" allowClear />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="6">
|
<!-- <a-col :lg="6">
|
||||||
<a-form-item name="cycleType">
|
<a-form-item name="cycleType">
|
||||||
<template #label><span title="周期类型">周期类型</span></template>
|
<template #label><span title="周期类型">周期类型</span></template>
|
||||||
<j-dict-select-tag type="list" v-model:value="queryParam.cycleType" dictCode="period_type"
|
<j-dict-select-tag type="list" v-model:value="queryParam.cycleType" dictCode="period_type"
|
||||||
:ignoreDisabled="true" placeholder="请选择周期类型" allowClear />
|
:ignoreDisabled="true" placeholder="请选择周期类型" allowClear />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col> -->
|
||||||
<a-col :lg="6">
|
<a-col :lg="6">
|
||||||
<a-form-item name="izEnabled">
|
<a-form-item name="izEnabled">
|
||||||
<template #label><span title="是否启用">是否启用</span></template>
|
<template #label><span title="是否启用">是否启用</span></template>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<JFormContainer :disabled="disabled">
|
<JFormContainer :disabled="disabled">
|
||||||
<template #detail>
|
<template #detail>
|
||||||
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"
|
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"
|
||||||
name="ConfigServiceDirectiveForm">
|
name="ConfigService2DirectiveForm">
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="分类标签" v-bind="validateInfos.instructionTagId"
|
<a-form-item label="分类标签" v-bind="validateInfos.instructionTagId"
|
||||||
|
|
Loading…
Reference in New Issue