Commit c0f6ffe1 authored by 罗超's avatar 罗超

1

parent fdc9388d
...@@ -62,47 +62,39 @@ ...@@ -62,47 +62,39 @@
</div> </div>
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column prop="Mobile" label="联系电话">
</el-table-column>
<el-table-column prop="Status" label="状态" width='140'>
<!-- <el-table-column prop="Status" label="状态" width='140'>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Status==1">入榜(第x名)</span> <span v-if="scope.row.RankListState==1">入榜(第{{scope.row.Rank}}名)</span>
<span v-if="scope.row.Status==2">淘汰</span> <span v-else-if="scope.row.CandidateState==2">淘汰</span>
<span v-if="scope.row.Status==3">未评比</span> <span v-else-if="scope.row.CandidateState==3">未评比</span>
<span v-else>未评比</span>
</template> </template>
</el-table-column> --> </el-table-column>
<el-table-column label="操作" width="180"> <el-table-column label="操作" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="详情" placement="top"> <el-tooltip class="item" effect="dark" content="详情" placement="top">
<img src="../../assets/img/userman/icon-show.png" alt="" class="imgstyle" /> <img src="../../assets/img/userman/icon-show.png" alt="" class="imgstyle" @click="seeDetail(scope.row)" />
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="淘汰" placement="top" v-if="listStatus!=3"> <el-tooltip class="item" effect="dark" content="淘汰" placement="top" v-if="listStatus!=3">
<img src="../../assets/img/userman/nopass.png" alt="" class="imgstyle" <img src="../../assets/img/userman/nopass.png" alt="" class="imgstyle" @click="eliminate(scope.row)" />
@click="eliminate(scope.row)" />
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="候选" placement="top" v-if="listStatus!=3"> <el-tooltip class="item" effect="dark" content="候选" placement="top" v-if="listStatus!=3">
<img src="../../assets/img/userman/pass.png" alt="" class="imgstyle" <img src="../../assets/img/userman/pass.png" alt="" class="imgstyle" @click="candidate(scope.row)" />
@click="candidate(scope.row)" />
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="重置" placement="top" v-if="listStatus!=3"> <el-tooltip class="item" effect="dark" content="重置" placement="top" v-if="listStatus!=3">
<img src="../../assets/img/userman/reset.png" alt="" class="imgstyle" <img src="../../assets/img/userman/reset.png" alt="" class="imgstyle" @click="delete_b(scope.row)" />
@click="delete_b(scope.row)" />
</el-tooltip> </el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination style="text-align:right" background @current-change="handleCurrentChange" <el-pagination style="text-align:right" background @current-change="handleCurrentChange" :page-size="msg.pageSize"
:page-size="msg.pageSize" :current-page.sync="msg.pageIndex" layout="total,prev, pager, next" :current-page.sync="msg.pageIndex" layout="total,prev, pager, next" :total="total">
:total="total">
</el-pagination> </el-pagination>
</div> </div>
<el-dialog title="关联图片/视频" :visible.sync="dialogTableVisible"> <el-dialog title="关联图片/视频" :visible.sync="dialogTableVisible">
...@@ -120,7 +112,22 @@ ...@@ -120,7 +112,22 @@
</video> </video>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="报名详情" :visible.sync="detailDialog" width="800px">
<el-descriptions title="用户信息">
<el-descriptions-item label="用户名">kooriookami</el-descriptions-item>
<el-descriptions-item label="手机号">18100000000</el-descriptions-item>
<el-descriptions-item label="居住地">苏州市</el-descriptions-item>
<el-descriptions-item label="备注">
<el-tag size="small">学校</el-tag>
</el-descriptions-item>
<el-descriptions-item label="联系地址">江苏省苏州市吴中区吴中大道 1188 号</el-descriptions-item>
</el-descriptions>
<span slot="footer" class="dialog-footer">
<el-button @click="detailDialog = false">取 消</el-button>
<el-button type="primary" @click="detailDialog = false">确 定</el-button>
</span>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -152,6 +159,7 @@ export default { ...@@ -152,6 +159,7 @@ export default {
}, },
ListObjectType: [], ListObjectType: [],
listStatus: -1, listStatus: -1,
detailDialog: false, //详情
}; };
}, },
created() { created() {
...@@ -241,6 +249,12 @@ export default { ...@@ -241,6 +249,12 @@ export default {
}); });
}, },
EditgoUrl() {}, EditgoUrl() {},
seeDetail(row) {
this.detailDialog = true;
let data = JSON.parse(row.Content);
console.log(row);
console.log(data);
},
}, },
mounted() {}, mounted() {},
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment