From ee4fe03ebd252ba47f197b7df764130b749f8812 Mon Sep 17 00:00:00 2001 From: sunzehua Date: Wed, 26 Jul 2023 17:24:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modular/system/appManage.js | 39 +++ .../detail/modules/basicInfo.vue | 4 +- .../detail/modules/rightContent.vue | 3 +- src/views/main/vesselinfo/addForm.vue | 11 + src/views/main/vesselinfo/index.vue | 41 ++- src/views/system/ServiceFlow/addForm.vue | 321 +++++++++++++++++- 6 files changed, 402 insertions(+), 17 deletions(-) diff --git a/src/api/modular/system/appManage.js b/src/api/modular/system/appManage.js index d2b3909..9b286bb 100644 --- a/src/api/modular/system/appManage.js +++ b/src/api/modular/system/appManage.js @@ -338,3 +338,42 @@ export function GetShowTimeLine (parameter) { params: parameter }) } + +export function BaseQueryList (parameter) { + return axios({ + url: '/StatusTriggerBase/QueryList', + method: 'get', + params: parameter + }) +} + +export function GetTriggerOperTypeList (parameter) { + return axios({ + url: '/StatusTriggerBase/GetTriggerOperTypeList', + method: 'get', + params: parameter + }) +} + +export function GetTriggerNextActionTypeList (parameter) { + return axios({ + url: '/StatusTriggerBase/GetTriggerNextActionTypeList', + method: 'get', + params: parameter + }) +} + +export function CreateLiquidExpression (parameter) { + return axios({ + url: '/StatusTriggerBase/CreateLiquidExpression', + method: 'post', + data: parameter + }) +} +export function SaveStatusTriggerBase (parameter) { + return axios({ + url: '/StatusTriggerBase/Save', + method: 'post', + data: parameter + }) +} diff --git a/src/views/main/BookingLedger/detail/modules/basicInfo.vue b/src/views/main/BookingLedger/detail/modules/basicInfo.vue index 35d2cb2..d192da7 100644 --- a/src/views/main/BookingLedger/detail/modules/basicInfo.vue +++ b/src/views/main/BookingLedger/detail/modules/basicInfo.vue @@ -1128,8 +1128,8 @@ export default { // if (type === 'voyno' && this.details.carrierid === 'ESL') { // this.details.voynoinner = this.details[type] // } - if (type === 'voyno' && value !== '') { - this.details.voynoinner = this.details[type] + if (type === 'voynoinner' && this.details.voyno == '') { + this.details.voyno = this.details[type] } if (type === 'epCode' && this.details.carrierid === 'ESL') { this.details.tmblno = this.details[type] diff --git a/src/views/main/BookingLedger/detail/modules/rightContent.vue b/src/views/main/BookingLedger/detail/modules/rightContent.vue index a74188e..691d71d 100644 --- a/src/views/main/BookingLedger/detail/modules/rightContent.vue +++ b/src/views/main/BookingLedger/detail/modules/rightContent.vue @@ -708,9 +708,10 @@ export default { this.$message.loading({ content: '校验中...' }) ExcuteRulesOceanBooking(this.id) .then(res => { + console.log(res) if (res.success) { this.$message.destroy() - if (!res.succ) { + if (res.data.rows && res.data.rows.length > 0) { this.$message.error(res.data.msg) } else { this.$message.success({ content: '校验完成' }) diff --git a/src/views/main/vesselinfo/addForm.vue b/src/views/main/vesselinfo/addForm.vue index ce80fd3..6c6b8f7 100644 --- a/src/views/main/vesselinfo/addForm.vue +++ b/src/views/main/vesselinfo/addForm.vue @@ -83,6 +83,17 @@ /> + + + + + +
+ 触发器 + 添加 +
+ +
+ + + + + {{ item.statusTriggerName }} + + + 引入 + 添加 + + +
+ +
@@ -327,10 +369,159 @@
暂无数据
+ + + + + + + + + + + + + + + + + + + +
+ 条件 + 新增条件 +
+
+
+
+ 满足条件 + {{ item.showName }} + 选择 + + + {{ ite.name }} + + + 于是触发 + {{ item.nextActionTypeName }} + 选择 + +
+
+ 表达式 + + 生成表达式 +
+
+
+
+ +
+ +
+ 流程活动 + + + {{ item.showName }} + + +
+ +
+ + + + + + {{ item.name }} + + + + + + + {{ item.showName }} + + + 引入 + +
+
+ {{ item.showName }} + + + +
+
+
+ +