|
|
|
|
@ -502,7 +502,7 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
let url = `${process.env.VUE_APP_OUT_OLD}/flow/create/3?auth_token=${this.$store.getters.oa_token}&out_away_id=${
|
|
|
|
|
row.id
|
|
|
|
|
}&default_json=${JSON.stringify(baseInfo)}`;
|
|
|
|
|
}&default_json=${window.encodeURIComponent(JSON.stringify(baseInfo))}`;
|
|
|
|
|
window.open(
|
|
|
|
|
url,
|
|
|
|
|
"buyProcess",
|
|
|
|
|
@ -516,7 +516,7 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
let url = `${process.env.VUE_APP_OUT_OLD}/flow/create/24?auth_token=${this.$store.getters.oa_token}&out_away_id=${
|
|
|
|
|
row.id
|
|
|
|
|
}&default_json=${JSON.stringify(baseInfo)}`;
|
|
|
|
|
}&default_json=${window.encodeURIComponent(JSON.stringify(baseInfo))}`;
|
|
|
|
|
window.open(
|
|
|
|
|
url,
|
|
|
|
|
"buyProcess",
|
|
|
|
|
@ -530,7 +530,7 @@ export default {
|
|
|
|
|
"jieshu": row.end_date,
|
|
|
|
|
"chuchaishiyou": row.title,
|
|
|
|
|
};
|
|
|
|
|
let url = `${process.env.VUE_APP_OUT_OLD}/#/flow/create?auth_token=${window.encodeURIComponent(getToken())}&module_name=oa&isSinglePage=1&module_id=70&out_away_id=${row.id}&default_json=${JSON.stringify(baseInfo)}`;
|
|
|
|
|
let url = `${process.env.VUE_APP_OUT_OLD}/#/flow/create?auth_token=${window.encodeURIComponent(getToken())}&module_name=oa&isSinglePage=1&module_id=70&out_away_id=${row.id}&default_json=${window.encodeURIComponent(JSON.stringify(baseInfo))}`;
|
|
|
|
|
console.log('url',url)
|
|
|
|
|
this.oaUrl = url
|
|
|
|
|
this.isShowOaModal = true
|
|
|
|
|
@ -543,7 +543,7 @@ export default {
|
|
|
|
|
"chuchaishiyou": row.title,
|
|
|
|
|
"xiangguanchuchaishenpidan": [row.away_flow_links.find(i => i.tag === 'chuchai')?.flow_id].toString(),
|
|
|
|
|
};
|
|
|
|
|
url = `${process.env.VUE_APP_OUT_OLD}/#/flow/create?auth_token=${window.encodeURIComponent(getToken())}&module_name=oa&isSinglePage=1&module_id=78&out_away_id=${row.id}&default_json=${JSON.stringify(baseInfo)}`;
|
|
|
|
|
url = `${process.env.VUE_APP_OUT_OLD}/#/flow/create?auth_token=${window.encodeURIComponent(getToken())}&module_name=oa&isSinglePage=1&module_id=78&out_away_id=${row.id}&default_json=${window.encodeURIComponent(JSON.stringify(baseInfo))}`;
|
|
|
|
|
} else {
|
|
|
|
|
let rows = this.$refs['xyTable'].getSelection()
|
|
|
|
|
const baseInfo = {
|
|
|
|
|
@ -551,7 +551,7 @@ export default {
|
|
|
|
|
"chuchaishiyou": rows.map(row => row.title).toString(),
|
|
|
|
|
"xiangguanchuchaishenpidan": rows.map(row => row.away_flow_links.find(i => i.tag === 'chuchai')?.flow_id)?.filter(i => i)?.toString()
|
|
|
|
|
};
|
|
|
|
|
url = `${process.env.VUE_APP_OUT_OLD}/#/flow/create?auth_token=${window.encodeURIComponent(getToken())}&module_name=oa&isSinglePage=1&module_id=78&out_away_id=${rows.map(i => i.id)?.toString()}&default_json=${JSON.stringify(baseInfo)}`;
|
|
|
|
|
url = `${process.env.VUE_APP_OUT_OLD}/#/flow/create?auth_token=${window.encodeURIComponent(getToken())}&module_name=oa&isSinglePage=1&module_id=78&out_away_id=${rows.map(i => i.id)?.toString()}&default_json=${window.encodeURIComponent(JSON.stringify(baseInfo))}`;
|
|
|
|
|
}
|
|
|
|
|
console.log('url',url)
|
|
|
|
|
this.oaUrl = url
|
|
|
|
|
|