Przeglądaj źródła

入口配置状态修改问题

lcl 2 miesięcy temu
rodzic
commit
f207420c3c

+ 5 - 0
src/views/pri/priPrizeInSet/components/add/index.vue

@@ -35,6 +35,7 @@ let UpdateForm = ref({
   prizeListIds: "", //指定奖励配置
   note: "", //备注
   mqQueueName: "", //MQ队列名
+  status: "", //状态
 
   projectId: props.projectId
 });
@@ -71,6 +72,7 @@ const submit = async (formEl) => {
           prizeListIds: "", //指定奖励配置
           note: "", //备注
           mqQueueName: "", //MQ队列名
+          status: "", //状态
           projectId: props.projectId
 
         };
@@ -111,6 +113,7 @@ const closeVisible = () => {
     prizeListIds: "", //指定奖励配置
     note: "", //备注
     mqQueueName: "", //MQ队列名
+    status: "", //状态
     projectId: props.projectId
 
   };
@@ -134,6 +137,8 @@ const isFullscreen = ref(false)
       el-form-item(label='备注' prop="note")
         el-input(v-model='UpdateForm.note' autocomplete='off'
           placeholder="请输入备注")
+      el-form-item(label='状态' prop="status")
+        el-switch(v-model="UpdateForm.status")
 
     .flex.justify-end
       el-button(

+ 5 - 0
src/views/pri/priPrizeInSet/components/updatePriPrizeInSet/index.vue

@@ -34,6 +34,7 @@ const UpdateForm: any = ref({
   prizeListIds: "", //指定奖励配置
   note: "", //备注
   mqQueueName: "", //MQ队列名
+  status: "", //状态
 
 });
 
@@ -68,6 +69,7 @@ const submit = async (formEl) => {
           prizeListIds: "", //指定奖励配置
           note: "", //备注
           mqQueueName: "", //MQ队列名
+          status: "", //状态
 
         };
         // 关闭修改弹窗;
@@ -116,6 +118,7 @@ const closeUpdatePriPrizeInSetVisible = () => {
     prizeListIds: "", //指定奖励配置
     note: "", //备注
     mqQueueName: "", //MQ队列名
+    status: "", //状态
 
   };
   closeFn();
@@ -141,6 +144,8 @@ const isFullscreen = ref(false)
       el-form-item(label='备注' prop="note")
         el-input(v-model='UpdateForm.note' autocomplete='off'
           placeholder="请输入备注")
+      el-form-item(label='状态' prop="status")
+        el-switch(v-model="UpdateForm.status")
 
     .flex.justify-end
       el-button(