Bläddra i källkod

通知公告 流程bug

临城职教中职
杨晓琪 2 år sedan
förälder
incheckning
a470995efe
3 ändrade filer med 51 tillägg och 14 borttagningar
  1. +2
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
  2. +7
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LR_OAModule/noticeExamine.vue
  3. +42
    -11
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/single.vue

+ 2
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js Visa fil

@@ -24,11 +24,11 @@ export default {
// "http://localhost:31173/"
"http://192.168.10.58:8012/"
],
"webHost":"http://192.168.10.58:20472/",
"webHost":"http://192.168.10.58:8009/",
// 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示
"devAccount": [
// 20201130230 21364200000400266 老师 420528196310072253 学生 420528200606205026 420528200507261428
{ username: "system", password: "www.qj.com" }
{ username: "42052819780120143x", password: "www.qj.com" }
],
//是否分布式部署 指WebApi与Web不在一台服务器
"isDistributed":true,


+ 7
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LR_OAModule/noticeExamine.vue Visa fil

@@ -22,6 +22,9 @@
<l-input title="公告内容" disabled style="border-bottom: none;"></l-input>
<view class="padding text-lg" style="background-color: #fff;">
<u-parse v-if="ready" :imageProp="{ domain: apiRoot }" :content="content"></u-parse>
<view v-if="ready" v-html="''">
</view>
</view>
<l-workflow-action
@audit="audit"
@@ -41,8 +44,10 @@

<script>
import moment from 'moment'
import workflowFormMixins from '@/pages/nworkflow/workflow.js'

export default {
mixins: [workflowFormMixins],
data() {
return {
tab:0,
@@ -77,7 +82,8 @@ export default {
this.processInfo = noticeItem.processInfo
this.taskId = this.currentTask.F_TaskId
this.processId = this.currentTask.F_Id
this.LOADING('加载数据中…')
this.formValue = noticeItem.formValue
this.scheme = noticeItem.scheme
await this.getFormData(this.processList[0].F_ProcessId)
this.HIDE_LOADING();


+ 42
- 11
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/single.vue Visa fil

@@ -105,17 +105,18 @@ export default {
const fetchFolderkeyData=await this.fetchFolderkeyData(this.currentNode , this.processId);
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') {
// 发起子流程的场合
// 获取子流程的流程信息,提取出时间线和表单模板 code
@@ -146,6 +147,21 @@ export default {
code: this.code,
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.formValue = formValue
this.rel = rel
@@ -160,6 +176,21 @@ export default {
processId: this.processId,
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.formValue = formValue
this.rel = rel


Laddar…
Avbryt
Spara