| | |
| | | |
| | | <script> |
| | | import {validatenull} from "@/util/validate"; |
| | | |
| | | import {getTemplateByType} from "@/api/base/startWork/index" |
| | | export default { |
| | | name: "startWorkFlow", |
| | | props: { |
| | |
| | | } |
| | | }, |
| | | }, |
| | | mounted() { |
| | | created() { |
| | | this.modelNameChange(); |
| | | this.getWorkByType(); |
| | | }, |
| | | mounted() { |
| | | }, |
| | | methods: { |
| | | // 获取流程模板信息 |
| | | getWorkByType(){ |
| | | let params = { |
| | | type:'文档审签流程', |
| | | filterTemplate:"" |
| | | } |
| | | getTemplateByType(params).then(res => { |
| | | console.log(res) |
| | | }) |
| | | }, |
| | | // 关闭弹窗 |
| | | dialogClose() { |
| | | this.visible = false; |
| | |
| | | if (this.paramVOS && this.paramVOS.modelName) { |
| | | this.saveParam.modelName = this.paramVOS.modelName; |
| | | } else if (userInfo.content && userInfo.content.userName) { |
| | | this.saveParam.modelName = userInfo.content.userName + '[启动流程]'; |
| | | this.saveParam.modelName = userInfo.content.userName + '启动流程'; |
| | | } else { |
| | | this.saveParam.modelName = ''; |
| | | } |