Commit 502b6729 by 杨北旺

参数修改

1 parent 763c3cfa
...@@ -60,7 +60,7 @@ const actions = { ...@@ -60,7 +60,7 @@ const actions = {
state.showWindow = true state.showWindow = true
}, },
registerHttp({}) { registerHttp({}) {
const sessionId = getParams('sessionId') const sessionId = getParams('sId')
window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } }) window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } })
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: 'scrm-base-f9688caa-36ac-4795-8b91-d38e17c7ccc3-rop' } }) // window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: 'scrm-base-f9688caa-36ac-4795-8b91-d38e17c7ccc3-rop' } })
} }
......
...@@ -148,13 +148,14 @@ export default { ...@@ -148,13 +148,14 @@ export default {
}, },
// 获取附件列表 // 获取附件列表
getList() { getList() {
const { contractNo, writeOffCode, damage, sessionId,code } = window.vm.$route.query
const { cNo:contractNo, WRT:writeOffCode, dam:damage, sId:sessionId,code } = window.vm.$route.query
let serviceItemCodes = code?.split('_')?.map(item => 'SC00' + item) || []
let para = { let para = {
contractNo, contractNo,
writeOffCode, writeOffCode,
type: damage, type: damage,
serviceItemCodes:code?JSON.parse(decodeURIComponent(code)):[] serviceItemCodes
} }
if (!sessionId) { if (!sessionId) {
this.errMsg = '链接缺少sessionId' this.errMsg = '链接缺少sessionId'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!