소스 검색

单位与部门关于单据得页面增加查看流程图功能;

SunZehao 1 년 전
부모
커밋
45ec6f2caf

+ 12 - 4
src/components/assessment/assessmentApplicationPage.vue

@@ -171,7 +171,11 @@
                         <el-table-column label="任务名称" prop="taskName" />
                         <el-table-column label="任务创建时间" prop="createTime" />
                         <el-table-column label="任务处理时间" prop="approveTime" />
-                        <el-table-column label="候选人" prop="assignInfo" width="500" />
+                        <el-table-column label="候选人" prop="assignInfo" width="500">
+                            <template #default="scope">
+                                <span>{{changeAssignInfo(scope.row)}}</span>
+                            </template>
+                        </el-table-column>
                         <el-table-column label="执行人" prop="approverName" />
                         <el-table-column label="处理状态" prop="status">
                             <template #default="scope">
@@ -316,14 +320,14 @@ export default {
         // 查询列表页面
         getassessmentApplicationList() {
             let that = this
-            // let userMes = JSON.parse(window.sessionStorage.getItem('user'))
+            let userMes = JSON.parse(window.sessionStorage.getItem('user'))
             let params = {
                 pageNum: that.page.currentPage,
                 pageSize: that.page.pagesize,
                 orderNumber: that.orderNumber,
                 deptName: that.departNameS,
-                // deptId: userMes.deptId,
-                deptId: '',
+                deptId: userMes.deptId,
+                // deptId: '',
                 annual: that.timeIds ? this.timeIds.substring(0, this.timeIds.indexOf('-'))*1 : null,
                 declarationMonth: that.timeIds ? this.timeIds.substring(this.timeIds.indexOf('-')+1, this.timeIds.length)*1 : null
             }
@@ -538,6 +542,10 @@ export default {
                 }
             })
         },
+        changeAssignInfo(row) {
+            let showStr = ''
+            return showStr = row.assignInfo.substring(row.assignInfo.indexOf('-')+1, row.assignInfo.length).substring(0, row.assignInfo.substring(row.assignInfo.indexOf('-')+1, row.assignInfo.length).indexOf('-'))
+        },
         seeStates(row) {
             if (!row.instId) {
                 this.$message({

+ 11 - 0
src/components/assessment/evaluationAmendmentPage.vue

@@ -151,6 +151,9 @@
             </el-dialog>
             <el-dialog title="流程详情" v-model="statesVisible" :fullscreen="true" :close-on-click-modal="false">
                 <div class="flowSty">
+                    <iframe id="iframeContain" width="100%" height="500px"
+                     frameborder="0" class="iframe" name="iframeContain" seamless scrolling="no" :src="iframeURL">            
+                    </iframe>
                     <el-table :data="stageArr" style="width: 100%">
                         <el-table-column type="index" label="序号" align="center" />
                         <el-table-column label="任务名称" prop="taskName" />
@@ -193,6 +196,7 @@ export default {
             dialogVisible: false,
             statesVisible: false,
             title: '',
+            iframeURL: '',
             windframradio: {},
             deleteSelect: [],
             changeDateSelect: [],
@@ -459,6 +463,13 @@ export default {
                 });
             } else {
                 this.statesVisible = true
+                let url = ''
+                if (window.location.hostname === '10.65.78.81') {
+                    url = 'http://10.65.79.85:8080'
+                } else {
+                    url = 'http://10.65.78.23:8080'
+                }
+                this.iframeURL = url+'/agilebpm-ui/bpm/instance/instanceImageDialog.html?instanceId='+row.instId+'&iamCode='+window.localStorage.getItem('code')
                 this.getstageData(row.instId)
             }
         },

+ 11 - 0
src/components/assessment/evaluationDeptBusinessPage.vue

@@ -57,6 +57,9 @@
             </div>
             <el-dialog title="流程详情" v-model="statesVisible" :fullscreen="true" :close-on-click-modal="false">
                 <div class="flowSty">
+                    <iframe id="iframeContain" width="100%" height="500px"
+                     frameborder="0" class="iframe" name="iframeContain" seamless scrolling="no" :src="iframeURL">            
+                    </iframe>
                     <el-table :data="stageArr" style="width: 100%">
                         <el-table-column type="index" label="序号" align="center" />
                         <el-table-column label="任务名称" prop="taskName" />
@@ -104,6 +107,7 @@ export default {
             },
             rescode: '',
             resDes: '',
+            iframeURL: '',
             stageArr: [],
             statesVisible: false
         }
@@ -184,6 +188,13 @@ export default {
                 });
             } else {
                 this.statesVisible = true
+                let url = ''
+                if (window.location.hostname === '10.65.78.81') {
+                    url = 'http://10.65.79.85:8080'
+                } else {
+                    url = 'http://10.65.78.23:8080'
+                }
+                this.iframeURL = url+'/agilebpm-ui/bpm/instance/instanceImageDialog.html?instanceId='+row.instId+'&iamCode='+window.localStorage.getItem('code')
                 this.getstageData(row.instId)
             }
         },

