改造文章管理系统
This commit is contained in:
@@ -92,12 +92,23 @@
|
||||
<span v-if="form.version === 30">永久授权</span>
|
||||
</a-form-item>
|
||||
<a-form-item label="状态" name="status">
|
||||
<a-radio-group v-model:value="form.status">
|
||||
<a-radio :value="0">运行中</a-radio>
|
||||
<a-radio :value="1">维护中</a-radio>
|
||||
<a-radio :value="2">已关闭</a-radio>
|
||||
<a-radio-group
|
||||
v-model:value="form.status"
|
||||
:disabled="form.status && form.status > 3"
|
||||
>
|
||||
<a-radio :value="1">运行中</a-radio>
|
||||
<a-radio :value="2">维护中</a-radio>
|
||||
<a-radio :value="3">已关闭</a-radio>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
<a-form-item v-if="form.status == 2" label="维护说明" name="statusText">
|
||||
<a-textarea
|
||||
:rows="4"
|
||||
:maxlength="200"
|
||||
placeholder="状态说明"
|
||||
v-model:value="form.statusText"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
</ele-modal>
|
||||
</template>
|
||||
@@ -158,7 +169,8 @@
|
||||
expirationTime: undefined,
|
||||
sortNumber: undefined,
|
||||
comments: undefined,
|
||||
status: undefined
|
||||
status: undefined,
|
||||
statusText: undefined
|
||||
});
|
||||
|
||||
const websiteType = ref<SelectProps['options']>([
|
||||
@@ -279,7 +291,7 @@
|
||||
loading.value = false;
|
||||
message.success(msg);
|
||||
updateVisible(false);
|
||||
localStorage.setItem('Domain',`${form.prefix}${form.domain}`);
|
||||
localStorage.setItem('Domain', `${form.prefix}${form.domain}`);
|
||||
emit('done');
|
||||
})
|
||||
.catch((e) => {
|
||||
|
||||
Reference in New Issue
Block a user