Jelajahi Sumber

Merge branch 'baoming-jiaofei' into test

wolyshaw 4 tahun lalu
induk
melakukan
c9c4a75f7e
1 mengubah file dengan 18 tambahan dan 0 penghapusan
  1. 18 0
      src/views/accompaniment/modals/form.vue

+ 18 - 0
src/views/accompaniment/modals/form.vue

@@ -28,6 +28,22 @@
         </el-select> -->
       </el-form-item>
       <el-form-item
+        prop="sysMusicScore.clientType"
+        label="客户端类型"
+        :rules="[{required: true, message: '请选择客户端类型'}]"
+      >
+        <el-select style="width: 100%!important;" v-model="form.sysMusicScore.clientType" placeholder="请选择客户端类型">
+          <el-option
+            value="NETWORK_ROOM"
+            label="网络教室"
+          ></el-option>
+          <el-option
+            value="SMART_PRACTICE"
+            label="智能陪练"
+          ></el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item
         prop="sysMusicScore.order"
         label="排序"
         :rules="[{required: true, message: '请输入排序'}]"
@@ -147,6 +163,7 @@ export default {
           url: '',
           order: '',
           musicScoreCategoriesId: [],
+          clientType: '',
         },
         sysMusicScoreAccompaniments: [
           {
@@ -175,6 +192,7 @@ export default {
         name: this.detail.name,
         url: this.detail.url,
         order: this.detail.order,
+        clientType: this.detail.clientType,
         musicScoreCategoriesId: this.detail.categoriesId ? this.formatParentId(this.detail.categoriesId, this.tree) : [],
       })
       this.FeatchDetailList()