+
+
暂无附件
diff --git a/src/views/procurement_contract/edit.vue b/src/views/procurement_contract/edit.vue
index 075a49f..366bdf0 100644
--- a/src/views/procurement_contract/edit.vue
+++ b/src/views/procurement_contract/edit.vue
@@ -311,13 +311,15 @@ const getlist = () => {
})
}
//获取部门
-const deptrmt = (e) => {
+const deptrmt = (e: any) => {
+ formData.dept_id = ''
getlist1(e)
+
}
//获取所有部门
const getlist1 = (id: any) => {
deptAll({ 'org_id': id }).then((res) => {
- Object.assign(list2, res)
+ list2.splice(0, list2.length, ...res)
})
}
// 表单数据
@@ -384,8 +386,8 @@ const setFormData = async (data: Record
) => {
});
Object.assign(formDataannex, arry1)
}
- if (formData.dept_id) {
- getlist1(formData.dept_id)
+ if (data.dept_id) {
+ getlist1(data.dept_id)
}
for (const key in formData) {
if (data[key] != null && data[key] != undefined) {
diff --git a/src/views/procurement_contract/index.vue b/src/views/procurement_contract/index.vue
index 447fdb5..7f53735 100644
--- a/src/views/procurement_contract/index.vue
+++ b/src/views/procurement_contract/index.vue
@@ -1,7 +1,7 @@
-
+
@@ -33,10 +33,12 @@
-
-
-
+
+
+
+
+
@@ -59,10 +61,15 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project/detail.vue b/src/views/project/detail.vue
index 6272b1d..814712e 100644
--- a/src/views/project/detail.vue
+++ b/src/views/project/detail.vue
@@ -111,6 +111,21 @@
+
+
+
+
+ 暂无附件
+
+
+
+
+
@@ -134,7 +149,7 @@ defineProps({
const emit = defineEmits(['success', 'close'])
const formRef = shallowRef()
const popupRef = shallowRef>()
-
+const formDataannex = reactive([])
const datas = reactive({
provinceOptions: [],
cityOptions: [],
@@ -192,7 +207,15 @@ const setFormData = async (data: Record) => {
}
- console.log(formData, '2222222222')
+ if (data.annex && data.annex.length > 0) {
+ const arry1 = data.annex.map((item: any, index: any) => {
+ return {
+ name: `文件${index + 1}`,
+ uri: item
+ };
+ });
+ Object.assign(formDataannex, arry1)
+ }
}
diff --git a/src/views/project/index.vue b/src/views/project/index.vue
index 3be8c11..6cce0ab 100644
--- a/src/views/project/index.vue
+++ b/src/views/project/index.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/views/project_attendance_detail/detail.vue b/src/views/project_attendance_detail/detail.vue
new file mode 100644
index 0000000..e1dc085
--- /dev/null
+++ b/src/views/project_attendance_detail/detail.vue
@@ -0,0 +1,203 @@
+
+
+
+
+
+
+
diff --git a/src/views/project_attendance_detail/edit.vue b/src/views/project_attendance_detail/edit.vue
new file mode 100644
index 0000000..6716423
--- /dev/null
+++ b/src/views/project_attendance_detail/edit.vue
@@ -0,0 +1,271 @@
+
+
+
+
+
diff --git a/src/views/project_attendance_detail/index.vue b/src/views/project_attendance_detail/index.vue
new file mode 100644
index 0000000..78b7869
--- /dev/null
+++ b/src/views/project_attendance_detail/index.vue
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project_attendance_record/detail.vue b/src/views/project_attendance_record/detail.vue
index 35e19a5..c975a3c 100644
--- a/src/views/project_attendance_record/detail.vue
+++ b/src/views/project_attendance_record/detail.vue
@@ -1,87 +1,27 @@