+
+
diff --git a/src/views/project_attendance_record/detail.vue b/src/views/project_attendance_record/detail.vue
index 22e4d87..2fa6323 100644
--- a/src/views/project_attendance_record/detail.vue
+++ b/src/views/project_attendance_record/detail.vue
@@ -16,7 +16,7 @@
{{ formData.attendance_num }}
-
+
diff --git a/src/views/project_attendance_record/index.vue b/src/views/project_attendance_record/index.vue
index 2feb1d3..af17f1c 100644
--- a/src/views/project_attendance_record/index.vue
+++ b/src/views/project_attendance_record/index.vue
@@ -131,6 +131,7 @@ const handleDelete = async (id: number | any[]) => {
await attendanceRecordDelete({ id })
getLists()
}
+
const handledetail = async (data: any) => {
let res = await attendanceRecordDetail({ id: data.id })
showDtail.value = true
diff --git a/src/views/project_material_budget/edit.vue b/src/views/project_material_budget/edit.vue
index b7f7a8b..d8997d2 100644
--- a/src/views/project_material_budget/edit.vue
+++ b/src/views/project_material_budget/edit.vue
@@ -99,7 +99,6 @@
-
删除
diff --git a/src/views/project_personnel/detail.vue b/src/views/project_personnel/detail.vue
index 68113f6..9cd08e9 100644
--- a/src/views/project_personnel/detail.vue
+++ b/src/views/project_personnel/detail.vue
@@ -23,16 +23,16 @@
{{ formData.unit_price }}
- 身份证正面
+ 身份证正面
- 身份证反面
+ 身份证反面
- 银行卡照片
+ 银行卡照片
diff --git a/src/views/project_total_budget/detail.vue b/src/views/project_total_budget/detail.vue
index e477aa4..0abb8a5 100644
--- a/src/views/project_total_budget/detail.vue
+++ b/src/views/project_total_budget/detail.vue
@@ -23,15 +23,7 @@
{{
formData.budget_date }}
-
-
- 暂无文件
-
+
diff --git a/src/views/project_total_budget/edit.vue b/src/views/project_total_budget/edit.vue
index 5c58b7b..9c58fab 100644
--- a/src/views/project_total_budget/edit.vue
+++ b/src/views/project_total_budget/edit.vue
@@ -96,7 +96,7 @@
-
+
diff --git a/src/views/project_travel_reimbursement/detail.vue b/src/views/project_travel_reimbursement/detail.vue
index 69dedda..f978fc6 100644
--- a/src/views/project_travel_reimbursement/detail.vue
+++ b/src/views/project_travel_reimbursement/detail.vue
@@ -10,9 +10,11 @@
formData[item.value[0]]
}}
{{ item.name }}
+ target="_blank" type='primary'>{{ item.name }}
+
+
@@ -124,6 +126,10 @@ const descriptionList = reactive([
lable: "备注",
value: ['remark']
},
+ {
+ lable: "附件",
+ value: "annex"
+ },
])
const emit = defineEmits(['success', 'close'])
diff --git a/src/views/quality_detection/detail.vue b/src/views/quality_detection/detail.vue
index 38dc9ae..ffa6bda 100644
--- a/src/views/quality_detection/detail.vue
+++ b/src/views/quality_detection/detail.vue
@@ -46,7 +46,7 @@
-
+
+
diff --git a/src/views/quality_detection/edit.vue b/src/views/quality_detection/edit.vue
index f4b3d31..1a91a09 100644
--- a/src/views/quality_detection/edit.vue
+++ b/src/views/quality_detection/edit.vue
@@ -89,12 +89,9 @@
-
-
-
-
+
@@ -136,24 +133,7 @@
-
-
- 上传
-
-
-
-
+
@@ -196,26 +176,7 @@ import feedback from '@/utils/feedback'
import { deptAll } from '@/api/org/department'
import { getAll } from '@/api/org/organization'
const userInfo = userStore.userInfo
-// 上传文件
-const handleAvatarSuccess_four = (
- response,
- uploadFile
-) => {
- if (response.code == 0) {
- ElMessage.error(response.msg);
- return;
- }
- formDataannex.push(
- { uri: response.data.uri, name: response.data.name }
-
- );
-};
-
-// 删除上传的文件
-const delFileFn = (index: number) => {
- formDataannex.splice(index, 1)
-}
defineProps({
dictData: {
type: Object as PropType>,
@@ -293,18 +254,6 @@ const formRules = reactive({
// 获取详情
const setFormData = async (data: Record) => {
- if (data.file && data.file.length > 0) {
-
- const arry1 = data.file.map((item: any, index: any) => {
- return {
- name: `文件${index + 1}`,
- uri: item
- };
- });
- Object.assign(formDataannex, arry1)
-
- }
-
for (const key in formData) {
if (data[key] != null && data[key] != undefined) {
@@ -331,10 +280,6 @@ const getDetail = async (row: Record) => {
// 提交按钮
const handleSubmit = async () => {
- formData.file = formDataannex.map((item) => item.uri)
-
-
-
const startTime = new Date(formData.actual_start_time)
const endTime = new Date(formData.actual_end_time)
if (endTime < startTime) {
diff --git a/src/views/quality_detection/index.vue b/src/views/quality_detection/index.vue
index 2ec5ab6..0791e3b 100644
--- a/src/views/quality_detection/index.vue
+++ b/src/views/quality_detection/index.vue
@@ -40,7 +40,7 @@
-
+
@@ -60,11 +60,8 @@
-
-
-
diff --git a/src/views/refundbidDeposit/edit.vue b/src/views/refundbidDeposit/edit.vue
index 4b81806..39f82e6 100644
--- a/src/views/refundbidDeposit/edit.vue
+++ b/src/views/refundbidDeposit/edit.vue
@@ -215,6 +215,12 @@ const formRules = reactive({
// 获取详情
const setFormData = async (data: Record) => {
+ for (const key in formData) {
+ if (data[key] != null && data[key] != undefined) {
+ //@ts-ignore
+ formData[key] = data[key]
+ }
+ }
project_name.value = data.project_name
project_code.value = data.project_code
custom_name.value = data.custom_name