|
@@ -405,8 +405,7 @@
|
|
|
monthDays: 21.75,
|
|
|
pm: 4,
|
|
|
type: 0,
|
|
|
- lockWorktime: true,
|
|
|
- ids: ''
|
|
|
+ lockWorktime: true
|
|
|
},
|
|
|
customDegreeActive: false,
|
|
|
needDeptAudit: false,
|
|
@@ -804,10 +803,27 @@
|
|
|
this.whiteList.push(chose2[i])
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- this.timeType.ids = chose3
|
|
|
- this.whiteListDialog = false
|
|
|
- console.log('chose',chose2,chose3);
|
|
|
+ this.http.post('/time-type/changeUserReportTypeList',{
|
|
|
+ ids: chose3
|
|
|
+ },res => {
|
|
|
+ if(res.code == 'ok'){
|
|
|
+ this.$message({
|
|
|
+ message: '添加成功',
|
|
|
+ type: 'success'
|
|
|
+ })
|
|
|
+ this.whiteListDialog = false
|
|
|
+ }else {
|
|
|
+ this.$message({
|
|
|
+ message: res.msg,
|
|
|
+ type: 'error'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },error => {
|
|
|
+ this.$message({
|
|
|
+ message: error,
|
|
|
+ type: 'error'
|
|
|
+ })
|
|
|
+ })
|
|
|
},
|
|
|
submitInsert() {
|
|
|
this.$refs.form1.validate(valid => {
|