Browse Source

init

newStyle
lancer 3 years ago
parent
commit
060eff4af1
1 changed files with 31 additions and 3 deletions
  1. +31
    -3
      src/page/wel.vue

+ 31
- 3
src/page/wel.vue View File

@@ -395,6 +395,20 @@
> >
</el-date-picker> </el-date-picker>
</div> </div>
<el-select
v-model="houseTypes"
@change="sysChange"
style="width: 100px; margin-left: 10px"
placeholder="请选择"
>
<el-option
v-for="item in options2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</div> </div>
<div v-if="role!=2"> <div v-if="role!=2">
<!-- 卡片部分 --> <!-- 卡片部分 -->
@@ -933,7 +947,17 @@ export default {
fraction:'' fraction:''
}, },
info:{}, info:{},

houseTypes: "0,1",
options2: [
{
label: "正式数据",
value: "0,1",
},
{
label: "测试数据",
value: "2,3",
},
],
} }
}, },
mounted() { mounted() {
@@ -969,6 +993,9 @@ export default {


}, },
methods: { methods: {
sysChange() {
this.waitingForOperation()
},
goinfo(row){ goinfo(row){
this.$api.http.findByCusIdcusId({cusId:row.id}).then((res) => { this.$api.http.findByCusIdcusId({cusId:row.id}).then((res) => {
if(res.data.length==0){ if(res.data.length==0){
@@ -1022,7 +1049,7 @@ export default {
}, },
getCurrentTime() { getCurrentTime() {
//获取当前时间并打印 //获取当前时间并打印
  let yy = new Date().getFullYear();
let yy = new Date().getFullYear();
  let mm = new Date().getMonth()+1;   let mm = new Date().getMonth()+1;
if(mm<10){ if(mm<10){
mm='0'+mm mm='0'+mm
@@ -1051,7 +1078,8 @@ export default {
orderBy:1, orderBy:1,
startDate: this.statDateStart, startDate: this.statDateStart,
endDate:this.statDateEnd, endDate:this.statDateEnd,
orgType: localStorage.getItem("orgType"),
orgType: localStorage.getItem("orgType"),
houseTypes: this.houseTypes,
} }
if(this.role==1){ if(this.role==1){
obj.agentId=localStorage.getItem('agentId')/1 obj.agentId=localStorage.getItem('agentId')/1


Loading…
Cancel
Save