diff --git a/src/views/company/edit.vue b/src/views/company/edit.vue index 66327f4..24ac2de 100644 --- a/src/views/company/edit.vue +++ b/src/views/company/edit.vue @@ -318,7 +318,7 @@ @@ -1010,6 +1010,19 @@ function company_type_change(type: any) { if (type != 16) { partyDisabled.value = false; } + //镇 + if (type == 41) { + isArea.value = true; + isStreet.value = true; + isVillage.value = false; + isBrigade.value = false; + formData.village = ""; + formData.brigade = ""; + // partyDisabled.value = true; + // indexType.value = 30; + regionType.value = "street"; + return true; + } //村 if (type == 17) { isArea.value = true; diff --git a/src/views/company/index.vue b/src/views/company/index.vue index a5b4855..4fb2628 100644 --- a/src/views/company/index.vue +++ b/src/views/company/index.vue @@ -420,7 +420,7 @@ 确认 - 修改 + 修改 返回

@@ -498,6 +500,7 @@ const customEvent = (e: any) => { const userStore = useUserStore(); console.log(userStore.userInfo.company_id); const route = useRoute(); +const router = useRouter(); const company_type_show = ref(true); // 创建合同与发送短信 //弹窗 @@ -521,6 +524,15 @@ const authPop = ref(false); const offAuthPop = () => { authPop.value = false; }; +const toEditCompany = () => { + router.push({ + path: getRoutePath("company/add:edit"), + query: { + id: auth_id.value.id, + edit: true, + }, + }); +}; // 合同 const contractFormData = ref({ diff --git a/src/views/task_template/edit.vue b/src/views/task_template/edit.vue index 73f3969..1e1d7e1 100644 --- a/src/views/task_template/edit.vue +++ b/src/views/task_template/edit.vue @@ -114,14 +114,22 @@
- - - +
+ + + +
+ 提示 : 本任务的金额将会在任务完成后按阶段天数*阶段金额统一结算 +
+
- - - - +
+ + + +
+ 提示 : 本任务的金额将会在任务完成后按阶段天数*阶段金额统一结算 +
+