Commit 58a97299 by liang ce

token和orgId封装

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