From 23d4dd0eb5a8b5875eee3aa83e3d4ac34b3d6148 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Tue, 5 Sep 2023 16:21:07 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/company/edit.vue | 15 +++++++++-
src/views/company/index.vue | 20 ++++++++++---
src/views/task_template/edit.vue | 49 +++++++++++++++++++++-----------
3 files changed, 62 insertions(+), 22 deletions(-)
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 @@
-
- 元
-
+
+
+ 元
+
+
+ 提示 : 本任务的金额将会在任务完成后按阶段天数*阶段金额统一结算
+
+
天
-
-
- 元
-
+
+
+ 元
+
+
+ 提示 : 本任务的金额将会在任务完成后按阶段天数*阶段金额统一结算
+
+