[update] 修改goBack调用钉钉的关闭当前页
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
import * as dd from 'dingtalk-jsapi'
|
||||||
|
|
||||||
export const WorkCenterMixin = {
|
export const WorkCenterMixin = {
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -9,6 +11,14 @@ export const WorkCenterMixin = {
|
|||||||
// switch切换
|
// switch切换
|
||||||
switchChange (value) {
|
switchChange (value) {
|
||||||
this.switchValue = value
|
this.switchValue = value
|
||||||
|
},
|
||||||
|
goBack () {
|
||||||
|
// 调用钉钉的关闭当前页面方法
|
||||||
|
if (dd.ios || dd.android || dd.pc) {
|
||||||
|
dd.biz.navigation.close()
|
||||||
|
} else {
|
||||||
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-3
@@ -146,9 +146,11 @@ import {
|
|||||||
activelyReportAgree,
|
activelyReportAgree,
|
||||||
activelyReportReject
|
activelyReportReject
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AnnualRevisionPlanActivelyReport',
|
name: 'AnnualRevisionPlanActivelyReport',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: {
|
components: {
|
||||||
ProcessCommonLayout,
|
ProcessCommonLayout,
|
||||||
CalendarField,
|
CalendarField,
|
||||||
@@ -418,9 +420,6 @@ export default {
|
|||||||
this.$message(this.$t('pleaseEnterRemarks'))
|
this.$message(this.$t('pleaseEnterRemarks'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-3
@@ -134,9 +134,11 @@ import {
|
|||||||
standardizationInitAgree,
|
standardizationInitAgree,
|
||||||
standardizationInitReject
|
standardizationInitReject
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AnnualRevisionPlanStandardizationInit',
|
name: 'AnnualRevisionPlanStandardizationInit',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: {
|
components: {
|
||||||
ProcessCommonLayout,
|
ProcessCommonLayout,
|
||||||
CalendarField,
|
CalendarField,
|
||||||
@@ -399,9 +401,6 @@ export default {
|
|||||||
this.$message(this.$t('pleaseEnterRemarks'))
|
this.$message(this.$t('pleaseEnterRemarks'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -200,9 +200,11 @@ import {
|
|||||||
enStandardAnnulAgree,
|
enStandardAnnulAgree,
|
||||||
enStandardAnnulReject
|
enStandardAnnulReject
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterpriseStandardAnnul',
|
name: 'EnterpriseStandardAnnul',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: {
|
components: {
|
||||||
ProcessCommonLayout,
|
ProcessCommonLayout,
|
||||||
CalendarField,
|
CalendarField,
|
||||||
@@ -342,9 +344,6 @@ export default {
|
|||||||
this.$message(this.$t('pleaseEnterRemarks'))
|
this.$message(this.$t('pleaseEnterRemarks'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -846,9 +846,12 @@ import {
|
|||||||
import SelectUserField from '@/components/SelectUserField'
|
import SelectUserField from '@/components/SelectUserField'
|
||||||
import SelectDepartmentField from '@/components/SelectDepartmentField'
|
import SelectDepartmentField from '@/components/SelectDepartmentField'
|
||||||
import SelectUser from '@/components/SelectUser'
|
import SelectUser from '@/components/SelectUser'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
import * as dd from "dingtalk-jsapi";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterpriseStandardInitChange',
|
name: 'EnterpriseStandardInitChange',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: {
|
components: {
|
||||||
PickerDictField,
|
PickerDictField,
|
||||||
PickerField,
|
PickerField,
|
||||||
@@ -1194,7 +1197,6 @@ export default {
|
|||||||
this.$emit('titleChange', EsInitChangeNodes.leaderLeaderApproval.changeText)
|
this.$emit('titleChange', EsInitChangeNodes.leaderLeaderApproval.changeText)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// 节点7或者节点8需要回显选人表单
|
// 节点7或者节点8需要回显选人表单
|
||||||
if (this.currentNode === 7) {
|
if (this.currentNode === 7) {
|
||||||
@@ -1411,9 +1413,6 @@ export default {
|
|||||||
}).catch((errorInfo) => {
|
}).catch((errorInfo) => {
|
||||||
console.log(errorInfo)
|
console.log(errorInfo)
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-3
@@ -119,8 +119,10 @@ import SelectUser from '@/components/SelectUser'
|
|||||||
import CalendarField from '@/components/CalendarField'
|
import CalendarField from '@/components/CalendarField'
|
||||||
import ZUpload from '@/components/ZUpload'
|
import ZUpload from '@/components/ZUpload'
|
||||||
import { approvalInspectPlan, getInspectPlanDetail, rejectInspectPlan, transferInspectPlan } from '@/api/api'
|
import { approvalInspectPlan, getInspectPlanDetail, rejectInspectPlan, transferInspectPlan } from '@/api/api'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterpriseStandardInspectionPlanFlow',
|
name: 'EnterpriseStandardInspectionPlanFlow',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: { ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
components: { ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -383,9 +385,6 @@ export default {
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
this.rules.commitText[0].required = false
|
this.rules.commitText[0].required = false
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-3
@@ -136,9 +136,11 @@ import {
|
|||||||
rejectInspectProcess,
|
rejectInspectProcess,
|
||||||
transferInspectProcess
|
transferInspectProcess
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EenterpriseStandardInspectionProcess',
|
name: 'EenterpriseStandardInspectionProcess',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: { ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
components: { ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -444,9 +446,6 @@ export default {
|
|||||||
// 去PC端查看
|
// 去PC端查看
|
||||||
handleGoPC () {
|
handleGoPC () {
|
||||||
this.$message(this.$t('toPcLook'))
|
this.$message(this.$t('toPcLook'))
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-3
@@ -244,9 +244,11 @@ import {
|
|||||||
transferInspectRectify
|
transferInspectRectify
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
import FileDisplay from '@/components/FileDisplay'
|
import FileDisplay from '@/components/FileDisplay'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterpriseStandardInspectionRectification',
|
name: 'EnterpriseStandardInspectionRectification',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: { FileDisplay, ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
components: { FileDisplay, ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -449,9 +451,6 @@ export default {
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
this.rules.commitText[0].required = false
|
this.rules.commitText[0].required = false
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -212,9 +212,11 @@ import {
|
|||||||
enStandardRecheckReject,
|
enStandardRecheckReject,
|
||||||
enStandardRecheckGetDataById
|
enStandardRecheckGetDataById
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterpriseStandardRecheck',
|
name: 'EnterpriseStandardRecheck',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: { PickerField, ProcessCommonLayout, SelectUser, CalendarField, ZUpload },
|
components: { PickerField, ProcessCommonLayout, SelectUser, CalendarField, ZUpload },
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -452,9 +454,6 @@ export default {
|
|||||||
this.$message(this.$t('pleaseEnterRemarks'))
|
this.$message(this.$t('pleaseEnterRemarks'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -179,9 +179,11 @@ import DepartLiaisonIssueBaseInfo
|
|||||||
import OnlyOnlineEditBaseInfo from '@/views/workCenter/enterpriseStandardRevision/module/OnlyOnlineEditBaseInfo'
|
import OnlyOnlineEditBaseInfo from '@/views/workCenter/enterpriseStandardRevision/module/OnlyOnlineEditBaseInfo'
|
||||||
import ZUpload from '@/components/ZUpload'
|
import ZUpload from '@/components/ZUpload'
|
||||||
import { Base64 } from 'js-base64'
|
import { Base64 } from 'js-base64'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterpriseStandardRevision',
|
name: 'EnterpriseStandardRevision',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: {
|
components: {
|
||||||
OnlyOnlineEditBaseInfo,
|
OnlyOnlineEditBaseInfo,
|
||||||
DepartLiaisonIssueBaseInfo,
|
DepartLiaisonIssueBaseInfo,
|
||||||
@@ -515,9 +517,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
},
|
|
||||||
// 在线编辑的查看
|
// 在线编辑的查看
|
||||||
onlineEditView (fileId) {
|
onlineEditView (fileId) {
|
||||||
queryFileInfoByEditId({ id: fileId }).then(res => {
|
queryFileInfoByEditId({ id: fileId }).then(res => {
|
||||||
|
|||||||
@@ -200,9 +200,11 @@ import {
|
|||||||
enStandardSealSaveReject,
|
enStandardSealSaveReject,
|
||||||
enStandardSealSaveGetDataById
|
enStandardSealSaveGetDataById
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterpriseStandardSealSave',
|
name: 'EnterpriseStandardSealSave',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: {
|
components: {
|
||||||
ProcessCommonLayout,
|
ProcessCommonLayout,
|
||||||
CalendarField,
|
CalendarField,
|
||||||
@@ -342,9 +344,6 @@ export default {
|
|||||||
this.$message(this.$t('pleaseEnterRemarks'))
|
this.$message(this.$t('pleaseEnterRemarks'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -200,9 +200,11 @@ import {
|
|||||||
enStandardStartUseReject,
|
enStandardStartUseReject,
|
||||||
enStandardStartUseGetDataById
|
enStandardStartUseGetDataById
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterpriseStandardStartUse',
|
name: 'EnterpriseStandardStartUse',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: {
|
components: {
|
||||||
ProcessCommonLayout,
|
ProcessCommonLayout,
|
||||||
CalendarField,
|
CalendarField,
|
||||||
@@ -342,9 +344,6 @@ export default {
|
|||||||
this.$message(this.$t('pleaseEnterRemarks'))
|
this.$message(this.$t('pleaseEnterRemarks'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -124,8 +124,11 @@ import {
|
|||||||
rejectInspectExtension,
|
rejectInspectExtension,
|
||||||
transferInspectExtension
|
transferInspectExtension
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'InspectionExtensionRequestProcess',
|
name: 'InspectionExtensionRequestProcess',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: { ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
components: { ZUpload, CalendarField, SelectUser, ProcessCommonLayout },
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -381,9 +384,6 @@ export default {
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
this.rules.commitText[0].required = false
|
this.rules.commitText[0].required = false
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ import { processTransfer, queryNoMatchTrackingProcess, agreeNoMatchTrackingProce
|
|||||||
import ZExpandTable from '../../../components/ZExpandTable'
|
import ZExpandTable from '../../../components/ZExpandTable'
|
||||||
import SelectUser from '../../../components/SelectUser'
|
import SelectUser from '../../../components/SelectUser'
|
||||||
import ZUpload from '../../../components/ZUpload'
|
import ZUpload from '../../../components/ZUpload'
|
||||||
|
import * as dd from 'dingtalk-jsapi'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'NoMatchTrackingProcess',
|
name: 'NoMatchTrackingProcess',
|
||||||
@@ -254,7 +255,6 @@ export default {
|
|||||||
this.dataSource = result.businessInfoDTO.processProjectNotMetLinks || []
|
this.dataSource = result.businessInfoDTO.processProjectNotMetLinks || []
|
||||||
}
|
}
|
||||||
console.log(result)
|
console.log(result)
|
||||||
|
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
@@ -285,7 +285,12 @@ export default {
|
|||||||
let timer = setTimeout(() => {
|
let timer = setTimeout(() => {
|
||||||
clearTimeout(timer)
|
clearTimeout(timer)
|
||||||
timer = null
|
timer = null
|
||||||
this.$router.go(-1)
|
// 调用钉钉的关闭当前页面方法
|
||||||
|
if (dd.ios || dd.android || dd.pc) {
|
||||||
|
dd.biz.navigation.close()
|
||||||
|
} else {
|
||||||
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
}, 700)
|
}, 700)
|
||||||
},
|
},
|
||||||
validateForm (formName) {
|
validateForm (formName) {
|
||||||
@@ -308,7 +313,7 @@ export default {
|
|||||||
* @returns {Promise<{businessInfoDTO: {processProjectNotMetLinks: any}, userInfoMap, basicProcessInfoDTO: {}, basicTaskInfoDTO: {}}|boolean>}
|
* @returns {Promise<{businessInfoDTO: {processProjectNotMetLinks: any}, userInfoMap, basicProcessInfoDTO: {}, basicTaskInfoDTO: {}}|boolean>}
|
||||||
*/
|
*/
|
||||||
async dealFormData () {
|
async dealFormData () {
|
||||||
let flag = true, basicTaskInfoDTO = {}
|
let flag = true; let basicTaskInfoDTO = {}
|
||||||
const approvalCheckResult = await this.validateForm('approvalForm')
|
const approvalCheckResult = await this.validateForm('approvalForm')
|
||||||
if (approvalCheckResult) {
|
if (approvalCheckResult) {
|
||||||
basicTaskInfoDTO = { ...this.approvalInfo, taskId: this.$route.query.taskId }
|
basicTaskInfoDTO = { ...this.approvalInfo, taskId: this.$route.query.taskId }
|
||||||
|
|||||||
@@ -160,9 +160,11 @@ import {
|
|||||||
transferPermissionApply
|
transferPermissionApply
|
||||||
} from '@/api/api'
|
} from '@/api/api'
|
||||||
import CalendarField from '@/components/CalendarField'
|
import CalendarField from '@/components/CalendarField'
|
||||||
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'permissionApplicationProcess',
|
name: 'permissionApplicationProcess',
|
||||||
|
mixins: [WorkCenterMixin],
|
||||||
components: { CalendarField, ZUpload, SelectUser, ProcessCommonLayout },
|
components: { CalendarField, ZUpload, SelectUser, ProcessCommonLayout },
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -376,9 +378,6 @@ export default {
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
this.rules.commitText[0].required = false
|
this.rules.commitText[0].required = false
|
||||||
})
|
})
|
||||||
},
|
|
||||||
goBack () {
|
|
||||||
this.$router.go(-1)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 组件内路由拦截
|
// 组件内路由拦截
|
||||||
|
|||||||
+12
-6
@@ -174,6 +174,7 @@ import {
|
|||||||
rejectProjectComplianceEvaluation
|
rejectProjectComplianceEvaluation
|
||||||
} from '../../../api/api'
|
} from '../../../api/api'
|
||||||
import ZExpandTable from '../../../components/ZExpandTable'
|
import ZExpandTable from '../../../components/ZExpandTable'
|
||||||
|
import * as dd from 'dingtalk-jsapi'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ProjectComplianceEvaluationProcess',
|
name: 'ProjectComplianceEvaluationProcess',
|
||||||
@@ -243,7 +244,7 @@ export default {
|
|||||||
// 展开表格的配置项
|
// 展开表格的配置项
|
||||||
extraForm: {
|
extraForm: {
|
||||||
// 符合
|
// 符合
|
||||||
'1': {
|
1: {
|
||||||
rules: {
|
rules: {
|
||||||
// 依据描述
|
// 依据描述
|
||||||
description: {
|
description: {
|
||||||
@@ -273,7 +274,7 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
// 不符合
|
// 不符合
|
||||||
'2': {
|
2: {
|
||||||
rules: {
|
rules: {
|
||||||
// 不符合项
|
// 不符合项
|
||||||
nonConformance: {
|
nonConformance: {
|
||||||
@@ -313,7 +314,7 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
// 待验证
|
// 待验证
|
||||||
'3': {
|
3: {
|
||||||
rules: {
|
rules: {
|
||||||
// 风险点
|
// 风险点
|
||||||
riskPoints: {
|
riskPoints: {
|
||||||
@@ -353,7 +354,7 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
// 不涉及
|
// 不涉及
|
||||||
'4': {
|
4: {
|
||||||
rules: {
|
rules: {
|
||||||
// 不涉及原因
|
// 不涉及原因
|
||||||
description: {
|
description: {
|
||||||
@@ -448,7 +449,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
async dealFormData () {
|
async dealFormData () {
|
||||||
let flag = true, approvalInfo = {}
|
let flag = true; let approvalInfo = {}
|
||||||
const approvalCheckResult = await this.validateForm('approvalForm')
|
const approvalCheckResult = await this.validateForm('approvalForm')
|
||||||
if (approvalCheckResult) {
|
if (approvalCheckResult) {
|
||||||
approvalInfo = { ...this.approvalInfo, taskId: this.$route.query.taskId }
|
approvalInfo = { ...this.approvalInfo, taskId: this.$route.query.taskId }
|
||||||
@@ -549,7 +550,12 @@ export default {
|
|||||||
let timer = setTimeout(() => {
|
let timer = setTimeout(() => {
|
||||||
clearTimeout(timer)
|
clearTimeout(timer)
|
||||||
timer = null
|
timer = null
|
||||||
this.$router.go(-1)
|
// 调用钉钉的关闭当前页面方法
|
||||||
|
if (dd.ios || dd.android || dd.pc) {
|
||||||
|
dd.biz.navigation.close()
|
||||||
|
} else {
|
||||||
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
}, 700)
|
}, 700)
|
||||||
},
|
},
|
||||||
handleShowContentDetail (text) {
|
handleShowContentDetail (text) {
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ import { agreeStandardCompliance, processTransfer, queryStandardCompliance, reje
|
|||||||
import ZExpandTable from '../../../components/ZExpandTable'
|
import ZExpandTable from '../../../components/ZExpandTable'
|
||||||
import FileDisplay from '../../../components/FileDisplay'
|
import FileDisplay from '../../../components/FileDisplay'
|
||||||
import ZUpload from '../../../components/ZUpload'
|
import ZUpload from '../../../components/ZUpload'
|
||||||
|
import * as dd from 'dingtalk-jsapi'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'StandardComplianceProcess',
|
name: 'StandardComplianceProcess',
|
||||||
@@ -340,7 +341,12 @@ export default {
|
|||||||
let timer = setTimeout(() => {
|
let timer = setTimeout(() => {
|
||||||
clearTimeout(timer)
|
clearTimeout(timer)
|
||||||
timer = null
|
timer = null
|
||||||
this.$router.go(-1)
|
// 调用钉钉的关闭当前页面方法
|
||||||
|
if (dd.ios || dd.android || dd.pc) {
|
||||||
|
dd.biz.navigation.close()
|
||||||
|
} else {
|
||||||
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
}, 700)
|
}, 700)
|
||||||
},
|
},
|
||||||
handleShowContentDetail (text) {
|
handleShowContentDetail (text) {
|
||||||
|
|||||||
@@ -243,6 +243,7 @@ import {
|
|||||||
} from '../../../api/api'
|
} from '../../../api/api'
|
||||||
import SelectUser from '../../../components/SelectUser'
|
import SelectUser from '../../../components/SelectUser'
|
||||||
import ZExpandTable from '../../../components/ZExpandTable'
|
import ZExpandTable from '../../../components/ZExpandTable'
|
||||||
|
import * as dd from 'dingtalk-jsapi'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'StandardConsultationProcess',
|
name: 'StandardConsultationProcess',
|
||||||
@@ -344,7 +345,7 @@ export default {
|
|||||||
dataSource: [],
|
dataSource: [],
|
||||||
extraForm: {
|
extraForm: {
|
||||||
// 采纳
|
// 采纳
|
||||||
'1': {
|
1: {
|
||||||
rules: {
|
rules: {
|
||||||
// 依据描述
|
// 依据描述
|
||||||
basisDescription: {
|
basisDescription: {
|
||||||
@@ -374,7 +375,7 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
// 部分采纳
|
// 部分采纳
|
||||||
'2': {
|
2: {
|
||||||
rules: {
|
rules: {
|
||||||
// 依据描述
|
// 依据描述
|
||||||
basisDescription: {
|
basisDescription: {
|
||||||
@@ -404,7 +405,7 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
// 不采纳
|
// 不采纳
|
||||||
'3': {
|
3: {
|
||||||
rules: {
|
rules: {
|
||||||
// 依据描述
|
// 依据描述
|
||||||
basisDescription: {
|
basisDescription: {
|
||||||
@@ -517,8 +518,8 @@ export default {
|
|||||||
},
|
},
|
||||||
async dealFormData (isSave) {
|
async dealFormData (isSave) {
|
||||||
// 提交的表单数据,流程信息,流程审批信息,征求意见列表,业务分派信息,业务基本信息
|
// 提交的表单数据,流程信息,流程审批信息,征求意见列表,业务分派信息,业务基本信息
|
||||||
let formData = {}, processInfo = {}, approvalInfo = {}, consultationListData = [], dispatchInfo = {}, basicServiceInfo = {},
|
let formData = {}; let processInfo = {}; let approvalInfo = {}; let consultationListData = []; let dispatchInfo = {}; let basicServiceInfo = {}
|
||||||
userInfoMap = {}, flag = true
|
let userInfoMap = {}; let flag = true
|
||||||
// 流程信息
|
// 流程信息
|
||||||
processInfo = { ...this.processInfo }
|
processInfo = { ...this.processInfo }
|
||||||
// 业务基本信息
|
// 业务基本信息
|
||||||
@@ -672,7 +673,12 @@ export default {
|
|||||||
let timer = setTimeout(() => {
|
let timer = setTimeout(() => {
|
||||||
clearTimeout(timer)
|
clearTimeout(timer)
|
||||||
timer = null
|
timer = null
|
||||||
this.$router.go(-1)
|
// 调用钉钉的关闭当前页面方法
|
||||||
|
if (dd.ios || dd.android || dd.pc) {
|
||||||
|
dd.biz.navigation.close()
|
||||||
|
} else {
|
||||||
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
}, 700)
|
}, 700)
|
||||||
},
|
},
|
||||||
handleShowContentDetail (text) {
|
handleShowContentDetail (text) {
|
||||||
|
|||||||
@@ -152,6 +152,7 @@ import { FieldType, StandardSource, ProcessKey, FGEntryChangeProcessNode } from
|
|||||||
import FileDisplay from '../../../components/FileDisplay'
|
import FileDisplay from '../../../components/FileDisplay'
|
||||||
import SelectUser from '../../../components/SelectUser'
|
import SelectUser from '../../../components/SelectUser'
|
||||||
import ZUpload from '../../../components/ZUpload'
|
import ZUpload from '../../../components/ZUpload'
|
||||||
|
import * as dd from 'dingtalk-jsapi'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'StandardEntryOrChangeProcess',
|
name: 'StandardEntryOrChangeProcess',
|
||||||
@@ -388,7 +389,12 @@ export default {
|
|||||||
let timer = setTimeout(() => {
|
let timer = setTimeout(() => {
|
||||||
clearTimeout(timer)
|
clearTimeout(timer)
|
||||||
timer = null
|
timer = null
|
||||||
this.$router.go(-1)
|
// 调用钉钉的关闭当前页面方法
|
||||||
|
if (dd.ios || dd.android || dd.pc) {
|
||||||
|
dd.biz.navigation.close()
|
||||||
|
} else {
|
||||||
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
}, 700)
|
}, 700)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -149,6 +149,7 @@ import {
|
|||||||
carbonCopyProcurementProcess
|
carbonCopyProcurementProcess
|
||||||
} from '../../../api/api'
|
} from '../../../api/api'
|
||||||
import SelectUser from '../../../components/SelectUser'
|
import SelectUser from '../../../components/SelectUser'
|
||||||
|
import * as dd from 'dingtalk-jsapi'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'StandardProcurementProcess',
|
name: 'StandardProcurementProcess',
|
||||||
@@ -230,7 +231,12 @@ export default {
|
|||||||
let timer = setTimeout(() => {
|
let timer = setTimeout(() => {
|
||||||
clearTimeout(timer)
|
clearTimeout(timer)
|
||||||
timer = null
|
timer = null
|
||||||
this.$router.go(-1)
|
// 调用钉钉的关闭当前页面方法
|
||||||
|
if (dd.ios || dd.android || dd.pc) {
|
||||||
|
dd.biz.navigation.close()
|
||||||
|
} else {
|
||||||
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
}, 700)
|
}, 700)
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user