Commit 53addd04 authored by 黄奎's avatar 黄奎

页面修改

parent 154f5895
......@@ -4,21 +4,21 @@
<div class="row items-center" style="margin-bottom: 20px;">
<div class="page-title col">平台数据</div>
<div class="row items-center">
<el-select
v-model="parameters.branchId"
style="margin-right: 20px;"
@change="getDepartment(),parameters.RB_Department_Id=null,getEmpList(),parameters.empIdList=[],handleDateChange()"
:disabled="userInfo.RB_Branch_id==0?false:true"
>
<el-option
v-for="(x, i) in branchs"
:key="i"
:label="x.BName"
:value="x.Id"
></el-option>
</el-select>
<treeselect class="w200 fl" :options="departmentList" v-model="parameters.RB_Department_Id"
<template v-if="userInfo.RB_Branch_id==0">
<el-select
v-model="parameters.branchId"
style="margin-right: 20px;"
@change="getDepartment(),parameters.RB_Department_Id=null,getEmpList(),parameters.empIdList=[],handleDateChange()"
>
<el-option
v-for="(x, i) in branchs"
:key="i"
:label="x.BName"
:value="x.Id"
></el-option>
</el-select>
</template>
<treeselect style="margin-right: 20px;width:200px;" :options="departmentList" v-model="parameters.RB_Department_Id"
:label="$t('pub.unlimitedSel')" :normalizer="normalizer" @select="changeDepart" />
<el-select
v-model="parameters.empId"
......@@ -930,6 +930,7 @@ export default {
CEndDate: this.parameters.dateRange[1],
BranchId: this.parameters.branchId,
RB_Department_Id:this.parameters.RB_Department_Id,
CreateBy:this.parameters.empId,
isNormal: 1,
blank: "y",
}
......@@ -938,6 +939,7 @@ export default {
CStartDate: this.parameters.dateRange[0],
CEndDate: this.parameters.dateRange[1],
RB_Department_Id:this.parameters.RB_Department_Id,
CreateBy:this.parameters.empId,
isNormal: 1,
blank: "y",
}
......@@ -946,6 +948,7 @@ export default {
CStartDate: this.parameters.dateRange[0],
CEndDate: this.parameters.dateRange[1],
RB_Department_Id:this.parameters.RB_Department_Id,
CreateBy:this.parameters.empId,
isNormal: 1,
blank: "y",
}
......@@ -954,6 +957,7 @@ export default {
CStartDate: this.parameters.dateRange[0],
CEndDate: this.parameters.dateRange[1],
RB_Department_Id:this.parameters.RB_Department_Id,
CreateBy:this.parameters.empId,
discount: 1,
isNormal: 1,
blank: "y",
......@@ -968,6 +972,7 @@ export default {
changeDepart(node, instanceId){
this.parameters.RB_Department_Id=node.DepartmentId;
this.parameters.empIdList=[];
this.parameters.empId="";
this.getEmpList();
this.handleDateChange();
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment