|
@ -54,7 +54,7 @@ |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div class="flex"> |
|
|
<div class="flex"> |
|
|
<el-button @click="paySetting(scope.row)" type="text">设置</el-button> |
|
|
<el-button @click="paySetting(scope.row,payTypeAlipay)" type="text">设置</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -109,7 +109,7 @@ |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div class="flex"> |
|
|
<div class="flex"> |
|
|
<el-button @click="paySetting(scope.row)" type="text">设置</el-button> |
|
|
<el-button @click="paySetting(scope.row,payTypeWeixin)" type="text">设置</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -161,7 +161,7 @@ |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div class="flex"> |
|
|
<div class="flex"> |
|
|
<el-button @click="paySetting(scope.row)" type="text">设置</el-button> |
|
|
<el-button @click="paySetting(scope.row,payTypeTaoBao)" type="text">设置</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -214,7 +214,7 @@ |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div class="flex"> |
|
|
<div class="flex"> |
|
|
<el-button @click="paySetting(scope.row)" type="text">设置</el-button> |
|
|
<el-button @click="paySetting(scope.row,payTypePdd)" type="text">设置</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -266,7 +266,7 @@ |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<el-table-column label="操作" fixed="right" min-width="30px"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div class="flex"> |
|
|
<div class="flex"> |
|
|
<el-button @click="paySetting(scope.row)" type="text">设置</el-button> |
|
|
<el-button @click="paySetting(scope.row,payTypeJingdong)" type="text">设置</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -408,6 +408,7 @@ import GuipInput from '@/components/GuipInput.vue'; |
|
|
import GuipSwitch from '@/components/GuipSwitch.vue'; |
|
|
import GuipSwitch from '@/components/GuipSwitch.vue'; |
|
|
import GuipDialog from '@/components/GuipDialog.vue'; |
|
|
import GuipDialog from '@/components/GuipDialog.vue'; |
|
|
import GuipTable from '@/components/GuipTable.vue'; |
|
|
import GuipTable from '@/components/GuipTable.vue'; |
|
|
|
|
|
import { mapState } from 'vuex'; |
|
|
|
|
|
|
|
|
// 收款方式 |
|
|
// 收款方式 |
|
|
const PAY_TYPE_TAOBAO = 0; // 淘宝 |
|
|
const PAY_TYPE_TAOBAO = 0; // 淘宝 |
|
@ -485,6 +486,7 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
|
|
|
...mapState(['paySettingData']) // 从Vuex映射showSidebar状态到组件的计算属性中 |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
@ -708,8 +710,10 @@ export default { |
|
|
handleClick(tab, event) { |
|
|
handleClick(tab, event) { |
|
|
console.log(tab, event); |
|
|
console.log(tab, event); |
|
|
}, |
|
|
}, |
|
|
paySetting(row) { |
|
|
paySetting(row,payType) { |
|
|
window.open('/agent/payInfoSetting?payid='+row.payid, '_blank'); |
|
|
console.log(typeof(payType),'===payType'); |
|
|
|
|
|
const data = this.$filterByPermission(this.paySettingData,Number(payType)) |
|
|
|
|
|
window.open(data[0].path + '?payid='+row.payid + '&payType=' + payType, '_blank'); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|