Commit 48584a9f authored by 黄奎's avatar 黄奎

页面修改

parent 72005162
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
.cycleOrderList .border-bottom { .cycleOrderList .border-bottom {
/* border-bottom: 1px dashed #EEE; */
padding-bottom: 5px; padding-bottom: 5px;
margin-bottom: 5px; margin-bottom: 5px;
} }
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
</template> </template>
</q-select> </q-select>
</div> </div>
<template v-if="isReturnperiods">
<q-select v-if="!isNormal" @input="resetSearch" filled stack-label option-value="Id" option-label="Name" <q-select v-if="!isNormal" @input="resetSearch" filled stack-label option-value="Id" option-label="Name"
use-input v-model="msg.CommissionType" :options="CommissionList" label="类型" dense class="col-3" emit-value use-input v-model="msg.CommissionType" :options="CommissionList" label="类型" dense class="col-3" emit-value
map-options></q-select> map-options></q-select>
...@@ -70,6 +71,7 @@ ...@@ -70,6 +71,7 @@
<q-select class="col-3" filled stack-label input-debounce="0" v-if="!isEdit" option-value="Id" <q-select class="col-3" filled stack-label input-debounce="0" v-if="!isEdit" option-value="Id"
@input="getlaiyuan" option-label="Name" v-model="msg.OrderSourceType" :options="customFromList" label="来源" @input="getlaiyuan" option-label="Name" v-model="msg.OrderSourceType" :options="customFromList" label="来源"
dense emit-value map-options></q-select> dense emit-value map-options></q-select>
<div class="col-3" v-if="msg.OrderSourceType == 1 || msg.OrderSourceType == 3"> <div class="col-3" v-if="msg.OrderSourceType == 1 || msg.OrderSourceType == 3">
<q-select filled clearable stack-label v-model="msg.OrderSourceId" dense :options="myEmployeeList" use-input <q-select filled clearable stack-label v-model="msg.OrderSourceId" dense :options="myEmployeeList" use-input
@input="getList" label="人员" @filter="filterEmployee" option-label="EmployeeName" option-value="Id" @input="getList" label="人员" @filter="filterEmployee" option-label="EmployeeName" option-value="Id"
...@@ -106,6 +108,7 @@ ...@@ -106,6 +108,7 @@
<div class="col-3"> <div class="col-3">
<q-input filled dense v-model="msg.OrderId" @keyup.enter.native="resetSearch()" label="订单号" /> <q-input filled dense v-model="msg.OrderId" @keyup.enter.native="resetSearch()" label="订单号" />
</div> </div>
</template>
</div> </div>
</div> </div>
<div class="page-search row items-center" style="justify-content: space-between;"> <div class="page-search row items-center" style="justify-content: space-between;">
...@@ -191,6 +194,9 @@ ...@@ -191,6 +194,9 @@
import { import {
EduDownLoad, EduDownLoad,
} from '../../../api/common/common'; } from '../../../api/common/common';
import {
mapState
} from "vuex";
export default { export default {
meta: { meta: {
title: "业绩提成统计" title: "业绩提成统计"
...@@ -279,6 +285,21 @@ ...@@ -279,6 +285,21 @@
isEdit: false isEdit: false
} }
}, },
computed: mapState({
//是否有下载权限
isReturnperiods(state) {
if (state.user.userInfo && state.user.userInfo.ActionMenuList && state.user.userInfo.ActionMenuList.length >
0) {
let action = state.user.userInfo.ActionMenuList.find(x => {
if (x.FunctionCode == "Edit_Returnperiods") {
return x;
}
});
return action && action.FunctionCode;
}
return false;
}
}),
created() { created() {
let userinfo = this.getLocalStorage(); let userinfo = this.getLocalStorage();
userinfo.ActionMenuList.map(x => { //判断权限 userinfo.ActionMenuList.map(x => { //判断权限
......
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