Commit 8e91943d authored by 黄奎's avatar 黄奎

页面修改

parent 0d0f506a
...@@ -132,64 +132,10 @@ ...@@ -132,64 +132,10 @@
</template> </template>
</q-td> </q-td>
</template> </template>
<template> <template v-slot:body-cell-Option="props">
<div class="fangkeTitle" ref="fkdj">访客登记</div> <q-td :props="props">
<span class="fangkeNumb">{{ data.length }}</span> <q-btn dense flat color="primary" label="添加试听" @click="CreateReserveclass(props.row)"></q-btn>
<div class="visit_Date"> </q-td>
<i class="iconfont icon-img-rili" style=""></i>{{ saveObj.PlanDate }}
</div>
<q-space />
<div class="page-option" style="margin-right:20px;width:250px;">
<el-input placeholder="姓名/电话/微信" v-model="msg.KeyWords" @input="resetSearch">
<i slot="prefix" class="el-input__icon el-icon-search"></i>
</el-input>
</div>
<div class="page-option addVisit">
<el-popover placement="left" popper-class="scheduVipop" width="300" trigger="click">
<div>
<el-form label-width="80px" :model="addMsg" ref="addMsg1" :rules="rules" style="margin-top:10px;"
class="visit_FORM">
<el-form-item label="姓名" prop="Name">
<el-input v-model="addMsg.Name" placeholder="请输入姓名"></el-input>
</el-form-item>
<el-form-item label="电话" prop="Tel">
<el-input v-model="addMsg.Tel" placeholder="请输入电话号码"></el-input>
</el-form-item>
<el-form-item label="微信号">
<el-input v-model="addMsg.WeChatNum" placeholder="请输入微信号"></el-input>
</el-form-item>
<el-form-item label="兴趣课程" prop="CourseName">
<el-input v-model="addMsg.CourseName" placeholder="请输入兴趣课程"></el-input>
</el-form-item>
<el-form-item label="学习时间" prop="StudyTime">
<el-input v-model="addMsg.StudyTime" placeholder="请输入学习时间"></el-input>
</el-form-item>
<el-form-item label="当前水平" prop="LevelType">
<el-select v-model="addMsg.LevelType" style="width:200px;" placeholder="请选择">
<el-option v-for="item in GBList" :key="item.Id" :label="item.Name" :value="item.Name">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="状态" prop="VisitorStatus">
<el-select v-model="addMsg.VisitorStatus" style="width:200px;" placeholder="请选择">
<el-option v-for="item in statusList" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="意向评估" prop="Evaluate">
<el-input v-model="addMsg.Evaluate" placeholder="请输入意向评估"></el-input>
</el-form-item>
<el-form-item label="备注">
<el-input type="textarea" v-model="addMsg.Remark" :rows="4" placeholder="请输入备注"></el-input>
</el-form-item>
</el-form>
<q-btn color="accent" size="sm" @click="submitForm('addMsg1')" style="float:right;margin-bottom:10px;"
label="保存" />
</div>
<q-btn color="accent" slot="reference" size="sm" icon="add" @click="clearAddMsg" label="添加访客"
v-if="DutyAuthObj.isShowAdd" />
</el-popover>
</div>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
...@@ -214,7 +160,7 @@ ...@@ -214,7 +160,7 @@
<q-icon name="edit" color="primary" style="font-size:11px" class="q-mr-xs"></q-icon> <q-icon name="edit" color="primary" style="font-size:11px" class="q-mr-xs"></q-icon>
<span style="font-size:12px;">到访</span> <span style="font-size:12px;">到访</span>
</q-btn> </q-btn>
<q-btn dense flat color="primary" label="添加试听" @click="CreateReserveclass(visitModel)"></q-btn> <q-btn dense flat color="primary" label="添加试听" @click="CreateReserveclass(props.row)"></q-btn>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-IsVisitStr="props"> <template v-slot:body-cell-IsVisitStr="props">
...@@ -292,7 +238,7 @@ ...@@ -292,7 +238,7 @@
<!--试听课弹窗--> <!--试听课弹窗-->
<q-dialog persistent v-model="isShowReserveclass"> <q-dialog persistent v-model="isShowReserveclass">
<q-card flat class="q-pa-md" style="width:800px"> <q-card flat class="q-pa-md" style="width:800px">
<div class="text-h6">新增试听课</div> <div class="text-h6" style="padding-bottom:10px;">新增试听课</div>
<reserveclass-form :save-Obj="stuOption" @close="closeReserveForm" @success="closeReserveForm"> <reserveclass-form :save-Obj="stuOption" @close="closeReserveForm" @success="closeReserveForm">
</reserveclass-form> </reserveclass-form>
</q-card> </q-card>
...@@ -457,6 +403,11 @@ ...@@ -457,6 +403,11 @@
field: "CreateTimeStr", field: "CreateTimeStr",
label: "创建时间", label: "创建时间",
align: "left" align: "left"
},
{
name: "Option",
label: "操作",
field: "Option"
} }
], ],
showAddForm: false, showAddForm: false,
...@@ -684,6 +635,7 @@ ...@@ -684,6 +635,7 @@
methods: { methods: {
//添加试听 //添加试听
CreateReserveclass(item) { CreateReserveclass(item) {
this.stuOption = item;
this.isShowReserveclass = true; this.isShowReserveclass = true;
}, },
//关闭试听弹窗 //关闭试听弹窗
......
...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
<q-btn label="选择试听课" color="accent q-mb-lg" size="sm" @click="isShowTeacher=true" /> <q-btn label="选择试听课" color="accent q-mb-lg" size="sm" @click="isShowTeacher=true" />
</div> </div>
<div class="row studentDate"> <div class="row studentDate">
<q-field filled class="q-pb-lg q-pr-lg" dense> <q-field filled class="col-6 q-pb-lg q-pr-lg" dense>
 <template v-slot:control>  <template v-slot:control>
<el-date-picker v-model="addMsg.ClassDate" ref="ClassDate" :rules="[val => !!val || '请选择预约日期']" <el-date-picker v-model="addMsg.ClassDate" ref="ClassDate" :rules="[val => !!val || '请选择预约日期']"
style="width:225px" size="mini" type="date" placeholder="预约日期" value-format="yyyy-MM-dd"> style="width:225px" size="mini" type="date" placeholder="预约日期" value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</template> </template>
</q-field> </q-field>
<div class="Student_Date col-6 q-pr-lg"> <div class="col-6 q-pr-lg Student_Date ">
<q-field filled class="q-pb-lg" dense> <q-field filled class="q-pb-lg" dense>
 <template v-slot:control>  <template v-slot:control>
<el-time-select v-model="addMsg.ClassTime" size="mini" ref="ClassTime" style="width:50%" :picker-options="{ <el-time-select v-model="addMsg.ClassTime" size="mini" ref="ClassTime" style="width:50%" :picker-options="{
......
...@@ -219,7 +219,6 @@ ...@@ -219,7 +219,6 @@
}, },
watch:{ watch:{
stateId(val){ stateId(val){
console.log(val)
this.stuStageId=val this.stuStageId=val
} }
}, },
......
...@@ -380,7 +380,6 @@ export default { ...@@ -380,7 +380,6 @@ export default {
}, },
validate() { validate() {
let msg = ""; let msg = "";
console.log(this.customObj);
if (!this.customObj.StuName) { if (!this.customObj.StuName) {
msg = "请输入客户名称"; msg = "请输入客户名称";
} else if (!this.customObj.StuTel && !this.customObj.QQ && !this.customObj.WeChatNo) { } else if (!this.customObj.StuTel && !this.customObj.QQ && !this.customObj.WeChatNo) {
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
</div> </div>
<div class="Name_List"> <div class="Name_List">
<div class="F_16">{{baseObj.StuName}}</div> <div class="F_16">{{baseObj.StuName}}</div>
<!-- <div class="wechat_Name">张飞微信</div> -->
</div> </div>
</div> </div>
<div class="custom_HRight" v-if="getJudgeTrans()"> <div class="custom_HRight" v-if="getJudgeTrans()">
......
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
methods: { methods: {
//初始化表单 //初始化表单
init() { init() {
console.log(this.row)
if (this.row?.Id??0 > 0) { if (this.row?.Id??0 > 0) {
this.msg.Id = this.row.Id; this.msg.Id = this.row.Id;
this.msg.Name = this.row.Name; this.msg.Name = this.row.Name;
......
...@@ -171,8 +171,6 @@ export default { ...@@ -171,8 +171,6 @@ export default {
created() { created() {
this.getUserList(); this.getUserList();
let str=Encrypt("2") let str=Encrypt("2")
console.log(str)
console.log(Decrypt(str))
}, },
computed: { computed: {
...mapGetters(["userInfo"]) ...mapGetters(["userInfo"])
......
...@@ -210,8 +210,6 @@ ...@@ -210,8 +210,6 @@
this.showMember = [] this.showMember = []
this.newList = JSON.parse(JSON.stringify(this.list)) this.newList = JSON.parse(JSON.stringify(this.list))
this.huoqucheckedkey() this.huoqucheckedkey()
console.log( this.memberSetCheckedKeys)
console.log( this.showMember)
} }
let _arr = this.sysUserKeys.concat(this.memberSetCheckedKeys) let _arr = this.sysUserKeys.concat(this.memberSetCheckedKeys)
_this.$refs.treeUser.setCheckedKeys(_arr); _this.$refs.treeUser.setCheckedKeys(_arr);
...@@ -240,9 +238,6 @@ ...@@ -240,9 +238,6 @@
this.memberSetCheckedKeys.splice(this.memberSetCheckedKeys.findIndex(item => item === data.DeptId), 1) this.memberSetCheckedKeys.splice(this.memberSetCheckedKeys.findIndex(item => item === data.DeptId), 1)
} }
} }
// console.log( this.memberSetCheckedKeys)
// console.log( '``````````````')
}, },
compare(property){ compare(property){
return function(a,b){ return function(a,b){
......
...@@ -138,7 +138,6 @@ ...@@ -138,7 +138,6 @@
}, },
setFiledState(item,Type) { setFiledState(item,Type) {
console.log('2')
let msg = { let msg = {
Type: Type, Type: Type,
FlowId: item.Id, FlowId: item.Id,
......
...@@ -279,7 +279,6 @@ ...@@ -279,7 +279,6 @@
}) })
}, },
setCauseDel(y,index,x,item){//验证阶段输单/无效的 原因选项是否可以删除 setCauseDel(y,index,x,item){//验证阶段输单/无效的 原因选项是否可以删除
console.log(y,index,x,item)
let Type = 1 let Type = 1
if(x.Name=='无效')Type =2 if(x.Name=='无效')Type =2
let data = { let data = {
......
...@@ -218,7 +218,6 @@ ...@@ -218,7 +218,6 @@
methods: { methods: {
getQ_NotFollowUpDay(e) {//天数为空的处理 getQ_NotFollowUpDay(e) {//天数为空的处理
if (e == null || e == '') { if (e == null || e == '') {
console.log(e)
this.msg.Q_NotFollowUpDay = 1 this.msg.Q_NotFollowUpDay = 1
} }
}, },
...@@ -270,7 +269,6 @@ ...@@ -270,7 +269,6 @@
if (data.Q_Friends.length > 0) { if (data.Q_Friends.length > 0) {
data.Q_Friends = data.Q_Friends.join(',') data.Q_Friends = data.Q_Friends.join(',')
} }
console.log(data)
}, },
getEmployList() { getEmployList() {
...@@ -309,7 +307,6 @@ ...@@ -309,7 +307,6 @@
}) })
}, },
getChild(deptArray) { getChild(deptArray) {
console.log(deptArray)
//数据处理 获取夏利是 1-2 前面代表部门还是人员 后面是原生ID //数据处理 获取夏利是 1-2 前面代表部门还是人员 后面是原生ID
}, },
onMainClick() { onMainClick() {
......
...@@ -246,7 +246,6 @@ ...@@ -246,7 +246,6 @@
this.selectList.push(obj) this.selectList.push(obj)
}, },
getName(item, index) {//选择客户信息的变化 getName(item, index) {//选择客户信息的变化
console.log(item)
for (var i = 0; i < this.filedList.length; i++) { for (var i = 0; i < this.filedList.length; i++) {
if (this.selectList[index].Name == this.filedList[i].Id) { if (this.selectList[index].Name == this.filedList[i].Id) {
this.selectList[index].Type = this.filedList[i].Type; this.selectList[index].Type = this.filedList[i].Type;
...@@ -256,7 +255,6 @@ ...@@ -256,7 +255,6 @@
} }
break break
} }
} }
}, },
showlabel(index) { showlabel(index) {
......
...@@ -312,10 +312,7 @@ export default { ...@@ -312,10 +312,7 @@ export default {
if (x.YFMoney) { if (x.YFMoney) {
obj.YFMoney = this.accAdd(obj.YFMoney,x.YFMoney) obj.YFMoney = this.accAdd(obj.YFMoney,x.YFMoney)
}; };
}) })
console.log(obj)
this.tableData.push(obj) this.tableData.push(obj)
}, },
......
...@@ -123,7 +123,6 @@ ...@@ -123,7 +123,6 @@
//获取分页列表 //获取分页列表
getList() { getList() {
GetPersonnelPeriodDetails(this.msg).then(res => { GetPersonnelPeriodDetails(this.msg).then(res => {
console.log("res", res);
this.dataList = res.Data.PageData this.dataList = res.Data.PageData
this.pageCount = res.Data.PageCount; this.pageCount = res.Data.PageCount;
}); });
......
...@@ -291,7 +291,6 @@ ...@@ -291,7 +291,6 @@
}, },
methods: { methods: {
resetSearch() { resetSearch() {
console.log(this.msg)
this.msg.PageIndex = 1; this.msg.PageIndex = 1;
this.getList() this.getList()
}, },
......
...@@ -456,7 +456,6 @@ export default { ...@@ -456,7 +456,6 @@ export default {
}, },
methods: { methods: {
resetSearch() { resetSearch() {
console.log(this.msg)
this.msg.PageIndex = 1; this.msg.PageIndex = 1;
this.getList() this.getList()
}, },
......
...@@ -110,7 +110,6 @@ ...@@ -110,7 +110,6 @@
this.loading = true; this.loading = true;
GetStudentTypeList({}).then(res => { GetStudentTypeList({}).then(res => {
this.loading = false; this.loading = false;
console.log(res,'数据');
if(res.Code==1){ if(res.Code==1){
this.dataList = res.Data; this.dataList = res.Data;
} }
......
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