|
@@ -65,7 +65,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="mini" @click="editClick('A', scope.row)">增加人数</el-button>
|
|
|
<el-button size="mini" @click="editClick('B', scope.row)">修改有效期</el-button>
|
|
|
- <el-button size="mini" @click="editClick('F', scope.row)" :disabled="!(scope.row.dingdingCorpid || scope.row.wxCorpid)">考勤同步</el-button>
|
|
|
+ <el-button size="mini" @click="editClick('F', scope.row)" :disabled="!(scope.row.dingdingCorpid || scope.row.wxCorpid)">考勤同步设置</el-button>
|
|
|
<el-button size="mini" @click="editClick('C', scope.row)">修改版本</el-button>
|
|
|
<el-button size="mini" @click="editClick('D', scope.row)" :disabled="scope.row.setMeal">设为已签约</el-button>
|
|
|
<el-button size="mini" @click="editClick('G', scope.row)">其他设置</el-button>
|
|
@@ -675,7 +675,15 @@
|
|
|
for(let m in this.roleIdArr){
|
|
|
roleIds += this.roleIdArr[m] + ','
|
|
|
}
|
|
|
- if(roleIds){roleIds = roleIds.substring(0,roleIds.length - 1)}
|
|
|
+ if(roleIds){
|
|
|
+ roleIds = roleIds.substring(0,roleIds.length - 1)
|
|
|
+ }else{
|
|
|
+ this.$message({
|
|
|
+ message: '请选择要开通的角色',
|
|
|
+ type: 'error'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
this.http.post('/company-report/update',{
|
|
|
companyId: this.dialogData.id,
|
|
|
formIds: ids,
|