云员工加显示状态

main
lijingyu007 5 months ago
parent 7ce60ff8f1
commit 8e35061e8f
  1. 4
      .env.development
  2. 7
      .env.production
  3. 12
      src/views/cloudUser/cloudList.vue
  4. 1
      src/views/trainService/trainTeacher.vue

@ -4,8 +4,8 @@ ENV = 'development'
# KeySaas测试云平台/开发环境 # KeySaas测试云平台/开发环境
VUE_APP_BASE_API = '/prod-api' VUE_APP_BASE_API = '/prod-api'
# VUE_APP_BASE_TARGET = 'https://www.keyitest.cn/test-api' VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api'
VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' # VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999'
# VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999' # VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999'
# VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999' # VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999'

@ -2,9 +2,10 @@
ENV = 'production' ENV = 'production'
# KeySaas测试云平台/生产环境 # KeySaas测试云平台/生产环境
VUE_APP_BASE_API = '/prod-api' # VUE_APP_BASE_API = '/prod-api'
# VUE_APP_BASE_API = '/test-api' VUE_APP_BASE_API = '/test-api'
# VUE_APP_BASE_TARGET = 'https://www.keyitest.cn/prod-api' # VUE_APP_BASE_TARGET = 'https://www.keyitest.cn/prod-api'
VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' # VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999'
VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api'
# VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/prod-api' # VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/prod-api'

@ -34,7 +34,17 @@
{{ scope.row.graduateTime && scope.row.graduateTime.slice(0, 10) }} {{ scope.row.graduateTime && scope.row.graduateTime.slice(0, 10) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="简历完整度" align="center" prop="integrity" /> <el-table-column label="显示状态" align="center" prop="status">
<template slot-scope="scope">
<el-tag type="success" v-if="scope.row.status == 2">已上线</el-tag>
<el-tag type="danger" v-if="scope.row.status == 4">已隐藏</el-tag>
</template>
</el-table-column>
<el-table-column label="简历完整度" align="center" prop="integrity">
<template slot-scope="scope">
{{ scope.row.integrity }}%
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="350px"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="350px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="cloudUserDetail(scope.row)" <el-button size="mini" type="text" icon="el-icon-edit" @click="cloudUserDetail(scope.row)"

@ -129,6 +129,7 @@ export default {
title: [{ required: true, message: '请输入职称', trigger: 'blur' }], title: [{ required: true, message: '请输入职称', trigger: 'blur' }],
isShow: [{ required: true, message: '请输入是否对外显示', trigger: 'blur' }], isShow: [{ required: true, message: '请输入是否对外显示', trigger: 'blur' }],
avatar: [{ required: true, message: '请上传头像', trigger: 'change' }], avatar: [{ required: true, message: '请上传头像', trigger: 'change' }],
profile: [{ required: true, message: '请填写简介', trigger: 'blur' }],
}, },
} }
}, },

Loading…
Cancel
Save