提交调整

This commit is contained in:
daihh
2022-09-07 18:52:41 +08:00
parent 515f9e5922
commit a5fb6df44d
4 changed files with 18 additions and 21 deletions

View File

@@ -1188,7 +1188,7 @@ export default {
}); });
}else{ }else{
$this.btnLoading = false; $this.btnLoading = false;
this.$message.error('获取审核HRBP失败'); this.$message.error('获取审核HRBP失败:'+rs.message);
} }
}) })

View File

@@ -3,9 +3,11 @@
<div> <div>
<el-dialog title="先择组织机构" :append-to-body="true" :visible.sync="dlgShow" :before-close="handleClose" :close-on-click-modal="false" width="500px" custom-class="g-dialog"> <el-dialog title="先择组织机构" :append-to-body="true" :visible.sync="dlgShow" :before-close="handleClose" :close-on-click-modal="false" width="500px" custom-class="g-dialog">
<div> <div>
<!--
<el-input placeholder="" v-model="orgName"> <el-input placeholder="" v-model="orgName">
<i slot="prefix" class="el-input__icon el-icon-search"></i> <i slot="prefix" class="el-input__icon el-icon-search"></i>
</el-input> </el-input>
-->
</div> </div>
<div style="overflow-y: auto;height: 400px;"> <div style="overflow-y: auto;height: 400px;">
<el-tree <el-tree

View File

@@ -7,17 +7,10 @@
<el-cascader placeholder="内容分类" clearable v-model="sysTypeList" :props="defaultTypeProps" :options="sysTypeListMap"></el-cascader> <el-cascader placeholder="内容分类" clearable v-model="sysTypeList" :props="defaultTypeProps" :options="sysTypeListMap"></el-cascader>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-input placeholder="创建人" v-model="params.createUser" clearable></el-input> <el-input placeholder="创建人" v-model="params.courseUser" clearable></el-input>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-input placeholder="课程名称" style="width:100%" v-model="params.keyword" clearable></el-input> <el-input placeholder="课程名称" style="width:100%" v-model="params.courseName" clearable></el-input>
</el-col>
<el-col :span="4">
<el-select v-model="params.status" placeholder="审核结果" clearable>
<el-option label="全部" :value="null"></el-option>
<el-option label="通过" :value="9"></el-option>
<el-option label="未通过" :value="2"></el-option>
</el-select>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-button type="primary" @click="getsearch()" icon="el-icon-search">搜索</el-button> <el-button type="primary" @click="getsearch()" icon="el-icon-search">搜索</el-button>
@@ -51,7 +44,7 @@
<el-table-column label="操作" width="100px" fixed="right"> <el-table-column label="操作" width="100px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button @click="toExamine(scope.row)" type="text" >审核记录</el-button> <el-button @click="toExamine(scope.row)" type="text" >审核日志</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -135,7 +128,7 @@ export default {
}, },
detailType: 1, detailType: 1,
dialogVisible: false, dialogVisible: false,
params: {status:''}, params: {status:'',courseUser:'',courseName:''},
pageData:[], pageData:[],
courseChooseShow: false, courseChooseShow: false,
courseChooseId: '', courseChooseId: '',
@@ -145,7 +138,7 @@ export default {
mounted() { mounted() {
this.loadResOwners(); this.loadResOwners();
this.searchData(); this.searchData();
this.getResOwnerTree().then(rs=>{ this.getResOwnerTree().then(rs=>{
this.resOwnerListMap=rs; this.resOwnerListMap=rs;
}); });
this.getSysTypeTree().then(rs=>{ this.getSysTypeTree().then(rs=>{
@@ -161,8 +154,8 @@ export default {
reset(){ reset(){
this.resOwner = '' this.resOwner = ''
this.params.sysType = '' this.params.sysType = ''
this.params.createUser = '' this.params.courseName = ''
this.params.keyword = '' this.params.courseUser = ''
this.params.type = '' this.params.type = ''
this.params.publish = '' this.params.publish = ''
this.sysTypeList = []; this.sysTypeList = [];

View File

@@ -7,11 +7,12 @@
<el-cascader placeholder="内容分类" clearable v-model="sysTypeList" :props="defaultTypeProps" :options="sysTypeListMap"></el-cascader> <el-cascader placeholder="内容分类" clearable v-model="sysTypeList" :props="defaultTypeProps" :options="sysTypeListMap"></el-cascader>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-input placeholder="创建人" v-model="params.createUser" clearable></el-input> <el-input placeholder="创建人" v-model="params.courseUser" clearable></el-input>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-input placeholder="课程名称" style="width:100%" v-model="params.keyword" clearable></el-input> <el-input placeholder="课程名称" style="width:100%" v-model="params.courseName" clearable></el-input>
</el-col> </el-col>
<!--
<el-col :span="4"> <el-col :span="4">
<el-select v-model="params.status" placeholder="审核结果" clearable> <el-select v-model="params.status" placeholder="审核结果" clearable>
<el-option label="全部" :value="null"></el-option> <el-option label="全部" :value="null"></el-option>
@@ -19,6 +20,7 @@
<el-option label="未通过" :value="2"></el-option> <el-option label="未通过" :value="2"></el-option>
</el-select> </el-select>
</el-col> </el-col>
-->
<el-col :span="8"> <el-col :span="8">
<el-button type="primary" @click="getsearch()" icon="el-icon-search">搜索</el-button> <el-button type="primary" @click="getsearch()" icon="el-icon-search">搜索</el-button>
<el-button icon="el-icon-refresh-right" type="primary" @click="reset">重置</el-button> <el-button icon="el-icon-refresh-right" type="primary" @click="reset">重置</el-button>
@@ -51,7 +53,7 @@
<el-table-column label="操作" width="100px" fixed="right"> <el-table-column label="操作" width="100px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button @click="toExamine(scope.row)" type="text" >审核记录</el-button> <el-button @click="toExamine(scope.row)" type="text" >审核日志</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -135,7 +137,7 @@ export default {
}, },
detailType: 1, detailType: 1,
dialogVisible: false, dialogVisible: false,
params: {status:''}, params: {status:'',courseUser:'',courseName:''},
pageData:[], pageData:[],
courseChooseShow: false, courseChooseShow: false,
courseChooseId: '', courseChooseId: '',
@@ -161,8 +163,8 @@ export default {
reset(){ reset(){
this.resOwner = '' this.resOwner = ''
this.params.sysType = '' this.params.sysType = ''
this.params.createUser = '' this.params.courseUser = ''
this.params.keyword = '' this.params.courseName = ''
this.params.type = '' this.params.type = ''
this.params.publish = '' this.params.publish = ''
this.sysTypeList = []; this.sysTypeList = [];