fix : 修复首页待立项等区域点击跳转
This commit is contained in:
@@ -12,6 +12,7 @@ import fvSelect from '@/fvcomponents/fvSelect/index.vue'
|
||||
import {toThousands} from '@/utils/changePrice.js'
|
||||
import { getSubCompOpt } from '@/api/user/user.js';
|
||||
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
const shortcuts = [
|
||||
{
|
||||
@@ -443,6 +444,11 @@ const handlePhaseChangeEdit = (row) => {
|
||||
const init = async () => {
|
||||
const res = await getSubCompOpt()
|
||||
searchConfig.value.find(item=>item.prop == 'affiliatedCompanyId').props.data = res.data
|
||||
if(route.query.state=='0'){
|
||||
search({state:route.query.state})
|
||||
}else if(route.query.state=='4'){
|
||||
search({state:route.query.state})
|
||||
}
|
||||
}
|
||||
|
||||
init()
|
||||
|
||||
Reference in New Issue
Block a user