-
-
-
- 基础信息
-
+
+
+ 基础信息
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
-
参与人信息
-
+
+
@@ -258,7 +268,7 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
import ProcessHeader from "../../components/ProcessHeader";
import ProcessTitle from "process/components/ProcessTitle";
import ProcessFooter from "process/components/ProcessFooter";
-import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
+import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
export default {
name: "phoneCywbbzzxdStep4",
@@ -270,6 +280,9 @@ export default {
},
data() {
return {
+ phoneshowflag: false,
+ phoneRoleList: [],
+ phoneDrawerTitle: '',
//切换tab
active: "1",
foldFormFlag: true,
@@ -371,14 +384,9 @@ export default {
},
//驳回
beforeBack(){
- if (this.participantsData.length < 1) {
- this.$message.warning("项目信息不能为空");
- } else {
- this.participantsData.forEach(item => {
- if (item.projectNumber === undefined) {
- this.$message.warning("请完善项目信息");
- }
- });
+ if(!this.commentText){
+ this.$message.warning('请填写审批意见')
+ }else{
this.wbbzform.commentText = this.commentText;
let json = {
participantsData: this.participantsData,
@@ -445,29 +453,30 @@ export default {
},
//转办按钮
handleTransfer(){
- this.drawerModal = true
- this.drawerTitle = '转办处理人'
- this.selectPeople = row
+ this.phoneshowflag = true
+ this.phoneRoleList = this.roleTransfer
+ this.phoneDrawerTitle = '转办处理人'
},
//确认转办
- checkedTransferRole (data) {
- this.assigneeNewLoading = true
+ drawerCheck (data) {
+ this.roleTransfer = data
+ this.phoneRoleList = this.roleTransfer
+ this.turnLoading = true
changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人
userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例
- }).then(res => {
- this.isTransfer = false
+ }).then(res =>{
if (res.success) {
- this.drawerModal = false
+ this.turnLoading = false
this.$message.success('调整成功')
- this.$router.push("/processCenter");
- this.processNum()
+ this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
}
})
+ this.modalshowflag = false
},
},
computed: {
diff --git a/src/pages/processCenter/pages/phone/cywbbzzxd/step5.vue b/src/pages/processCenter/pages/phone/cywbbzzxd/step5.vue
index b595bafa5..788ae40bd 100644
--- a/src/pages/processCenter/pages/phone/cywbbzzxd/step5.vue
+++ b/src/pages/processCenter/pages/phone/cywbbzzxd/step5.vue
@@ -10,109 +10,112 @@
-
-
-
- 基础信息
-
+
+
+ 基础信息
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
-
+
+
{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
参与人信息
-
+
+
@@ -258,7 +268,7 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
import ProcessHeader from "../../components/ProcessHeader";
import ProcessTitle from "process/components/ProcessTitle";
import ProcessFooter from "process/components/ProcessFooter";
-import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
+import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
export default {
name: "phoneCywbbzzxdStep5",
@@ -270,6 +280,9 @@ export default {
},
data() {
return {
+ phoneshowflag: false,
+ phoneRoleList: [],
+ phoneDrawerTitle: '',
//切换tab
active: "1",
foldFormFlag: true,
@@ -371,14 +384,9 @@ export default {
},
//驳回
beforeBack(){
- if (this.participantsData.length < 1) {
- this.$message.warning("项目信息不能为空");
- } else {
- this.participantsData.forEach(item => {
- if (item.projectNumber === undefined) {
- this.$message.warning("请完善项目信息");
- }
- });
+ if(!this.commentText){
+ this.$message.warning('请填写审批意见')
+ }else {
this.wbbzform.commentText = this.commentText;
let json = {
participantsData: this.participantsData,
@@ -445,29 +453,30 @@ export default {
},
//转办按钮
handleTransfer(){
- this.drawerModal = true
- this.drawerTitle = '转办处理人'
- this.selectPeople = row
+ this.phoneshowflag = true
+ this.phoneRoleList = this.roleTransfer
+ this.phoneDrawerTitle = '转办处理人'
},
//确认转办
- checkedTransferRole (data) {
- this.assigneeNewLoading = true
+ drawerCheck (data) {
+ this.roleTransfer = data
+ this.phoneRoleList = this.roleTransfer
+ this.turnLoading = true
changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人
userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例
- }).then(res => {
- this.isTransfer = false
+ }).then(res =>{
if (res.success) {
- this.drawerModal = false
+ this.turnLoading = false
this.$message.success('调整成功')
- this.$router.push("/processCenter");
- this.processNum()
+ this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
}
})
+ this.modalshowflag = false
},
},
computed: {
diff --git a/src/pages/processCenter/pages/phone/cywbbzzxd/step6.vue b/src/pages/processCenter/pages/phone/cywbbzzxd/step6.vue
index ad9f2a823..009955d7f 100644
--- a/src/pages/processCenter/pages/phone/cywbbzzxd/step6.vue
+++ b/src/pages/processCenter/pages/phone/cywbbzzxd/step6.vue
@@ -10,109 +10,112 @@
-
-
-
- 基础信息
-
+
+
+ 基础信息
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
-
+
+
{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
参与人信息
-
+
+
@@ -258,7 +268,7 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
import ProcessHeader from "../../components/ProcessHeader";
import ProcessTitle from "process/components/ProcessTitle";
import ProcessFooter from "process/components/ProcessFooter";
-import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
+import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
export default {
name: "phoneCywbbzzxdStep6",
@@ -270,6 +280,9 @@ export default {
},
data() {
return {
+ phoneshowflag: false,
+ phoneRoleList: [],
+ phoneDrawerTitle: '',
//切换tab
active: "1",
foldFormFlag: true,
@@ -371,14 +384,9 @@ export default {
},
//驳回
beforeBack(){
- if (this.participantsData.length < 1) {
- this.$message.warning("项目信息不能为空");
- } else {
- this.participantsData.forEach(item => {
- if (item.projectNumber === undefined) {
- this.$message.warning("请完善项目信息");
- }
- });
+ if(!this.commentText){
+ this.$message.warning('请填写审批意见')
+ }else{
this.wbbzform.commentText = this.commentText;
let json = {
participantsData: this.participantsData,
@@ -445,29 +453,30 @@ export default {
},
//转办按钮
handleTransfer(){
- this.drawerModal = true
- this.drawerTitle = '转办处理人'
- this.selectPeople = row
+ this.phoneshowflag = true
+ this.phoneRoleList = this.roleTransfer
+ this.phoneDrawerTitle = '转办处理人'
},
//确认转办
- checkedTransferRole (data) {
- this.assigneeNewLoading = true
+ drawerCheck (data) {
+ this.roleTransfer = data
+ this.phoneRoleList = this.roleTransfer
+ this.turnLoading = true
changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人
userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例
- }).then(res => {
- this.isTransfer = false
+ }).then(res =>{
if (res.success) {
- this.drawerModal = false
+ this.turnLoading = false
this.$message.success('调整成功')
- this.$router.push("/processCenter");
- this.processNum()
+ this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
}
})
+ this.modalshowflag = false
},
},
computed: {
diff --git a/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue b/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue
index e75d3001a..4730d0904 100644
--- a/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue
+++ b/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue
@@ -478,6 +478,21 @@ export default {
console.log(item);
this.$nextTick(() => {
this.wbbzform = JSON.parse(JSON.stringify(item));
+ this.wbbzform.comityOptionsOne.forEach(item =>{
+ if(this.wbbzform.associationName === item.id){
+ this.wbbzform.associationName = item.name
+ }
+ })
+ this.wbbzform.comityOptionsTwo.forEach(item =>{
+ if(this.wbbzform.committee === item.id){
+ this.wbbzform.committee = item.name
+ }
+ })
+ this.wbbzform.comityOptionsOneThree.forEach(item =>{
+ if(this.wbbzform.workingGroup === item.id){
+ this.wbbzform.workingGroup = item.name
+ }
+ })
this.associationData = item.associationData
this.participantsData = item.participantsData
item.fileName.forEach(itemId => {
From 86a2d0fc49b6b9be578625a56c9304514d4d656f Mon Sep 17 00:00:00 2001
From: shenyanpei
Date: Wed, 22 Dec 2021 16:45:41 +0800
Subject: [PATCH 3/8] =?UTF-8?q?=E6=97=A5=E5=8E=86=E8=AE=AE=E9=A2=98?=
=?UTF-8?q?=E7=BC=96=E8=BE=91=E3=80=81=E6=9C=AA=E7=AC=A6=E5=90=88=E9=A1=B9?=
=?UTF-8?q?=E6=95=B4=E6=94=B9=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/phone.js | 1 +
src/api/process.js | 19 +-
src/pages/localTool/standCalendar/index.vue | 555 ++++++++++++++++--
.../pages/creatProcess/wfhxzg/step1.vue | 4 +
.../pages/creatProcess/wfhxzg/step3.vue | 2 +
.../pages/creatProcess/wfhxzg/step4.vue | 3 +-
6 files changed, 542 insertions(+), 42 deletions(-)
diff --git a/src/api/phone.js b/src/api/phone.js
index ae39051e5..f1dbbb271 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
import axios from "@/common/axiosV2";
+// 手机端查询人
export function phoneUser(params) {
return axios({
url: "api/sys/user/getUserByPhone",
diff --git a/src/api/process.js b/src/api/process.js
index 1c260eefc..6bb77e017 100644
--- a/src/api/process.js
+++ b/src/api/process.js
@@ -713,7 +713,7 @@ export function workGroup(data) {
params: data
})
}
-//
+// 手机端查询token
export function loginMobile(data) {
return axios({
url: 'api/lawss/activiti/loginMobile',
@@ -721,3 +721,20 @@ export function loginMobile(data) {
params: data
})
}
+
+// 日历信息编辑
+export function updateMeet(data) {
+ return axios({
+ url: '/api/sapMeetInfo/updateMeeting',
+ method: 'post',
+ params: data
+ })
+}
+
+export function upFile(data) {
+ return axios({
+ url: '/api/att/attFile/upload',
+ method: 'post',
+ data
+ })
+}
diff --git a/src/pages/localTool/standCalendar/index.vue b/src/pages/localTool/standCalendar/index.vue
index d180f3e1e..108d53c8d 100644
--- a/src/pages/localTool/standCalendar/index.vue
+++ b/src/pages/localTool/standCalendar/index.vue
@@ -17,8 +17,8 @@
-