Commit ed4cf414 authored by 黄奎's avatar 黄奎

页面修改

parent b4394b76
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<q-btn color="accent" class="q-mr-md" size="sm" icon="swap_horiz" label="转留学" <q-btn color="accent" class="q-mr-md" size="sm" icon="swap_horiz" label="转留学"
:disable="selection.length === 0" @click="transferAbroad" /> :disable="selection.length === 0" @click="transferAbroad" />
<q-btn color="accent" class="q-mr-md" size="sm" icon="add" label="新增学员" @click="EditStudent(null)" /> <q-btn color="accent" class="q-mr-md" size="sm" icon="add" label="新增学员" @click="EditStudent(null)" />
<q-btn v-if="authObj && authObj.isShowDownload" color="accent" class="q-mr-md" size="sm" icon="download" <q-btn v-if="authObj && authObj.isShowDownload&&IsDownLoadStu()" color="accent" class="q-mr-md" size="sm" icon="download"
label="下载" @click="downloadStudent" /> label="下载" @click="downloadStudent" />
</div> </div>
<div class="page-option" v-if="pushMode"> <div class="page-option" v-if="pushMode">
...@@ -527,6 +527,22 @@ ...@@ -527,6 +527,22 @@
...mapGetters(["logo", "name"]) ...mapGetters(["logo", "name"])
}, },
methods: { methods: {
//是否有下载客户资料权限
IsDownLoadStu() {
var isHaveAuth = false;
if (
this.userInfo &&
this.userInfo.ActionMenuList &&
this.userInfo.ActionMenuList.length > 0
) {
this.userInfo.ActionMenuList.forEach(x => {
if (x.FunctionCode == "DownLoad_Stu") {
isHaveAuth = true;
}
});
}
return isHaveAuth;
},
//是否有查看客户来源和来源关联人权限 //是否有查看客户来源和来源关联人权限
IsShowStuSourceIdName(item) { IsShowStuSourceIdName(item) {
var isHaveAuth = false; var isHaveAuth = false;
...@@ -784,6 +800,7 @@ ...@@ -784,6 +800,7 @@
this.refreshStuList(); this.refreshStuList();
this.selection = []; this.selection = [];
this.pushMode = false; this.pushMode = false;
this.pushing=false;
}); });
} else { } else {
this.pushing = false; this.pushing = false;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
maxlength="20" /> maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @keyup.enter.native="resetSearch" dense clearable filled v-model="msg.WechatNo" label="微信号" <q-input @keyup.enter.native="resetSearch" dense clearable filled v-model="msg.WeChatNo" label="微信号"
maxlength="20" /> maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
CustomerId: 0, //同行联系人编号 CustomerId: 0, //同行联系人编号
CategoryId: "", //同行编号 CategoryId: "", //同行编号
QQ: "", QQ: "",
WechatNo: "", WeChatNo: "",
StuType: "", StuType: "",
CreateIds: [], CreateIds: [],
ExistCourseConsultant: "", //是否存在课程顾问(1-存在,2=不存在) ExistCourseConsultant: "", //是否存在课程顾问(1-存在,2=不存在)
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<q-input @keyup.enter="resetSearch" @clear="resetSearch" dense clearable filled v-model="msg.QQ" label="QQ" maxlength="20" /> <q-input @keyup.enter="resetSearch" @clear="resetSearch" dense clearable filled v-model="msg.QQ" label="QQ" maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @keyup.enter="resetSearch" @clear="resetSearch" dense clearable filled v-model="msg.WechatNo" label="微信号" maxlength="20" /> <q-input @keyup.enter="resetSearch" @clear="resetSearch" dense clearable filled v-model="msg.WeChatNo" label="微信号" maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" dense filled v-model="msg.StuType" :options="customTypeList" <q-select @input="resetSearch" dense filled v-model="msg.StuType" :options="customTypeList"
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
StartTime: "", //开始时间 StartTime: "", //开始时间
EndTime: "", //结束时间 EndTime: "", //结束时间
QQ: '', QQ: '',
WechatNo: '', WeChatNo: '',
StuType: '', StuType: '',
QStudentStatus: 1, //客户状态 1有效 2无效 QStudentStatus: 1, //客户状态 1有效 2无效
AdvisorStatus: '', //当前状态 AdvisorStatus: '', //当前状态
......
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