Commit 1eccdcb9 authored by liudong1993's avatar liudong1993

1

parent 5cca1bba
......@@ -14,6 +14,12 @@
@change="GetRankingList">
<el-option v-for="(x,i) in rankTypeList" :key="i" :label="x.name" :value="x.id"></el-option>
</el-select>
<el-select v-model="rankMsg.CustomerSourceType" size="mini" style="width:120px;" placeholder="客户来源" v-if="rankMsg.RankType==1" @change="GetRankingList">
<el-option v-for="item in SourceEnumList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
<div class="time-box" v-if="diyDateRange==''">
<el-button plain size="mini" class="hide_input_time" style="margin:0 25px;">自定义日期
<el-date-picker v-model="diyDateRange" type="daterange" align="right" unlink-panels ref="diydateRef"
......@@ -441,6 +447,7 @@
rankType: 1,
rankType2: "1",
RankingList: [],
SourceEnumList: [],
Briefing: {
model: {
TotalPrice: 0,
......@@ -536,6 +543,7 @@
},
},
mounted() {
this.GetCustomerSourceEnum();
this.changeRankTypeHandler();
this.GetBriefing();
},
......@@ -643,6 +651,13 @@
}
);
},
GetCustomerSourceEnum() {
this.apipost("/api/Customer/GetCustomerSourceEnum", {}, (res) => {
if (res.data.resultCode == 1) {
this.SourceEnumList = res.data.data;
}
});
},
},
};
</script>
......
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