Commit 58a97299 by liang ce

token和orgId封装

parent d393291f
...@@ -377,10 +377,10 @@ export default { ...@@ -377,10 +377,10 @@ export default {
let accountOperationData let accountOperationData
let url = type === 3 ? 'update_account_status' : 'update_card_status' let url = type === 3 ? 'update_account_status' : 'update_card_status'
if (type === 3) { if (type === 3) {
accountOperationData = this.$qs.stringify({ accountOperationData = {
ddUserId: userId, ddUserId: userId,
accountStatus: status accountStatus: status
}) }
} else { } else {
accountOperationData = { accountOperationData = {
ddUserId: userId, ddUserId: userId,
...@@ -453,10 +453,10 @@ export default { ...@@ -453,10 +453,10 @@ export default {
let cardOperationData = '' let cardOperationData = ''
const cardNo = this.updateBindCardStatusForm.getFieldsValue().cardNo const cardNo = this.updateBindCardStatusForm.getFieldsValue().cardNo
if (type === 2) { if (type === 2) {
cardOperationData = this.$qs.stringify({ cardOperationData = {
cardNo: this.updateBindCardStatusForm.getFieldsValue().cardNo, cardNo: this.updateBindCardStatusForm.getFieldsValue().cardNo,
ddUserId: this.selsctUserId ddUserId: this.selsctUserId
}) }
} else if (type === 1) { } else if (type === 1) {
cardOperationData = { cardOperationData = {
cardNo: '', cardNo: '',
......
...@@ -289,14 +289,14 @@ export default { ...@@ -289,14 +289,14 @@ export default {
this.departmentIdListObj.map((item, inde) => { this.departmentIdListObj.map((item, inde) => {
departmentIdList.push(item.id) departmentIdList.push(item.id)
}) })
let RecordData = this.$qs.stringify({ let RecordData = {
ddUserIds: userIdList, ddUserIds: userIdList,
ddDeptIds: departmentIdList, ddDeptIds: departmentIdList,
money: values.orderPrice, money: values.orderPrice,
endTime: `${values['date-picker']} 23:59:59`, endTime: `${values['date-picker']} 23:59:59`,
remark: values.remark, remark: values.remark,
subsidyEnumType: values.select subsidyEnumType: values.select
}) }
$http.get(`/mingpay/v1/isv/account/batch_create_subsidy`, RecordData).then((res) => { $http.get(`/mingpay/v1/isv/account/batch_create_subsidy`, RecordData).then((res) => {
if (res.data.resultCode === 0) { if (res.data.resultCode === 0) {
this.form.resetFields() this.form.resetFields()
......
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