|
@@ -82,6 +82,7 @@
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" fixed="right">
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" fixed="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
|
|
+ v-if="scope.row.cjrId == user.userData.userId"
|
|
size="mini"
|
|
size="mini"
|
|
type="text"
|
|
type="text"
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
@@ -98,6 +99,7 @@
|
|
>详情
|
|
>详情
|
|
</el-button>
|
|
</el-button>
|
|
<el-button
|
|
<el-button
|
|
|
|
+ v-if="scope.row.cjrId == user.userData.userId"
|
|
size="mini"
|
|
size="mini"
|
|
type="text"
|
|
type="text"
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|
|
@@ -355,6 +357,8 @@
|
|
<tr>
|
|
<tr>
|
|
<td>姓名:</td>
|
|
<td>姓名:</td>
|
|
<td>{{dataDetails.xm}}</td>
|
|
<td>{{dataDetails.xm}}</td>
|
|
|
|
+ <td>赛期名称:</td>
|
|
|
|
+ <td>{{dataDetails.mc}}</td>
|
|
<td>身份证号:</td>
|
|
<td>身份证号:</td>
|
|
<td>{{dataDetails.sfzhm}}</td>
|
|
<td>{{dataDetails.sfzhm}}</td>
|
|
</tr>
|
|
</tr>
|
|
@@ -475,7 +479,7 @@
|
|
import {addXsxx, delXsxx, getXsxx, listXsxx, updateXsxx, updateZwywHldsXsxxSj} from '@/api/business/hljnds/xsxx'
|
|
import {addXsxx, delXsxx, getXsxx, listXsxx, updateXsxx, updateZwywHldsXsxxSj} from '@/api/business/hljnds/xsxx'
|
|
import {chineseOne, idCard, Regular} from '@/utils/regular'
|
|
import {chineseOne, idCard, Regular} from '@/utils/regular'
|
|
import {Constant} from '@/utils/constant'
|
|
import {Constant} from '@/utils/constant'
|
|
-import {mapGetters} from 'vuex'
|
|
|
|
|
|
+import {mapGetters, mapState} from 'vuex'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'Xsxx',
|
|
name: 'Xsxx',
|
|
@@ -668,7 +672,10 @@ export default {
|
|
// this.isIF=checkPermi(['business:sjxsxx:edit']);
|
|
// this.isIF=checkPermi(['business:sjxsxx:edit']);
|
|
// this.getList()
|
|
// this.getList()
|
|
// },
|
|
// },
|
|
- mounted() {
|
|
|
|
|
|
+ created() {
|
|
|
|
+ console.log('11',this.user.userData)
|
|
|
|
+ },
|
|
|
|
+ mounted() {
|
|
this.getList();
|
|
this.getList();
|
|
// 省市显示行政区划筛选
|
|
// 省市显示行政区划筛选
|
|
if (this.level < 1) {
|
|
if (this.level < 1) {
|
|
@@ -678,6 +685,7 @@ export default {
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
...mapGetters(["level"]),
|
|
...mapGetters(["level"]),
|
|
|
|
+ ...mapState(['user']),
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
//获取选择信息的数据 👇
|
|
//获取选择信息的数据 👇
|
|
@@ -712,6 +720,7 @@ export default {
|
|
getList() {
|
|
getList() {
|
|
this.loading = true
|
|
this.loading = true
|
|
listXsxx({...this.queryParams,sq:this.queryParams.sq?this.queryParams.sq[this.queryParams.sq.length-1]:''}).then(response => {
|
|
listXsxx({...this.queryParams,sq:this.queryParams.sq?this.queryParams.sq[this.queryParams.sq.length-1]:''}).then(response => {
|
|
|
|
+ console.log(response.rows)
|
|
this.xsxxList = response.rows
|
|
this.xsxxList = response.rows
|
|
this.total = response.total
|
|
this.total = response.total
|
|
this.loading = false
|
|
this.loading = false
|
|
@@ -917,6 +926,7 @@ export default {
|
|
particulars(row) {
|
|
particulars(row) {
|
|
this.dataDetails = {}
|
|
this.dataDetails = {}
|
|
getXsxx(row.id).then(response => {
|
|
getXsxx(row.id).then(response => {
|
|
|
|
+ console.log(response.data)
|
|
this.dataDetails = response.data
|
|
this.dataDetails = response.data
|
|
this.openXQ = true
|
|
this.openXQ = true
|
|
})
|
|
})
|