[update]-企业端 修改标协会员-会员管理、增加标协会员-缴费信息的功能
This commit is contained in:
@@ -20,8 +20,10 @@ export const JeroListMixin = {
|
||||
lastQueryParam: {},
|
||||
/* 数据源 */
|
||||
dataSource:[],
|
||||
// 做一步转换,方便会员系统的使用
|
||||
// 做一步转换,方便会员系统使用自己内部的方法
|
||||
getAction,
|
||||
deleteAction,
|
||||
getFileAccessHttpUrl,
|
||||
/* 分页参数 */
|
||||
ipagination:{
|
||||
current: 1,
|
||||
@@ -184,7 +186,7 @@ export const JeroListMixin = {
|
||||
content: '是否删除选中数据?',
|
||||
onOk: function () {
|
||||
that.loading = true
|
||||
deleteAction(that.url.deleteBatch, {ids: ids}).then((res) => {
|
||||
that.deleteAction(that.url.deleteBatch, {ids: ids}).then((res) => {
|
||||
if (res.success) {
|
||||
that.$message.success(res.message)
|
||||
// 判断当前删除的数据是否是最后一页的全部数据,如果是的话页码减一
|
||||
@@ -215,7 +217,7 @@ export const JeroListMixin = {
|
||||
title: '确认删除',
|
||||
content: '确定要删除此条数据吗?',
|
||||
onOk: function() {
|
||||
deleteAction(that.url.delete, {id: id}).then((res) => {
|
||||
that.deleteAction(that.url.delete, {id: id}).then((res) => {
|
||||
if (res.success) {
|
||||
that.$message.success(res.message)
|
||||
// 判断当前删除的数据是否是最后一页的最后一条数据,如果是的话页码减一
|
||||
@@ -339,7 +341,7 @@ export const JeroListMixin = {
|
||||
if(text && text.indexOf(',')>0){
|
||||
text = text.substring(0,text.indexOf(','))
|
||||
}
|
||||
return getFileAccessHttpUrl(text)
|
||||
return this.getFileAccessHttpUrl(text)
|
||||
},
|
||||
/* 文件下载 */
|
||||
// update--autor:lvdandan-----date:20200630------for:修改下载文件方法名uploadFile改为downloadFile------
|
||||
@@ -352,7 +354,7 @@ export const JeroListMixin = {
|
||||
if(text.indexOf(',')>0){
|
||||
text = text.substring(0,text.indexOf(','))
|
||||
}
|
||||
let url = getFileAccessHttpUrl(text)
|
||||
let url = this.getFileAccessHttpUrl(text)
|
||||
window.open(url)
|
||||
},
|
||||
/*
|
||||
|
||||
@@ -21,7 +21,12 @@ export const RangeDateMixin = {
|
||||
return false
|
||||
}
|
||||
// console.log(endValue.valueOf(),'endValue.valueOf()')
|
||||
return startValue.valueOf() > endValue.valueOf() + 86400000
|
||||
if(this.rangeDateFormat.begin === 'YYYY-MM-DD') {
|
||||
return startValue.valueOf() > endValue.valueOf() + 86400000
|
||||
} else {
|
||||
return startValue.valueOf() > endValue.valueOf()
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
disabledEndDate(endValue) {
|
||||
|
||||
Reference in New Issue
Block a user