Răsfoiți Sursa

分配评委

xuqiang 4 ani în urmă
părinte
comite
8fb577209d

+ 1 - 1
src/main/vue/src/components/OrganLog.vue

@@ -127,7 +127,7 @@ export default {
         },
         init(row) {
             this.id = row;
-            console.log(this.id);
+            // console.log(this.id);
             this.$http
                 .post('/user/all1', { size: 0, query: {}, size: 1000, sort: '' }, { body: 'json' })
                 .then(res => {

+ 6 - 13
src/main/vue/src/views/performance/ArrangeJudgeList.vue

@@ -80,6 +80,7 @@
             </el-form>
         </div>
         <el-table
+            v-if="onlines == false"
             :data="tableData"
             row-key="id"
             ref="table"
@@ -91,7 +92,6 @@
             :span-method="objectSpanMethod"
         >
             <el-table-column v-if="multipleMode" align="center" type="selection" width="50"> </el-table-column>
-            <!-- <el-table-column prop="id" label="ID" width="100"> </el-table-column> -->
             <el-table-column prop="date" label="活动日期"> </el-table-column>
             <el-table-column prop="morning" label="活动时间">
                 <template slot-scope="{ row }">
@@ -115,6 +115,7 @@
             </el-table-column>
         </el-table>
         <el-table
+            v-if="onlines == true"
             :data="tableData"
             style="margin-top:20px"
             row-key="id"
@@ -257,11 +258,7 @@ export default {
             .then(res => {
                 console.log(res);
                 this.onlines = res.content[0].online;
-                // if (res.content.length > 0) {
-                //     res.content.map(item => {
-                //         return item.online;
-                //     });
-                // }
+                console.log(this.onlines);
                 if (res.content.length > 0) {
                     res.content.forEach(item => {
                         this.performances.push({
@@ -269,7 +266,8 @@ export default {
                             value: item.id
                         });
                     });
-                    // this.form.performanceId = res.content[0].id;
+                    this.form.performanceId = res.content[0].id;
+                    this.getData();
                     this.$http
                         .post(
                             '/performanceSchedule/all',
@@ -409,12 +407,6 @@ export default {
             });
             this.isShow = true;
             this.$refs.public.init(arrid);
-            // this.$router.push({
-            //     path: '/arrangeAssignExpert',
-            //     query: {
-            //         aid: aid.join(',')
-            //     }
-            // });
         },
         programme(row) {
             this.$router.push({
@@ -500,6 +492,7 @@ export default {
                 return row[item];
             });
             let info = this.getInfo(this.showTable, keys);
+            console.log(this.showTable);
             let arrid = info.list.map(item => {
                 return item.id;
             });