diff --git a/src/views/pm/projecttracking/ProjectTrackingForm.vue b/src/views/pm/projecttracking/ProjectTrackingForm.vue
index c92602b5..f69907eb 100644
--- a/src/views/pm/projecttracking/ProjectTrackingForm.vue
+++ b/src/views/pm/projecttracking/ProjectTrackingForm.vue
@@ -110,14 +110,11 @@
-
@@ -163,8 +160,8 @@
-
-
+
+
@@ -323,7 +320,7 @@ const formData = ref({
situation: undefined,
emergency: undefined,
entrustmentMethod: undefined,
- emergencyDocId: undefined,
+ emergencyDocUrl: undefined,
collaborativeProjects: undefined,
cooperativeCompanyId: undefined,
landingPossibility: undefined,
@@ -426,7 +423,7 @@ const resetForm = () => {
situation: undefined,
emergency: undefined,
entrustmentMethod: undefined,
- emergencyDocId: undefined,
+ emergencyDocUrl: undefined,
collaborativeProjects: undefined,
cooperativeCompanyId: undefined,
landingPossibility: undefined,
diff --git a/src/views/pm/projecttracking/index.vue b/src/views/pm/projecttracking/index.vue
index a2d42d92..8bea77f3 100644
--- a/src/views/pm/projecttracking/index.vue
+++ b/src/views/pm/projecttracking/index.vue
@@ -78,8 +78,6 @@ import { ProjectTrackingApi, ProjectTrackingVO } from '@/api/pm/projecttracking'
import ProjectTrackingForm from './ProjectTrackingForm.vue'
import SearchBarEx from "@/components/SearchBar/SearchBarEx.vue";
import { CustomerApi } from "@/api/pm/customer";
-import * as DeptApi from '@/api/system/dept'
-import { handleTree } from '@/utils/tree'
/** 项目跟踪 列表 */
defineOptions({ name: 'ProjectTracking' })
@@ -90,7 +88,7 @@ const loading = ref(true) // 列表的加载中
const list = ref([]) // 列表的数据
const total = ref(0) // 列表的总页数
const constructionOptions = ref([]); // 建设单位选项
-const deptOptions = ref([]) // 部门选项
+const deptOptions = []; // 部门选项
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
@@ -178,11 +176,6 @@ const getConstructionOptions = async () => {
});
}
-const getDeptOptions = async () => {
- deptOptions.value = handleTree(await DeptApi.getSimpleDeptList())
-}
-
-
// 定义所有搜索字段
const allFields = [
{ label: '项目名称', prop: 'name', component: 'el-input' },
@@ -192,19 +185,7 @@ const allFields = [
component: 'el-select',
options: constructionOptions.value,
},
- // { label: '主控部门', prop: 'deptName',component: 'el-input' },
- {
- label: '主控部门',
- prop: 'deptId',
- component: 'el-tree-select',
- props: {
- data: deptOptions.value,
- props: { children: 'children', label: 'name', value: 'id' },
- checkStrictly: true,
- filterable: true,
- clearable: true,
- },
- },
+ { label: '主控部门', prop: 'deptName',component: 'el-input' },
{ label: '负责人', prop: 'pmName',component: 'el-input' },
{ label: '合同额', prop: 'contractAmount', component: 'el-input' },
{ label: '业务类型', prop: 'businessType', component: 'el-select', options: getStrDictOptions(DICT_TYPE.PROJECT_TYPE).map(dict => ({ label: dict.label, value: dict.value })) },
@@ -215,6 +196,5 @@ const allFields = [
onMounted(() => {
getList()
getConstructionOptions(); // 获取建设单位选项
- getDeptOptions(); // 获取部门树形结构
})