Commit db460a62 authored by Mac's avatar Mac

修改学生状态和新增合同状态

parent 11900349
...@@ -33,11 +33,9 @@ th:first-child{position: sticky;left:0px;} ...@@ -33,11 +33,9 @@ th:first-child{position: sticky;left:0px;}
option-label="Name" option-value="Id" emit-value map-options label="客户类型" /> option-label="Name" option-value="Id" emit-value map-options label="客户类型" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" dense filled v-model="msg.StuGuestState" :options="customState" option-label="Name" <q-select @input="resetSearch" dense filled v-model="msg.StuStage" :options="customState" option-label="Name"
option-value="Id" emit-value map-options label="客户状态" clearable /> option-value="Id" emit-value map-options label="客户状态" clearable />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" dense filled option-value="Id" option-label="Name" v-model="msg.BelongType" <q-select @input="resetSearch" dense filled option-value="Id" option-label="Name" v-model="msg.BelongType"
:options="BelongTypeList" emit-value map-options label="归属类型" /> :options="BelongTypeList" emit-value map-options label="归属类型" />
...@@ -64,6 +62,11 @@ th:first-child{position: sticky;left:0px;} ...@@ -64,6 +62,11 @@ th:first-child{position: sticky;left:0px;}
<q-select @input="resetSearch" dense filled option-value="Id" option-label="Name" v-model="msg.Q_EnrollState" <q-select @input="resetSearch" dense filled option-value="Id" option-label="Name" v-model="msg.Q_EnrollState"
:options="FTypeList" emit-value map-options label="报名状态" /> :options="FTypeList" emit-value map-options label="报名状态" />
</div> </div>
<div class="col-3">
<q-select @input="resetSearch" dense filled option-value="Id" option-label="Name" v-model="msg.StuGuestState" clearable
:options="hetongList" emit-value map-options label="合同状态"
/>
</div>
</div> </div>
</div> </div>
...@@ -107,7 +110,7 @@ th:first-child{position: sticky;left:0px;} ...@@ -107,7 +110,7 @@ th:first-child{position: sticky;left:0px;}
<div style="display: flex;align-items: center;justify-content: space-between;">{{props.row.FUTime}} <div style="display: flex;align-items: center;justify-content: space-between;">{{props.row.FUTime}}
<span style="text-decoration: underline;cursor: pointer;color: #2961fe ;" v-if="props.row.FURemark" @click="lookgengduo(props.row)">更多</span> <span style="text-decoration: underline;cursor: pointer;color: #2961fe ;" v-if="props.row.FURemark" @click="lookgengduo(props.row)">更多</span>
</div> </div>
<div style="max-width: 300px;overflow: hidden;white-space: normal;word-break:break-all;max-height: 40px;" v-if="props.row.FURemark" v-html="props.row.FURemark"></div> <div style="max-width: 200px;overflow: hidden;white-space: normal;word-break:break-all;max-height: 40px;" v-if="props.row.FURemark" v-html="props.row.FURemark"></div>
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
...@@ -171,11 +174,12 @@ export default { ...@@ -171,11 +174,12 @@ export default {
QQ:'', QQ:'',
WeChatNo:'', WeChatNo:'',
StuType:'',//学生类型 StuType:'',//学生类型
StuGuestState:'',//状态 StuGuestState:'',//合同状态
BelongType:'1',//归属类型(1-全部,2-我负责的,3-我协同的,4 下属) BelongType:'1',//归属类型(1-全部,2-我负责的,3-我协同的,4 下属)
Q_EnrollState:'0',//报名状态 1已报名 2未成交 0不限 Q_EnrollState:'2',//报名状态 1已报名 2未成交 0不限
IsQueryMyStu:'1',//是否我协助的 1是 2否 IsQueryMyStu:'1',//是否我协助的 1是 2否
CreateIds: [], CreateIds: [],
StuStage:'',//客户状态
}, },
...@@ -187,6 +191,7 @@ export default { ...@@ -187,6 +191,7 @@ export default {
isMyStuList:[{Id:'-1',Name:'不限'},{Id:'1',Name:'是'},{Id:'0',Name:'否'},], isMyStuList:[{Id:'-1',Name:'不限'},{Id:'1',Name:'是'},{Id:'0',Name:'否'},],
FTypeList:[{Id:'0',Name:'不限'},{Id:'1',Name:'已报名'},{Id:'2',Name:'未成交'},], FTypeList:[{Id:'0',Name:'不限'},{Id:'1',Name:'已报名'},{Id:'2',Name:'未成交'},],
BelongTypeList:[{Id:'1',Name:'全部'},{Id:'2',Name:'我负责的'},{Id:'3',Name:'我协同的'},{Id: 4, Name: "我下属的" }], BelongTypeList:[{Id:'1',Name:'全部'},{Id:'2',Name:'我负责的'},{Id:'3',Name:'我协同的'},{Id: 4, Name: "我下属的" }],
hetongList:[{Id:'1',Name:'正常'},{Id:'2',Name:'退学'},{Id:'5',Name:'停课'},{Id:'7',Name:'毕业'},],
dateArray: [], //日期数组 dateArray: [], //日期数组
columns: [{ columns: [{
name: "StuName", name: "StuName",
...@@ -225,12 +230,12 @@ export default { ...@@ -225,12 +230,12 @@ export default {
align: "left" align: "left"
}, },
{ // {
name: "CourseName", // name: "CourseName",
label: "报名课程", // label: "报名课程",
field: "CourseName", // field: "CourseName",
align: "left" // align: "left"
}, // },
{ {
name: "JapanBaseInfo", name: "JapanBaseInfo",
......
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