Commit 7def1715 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/xiangwei/horse

parents 528bcda8 90b38508
...@@ -14,24 +14,24 @@ import Axios from './axios' ...@@ -14,24 +14,24 @@ import Axios from './axios'
* @property {string} password -用户密码 * @property {string} password -用户密码
*/ */
interface CutomerParams { interface CutomerParams {
PageIndex: number, PageIndex: number
PageSize: number, PageSize: number
pageCount: number, pageCount: number
CorpName: string, //企业名称 CorpName: string //企业名称
CustomerName: string, //备注名 CustomerName: string //备注名
WeChatName: string, //昵称 WeChatName: string //昵称
CustomerMobile: string, //手机号码 CustomerMobile: string //手机号码
CreateSTime: string, //创建开始时间 CreateSTime: string //创建开始时间
CreateETime: string, //创建结束时间 CreateETime: string //创建结束时间
FriendSTime: string, //好友开始时间 FriendSTime: string //好友开始时间
FriendETime: string, //好友结束时间 FriendETime: string //好友结束时间
Q_NotFollowUpDay: number, //几天未跟进 Q_NotFollowUpDay: number //几天未跟进
Q_Friends: string, //好友关系 多选逗号分隔、 Q_Friends: string //好友关系 多选逗号分隔、
Q_AddWay: string, //获取来源 多选英文逗号分隔 Q_AddWay: string //获取来源 多选英文逗号分隔
EmpId: number, //员工id EmpId: number //员工id
CustomerType: number, //类型1微信用户 2企业微信用户 CustomerType: number //类型1微信用户 2企业微信用户
SelectList: Array<any>, //自定义查询 SelectList: Array<any> //自定义查询
OrderBy: number, //排序 OrderBy: number //排序
AddCondition: number //查询条件 AddCondition: number //查询条件
} }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<div class="flex-center"> <div class="flex-center">
<q-icon name="work" color="primary" v-if="item.Type == '1'" /> <q-icon name="work" color="primary" v-if="item.Type == '1'" />
<q-icon name="person" color="accent" v-if="item.Type == '2'" /> <q-icon name="person" color="accent" v-if="item.Type == '2'" />
<span class="q-ml-sm">{{ item.Name }}</span> <span class="q-ml-sm">{{ item.DeptName }}</span>
</div> </div>
<q-icon name="cancel" @click="delItem(item.Id, index)"></q-icon> <q-icon name="cancel" @click="delItem(item.Id, index)"></q-icon>
</div> </div>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<q-card-actions align="right" class="bg-white text-teal"> <q-card-actions align="right" class="bg-white text-teal">
<q-btn flat label="取消" v-close-popup /> <q-btn flat label="取消" v-close-popup />
<q-btn color="primary" @click="goback" flat label="确定" /> <q-btn color="primary" @click="goback" unelevated label="确定" />
</q-card-actions> </q-card-actions>
</q-card> </q-card>
</q-dialog> </q-dialog>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
} }
interface SelectParams { interface SelectParams {
Id: string Id: string
Name: string DeptName: string
Type: number Type: number
} }
export default { export default {
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
flag = false flag = false
} else { } else {
ticketArr.value = JSON.parse(JSON.stringify(props.defaultArray)) ticketArr.value = JSON.parse(JSON.stringify(props.defaultArray))
console.log('默认值',ticketArr.value) console.log('默认值',ticketArr.value)
} }
} }
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
if (flag == true) { if (flag == true) {
selectArray.value.push({ selectArray.value.push({
Id: j[props.nodeKey], Id: j[props.nodeKey],
Name: j.DeptName, DeptName: j.DeptName,
Type: j.DataType Type: j.DataType
}) })
} else { } else {
......
...@@ -31,11 +31,10 @@ export default { ...@@ -31,11 +31,10 @@ export default {
const myAllCol = computed(() => { const myAllCol = computed(() => {
return props.allCol return props.allCol
}) })
const showCol = computed(() => { const showCol = computed(() => {
console.log(props.modelValue)
return props.modelValue return props.modelValue
}) })
const changeVisible = (e) => { const changeVisible = (e) => {
if (e.visible) { if (e.visible) {
showCol.value.push(e.value) showCol.value.push(e.value)
...@@ -43,7 +42,6 @@ export default { ...@@ -43,7 +42,6 @@ export default {
showCol.value.splice(showCol.value.indexOf(e.value), 1) showCol.value.splice(showCol.value.indexOf(e.value), 1)
} }
context.emit('update:modelValue', showCol.value) context.emit('update:modelValue', showCol.value)
console.log(showCol.value)
} }
return { myAllCol, scrollStyle, changeVisible } return { myAllCol, scrollStyle, changeVisible }
......
...@@ -283,7 +283,6 @@ ...@@ -283,7 +283,6 @@
} }
] ]
const init = () => { const init = () => {
console.log('init', props.defaultData)
if (props.defaultData && props.defaultData.length > 0) { if (props.defaultData && props.defaultData.length > 0) {
addMsg.value = [] addMsg.value = []
props.defaultData.map((e: any) => { props.defaultData.map((e: any) => {
...@@ -410,7 +409,6 @@ ...@@ -410,7 +409,6 @@
IsCustom: 2 IsCustom: 2
} }
filedList.value.unshift(obj2) filedList.value.unshift(obj2)
console.log('标签', filedList.value)
}) })
} }
const deleteadd = index => { const deleteadd = index => {
...@@ -463,7 +461,6 @@ ...@@ -463,7 +461,6 @@
let find2: any = addMsg.value.find(e => { let find2: any = addMsg.value.find(e => {
return e.Id == 17 return e.Id == 17
}) })
console.log('生日2', find2)
if (find2) { if (find2) {
filedList.value.map(_e => { filedList.value.map(_e => {
if (_e.Id == 17) { if (_e.Id == 17) {
...@@ -568,7 +565,6 @@ ...@@ -568,7 +565,6 @@
const newVal=JSON.parse(JSON.stringify(val)) const newVal=JSON.parse(JSON.stringify(val))
const s= dayjs(newVal[0]).format(format) const s= dayjs(newVal[0]).format(format)
const e= dayjs(newVal[1]).format(format) const e= dayjs(newVal[1]).format(format)
console.log(570,val,s,e)
addMsg.value[y].StartValue = s addMsg.value[y].StartValue = s
addMsg.value[y].EndValue = e addMsg.value[y].EndValue = e
} }
......
This diff is collapsed.
This diff is collapsed.
...@@ -36,14 +36,14 @@ ...@@ -36,14 +36,14 @@
v-if="x.Id.slice(0, 1) == '1'" v-if="x.Id.slice(0, 1) == '1'"
text-color="white" text-color="white"
icon="work" icon="work"
:label="x.Name" :label="x.DeptName"
></q-chip> ></q-chip>
<q-chip <q-chip
color="primary" color="primary"
v-if="x.Id.slice(0, 1) == '2'" v-if="x.Id.slice(0, 1) == '2'"
text-color="white" text-color="white"
icon="person" icon="person"
:label="x.Name" :label="x.DeptName"
></q-chip> ></q-chip>
</div> </div>
</div> </div>
......
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