Commit eebb5516 by 罗承锋

修改移动端菜单参数

parent 62fe796e
......@@ -257,8 +257,8 @@
key: 'tcsj',
children: [{
title: '手机卡套餐升级',
value: 'sjktcsj',
key: 'sjktcsj',
value: 'status',
key: 'status',
},{
title: '毕业生宽带优惠',
value: 'bysrh',
......@@ -302,8 +302,8 @@
]
},{
title: '优惠购机',
value: 'isShowyhgj',
key: 'isShowyhgj',
value: 'yhgj',
key: 'yhgj',
}
],
},
......@@ -348,8 +348,6 @@
},
modifyvisible: false,
columns: [
{dataIndex: 'networkCode', width: 200, title: '网点编码', align: "center"},
{dataIndex: 'networkName', width: 200, title: '网点名称', align: "center"},
{dataIndex: 'subName', width: 100, title: '县分', align: "center"},
{dataIndex: 'schoolName', width: 200, title: '学校名称', align: "center"},
{
......@@ -359,24 +357,6 @@
scopedSlots: {customRender: 'statusDefault'},
align: "center"
},
{dataIndex: 'startDate', width: 200, title: '开学时间', align: "center",
customRender: (text, row, index) => {
if (text == null) {
return "";
}
return moment(text).format("YYYY-MM-DD");
}
},
{dataIndex: 'endDate', width: 200, title: '结束时间', align: "center",
customRender: (text, row, index) => {
if (text == null) {
return "";
}
return moment(text).format("YYYY-MM-DD");
}
},
{dataIndex: 'greaterFifty', width: 80, title: '大于50元激励', align: "center"},
{dataIndex: 'greaterHundred', width: 90, title: '大于100元激励', align: "center"},
{
dataIndex: 'operation',
width: 200,
......@@ -394,6 +374,7 @@
//表示
let obj = cloneObject(this.queryParam)
return findByList(Object.assign(params, obj)).then(res => {
console.log(res);
let data = {};
if (res.state !== 'success') {
this.emptyText.emptyText = '查询失败!'
......@@ -642,8 +623,8 @@
if (data.tcsj == 1) {
buttons.push({label: "套餐升级", value: "tcsj"});
}
if (data.sjktcsj == 1) {
buttons.push({label: "手机卡套餐升级", value: "sjktcsj"});
if (data.status == 1) {
buttons.push({label: "手机卡套餐升级", value: "status"});
}
if (data.bysrh == 1) {
buttons.push({label: "毕业生宽带优惠", value: "bysrh"});
......@@ -660,8 +641,8 @@
if (data.jiltKdy == 1) {
buttons.push({label: "是否甩单", value: "jiltKdy"});
}
if (data.isShowyhgj == 1) {
buttons.push({label: "优惠购机", value: "isShowyhgj"});
if (data.yhgj == 1) {
buttons.push({label: "优惠购机", value: "yhgj"});
}
if (data.udBtn == 1) {
buttons.push({label: "线上线下", value: "udBtn"});
......
......@@ -263,7 +263,8 @@
{dataIndex: 'studentCardUrl', width: 180, title: '学生证封面照片', scopedSlots: {customRender: "studentCardUrl"}},
{dataIndex: 'otherImgUrl1', width: 180, title: '学生证内页照片', scopedSlots: {customRender: "otherImgUrl1"}},
{dataIndex: 'otherImgUrl2', width: 180, title: '身份证照片', scopedSlots: {customRender: "otherImgUrl2"}},
{dataIndex: 'otherImgUrl3', width: 180, title: '补充照片', scopedSlots: {customRender: "otherImgUrl3"}},
{dataIndex: 'otherImgUrl3', width: 180, title: '补充照片', scopedSlots: {customRender: "otherImgUrl3"}
},
/*{dataIndex: 'county', width: 80, title: '县分'},
{dataIndex: 'school', width: 120, title: '学校'},
......@@ -400,9 +401,17 @@
this.visiblepicture = false;
},
imgClick(res) {
this.imgInfo = this.apis + res
this.imgInfo = this.baseuploadUrl() + res
this.visiblepicture = true
},
baseuploadUrl(){
const env = process.env.NODE_ENV; //获取当前环境
let apis = "/";
if(env === 'development'){ //测试环境默认添加前缀
apis = '/api/';
}
return apis
},
excelOut() {
let obj = cloneObject(this.queryParam)
let nowdate = moment().format("YYYY-MM-DD");
......
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