+ 11 - 0
src/components/assessment/evaluationDeptStartPage.vue

@@ -132,6 +132,9 @@
             </el-dialog>
             <el-dialog title="流程详情" v-model="statesVisible" :fullscreen="true" :close-on-click-modal="false">
                 <div class="flowSty">
+                    <iframe id="iframeContain" width="100%" height="500px"
+                     frameborder="0" class="iframe" name="iframeContain" seamless scrolling="no" :src="iframeURL">            
+                    </iframe>
                     <el-table :data="stageArr" style="width: 100%">
                         <el-table-column type="index" label="序号" align="center" />
                         <el-table-column label="任务名称" prop="taskName" />
@@ -175,6 +178,7 @@ export default {
             dialogVisible: false,
             statesVisible: false,
             title: '',
+            iframeURL: '',
             windframradio: {},
             deleteSelect: [],
             changeDateSelect: [],
@@ -449,6 +453,13 @@ export default {
                 });
             } else {
                 this.statesVisible = true
+                let url = ''
+                if (window.location.hostname === '10.65.78.81') {
+                    url = 'http://10.65.79.85:8080'
+                } else {
+                    url = 'http://10.65.78.23:8080'
+                }
+                this.iframeURL = url+'/agilebpm-ui/bpm/instance/instanceImageDialog.html?instanceId='+row.instId+'&iamCode='+window.localStorage.getItem('code')
                 this.getstageData(row.instId)
             }
         },

+ 11 - 0
src/components/assessment/evaluationMonthPage.vue

@@ -153,6 +153,9 @@
             </el-dialog>
             <el-dialog title="流程详情" v-model="statesVisible" :fullscreen="true" :close-on-click-modal="false">
                 <div class="flowSty">
+                    <iframe id="iframeContain" width="100%" height="500px"
+                     frameborder="0" class="iframe" name="iframeContain" seamless scrolling="no" :src="iframeURL">            
+                    </iframe>
                     <el-table :data="stageArr" style="width: 100%">
                         <el-table-column type="index" label="序号" align="center" />
                         <el-table-column label="任务名称" prop="taskName" />
@@ -198,6 +201,7 @@ export default {
             statesVisible: false,
             stageArr: [],
             title: '',
+            iframeURL: '',
             windframradio: {},
             deleteSelect: [],
             changeDateSelect: [],
@@ -393,6 +397,13 @@ export default {
                 });
             } else {
                 this.statesVisible = true
+                let url = ''
+                if (window.location.hostname === '10.65.78.81') {
+                    url = 'http://10.65.79.85:8080'
+                } else {
+                    url = 'http://10.65.78.23:8080'
+                }
+                this.iframeURL = url+'/agilebpm-ui/bpm/instance/instanceImageDialog.html?instanceId='+row.instId+'&iamCode='+window.localStorage.getItem('code')
                 this.getstageData(row.instId)
             }
         },

+ 11 - 0
src/components/assessment/evaluationQuarterPage.vue

@@ -154,6 +154,9 @@
             </el-dialog>
             <el-dialog title="流程详情" v-model="statesVisible" :fullscreen="true" :close-on-click-modal="false">
                 <div class="flowSty">
