Commit 14a61815 authored by zhengke's avatar zhengke

优化 行程图

parent f59f8592
...@@ -56,11 +56,6 @@ const userLoginHandler = async ()=>{ ...@@ -56,11 +56,6 @@ const userLoginHandler = async ()=>{
if(param.uid) userId=parseInt(param.uid) if(param.uid) userId=parseInt(param.uid)
if(param.ConfigId) ConfigId=parseInt(param.ConfigId) if(param.ConfigId) ConfigId=parseInt(param.ConfigId)
if(param.model) model=parseInt(param.model) if(param.model) model=parseInt(param.model)
if(param.TempId) {
TempId=parseInt(param.TempId)
TempIdStore.setTempId(TempId)
marketStore.setMarket(!market)
}
ConfigIdStore.setConfigId(ConfigId) ConfigIdStore.setConfigId(ConfigId)
modelStore.setModel(model) modelStore.setModel(model)
if(!userInfo.value.EmployeeId){ if(!userInfo.value.EmployeeId){
...@@ -102,6 +97,7 @@ const GetTripConfig = async (ConfigId) =>{ ...@@ -102,6 +97,7 @@ const GetTripConfig = async (ConfigId) =>{
} }
let datasRes = await ConfigService.triptemplateGetTripConfig(queryMsg); let datasRes = await ConfigService.triptemplateGetTripConfig(queryMsg);
if (datasRes.data.resultCode == 1 && datasRes.data.data && datasRes.data.data.TempId) { if (datasRes.data.resultCode == 1 && datasRes.data.data && datasRes.data.data.TempId) {
console.log(dataObj,'--------------dataObj')
let dataObj = datasRes.data.data let dataObj = datasRes.data.data
isModelStore.setIsModel(true) isModelStore.setIsModel(true)
marketStore.setMarket(!market) marketStore.setMarket(!market)
......
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