Commit 23d0d818 authored by lvshibao's avatar lvshibao

数据分析-违规项分析

parent 5b1bca4d
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
end-placeholder="结束日期" end-placeholder="结束日期"
:default-time="['00:00:00', '23:59:59']"> :default-time="['00:00:00', '23:59:59']">
</el-date-picker> </el-date-picker>
<el-select v-model="taskvalue" filterable placeholder="请选择" @change="changeTask"> <el-select v-if="sel_is_show == true" v-model="taskvalue" filterable placeholder="请选择" @change="changeTask">
<el-option <el-option
v-for="item in taskList" v-for="item in taskList"
:key="item.id" :key="item.id"
......
...@@ -31,6 +31,7 @@ new Vue({ ...@@ -31,6 +31,7 @@ new Vue({
"validate_session": 0, "validate_session": 0,
"ratio": 0, "ratio": 0,
}, },
sel_is_show: true,
loading: true, loading: true,
poptableData: [], poptableData: [],
tableData: [] tableData: []
...@@ -160,6 +161,12 @@ new Vue({ ...@@ -160,6 +161,12 @@ new Vue({
return false; return false;
} }
that.titleInfo = data.data; that.titleInfo = data.data;
if (['合肥', '芜湖', '淮北', '安庆', '黄山', '滁州', '阜阳', '亳州', '宿州', '六安', '宣城', '巢湖', '池州', '淮南', '安徽省营业部', '蚌埠', '马鞍山', '铜陵'].indexOf(data.username) !== -1) {
that.sel_is_show = false;
that.taskvalue = data.username;
} else {
that.sel_is_show = true;
}
//this.$loading().close(); //this.$loading().close();
}) })
}, },
......
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