|
@@ -10,7 +10,7 @@
|
|
<el-option v-for="item in studioList" :key="item.dict_label" :label="item.dict_label" :value="item.dict_value"></el-option>
|
|
<el-option v-for="item in studioList" :key="item.dict_label" :label="item.dict_label" :value="item.dict_value"></el-option>
|
|
</template>
|
|
</template>
|
|
<template #prove>
|
|
<template #prove>
|
|
- <component style="width: 100%" :is="CFile" model="prove" :limit="limit" :url="url" :list="form.prove" @change="onChange"></component>
|
|
|
|
|
|
+ <component :is="CFile" model="prove" :limit="limit" :url="url" :list="form.prove" @change="onChange"></component>
|
|
</template>
|
|
</template>
|
|
</component>
|
|
</component>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -20,15 +20,7 @@
|
|
<el-col :span="24" class="two_2">
|
|
<el-col :span="24" class="two_2">
|
|
<component :is="CForm" :fields="ufields" :rules="rules" :form="uform" labelWidth="auto" @save="utoSave" @dataChange="dataChange">
|
|
<component :is="CForm" :fields="ufields" :rules="rules" :form="uform" labelWidth="auto" @save="utoSave" @dataChange="dataChange">
|
|
<template #card>
|
|
<template #card>
|
|
- <component
|
|
|
|
- style="width: 100%"
|
|
|
|
- :is="CFile"
|
|
|
|
- model="card"
|
|
|
|
- limit="2"
|
|
|
|
- url="/files/studioadmin/register/upload"
|
|
|
|
- :list="uform.card"
|
|
|
|
- @change="uonChange"
|
|
|
|
- ></component>
|
|
|
|
|
|
+ <component :is="CFile" model="card" limit="2" url="/files/studioadmin/register/upload" :list="uform.card" @change="uonChange"></component>
|
|
</template>
|
|
</template>
|
|
<template #unit_phone>
|
|
<template #unit_phone>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -80,37 +72,13 @@
|
|
</el-col>
|
|
</el-col>
|
|
</template>
|
|
</template>
|
|
<template #audit_report>
|
|
<template #audit_report>
|
|
- <component
|
|
|
|
- style="width: 100%"
|
|
|
|
- :is="CFile"
|
|
|
|
- model="audit_report"
|
|
|
|
- :limit="limit"
|
|
|
|
- :url="url"
|
|
|
|
- :list="uform.audit_report"
|
|
|
|
- @change="uonChange"
|
|
|
|
- ></component>
|
|
|
|
|
|
+ <component :is="CFile" model="audit_report" :limit="limit" :url="url" :list="uform.audit_report" @change="uonChange"></component>
|
|
</template>
|
|
</template>
|
|
<template #special_report>
|
|
<template #special_report>
|
|
- <component
|
|
|
|
- style="width: 100%"
|
|
|
|
- :is="CFile"
|
|
|
|
- model="special_report"
|
|
|
|
- :limit="limit"
|
|
|
|
- :url="url"
|
|
|
|
- :list="uform.special_report"
|
|
|
|
- @change="uonChange"
|
|
|
|
- ></component>
|
|
|
|
|
|
+ <component :is="CFile" model="special_report" :limit="limit" :url="url" :list="uform.special_report" @change="uonChange"></component>
|
|
</template>
|
|
</template>
|
|
<template #prove_file>
|
|
<template #prove_file>
|
|
- <component
|
|
|
|
- style="width: 100%"
|
|
|
|
- :is="CFile"
|
|
|
|
- model="prove_file"
|
|
|
|
- :limit="limit"
|
|
|
|
- :url="url"
|
|
|
|
- :list="uform.prove_file"
|
|
|
|
- @change="uonChange"
|
|
|
|
- ></component>
|
|
|
|
|
|
+ <component :is="CFile" model="prove_file" :limit="limit" :url="url" :list="uform.prove_file" @change="uonChange"></component>
|
|
</template>
|
|
</template>
|
|
</component>
|
|
</component>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -365,19 +333,18 @@ const toSave = async (data: any) => {
|
|
};
|
|
};
|
|
// 查询其他信息
|
|
// 查询其他信息
|
|
const searchOther = async () => {
|
|
const searchOther = async () => {
|
|
- let res: IQueryResult;
|
|
|
|
//是否公开
|
|
//是否公开
|
|
- res = await sysdictdata.query({ dict_type: 's_is_show' });
|
|
|
|
- if (res.errcode == '0') isshowList.value = res.data as [];
|
|
|
|
|
|
+ const p1: IQueryResult = await sysdictdata.query({ dict_type: 's_is_show' });
|
|
|
|
+ isshowList.value = p1.data as [];
|
|
// 领域
|
|
// 领域
|
|
- res = await sysdictdata.query({ dict_type: 'studio_field' });
|
|
|
|
- if (res.errcode == '0') fieldList.value = res.data as [];
|
|
|
|
|
|
+ const p2: IQueryResult = await sysdictdata.query({ dict_type: 'studio_field' });
|
|
|
|
+ fieldList.value = p2.data as [];
|
|
// 是否入住科学家工作室
|
|
// 是否入住科学家工作室
|
|
- res = await sysdictdata.query({ dict_type: 'sys_yes_no' });
|
|
|
|
- if (res.errcode == '0') studioList.value = res.data as [];
|
|
|
|
|
|
+ const p3: IQueryResult = await sysdictdata.query({ dict_type: 'sys_yes_no' });
|
|
|
|
+ studioList.value = p3.data as [];
|
|
// 审核状态
|
|
// 审核状态
|
|
- res = await sysdictdata.query({ dict_type: 'studio_status' });
|
|
|
|
- if (res.errcode == '0') statusList.value = res.data as [];
|
|
|
|
|
|
+ const p4: IQueryResult = await sysdictdata.query({ dict_type: 'studio_status' });
|
|
|
|
+ statusList.value = p4.data as [];
|
|
};
|
|
};
|
|
watch(
|
|
watch(
|
|
form,
|
|
form,
|