@@ -24,11 +24,11 @@ export default { | |||||
// "http://localhost:31173/" | // "http://localhost:31173/" | ||||
"http://192.168.10.58:8012/" | "http://192.168.10.58:8012/" | ||||
], | ], | ||||
"webHost":"http://192.168.10.58:20472/", | |||||
"webHost":"http://192.168.10.58:8009/", | |||||
// 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示 | // 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示 | ||||
"devAccount": [ | "devAccount": [ | ||||
// 20201130230 21364200000400266 老师 420528196310072253 学生 420528200606205026 420528200507261428 | // 20201130230 21364200000400266 老师 420528196310072253 学生 420528200606205026 420528200507261428 | ||||
{ username: "system", password: "www.qj.com" } | |||||
{ username: "42052819780120143x", password: "www.qj.com" } | |||||
], | ], | ||||
//是否分布式部署 指WebApi与Web不在一台服务器 | //是否分布式部署 指WebApi与Web不在一台服务器 | ||||
"isDistributed":true, | "isDistributed":true, | ||||
@@ -22,6 +22,9 @@ | |||||
<l-input title="公告内容" disabled style="border-bottom: none;"></l-input> | <l-input title="公告内容" disabled style="border-bottom: none;"></l-input> | ||||
<view class="padding text-lg" style="background-color: #fff;"> | <view class="padding text-lg" style="background-color: #fff;"> | ||||
<u-parse v-if="ready" :imageProp="{ domain: apiRoot }" :content="content"></u-parse> | <u-parse v-if="ready" :imageProp="{ domain: apiRoot }" :content="content"></u-parse> | ||||
<view v-if="ready" v-html="''"> | |||||
</view> | |||||
</view> | </view> | ||||
<l-workflow-action | <l-workflow-action | ||||
@audit="audit" | @audit="audit" | ||||
@@ -41,8 +44,10 @@ | |||||
<script> | <script> | ||||
import moment from 'moment' | import moment from 'moment' | ||||
import workflowFormMixins from '@/pages/nworkflow/workflow.js' | |||||
export default { | export default { | ||||
mixins: [workflowFormMixins], | |||||
data() { | data() { | ||||
return { | return { | ||||
tab:0, | tab:0, | ||||
@@ -77,7 +82,8 @@ export default { | |||||
this.processInfo = noticeItem.processInfo | this.processInfo = noticeItem.processInfo | ||||
this.taskId = this.currentTask.F_TaskId | this.taskId = this.currentTask.F_TaskId | ||||
this.processId = this.currentTask.F_Id | this.processId = this.currentTask.F_Id | ||||
this.LOADING('加载数据中…') | |||||
this.formValue = noticeItem.formValue | |||||
this.scheme = noticeItem.scheme | |||||
await this.getFormData(this.processList[0].F_ProcessId) | await this.getFormData(this.processList[0].F_ProcessId) | ||||
this.HIDE_LOADING(); | this.HIDE_LOADING(); | ||||
@@ -105,17 +105,18 @@ export default { | |||||
const fetchFolderkeyData=await this.fetchFolderkeyData(this.currentNode , this.processId); | const fetchFolderkeyData=await this.fetchFolderkeyData(this.currentNode , this.processId); | ||||
uni.setStorageSync('guids',JSON.stringify(fetchFolderkeyData)); | uni.setStorageSync('guids',JSON.stringify(fetchFolderkeyData)); | ||||
// 处理移动端本地表单(也就是系统表单)的情况,直接跳转过去 | |||||
const appSysPage = wfForms.find(t => t.appurl) | |||||
if (this.type !== 'child' && appSysPage) { | |||||
this.sysFormJump(appSysPage.appurl, { | |||||
currentNode: this.currentNode, | |||||
currentTask: this.currentTask, | |||||
logList: this.processList, | |||||
processInfo:this.processInfo | |||||
}) | |||||
return | |||||
} | |||||
// // 处理移动端本地表单(也就是系统表单)的情况,直接跳转过去 | |||||
// const appSysPage = wfForms.find(t => t.appurl) | |||||
// if (this.type !== 'child' && appSysPage) { | |||||
// this.sysFormJump(appSysPage.appurl, { | |||||
// currentNode: this.currentNode, | |||||
// currentTask: this.currentTask, | |||||
// logList: this.processList, | |||||
// processInfo:this.processInfo | |||||
// }) | |||||
// return | |||||
// } | |||||
if (this.type === 'child') { | if (this.type === 'child') { | ||||
// 发起子流程的场合 | // 发起子流程的场合 | ||||
// 获取子流程的流程信息,提取出时间线和表单模板 code | // 获取子流程的流程信息,提取出时间线和表单模板 code | ||||
@@ -146,6 +147,21 @@ export default { | |||||
code: this.code, | code: this.code, | ||||
useDefault: true | useDefault: true | ||||
}) | }) | ||||
// 处理移动端本地表单(也就是系统表单)的情况,直接跳转过去 | |||||
const appSysPage = wfForms.find(t => t.appurl) | |||||
if (this.type !== 'child' && appSysPage) { | |||||
this.sysFormJump(appSysPage.appurl, { | |||||
currentNode: this.currentNode, | |||||
currentTask: this.currentTask, | |||||
logList: this.processList, | |||||
processInfo:this.processInfo, | |||||
formValue, | |||||
scheme, | |||||
}) | |||||
return | |||||
} | |||||
this.scheme = scheme | this.scheme = scheme | ||||
this.formValue = formValue | this.formValue = formValue | ||||
this.rel = rel | this.rel = rel | ||||
@@ -160,6 +176,21 @@ export default { | |||||
processId: this.processId, | processId: this.processId, | ||||
code: null | code: null | ||||
}) | }) | ||||
// 处理移动端本地表单(也就是系统表单)的情况,直接跳转过去 | |||||
const appSysPage = wfForms.find(t => t.appurl) | |||||
if (this.type !== 'child' && appSysPage) { | |||||
this.sysFormJump(appSysPage.appurl, { | |||||
currentNode: this.currentNode, | |||||
currentTask: this.currentTask, | |||||
logList: this.processList, | |||||
processInfo:this.processInfo, | |||||
formValue, | |||||
scheme, | |||||
}) | |||||
return | |||||
} | |||||
this.scheme = scheme | this.scheme = scheme | ||||
this.formValue = formValue | this.formValue = formValue | ||||
this.rel = rel | this.rel = rel | ||||