wjj 15 годин тому
батько
коміт
9a757ec15c

+ 21 - 2
src/views/course/coursePlaySourceConfig/index.vue

@@ -252,7 +252,18 @@
         <el-form-item label="msgDataFormat" prop="msgDataFormat">
           <el-input v-model="form.msgDataFormat" placeholder="请输入msgDataFormat" />
         </el-form-item>
-
+        <el-form-item label="状态" prop="status">
+          <el-radio-group v-model="form.status">
+            <el-radio :label="0">未封禁</el-radio>
+            <el-radio :label="1">已封禁</el-radio>
+          </el-radio-group>
+        </el-form-item>
+        <el-form-item label="是否替换" prop="replaceStatus">
+          <el-radio-group v-model="form.replaceStatus">
+            <el-radio :label="0">否</el-radio>
+            <el-radio :label="1">是</el-radio>
+          </el-radio-group>
+        </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="submitForm">确 定</el-button>
@@ -339,6 +350,12 @@ export default {
         ],
         msgDataFormat: [
           { required: true, message: "msgDataFormat不能为空", trigger: "blur" }
+        ],
+        status: [
+          { required: true, message: "状态不能为空", trigger: "change" }
+        ],
+        replaceStatus: [
+          { required: true, message: "是否替换不能为空", trigger: "change" }
         ]
       }
     }
@@ -527,7 +544,9 @@ export default {
         token: 'cbnd7lJvkripVOpyTFAna6NAWCxCrvC',
         aesKey: 'HlEiBB55eaWUaeBVAQO3cWKWPYv1vOVQSq7nFNICw4E',
         msgDataFormat: 'JSON',
-        type: '1'
+        type: '1',
+        status: 0,
+        replaceStatus: 0
       }
       this.resetForm("form");
     }

+ 3 - 3
src/views/hisStore/storeOrder/index.vue

@@ -1248,7 +1248,7 @@ export default {
     this.getDicts("store_order_type").then((response) => {
       this.orderTypeOptions = response.data;
     });
-    this.getDicts("user_status").then((response) => {
+    this.getDicts("sys_user_status").then((response) => {
       this.userStatusOptions = response.data;
     });
     this.getDicts("sys_store_pay_type").then((response) => {
@@ -1257,10 +1257,10 @@ export default {
     this.getDicts("store_order_status").then((response) => {
       this.statusOptions = response.data;
     });
-    this.getDicts("store_order_delivery_status").then((response) => {
+    this.getDicts("sys_store_order_delivery_status").then((response) => {
       this.deliveryStatusOptions = response.data;
     });
-    this.getDicts("store_delivery_pay_status").then((response) => {
+    this.getDicts("sys_store_delivery_pay_status").then((response) => {
       this.deliveryPayStatusOptions = response.data;
     });
     getTcmScheduleList().then(response => {