ff3ebf91 by lihua

专区资产登记自动生成登记名称

1 parent 6c8c41e0
......@@ -7,6 +7,12 @@ export const getRegiaterDetail = (params) => request({
params
})
/** 获取产品登记详情 */
export const getRegisterCatalogDetail = (damGuid) => request({
url: `${import.meta.env.VITE_API_NEW_PORTAL}/public-data-products-main/detail-by-dam-guid?damGuid=${damGuid}`,
method: 'get'
})
/** 提交登记信息。 */
export const registerSave = (params) => request({
url: `${import.meta.env.VITE_API_NEW_PORTAL}/public-data-products-main/save`,
......@@ -27,3 +33,9 @@ export const registerDelete = (params) => request({
method: 'delete',
data: params
});
/** 获取可使用的资产目录列表 */
export const getRegisterCatalogList = () => request({
url: `${import.meta.env.VITE_API_NEW_PORTAL}/dam-catalog-table/public-data/dam-list?isRegister=${'Y'}&foundMode=4`,
method: 'get'
})
......
......@@ -816,7 +816,7 @@ const panelChange = (scope, row) => {
</span>
<el-select v-if="child.type == 'select'" v-model="formInline[child.field]"
:placeholder="child.placeholder" :disabled="child.disabled || readonly" :filterable="child.filterable"
:multiple="child.multiple ?? false"
:multiple="child.multiple ?? false" @change="(val) => selectChange(val, child)"
:collapse-tags="child.collapse ?? false" :collapse-tags-tooltip="child.tagsTooltip ?? false"
:max-collapse-tags="child.maxTags ?? 1" :teleported="child.teleported || true">
<el-option v-for="opts in child.options"
......@@ -827,7 +827,7 @@ const panelChange = (scope, row) => {
:options="child.options" :props="child.props" :show-all-levels="child.showAllLevels ?? true"
:clearable="child.clearable" :filterable="child.filterable ?? false"
:collapse-tags="child.collapse ?? false" :collapse-tags-tooltip="child.tagsTooltip ?? false"
:max-collapse-tags="child.maxTags ?? 1" :disabled="child.disabled || readonly" />
:max-collapse-tags="child.maxTags ?? 1" :disabled="child.disabled || readonly" @change="(val) => cascaderChange(val, child)" />
</el-form-item>
</div>
</div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!