优化:非普通商户不显示是否已经成为员工
This commit is contained in:
parent
626ad4774c
commit
45775c1929
|
|
@ -35,7 +35,7 @@
|
|||
<span>{{ scope.row.user_type | statusFilter }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否已成为员工" min-width="150" align="center">
|
||||
<el-table-column label="是否已成为员工" min-width="150" align="center" v-if="config.merchant_type == 0">
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.is_store_service == 1" type="success" effect="dark">是</el-tag>
|
||||
<el-tag v-else type="info" effect="dark">否</el-tag>
|
||||
|
|
@ -61,6 +61,7 @@
|
|||
<script>
|
||||
|
||||
import { userLstApi } from '@/api/system'
|
||||
import {getConfigApi} from "@/api/systemForm";
|
||||
export default {
|
||||
name: 'UserList',
|
||||
filters: {
|
||||
|
|
@ -85,6 +86,7 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
config: {},
|
||||
moren: require('@/assets/images/f.png'),
|
||||
templateRadio: 0,
|
||||
loading: false,
|
||||
|
|
@ -101,6 +103,11 @@ export default {
|
|||
},
|
||||
mounted() {
|
||||
this.getList(1)
|
||||
getConfigApi().then(res => {
|
||||
this.config = res.data || {};
|
||||
}).catch(res => {
|
||||
this.$message.error(res.message)
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
getTemplateRow(idx, row) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue