This commit is contained in:
王一嘉
2025-07-14 16:58:46 +08:00
parent af94cd0a97
commit d68450709b
24 changed files with 397 additions and 79 deletions

View File

@@ -52,6 +52,14 @@ onLoad((options) => {
});
if (SystemStore.accountManagementPo.pid) form.pid = Number(SystemStore.accountManagementPo.pid);
})
const getSelect = async () => {
const {data} = await Api.system.getPlatform();
data.shift();
return {
data: data,
}
}
</script>
<template>
@@ -61,7 +69,7 @@ onLoad((options) => {
<view class="min-h-[calc(100vh-100rpx)] bg-[#fff] px-[30rpx] py-[25rpx]">
<x-form>
<x-form-item label="宣发平台">
<x-select v-model:model-value="form.pid" :api="Api.system.getPlatform"></x-select>
<x-select v-model:model-value="form.pid" :api="getSelect"></x-select>
</x-form-item>
<x-form-item label="账号">
<x-input v-model:model-value="form.account" height="80rpx" placeholder="请输入帐号"></x-input>