| | |
| | | <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button> |
| | | |
| | | <div style="display: flex"> |
| | | <el-button v-waves icon="el-icon-menu" @click="workingTramClick">生产班组</el-button> |
| | | <!-- <el-button v-waves icon="el-icon-menu" @click="workingTramClick">生产班组</el-button>--> |
| | | <el-button v-waves icon="el-icon-download" @click="upload">导入</el-button> |
| | | </div> |
| | | </div> |
| | |
| | | this.usergroupArr = res |
| | | }, |
| | | // 新增按钮 |
| | | add(operation) { |
| | | async add(operation) { |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | |
| | | // this.dialogForm.StuOrg = getCookie('stu_torgcode') |
| | | // this.$refs.dialogCascader.checkedValue = [getCookie('stu_torgcode')] |
| | | |
| | | this.getUserOrganization2() |
| | | await this.getUserOrganization2() |
| | | |
| | | if (this.$store.state.settings.orgType !== '') { |
| | | this.getStorgGroupSelect(getCookie('stu_torgcode'), this.StuOrgArr2.find(i => i.code === getCookie('stu_torgcode')) ? 'D' : 'W') |
| | | await this.getStorgGroupSelect(getCookie('stu_torgcode'), this.StuOrgArr2.find(i => i.code === getCookie('stu_torgcode')) ? 'D' : 'W') |
| | | } |
| | | }, |
| | | // 修改按钮 |