请求修改
This commit is contained in:
@@ -47,24 +47,24 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getData () {
|
||||
this.$api.get('http://autophp.wyk/api/index/index').then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'api/index/index').then(res => {
|
||||
this.tableData = res.data
|
||||
this.count = parseInt(res.count)
|
||||
})
|
||||
},
|
||||
prev_page () {
|
||||
this.$api.get('http://autophp.wyk/api/index/pageList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'api/index/pageList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
next_page () {
|
||||
this.$api.get('http://autophp.wyk/api/index/pageList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'api/index/pageList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
handleCurrentChange: function (currentPage) {
|
||||
this.pageNum = currentPage
|
||||
this.$api.get('http://autophp.wyk/api/index/pageList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'api/index/pageList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
|
||||
@@ -98,7 +98,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleClick (row) {
|
||||
this.$api.post('http://autophp.wyk/order/CashOutAdmin/getOneInfo', {id: row.id}).then(res => {
|
||||
this.$api.post(this.$api.phpURL + 'order/CashOutAdmin/getOneInfo', {id: row.id}).then(res => {
|
||||
this.form = res.data
|
||||
})
|
||||
this.dialogFormVisible = true
|
||||
@@ -112,24 +112,24 @@ export default {
|
||||
return ''
|
||||
},
|
||||
getData () {
|
||||
this.$api.get('http://autophp.wyk/order/CashOutAdmin/getData').then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/CashOutAdmin/getData').then(res => {
|
||||
this.tableData = res.data
|
||||
this.count = parseInt(res.count)
|
||||
})
|
||||
},
|
||||
prev_page () {
|
||||
this.$api.get('http://autophp.wyk/order/CashOutAdmin/pageList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/CashOutAdmin/pageList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
next_page () {
|
||||
this.$api.get('http://autophp.wyk/order/CashOutAdmin/pageList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/CashOutAdmin/pageList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
handleCurrentChange: function (currentPage) {
|
||||
this.pageNum = currentPage
|
||||
this.$api.get('http://autophp.wyk/order/CashOutAdmin/pageList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/CashOutAdmin/pageList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
@@ -138,13 +138,13 @@ export default {
|
||||
this.$message.error('请填写备注')
|
||||
return false
|
||||
}
|
||||
this.$api.post('http://autophp.wyk/order/CashOutAdmin/handle', {info}).then(res => {
|
||||
this.$api.post(this.$api.phpURL + 'order/CashOutAdmin/handle', {info}).then(res => {
|
||||
this.dialogFormVisible = false
|
||||
this.form.status = this.dealStatus(this.form.status)
|
||||
})
|
||||
},
|
||||
search () {
|
||||
this.$api.post('http://autophp.wyk/order/CashOutAdmin/search', {username: this.search_info}).then(res => {
|
||||
this.$api.post(this.$api.phpURL + 'order/CashOutAdmin/search', {username: this.search_info}).then(res => {
|
||||
this.tableData = res.data
|
||||
this.count = parseInt(res.count)
|
||||
})
|
||||
|
||||
@@ -101,29 +101,29 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getData () {
|
||||
this.$api.get('http://autophp.wyk/order/IncomeCheck/getList').then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/IncomeCheck/getList').then(res => {
|
||||
this.tableData = res.data
|
||||
this.count = parseInt(res.count)
|
||||
})
|
||||
},
|
||||
prev_page () {
|
||||
this.$api.get('http://autophp.wyk/order/IncomeCheck/getList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/IncomeCheck/getList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
next_page () {
|
||||
this.$api.get('http://autophp.wyk/order/IncomeCheck/getList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/IncomeCheck/getList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
handleCurrentChange: function (currentPage) {
|
||||
this.pageNum = currentPage
|
||||
this.$api.get('http://autophp.wyk/order/IncomeCheck/getList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/IncomeCheck/getList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
search () {
|
||||
this.$api.post('http://autophp.wyk/order/IncomeCheck/search', {time: this.timeSearh}).then(res => {
|
||||
this.$api.post(this.$api.phpURL + 'order/IncomeCheck/search', {time: this.timeSearh}).then(res => {
|
||||
this.tableData = res.data
|
||||
this.count = 0
|
||||
})
|
||||
|
||||
@@ -180,7 +180,7 @@ export default {
|
||||
this.searchModel.PackageId = this.searchModel.pModel[1]
|
||||
}
|
||||
this.searchModel.OrderTypes = this.searchModel.OrderTypes.toString()
|
||||
this.$api.get('http://autophp.wyk/order/failed/getFailedList', this.searchModel).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/failed/getFailedList', this.searchModel).then(res => {
|
||||
this.retData = res
|
||||
})
|
||||
},
|
||||
|
||||
@@ -70,7 +70,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleClick (row) {
|
||||
this.$api.get('http://autophp.wyk/order/TbRefund/getOneInfo', {id: row.Id}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/TbRefund/getOneInfo', {id: row.Id}).then(res => {
|
||||
this.form = res.data
|
||||
})
|
||||
this.$confirm('此操作只可进行一次, 是否继续?', '提示', {
|
||||
@@ -78,7 +78,7 @@ export default {
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.$api.post('http://autophp.wyk/order/TbRefund/handle', {row}).then(res => {
|
||||
this.$api.post(this.$api.phpURL + 'order/TbRefund/handle', {row}).then(res => {
|
||||
if (res.balance) {
|
||||
row.f_balance = res.balance
|
||||
}
|
||||
@@ -92,35 +92,35 @@ export default {
|
||||
})
|
||||
},
|
||||
getData () {
|
||||
this.$api.get('http://autophp.wyk/order/TbRefund/refundList').then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/TbRefund/refundList').then(res => {
|
||||
this.tableData = res.data
|
||||
this.count = parseInt(res.count)
|
||||
})
|
||||
},
|
||||
prev_page () {
|
||||
this.$api.get('http://autophp.wyk/order/TbRefund/pageList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/TbRefund/pageList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
next_page () {
|
||||
this.$api.get('http://autophp.wyk/order/TbRefund/pageList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/TbRefund/pageList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
handleCurrentChange: function (currentPage) {
|
||||
this.pageNum = currentPage
|
||||
this.$api.get('http://autophp.wyk/order/TbRefund/pageList', {page: this.pageNum}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'order/TbRefund/pageList', {page: this.pageNum}).then(res => {
|
||||
this.tableData = res.data
|
||||
})
|
||||
},
|
||||
search () {
|
||||
this.$api.post('http://autophp.wyk/order/TbRefund/search', {Phone: this.search_info}).then(res => {
|
||||
this.$api.post(this.$api.phpURL + 'order/TbRefund/search', {Phone: this.search_info}).then(res => {
|
||||
this.tableData = res.data
|
||||
this.count = parseInt(res.count)
|
||||
})
|
||||
},
|
||||
submit (info) {
|
||||
this.$api.post('http://autophp.wyk/order/TbRefund/handle', {info}).then(res => {})
|
||||
this.$api.post(this.$api.phpURL + 'order/TbRefund/handle', {info}).then(res => {})
|
||||
this.dialogFormVisible = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -264,7 +264,7 @@ export default {
|
||||
let user_info = this.$local.getUserByCache().Manager.RealName
|
||||
// eslint-disable-next-line camelcase
|
||||
if (userId) {
|
||||
this.$api.post('http://autophp.wyk/logs/index/clickInfo', {
|
||||
this.$api.post(this.$api.phpURL + 'logs/index/clickInfo', {
|
||||
user: user_info,
|
||||
operation: '点击客户信息产品账号',
|
||||
record: '查看该客户的产品信息',
|
||||
|
||||
@@ -215,7 +215,7 @@ export default {
|
||||
|
||||
// eslint-disable-next-line camelcase
|
||||
let user_info = this.$local.getUserByCache().Manager.RealName
|
||||
this.$api.post('http://autophp.wyk/logs/index/clickVipInfo', {
|
||||
this.$api.post(this.$api.phpURL + 'logs/index/clickVipInfo', {
|
||||
user: user_info,
|
||||
operation: '点击客户管理',
|
||||
record: '查询客户信息列表'
|
||||
@@ -315,7 +315,7 @@ export default {
|
||||
showHandle (r) {
|
||||
// eslint-disable-next-line camelcase
|
||||
let user_info = this.$local.getUserByCache().Manager.RealName
|
||||
this.$api.post('http://autophp.wyk/logs/index/hoveInfo', {
|
||||
this.$api.post(this.$api.phpURL + 'logs/index/hoveInfo', {
|
||||
user: user_info,
|
||||
operation: '点击客户信息会员价',
|
||||
record: '查看会员的产品价格',
|
||||
@@ -326,7 +326,7 @@ export default {
|
||||
this.$api.getDownloadFile('/baseinfo/v1/user/Export')
|
||||
// eslint-disable-next-line camelcase
|
||||
let user_info = this.$local.getUserByCache().Manager.RealName
|
||||
this.$api.post('http://autophp.wyk/logs/index/export', {
|
||||
this.$api.post(this.$api.phpURL + 'logs/index/export', {
|
||||
user: user_info,
|
||||
operation: '点击导出所有客户信息',
|
||||
record: '导出所有客户信息列表',
|
||||
|
||||
@@ -138,7 +138,7 @@ export default {
|
||||
if (this.current.UserId) {
|
||||
// eslint-disable-next-line camelcase
|
||||
let user_info = this.$local.getUserByCache().Manager.RealName
|
||||
this.$api.post('http://autophp.wyk/logs/index/clickInfo', {
|
||||
this.$api.post(this.$api.phpURL + 'logs/index/clickInfo', {
|
||||
user: user_info,
|
||||
operation: '点击客户信息会员价',
|
||||
record: '查看会员的产品价格',
|
||||
|
||||
Reference in New Issue
Block a user