licailing пре 4 година
родитељ
комит
db3a802ab6
1 измењених фајлова са 6 додато и 10 уклоњено
  1. 6 10
      src/main/vue/src/views/performance/ProgScoreAdminList.vue

+ 6 - 10
src/main/vue/src/views/performance/ProgScoreAdminList.vue

@@ -101,12 +101,12 @@
             <el-table-column label="操作" align="left" fixed="right" min-width="150">
                 <template slot-scope="{ row, $index }">
                     <el-button @click="playVideo(row, $index)" size="mini" plain type="primary">查看作品</el-button>
-                    <div v-if="performance.status == 'RATE'">
+                    <span v-if="performance.status == 'RATE'" style="margin-left:10px">
                         <el-button @click="row.second = true" size="mini" plain type="warning" v-if="!row.second"
                             >修改</el-button
                         >
                         <el-button @click="row.second = false" size="mini" plain type="danger" v-else>取消</el-button>
-                    </div>
+                    </span>
                 </template>
             </el-table-column>
         </el-table>
@@ -173,7 +173,7 @@
                         </el-input-number>
                     </el-form-item>
                     <el-form-item>
-                        <div v-if="performance.status == 'RATE'">
+                        <span v-if="performance.status == 'RATE'" style="margin-right: 10px">
                             <el-button
                                 size="mini"
                                 v-if="!programme.second"
@@ -190,7 +190,7 @@
                                 v-if="programme.second"
                                 >取消</el-button
                             >
-                        </div>
+                        </span>
                         <el-button size="mini" @click="move(-1)" :disabled="index == 0">上一个</el-button>
                         <el-button
                             size="mini"
@@ -480,12 +480,8 @@ export default {
         },
         playVideo(row, index) {
             this.index = index;
-            if (row.video) {
-                this.showViedo = true;
-                this.programme = row;
-            } else {
-                this.$message.success('暂无视频');
-            }
+            this.showViedo = true;
+            this.programme = row;
         },
         move(direction) {
             const end = direction + this.index;