+                    <iframe id="iframeContain" width="100%" height="500px"
+                     frameborder="0" class="iframe" name="iframeContain" seamless scrolling="no" :src="iframeURL">            
+                    </iframe>
                     <el-table :data="stageArr" style="width: 100%">
                         <el-table-column type="index" label="序号" align="center" />
                         <el-table-column label="任务名称" prop="taskName" />
@@ -199,6 +202,7 @@ export default {
             statesVisible: false,
             stageArr: [],
             title: '',
+            iframeURL: '',
             windframradio: {},
             deleteSelect: [],
             changeDateSelect: [],
@@ -395,6 +399,13 @@ export default {
                 });
             } else {
                 this.statesVisible = true
+                let url = ''
+                if (window.location.hostname === '10.65.78.81') {
+                    url = 'http://10.65.79.85:8080'
+                } else {
+                    url = 'http://10.65.78.23:8080'
+                }
+                this.iframeURL = url+'/agilebpm-ui/bpm/instance/instanceImageDialog.html?instanceId='+row.instId+'&iamCode='+window.localStorage.getItem('code')
                 this.getstageData(row.instId)
             }
         },

+ 11 - 0
src/components/assessment/evaluationStartPage.vue

@@ -152,6 +152,9 @@
             </el-dialog>
             <el-dialog title="流程详情" v-model="statesVisible" :fullscreen="true" :close-on-click-modal="false">
                 <div class="flowSty">
+                    <iframe id="iframeContain" width="100%" height="500px"
+                     frameborder="0" class="iframe" name="iframeContain" seamless scrolling="no" :src="iframeURL">            
+                    </iframe>
                     <el-table :data="stageArr" style="width: 100%">
                         <el-table-column type="index" label="序号" align="center" />
                         <el-table-column label="任务名称" prop="taskName" />
@@ -194,6 +197,7 @@ export default {
             dialogVisible: false,
             statesVisible: false,
             title: '',
+            iframeURL: '',
             windframradio: {},
             deleteSelect: [],
             changeDateSelect: [],
@@ -450,6 +454,13 @@ export default {
                 });
             } else {
                 this.statesVisible = true
+                let url = ''
+                if (window.location.hostname === '10.65.78.81') {
+                    url = 'http://10.65.79.85:8080'
+                } else {
+                    url = 'http://10.65.78.23:8080'
+                }
+                this.iframeURL = url+'/agilebpm-ui/bpm/instance/instanceImageDialog.html?instanceId='+row.instId+'&iamCode='+window.localStorage.getItem('code')
                 this.getstageData(row.instId)
             }
         },

+ 11 - 0
src/components/assessment/evaluationYearPage.vue

@@ -150,6 +150,9 @@
             </el-dialog>
             <el-dialog title="流程详情" v-model="statesVisible" :fullscreen="true" :close-on-click-modal="false">
                 <div class="flowSty">
+                    <iframe id="iframeContain" width="100%" height="500px"
+                     frameborder="0" class="iframe" name="iframeContain" seamless scrolling="no" :src="iframeURL">            
+                    </iframe>
                     <el-table :data="stageArr" style="width: 100%">
                         <el-table-column type="index" label="序号" align="center" />
                         <el-table-column label="任务名称" prop="taskName" />
@@ -196,6 +199,7 @@ export default {
             statesVisible: false,
             stageArr: [],
             title: '',
+            iframeURL: '',
             windframradio: {},
             deleteSelect: [],
             changeDateSelect: [],
@@ -381,6 +385,13 @@ export default {
                 });
             } else {
                 this.statesVisible = true
+                let url = ''
+                if (window.location.hostname === '10.65.78.81') {
+                    url = 'http://10.65.79.85:8080'
+                } else {
+                    url = 'http://10.65.78.23:8080'
+                }
+                this.iframeURL = url+'/agilebpm-ui/bpm/instance/instanceImageDialog.html?instanceId='+row.instId+'&iamCode='+window.localStorage.getItem('code')
                 this.getstageData(row.instId)
             }
         },