feat: 列表新增征集, 筛选新增公司,征集名称
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
<script setup lang="jsx">
|
||||
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
|
||||
import {addPlan,getRequirementName} from "@/api/project-demand/summary";
|
||||
import {getSubCompOpt} from "@/api/user/user";
|
||||
import {getRequirementStatePerm} from "@/api/project-demand";
|
||||
|
||||
const tableIns = ref()
|
||||
const router = useRouter()
|
||||
@@ -83,6 +85,19 @@ const searchConfig = ref([
|
||||
},
|
||||
colProps: {}
|
||||
},
|
||||
{
|
||||
label: '承办单位',
|
||||
prop: 'undertaker',
|
||||
component: 'el-tree-select',
|
||||
props: {
|
||||
placeholder: '请输入承办单位查询',
|
||||
clearable: true,
|
||||
data: [],
|
||||
filterable: true,
|
||||
checkStrictly: true,
|
||||
remote: true
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '项目影响',
|
||||
prop: 'projectImpact',
|
||||
@@ -423,6 +438,13 @@ const handleDetail = (row) => {
|
||||
}
|
||||
})
|
||||
}
|
||||
const init = async () => {
|
||||
const res = await getSubCompOpt()
|
||||
searchConfig.value.find(item=>item.prop == 'undertaker').props.data = res.data
|
||||
}
|
||||
|
||||
init()
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user