Commit 4ce57196 by crushh

update: 去除任务视图详情逾期下拉

parent 6a764aa5
......@@ -18,7 +18,7 @@ module.exports = {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/haoban-3/',
// proxyTable: proxyConfig.proxyList,
proxyTable: proxyConfig.proxyList,
// Various Dev Server settings
// host: '0.0.0.0', // can be overwritten by process.env.HOST
......
......@@ -23,9 +23,10 @@ import { Message } from 'element-ui';
Vue.axios.defaults.timeout = 500000;
// let local = window.location.origin;
// eslint-disable-next-line
let local = process.env.NODE_ENV == 'development' ? 'https://www.gicdev.com/' : '';
let local = process.env.NODE_ENV == 'development' ? 'http://localhost:8006' : '';
/* if (local.indexOf('localhost') != -1) {
local = 'https://www.gicdev.com';
http://localhost:8006
} */
let axiosPromiseArr = []; //储存cancel toke
let pending = []; //声明一个数组用于存储每个ajax请求的取消函数和ajax标识
......
......@@ -17,9 +17,6 @@ import taskViewDetail from '@/components/app/taskViewDetail.vue';
<div class="table-condition-left">
<el-input placeholder="请输入门店名称" maxlength="50" v-model="conditionObj.searchInput" class="w-264" style="width: 264px;" @keyup.native="value => toInput(value, conditionObj.searchInput)"> <i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input>
<gic-select-group :brandId="brandId" class="m-l-10" :width="213" :selectData="conditionObj.storeGroup" @checkGroupIds="checkGroupIds"> </gic-select-group>
<el-select v-model="conditionObj.isOverTime" placeholder="请选择" class="w-135 m-l-10" @change="changeSelect">
<el-option v-for="item in overOptions" :key="item.value" :label="item.label" :value="item.value"> </el-option>
</el-select>
<el-date-picker class="m-l-10" v-model="conditionObj.dateRange" @change="changeDate" :editable="false" :value-format="'yyyy-MM-dd'" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
</div>
<div class="table-condition-right">
......@@ -153,44 +150,11 @@ export default {
total: 0,
loadingBtn: false,
tableRefresh: false,
exportDialog: false,
overOptions: [
{
label: '所有逾期情况',
value: ''
},
{
label: '逾期未失效',
value: '2'
},
{
label: '逾期已失效',
value: '3'
},
{
label: '已逾期',
value: '1'
},
{
label: '未逾期',
value: '0'
}
]
exportDialog: false
};
},
computed: {},
methods: {
changeSelect(e) {
const that = this;
if (!e) {
that.$store.dispatch('changeSales', []);
} else {
that.$store.dispatch('changeSales', e);
}
that.currentPage = 1;
that.getTableList();
},
beforeExportExcel() {
if (!this.multipleSelection.length) {
showMsg.showmsg('请选择门店', 'warning');
......
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