|
@@ -180,6 +180,7 @@
|
|
|
<a-button type="primary" :loading="submitLoading" @click="handelSubmit">提交</a-button>
|
|
|
</div>
|
|
|
</a-modal>
|
|
|
+ <my-iframe ref="MyIframe" :editorJumpUrl="editorJumpUrl"></my-iframe>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -187,12 +188,14 @@
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
import { activitiMixin } from '@/views/activiti/mixins/activitiMixin'
|
|
|
import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep'
|
|
|
+import MyIframe from '../../share/modal/MyIframe'
|
|
|
export default {
|
|
|
name: "todo-manage",
|
|
|
mixins:[activitiMixin,JeecgListMixin],
|
|
|
- components:{JSelectUserByDep},
|
|
|
+ components:{JSelectUserByDep,MyIframe},
|
|
|
data() {
|
|
|
return {
|
|
|
+ editorJumpUrl:'',//申请详情跳转外部项目的地址
|
|
|
openSearch: true,
|
|
|
openTip: true,
|
|
|
loading: true, // 表单加载状态
|
|
@@ -396,7 +399,11 @@ export default {
|
|
|
}
|
|
|
r.operationType="1";//代办
|
|
|
if(r.routeName.indexOf("外部表单")!=-1){//其他项目的表单流程
|
|
|
- alert("调用其他项目页面")
|
|
|
+ var id=r.tableId;//项目管理合同数据id
|
|
|
+ //打开MyIframe弹框
|
|
|
+ this.$refs.MyIframe.editorVisible=true;
|
|
|
+ //并传入地址参数
|
|
|
+ this.$refs.MyIframe.editorJumpUrlMy='http://localhost:4200/#/contract-process-view?id='+id;
|
|
|
}else if(r.routeName.indexOf("自定义")!=-1){//自定义的表单流程
|
|
|
this.lcModa.disabled = true;
|
|
|
this.lcModa.title = '查看流程业务信息:'+r.processName;
|