You need to sign in or sign up before continuing.
Commit 3bae3a4c by huaying

fix: 客户日志接口对接

parent b87501d9
......@@ -9,9 +9,6 @@
clearable
:props="{ checkStrictly: true }"
@change="filterMethod">
<template slot-scope="{data}">
<span>{{data.operTypeName || data.openReasonName}}</span>
</template>
</el-cascader>
<el-date-picker style="width: 256px; margin-left:10px;" v-model="dateDefault" type="daterange" range-separator="~" start-placeholder="创建开始日期" end-placeholder="创建结束日期" :default-time="['00:00:00', '23:59:59']" :picker-options="pickerOptions()" value-format="yyyy-MM-dd" @change="handleSearch"> </el-date-picker>
<p class="font14 tip-p" v-if="!memberId">展示近一年的日志</p>
......@@ -88,39 +85,7 @@ export default {
endTime: ''
},
totalCount: 0,
options: [
// {
// value: 'zhinan',
// label: '指南',
// children: [{
// value: 'shejiyuanze',
// label: '设计原则',
// children: [{
// value: 'yizhi',
// label: '一致'
// }, {
// value: 'fankui',
// label: '反馈'
// }, {
// value: 'xiaolv',
// label: '效率'
// }, {
// value: 'kekong',
// label: '可控'
// }]
// }, {
// value: 'daohang',
// label: '导航',
// children: [{
// value: 'cexiangdaohang',
// label: '侧向导航'
// }, {
// value: 'dingbudaohang',
// label: '顶部导航'
// }]
// }]
// }
]
options: []
};
},
created() {
......@@ -131,7 +96,14 @@ export default {
methods: {
// 级联搜索
filterMethod(e) {
console.log(e);
console.log(e[0],e[1]);
if(e[0]) {
this.logPageParam.operType = e[0];
}else if (e[1]) {
this.logPageParam.operReason = e[1]
}
this.logPageParam.currentPage = 1;
this.getLogPage();
},
// 客户日志类型列表
getLogTypeData() {
......
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