From 861226fae7c7aa02a4481ac9dab7853ab6089783 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com>
Date: Sat, 29 Oct 2022 10:58:38 +0800
Subject: [PATCH 1/3] =?UTF-8?q?rpj=20=E9=A1=B9=E7=9B=AE=E7=8A=B6=E6=80=81?=
=?UTF-8?q?=E5=89=8D=E7=A7=BB=E5=8A=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/rpm/rpj.vue | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/views/rpm/rpj.vue b/src/views/rpm/rpj.vue
index d73e440e..eed5f5ef 100644
--- a/src/views/rpm/rpj.vue
+++ b/src/views/rpm/rpj.vue
@@ -88,21 +88,6 @@
{{ type_[scope.row.type] }}
-
-
-
{{ state_[scope.row.state] }}
@@ -135,6 +120,21 @@
+
+
+
Date: Sat, 29 Oct 2022 10:59:28 +0800
Subject: [PATCH 2/3] =?UTF-8?q?rpj=20=E9=A1=B9=E7=9B=AE=E7=8A=B6=E6=80=81?=
=?UTF-8?q?=E5=89=8D=E7=A7=BB=E5=8A=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/rpm/rpj.vue | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/rpm/rpj.vue b/src/views/rpm/rpj.vue
index eed5f5ef..f6834365 100644
--- a/src/views/rpm/rpj.vue
+++ b/src/views/rpm/rpj.vue
@@ -120,11 +120,6 @@
-
+
Date: Sun, 30 Oct 2022 22:33:06 +0800
Subject: [PATCH 3/3] =?UTF-8?q?visit,rpj=E5=88=9B=E5=BB=BA=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/opm/operation.vue | 7 +-
src/views/opm/operation_form.vue | 4 +-
src/views/rpm/rpj.vue | 17 +-
src/views/rpm/rpjadd.vue | 1204 +++++++++++++++---------------
src/views/vm/visit.vue | 13 +-
src/views/vm/vistoradd.vue | 152 ++--
6 files changed, 727 insertions(+), 670 deletions(-)
diff --git a/src/views/opm/operation.vue b/src/views/opm/operation.vue
index da9d3b9b..0ff47bcf 100644
--- a/src/views/opm/operation.vue
+++ b/src/views/opm/operation.vue
@@ -342,7 +342,12 @@ export default {
//本地更新数据
handleSaveSuccess(data, mode) {
if (mode == "add") {
- this.$refs.tableoperation.refresh();
+ this.$router.push({
+ name: "opl",
+ query: {
+ id: data.id,
+ },
+ });
} else if (mode == "edit") {
this.$refs.tableoperation.refresh();
}
diff --git a/src/views/opm/operation_form.vue b/src/views/opm/operation_form.vue
index a6958c8a..86360c6c 100644
--- a/src/views/opm/operation_form.vue
+++ b/src/views/opm/operation_form.vue
@@ -194,7 +194,7 @@ export default {
methods: {
//所属部门,属地部门,业务部门
getDept() {
- this.$API.system.dept.list.req({ page: 0 }).then((res) => {
+ this.$API.system.dept.list.req({ page: 0 , type__in: 'dept, rparty'}).then((res) => {
this.deptoptions = genTree(res);
});
@@ -243,7 +243,7 @@ export default {
var res;
if (this.mode == "add") {
res = await this.$API.opm.operation.create.req(this.form);
- console.log(this.form);
+ this.form.id = res.id;
} else if (this.mode == "edit") {
res = await this.$API.opm.operation.update.req(
this.form.id,
diff --git a/src/views/rpm/rpj.vue b/src/views/rpm/rpj.vue
index f6834365..b82708d8 100644
--- a/src/views/rpm/rpj.vue
+++ b/src/views/rpm/rpj.vue
@@ -193,13 +193,13 @@
-
-
+ -->
diff --git a/src/views/vm/visit.vue b/src/views/vm/visit.vue
index 79215d43..4028b960 100644
--- a/src/views/vm/visit.vue
+++ b/src/views/vm/visit.vue
@@ -191,13 +191,13 @@