Commit 4f7ef4aa by 彭祥礼

部分页面优化调整

parent 1d566b93
......@@ -5,7 +5,7 @@
<!-- 搜索区域 -->
<a-form layout="inline">
<a-row :gutter="24">
<a-col :md="5" :sm="8">
<a-col :md="4" :sm="8">
<a-form-item label="订单编号:">
<a-input placeholder="订单编号" v-model="queryParam.orderNum" style="width: 12rem;"></a-input>
</a-form-item>
......@@ -40,7 +40,7 @@
</a-select>
</a-form-item>
</a-col>
<a-col :md="6" :sm="12">
<a-col :md="5" :sm="10">
<a-form-item label="学校">
<a-select v-model="queryParam.schoolName" style="width: 18rem;">
<a-select-option key="">--全部--</a-select-option>
......@@ -49,7 +49,7 @@
</a-select>
</a-form-item>
</a-col>
<a-col :md="6" :sm="6">
<a-col :md="5" :sm="10">
<a-form-item label="创建时间">
<a-range-picker @change="onChange" />
<!--<a-range-picker
......
......@@ -42,7 +42,7 @@
<span v-if="text=='0'">正常</span>
<span v-else>下架</span>
</template>
<template slot="operation" slot-scope="text, record">
<template slot="operation" slot-scope="text,record">
<span>
<a @click="modifyfunction(record)">修改</a>
<a-divider type="vertical"/>
......@@ -121,8 +121,7 @@
<a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 9, offset: 1}" label="适用学校:">
<a-select v-model="universityName" style="width: 330px">
<a-select-option @click="universitySchoolName('请选择')" value="请选择">请选择</a-select-option>
<a-select-option @click="universitySchoolName(item)" v-for="item in universitySchool"
:value="item.universityId">
<a-select-option @click="universitySchoolName(item)" v-for="item in universitySchool" :value="item.universityId">
{{item.universityName}}
</a-select-option>
</a-select>
......@@ -202,6 +201,7 @@
productState: '' // 宽带狀態
},
modelData: {
productId: '',
universityId: '',
productMealPrice: '',
productMeal: '',
......@@ -210,7 +210,6 @@
productPrice: '',
productRegion: '',
productRate: '',
productId: '',
productIntroduction:'',
productSetMealIntroduction:'',
productRf2:'',
......@@ -338,7 +337,7 @@
this.chouti = value
}
})
console.log(this.universitySchool)
//console.log(this.universitySchool)
})
if (data != undefined) {
this.productIntroduction = data.productIntroduction
......@@ -412,6 +411,7 @@
} else {
let obj = that.modelData;
let product = JSON.stringify(obj);
console.log(product)
productUpdate({product}).then((res) => {
this.modifyvisible = false;
this.clearmodel()
......@@ -421,6 +421,7 @@
this.search()
})
}
this.modelData.productId = ''
})
},
createfunctionCancel() {
......
......@@ -10,12 +10,12 @@
<a-input placeholder="" v-model="queryParam.name"></a-input>
</a-form-item>
</a-col>
<a-col :md="4" :sm="10">
<a-col :md="4" :sm="8">
<a-form-item label="放号账号">
<a-input placeholder="" v-model="queryParam.account"></a-input>
</a-form-item>
</a-col>
<a-col :md="4" :sm="2">
<a-col :md="4" :sm="4">
<a-form-item label="县分">
<a-select v-model="queryParam.salesSubst" @change="getSchoolNames">
<a-select-option key="">--全部--</a-select-option>
......@@ -37,28 +37,22 @@
<a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 18, offset: 1}" label="职位">
<a-select placeholder="--全部--" v-model="queryParam.position">
<a-select-option key="">--全部--</a-select-option>
<a-select-option key="副主席">副主席</a-select-option>
<a-select-option key="总经理">总经理</a-select-option>
<a-select-option key="督导">督导</a-select-option>
<a-select-option key="楼长">楼长</a-select-option>
<a-select-option key="成员">成员</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col :md="4" :sm="12">
<a-col :md="4" :sm="8">
<a-form-item label="上级领导">
<a-input placeholder="" v-model="queryParam.leader"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="12">
<a-col :md="5" :sm="10">
<a-form-item label="激活时间">
<a-range-picker
:placeholder="['开始月份', '结束月份']"
format="YYYYMM"
:value="queryParam.activateTime"
:mode="tempMode"
@panelChange="handlePanelChange"
@change="handleChange"
style="width: 16rem;"
/>
<a-range-picker :placeholder="['开始时间', '结束时间']" @change="onChange" v-model="queryParam.activateTime"/>
</a-form-item>
</a-col>
<span class="table-page-search-submitButtons" style="float: left; overflow: hidden;">
......@@ -267,14 +261,10 @@
},
methods:{
moment,
handlePanelChange(value, mode) {
this.queryParam.activateTime = value;
this.tempMode = [mode[0] === 'date' ? 'month' : mode[0], mode[1] === 'date' ? 'month' : mode[1]];
//console.log("this.tempMode=================="+this.tempMode);
},
handleChange(value) {
this.queryParam.activateTime = []
console.log(value)
onChange(date, dateString) {
//this.queryParam.uploadDate = dateString;
//this.queryParam.activateTime = value;
console.log(dateString);
},
search() {
this.$refs.table.refresh({search: true})
......
......@@ -37,32 +37,27 @@
<a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 18, offset: 1}" label="职位">
<a-select placeholder="--全部--" v-model="queryParam.position">
<a-select-option key="">--全部--</a-select-option>
<a-select-option key="副主席">副主席</a-select-option>
<a-select-option key="总经理">总经理</a-select-option>
<a-select-option key="督导">督导</a-select-option>
<a-select-option key="楼长">楼长</a-select-option>
<a-select-option key="成员">成员</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col :md="4" :sm="12">
<a-col :md="4" :sm="8">
<a-form-item label="上级领导">
<a-input placeholder="" v-model="queryParam.leader"></a-input>
</a-form-item>
</a-col>
<a-col :md="4" :sm="12">
<a-col :md="4" :sm="8">
<a-form-item label="上级总经理">
<a-input placeholder="" v-model="queryParam.president"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="12">
<a-col :md="5" :sm="10">
<a-form-item label="激活时间">
<a-range-picker
:placeholder="['开始月份', '结束月份']"
format="YYYYMM"
:value="queryParam.activateTime"
:mode="tempMode"
@panelChange="handlePanelChange"
style="width: 16rem;"
/>
<a-range-picker :placeholder="['开始时间', '结束时间']" @change="onChange" v-model="queryParam.activateTime"/>
</a-form-item>
</a-col>
<span class="table-page-search-submitButtons" style="float: left; overflow: hidden;">
......@@ -278,10 +273,10 @@
},
methods:{
moment,
handlePanelChange(value, mode) {
this.queryParam.activateTime = value;
this.tempMode = [mode[0] === 'date' ? 'month' : mode[0], mode[1] === 'date' ? 'month' : mode[1]];
//console.log("this.tempMode=================="+this.tempMode);
onChange(date, dateString) {
//this.queryParam.uploadDate = dateString;
//this.queryParam.activateTime = value;
console.log(dateString);
},
search() {
this.$refs.table.refresh({search: true})
......
......@@ -5,12 +5,12 @@
<!-- 搜索区域 -->
<a-form layout="inline">
<a-row :gutter="24">
<a-col :md="4" :sm="8">
<a-col :md="3" :sm="6">
<a-form-item label="账号">
<a-input placeholder="账号" v-model="queryParam.account" style="width: 8rem;"></a-input>
</a-form-item>
</a-col>
<a-col :md="4" :sm="8">
<a-col :md="3" :sm="6">
<a-form-item label="姓名">
<a-input placeholder="姓名" v-model="queryParam.name" style="width: 8rem;"></a-input>
</a-form-item>
......@@ -24,7 +24,7 @@
</a-select>
</a-form-item>
</a-col>
<a-col :md="6" :sm="12">
<a-col :md="5" :sm="10">
<a-form-item label="学校">
<a-select v-model="queryParam.salesSchool" style="width: 15rem;">
<a-select-option key="">--全部--</a-select-option>
......@@ -44,7 +44,7 @@
</a-select>
</a-form-item>
</a-col>
<a-col :md="6" :sm="10">
<a-col :md="5" :sm="10">
<a-form-item label="注册时间">
<a-range-picker @change="onChange" v-model="queryParam.createtime"/>
</a-form-item>
......
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