Browse Source

替换位置

Changpeng Duan 4 years ago
parent
commit
cb9f372ee1
1 changed files with 21 additions and 20 deletions
  1. 21 20
      pc/src/views/courseEdit.vue

+ 21 - 20
pc/src/views/courseEdit.vue

@@ -137,6 +137,26 @@
           :formatter="filterFmtDate"
           sortable
         ></el-table-column>
+         <el-table-column prop="IsOnline" label="是否网课" width="140">
+          <template slot="header" slot-scope="scope">
+            <el-checkbox
+              @change="(val) => handleSelectAll(val)"
+              label="是否网课"
+            />
+          </template>
+          <template slot-scope="scope">
+            <el-checkbox
+              label="网课"
+              v-model="scope.row.IsOnlineState"
+              ::checked="scope.row.IsOnlineState"
+              :disabled="scope.row.BindId > 0 || scope.row.HrSubmitFlag == 1"
+              name="type"
+              true-label="1"
+              false-label="0"
+              @change="wathcIsOnlineRow(scope.row.IsOnlineState, scope.row)"
+            ></el-checkbox>
+          </template>
+        </el-table-column>
         <el-table-column
           prop="RemainTotalhour"
           label="剩余课时"
@@ -262,26 +282,7 @@
             <span v-if="scope.row.Status == 3">上课未预约</span>
           </template>
         </el-table-column>
-        <el-table-column prop="IsOnline" label="是否网课" width="140">
-          <template slot="header" slot-scope="scope">
-            <el-checkbox
-              @change="(val) => handleSelectAll(val)"
-              label="是否网课"
-            />
-          </template>
-          <template slot-scope="scope">
-            <el-checkbox
-              label="网课"
-              v-model="scope.row.IsOnlineState"
-              ::checked="scope.row.IsOnlineState"
-              :disabled="scope.row.BindId > 0 || scope.row.HrSubmitFlag == 1"
-              name="type"
-              true-label="1"
-              false-label="0"
-              @change="wathcIsOnlineRow(scope.row.IsOnlineState, scope.row)"
-            ></el-checkbox>
-          </template>
-        </el-table-column>
+       
         <el-table-column prop="Status" label="操作">
           <template slot-scope="scope">
             <div v-if="scope.row.DpId <= 0">