Commit d93794c1 authored by Zhang Xiaojie's avatar Zhang Xiaojie

fix:ui

parent bf4dc88a
......@@ -185,21 +185,21 @@ export default Vue.extend({
this.title = "删除活动";
this.text = "确定删除该活动吗?";
},
handleOk(record: any) {
async handleOk(record: any) {
this.modalLoading = true;
try {
if (this.type == modal.on) {
ActivityService.getInstance().modifyActivityStatus({
await ActivityService.getInstance().modifyActivityStatus({
uuid: this.uuid,
activity_status: activityStatus.published,
});
} else if (this.type == modal.off) {
ActivityService.getInstance().modifyActivityStatus({
await ActivityService.getInstance().modifyActivityStatus({
uuid: this.uuid,
activity_status: activityStatus.editable,
});
} else if (this.type == modal.delete) {
ActivityService.getInstance().deleteActivity(this.uuid);
await ActivityService.getInstance().deleteActivity(this.uuid);
}
this.fetchList();
this.show = false;
......
......@@ -124,7 +124,7 @@ export default Vue.extend({
data() {
const userPhone = getUserMsg()?.phone;
return {
labelCol: { span: 11 },
labelCol: { span: 10 },
wrapperCol: { span: 10 },
userPhone,
changeSecurityPhoneForm: {
......
<template>
<div>
<a-layout id="components-layout-demo-fixed-sider" style="min-height: 100vh" >
<a-layout id="components-layout-demo-fixed-sider" style="max-height: 100vh" >
<a-layout-header :style="{ position: 'fixed', zIndex: 1, width: '100%' }" >
<div class="flex justify-between items-center h-full">
<div class="text-center text-lg my-3 flex font-semibold">
......@@ -58,6 +58,7 @@
background: '#fff',
textAlign: 'center',
}"
style="min-height: 85vh"
>
<router-view />
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment