master
lion 2 months ago
parent 6c20b67a91
commit 241019e9a6

@ -184,7 +184,8 @@
this.my_department_id = store.state.department?store.state.department.id:''
this.dName = store.state.department?store.state.department.name:'全部科室'
if(this.my_department_id){
if(store.state.moduleRoles.oa.includes("考勤")){
if(store.state.moduleRoles.oa.includes("考勤统计")
|| this.my_department_id==2){
this.is_bgs = true
}else{
this.is_bgs = false

@ -169,7 +169,7 @@
this.my_department_id = store.state.department?store.state.department.id:''
this.dName = store.state.department?store.state.department.name:'全部科室'
if(this.my_department_id){
if(store.state.moduleRoles.oa.includes("考勤")){
if(store.state.moduleRoles.oa.includes("考勤统计")|| this.my_department_id==2){
this.is_bgs = true
}else{
this.is_bgs = false

@ -281,7 +281,7 @@
this.my_department_id = store.state.department ? store.state.department.id : ''
this.dName = store.state.department ? store.state.department.name : '全部科室'
if (this.my_department_id) {
if(store.state.moduleRoles.oa.includes("考勤")){
if(store.state.moduleRoles.oa.includes("考勤统计")|| this.my_department_id==2){
this.is_bgs = true
}else{
this.is_bgs = false

@ -236,7 +236,7 @@
this.my_department_id = store.state.department?store.state.department.id:''
this.dName = store.state.department?store.state.department.name:'全部科室'
if(this.my_department_id){
if(store.state.moduleRoles.oa.includes("考勤")){
if(store.state.moduleRoles.oa.includes("考勤统计")|| this.my_department_id==2){
this.is_bgs = true
}else{
this.is_bgs = false

@ -246,7 +246,7 @@ export default {
created() {
this.my_department_id = store.state.department?store.state.department.id:''
if(this.my_department_id){
if(store.state.moduleRoles.oa.includes("考勤")){
if(store.state.moduleRoles.oa.includes("考勤统计")|| this.my_department_id==2){
this.is_bgs = true
}else{
this.is_bgs = false

@ -25,7 +25,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: `/${process.env.VUE_APP_MODULE_NAME}`,
outputDir: process.env.VUE_APP_OUTPUT_DIR || `/Users/mac/Documents/朗业/2025/c-常州环境监测中心内控/cz_hjjc/public/${process.env.VUE_APP_MODULE_NAME}`,
outputDir: `/Users/mac/Documents/朗业/2025/c-常州环境监测中心内控/cz_hjjc/public/${process.env.VUE_APP_MODULE_NAME}`,
assetsDir: 'static',
lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false,

Loading…
Cancel
Save