+
添加
@@ -62,13 +39,7 @@
-
+
@@ -258,6 +229,7 @@ export default defineComponent({
diff --git a/src/views/project_insurance_management/edit.vue b/src/views/project_insurance_management/edit.vue
new file mode 100644
index 0000000..b9c67fa
--- /dev/null
+++ b/src/views/project_insurance_management/edit.vue
@@ -0,0 +1,266 @@
+
+
+
+
+
diff --git a/src/views/project_insurance_management/index.vue b/src/views/project_insurance_management/index.vue
new file mode 100644
index 0000000..b3d6d32
--- /dev/null
+++ b/src/views/project_insurance_management/index.vue
@@ -0,0 +1,177 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无文件
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project_job_type/detail.vue b/src/views/project_job_type/detail.vue
new file mode 100644
index 0000000..2da20d0
--- /dev/null
+++ b/src/views/project_job_type/detail.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
diff --git a/src/views/project_job_type/edit.vue b/src/views/project_job_type/edit.vue
new file mode 100644
index 0000000..0d26f96
--- /dev/null
+++ b/src/views/project_job_type/edit.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
diff --git a/src/views/project_job_type/index.vue b/src/views/project_job_type/index.vue
new file mode 100644
index 0000000..627f3b7
--- /dev/null
+++ b/src/views/project_job_type/index.vue
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project_labor_contract/detail.vue b/src/views/project_labor_contract/detail.vue
new file mode 100644
index 0000000..eea822e
--- /dev/null
+++ b/src/views/project_labor_contract/detail.vue
@@ -0,0 +1,193 @@
+
+
+
+
+
+
+
diff --git a/src/views/project_labor_contract/edit.vue b/src/views/project_labor_contract/edit.vue
new file mode 100644
index 0000000..f114ec8
--- /dev/null
+++ b/src/views/project_labor_contract/edit.vue
@@ -0,0 +1,271 @@
+
+
+
+
+
diff --git a/src/views/project_labor_contract/index.vue b/src/views/project_labor_contract/index.vue
new file mode 100644
index 0000000..41b6155
--- /dev/null
+++ b/src/views/project_labor_contract/index.vue
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project_personnel/edit.vue b/src/views/project_personnel/edit.vue
index 98dcdfc..28005d0 100644
--- a/src/views/project_personnel/edit.vue
+++ b/src/views/project_personnel/edit.vue
@@ -123,7 +123,12 @@ import { deptAll } from '@/api/org/department'
import { getAll } from '@/api/org/organization'
import type { PropType } from 'vue'
-
+defineProps({
+ dictData: {
+ type: Object as PropType
>,
+ default: () => ({})
+ }
+})
const project_name = ref('')
const project_code = ref('')
diff --git a/src/views/receiptrecord/edit.vue b/src/views/receiptrecord/edit.vue
index 0d7ccbe..3604efa 100644
--- a/src/views/receiptrecord/edit.vue
+++ b/src/views/receiptrecord/edit.vue
@@ -287,20 +287,16 @@ const formRules = reactive({
// 获取详情
const setFormData = async (data: Record) => {
if (data.return_desc && data.return_desc.length > 0) {
- if (data.return_desc.includes(",")) {
- const arry1 = data.return_desc.split(',').map((item: any, index: any) => {
- return {
- name: `文件${index + 1}`,
- uri: item
- };
- });
- Object.assign(formDataannex, arry1)
- } else {
- const arry1 = [{ name: `文件1`, uri: data.return_desc }]
- Object.assign(formDataannex, arry1)
- console.log(formDataannex)
- }
+ const arry1 = data.return_desc.map((item: any, index: any) => {
+ return {
+ name: `文件${index + 1}`,
+ uri: item
+ };
+ });
+ Object.assign(formDataannex, arry1)
+
+
}
diff --git a/src/views/recordsPayment/edit.vue b/src/views/recordsPayment/edit.vue
index d8ab736..d0ac92e 100644
--- a/src/views/recordsPayment/edit.vue
+++ b/src/views/recordsPayment/edit.vue
@@ -181,7 +181,7 @@
-
+
diff --git a/src/views/refund/edit.vue b/src/views/refund/edit.vue
index b23a488..aa0567c 100644
--- a/src/views/refund/edit.vue
+++ b/src/views/refund/edit.vue
@@ -275,20 +275,16 @@ const formRules = reactive({
// 获取详情
const setFormData = async (data: Record) => {
if (data.return_desc && data.return_desc.length > 0) {
- if (data.return_desc.includes(",")) {
- const arry1 = data.return_desc.split(',').map((item: any, index: any) => {
- return {
- name: `文件${index + 1}`,
- uri: item
- };
- });
- Object.assign(formDataannex, arry1)
- } else {
- const arry1 = [{ name: `文件1`, uri: data.return_desc }]
- Object.assign(formDataannex, arry1)
- console.log(formDataannex)
- }
+ const arry1 = data.return_desc.map((item: any, index: any) => {
+ return {
+ name: `文件${index + 1}`,
+ uri: item
+ };
+ });
+ Object.assign(formDataannex, arry1)
+
+
}
diff --git a/src/views/refundbidDeposit/edit.vue b/src/views/refundbidDeposit/edit.vue
index be8d827..4916b7a 100644
--- a/src/views/refundbidDeposit/edit.vue
+++ b/src/views/refundbidDeposit/edit.vue
@@ -134,7 +134,7 @@
-
+
@@ -280,20 +280,16 @@ const formRules = reactive({
// 获取详情
const setFormData = async (data: Record) => {
if (data.return_desc && data.return_desc.length > 0) {
- if (data.return_desc.includes(",")) {
- const arry1 = data.return_desc.split(',').map((item: any, index: any) => {
- return {
- name: `文件${index + 1}`,
- uri: item
- };
- });
- Object.assign(formDataannex, arry1)
- } else {
- const arry1 = [{ name: `文件1`, uri: data.return_desc }]
- Object.assign(formDataannex, arry1)
- console.log(formDataannex)
- }
+ const arry1 = data.return_desc.map((item: any, index: any) => {
+ return {
+ name: `文件${index + 1}`,
+ uri: item
+ };
+ });
+ Object.assign(formDataannex, arry1)
+
+
}
diff --git a/src/views/refundrecord/edit.vue b/src/views/refundrecord/edit.vue
index a38e913..db94e2e 100644
--- a/src/views/refundrecord/edit.vue
+++ b/src/views/refundrecord/edit.vue
@@ -149,7 +149,7 @@
-
+
@@ -199,6 +199,10 @@ const handleAvatarSuccess_four = (
);
};
+// 删除上传的文件
+const delFileFn = (index: number) => {
+ formDataannex.splice(index, 1)
+}
//验证
const checkPhone = (rule: any, value: any, callback: (arg0: Error) => any) => {
@@ -224,10 +228,7 @@ const userEmail = (rule: any, value: string, callback: (arg0: Error | undefined)
}
};
-// 删除上传的文件
-const delFileFn = (index: number) => {
- formDataannex.splice(index, 1)
-}
+
defineProps({
dictData: {
type: Object as PropType>,
@@ -281,7 +282,7 @@ const formData = reactive({
refund_type: 0,
reason: "",
remark: "",
- annexs: "",
+ annex: "",
bank_account_id: 0,
is_calculate_interest: '',
interest_calculation_start_date: ""
@@ -296,21 +297,17 @@ const formRules = reactive({
// 获取详情
const setFormData = async (data: Record) => {
- if (data.return_desc && data.return_desc.length > 0) {
- if (data.return_desc.includes(",")) {
- const arry1 = data.return_desc.split(',').map((item: any, index: any) => {
- return {
- name: `文件${index + 1}`,
- uri: item
- };
- });
- Object.assign(formDataannex, arry1)
- } else {
- const arry1 = [{ name: `文件1`, uri: data.return_desc }]
- Object.assign(formDataannex, arry1)
- console.log(formDataannex)
+ 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)
+
- }
}
@@ -340,7 +337,7 @@ const getDetail = async (row: Record) => {
// 提交按钮
const handleSubmit = async () => {
if (formDataannex.length > 0) {
- formData.return_desc = formDataannex.map((item: any) => item.uri).toString()
+ formData.annex = JSON.stringify(formDataannex.map((item: any) => item.uri))
}
console.log(formRef.value?.validate(), '22222222')
await formRef.value?.validate()