|
|
@@ -92,13 +92,13 @@
|
|
|
>
|
|
|
<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="活动时间">
|
|
|
+ <el-table-column prop="date" label="活动日期" v-if="onlines"> </el-table-column>
|
|
|
+ <el-table-column prop="morning" label="活动时间" v-if="onlines">
|
|
|
<template slot-scope="{ row }">
|
|
|
{{ row.morning ? '上午' : '下午' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="address" label="活动地点"> </el-table-column>
|
|
|
+ <el-table-column prop="address" label="活动地点" v-if="onlines"> </el-table-column>
|
|
|
<el-table-column label="参赛专业">
|
|
|
<template slot-scope="{ row }">
|
|
|
{{ row.specialtyName ? row.specialtyName.join(',') : '' }}
|
|
|
@@ -171,18 +171,22 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
+ <organ-log :dialogVisible="isShow" @close="isShow = false" ref="public"></organ-log>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
import { mapState } from 'vuex';
|
|
|
import pageableTable from '@/mixins/pageableTable';
|
|
|
+import OrganLog from '../../components/OrganLog';
|
|
|
import delChild from '@/mixins/delChild';
|
|
|
|
|
|
export default {
|
|
|
name: 'ArrangeJudgeList',
|
|
|
mixins: [pageableTable, delChild],
|
|
|
+ components: { OrganLog },
|
|
|
data() {
|
|
|
return {
|
|
|
+ isShow: false,
|
|
|
multipleMode: false,
|
|
|
showMore: false,
|
|
|
search: '',
|
|
|
@@ -190,6 +194,7 @@ export default {
|
|
|
downloading: false,
|
|
|
form: {},
|
|
|
performances: [],
|
|
|
+ onlines: '',
|
|
|
addresses: [],
|
|
|
dateRange: '',
|
|
|
rules: {
|
|
|
@@ -223,6 +228,13 @@ export default {
|
|
|
{ body: 'json' }
|
|
|
)
|
|
|
.then(res => {
|
|
|
+ console.log(res);
|
|
|
+ this.onlines = res.content[0].online;
|
|
|
+ // if (res.content.length > 0) {
|
|
|
+ // res.content.map(item => {
|
|
|
+ // return item.online;
|
|
|
+ // });
|
|
|
+ // }
|
|
|
if (res.content.length > 0) {
|
|
|
res.content.forEach(item => {
|
|
|
this.performances.push({
|
|
|
@@ -238,6 +250,7 @@ export default {
|
|
|
{ body: 'json' }
|
|
|
)
|
|
|
.then(res => {
|
|
|
+ console.log(res);
|
|
|
if (res.content.length > 0) {
|
|
|
res.content.forEach(item => {
|
|
|
this.addressList.push({
|
|
|
@@ -360,19 +373,21 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
assignExpert(row) {
|
|
|
- let keys = [...this.columnKeys].slice(0, 3).map(item => {
|
|
|
- return row[item];
|
|
|
- });
|
|
|
- let info = this.getInfo(this.showTable, keys);
|
|
|
- let aid = info.list.map(item => {
|
|
|
- return item.id;
|
|
|
- });
|
|
|
- this.$router.push({
|
|
|
- path: '/arrangeAssignExpert',
|
|
|
- query: {
|
|
|
- aid: aid.join(',')
|
|
|
- }
|
|
|
- });
|
|
|
+ this.isShow = true;
|
|
|
+ this.$refs.public.init(row);
|
|
|
+ // let keys = [...this.columnKeys].slice(0, 3).map(item => {
|
|
|
+ // return row[item];
|
|
|
+ // });
|
|
|
+ // let info = this.getInfo(this.showTable, keys);
|
|
|
+ // let aid = info.list.map(item => {
|
|
|
+ // return item.id;
|
|
|
+ // });
|
|
|
+ // this.$router.push({
|
|
|
+ // path: '/arrangeAssignExpert',
|
|
|
+ // query: {
|
|
|
+ // aid: aid.join(',')
|
|
|
+ // }
|
|
|
+ // });
|
|
|
},
|
|
|
programme(row) {
|
|
|
this.$router.push({
|