Commit 3ed08fe3e1bb3fdcb2ee9b2b53ff49234989cf3e

Authored by 周超
1 parent 688c8a3a

欲盖弥彰

src/views/user/userlist.vue
@@ -245,8 +245,8 @@ @@ -245,8 +245,8 @@
245 <el-table-column property="Achievement" label="成绩" sortable></el-table-column> 245 <el-table-column property="Achievement" label="成绩" sortable></el-table-column>
246 <el-table-column label="操作"> 246 <el-table-column label="操作">
247 <template slot-scope="scope"> 247 <template slot-scope="scope">
248 - <el-button type="success" @click="handleWatchLive(scope.row)">观看直播</el-button>  
249 - <el-button type="primary" @click="handleAnswerDetail(scope.row)">答题详情</el-button> 248 + <el-button type="success" :disabled="scope.row.IsOver || scope.row.AnswerId <=0" @click="handleWatchLive(scope.row)">观看直播</el-button>
  249 + <el-button type="primary" :disabled="!scope.row.IsOver" @click="handleAnswerDetail(scope.row)">答题详情</el-button>
250 </template> 250 </template>
251 </el-table-column> 251 </el-table-column>
252 </el-table> 252 </el-table>
vue.config.js
@@ -38,8 +38,8 @@ module.exports = { @@ -38,8 +38,8 @@ module.exports = {
38 }, 38 },
39 proxy: { 39 proxy: {
40 '/development': { 40 '/development': {
41 - target: `http://admin.7-stars.com.cn/`, //后台服务地址  
42 - // target:'http://localhost:8877', 41 + // target: `http://admin.7-stars.com.cn/`, //后台服务地址
  42 + target:'http://localhost:8877',
43 // target:'http://localhost:8009', 43 // target:'http://localhost:8009',
44 changeOrigin: true, 44 changeOrigin: true,
45 pathRewrite: { 45 pathRewrite: {