能力申请
This commit is contained in:
parent
ca69c86577
commit
50d0576a70
|
@ -2,13 +2,12 @@
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-06-29 15:59:51
|
* @Date: 2022-06-29 15:59:51
|
||||||
* @LastEditors: hisense.liangjunhua
|
* @LastEditors: hisense.liangjunhua
|
||||||
* @LastEditTime: 2022-06-29 17:21:00
|
* @LastEditTime: 2022-06-29 18:17:07
|
||||||
* @Description: 告诉大家这是什么
|
* @Description: 告诉大家这是什么
|
||||||
-->
|
-->
|
||||||
<!-- 流程业务表单 -->
|
<!-- 流程业务表单 -->
|
||||||
<template>
|
<template>
|
||||||
<el-card shadow="never" class="aui-card--fill" :key='showKey'>
|
<el-card shadow="never" class="aui-card--fill" :key='showKey'>
|
||||||
|
|
||||||
<!-- 申请人详情 -->
|
<!-- 申请人详情 -->
|
||||||
<div>
|
<div>
|
||||||
<h3>申请人信息</h3>
|
<h3>申请人信息</h3>
|
||||||
|
@ -73,7 +72,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 流程详情 -->
|
<!-- 流程详情 -->
|
||||||
<ren-process-detail-import></ren-process-detail-import>
|
<ren-process-detail></ren-process-detail>
|
||||||
</el-card>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -82,7 +81,7 @@
|
||||||
import processModule from '@/mixins/process-module'
|
import processModule from '@/mixins/process-module'
|
||||||
import debounce from 'lodash/debounce'
|
import debounce from 'lodash/debounce'
|
||||||
import qs from 'qs'
|
import qs from 'qs'
|
||||||
import RenProcessDetailImport from '@/components/ren-process-detail/src/ren-process-detail-import'
|
import RenProcessDetail from '@/components/ren-process-detail/src/ren-process-detail'
|
||||||
export default {
|
export default {
|
||||||
// 注入公共方法
|
// 注入公共方法
|
||||||
mixins: [processModule],
|
mixins: [processModule],
|
||||||
|
@ -142,7 +141,7 @@ export default {
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
RenProcessDetailImport
|
RenProcessDetail
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
init () {
|
init () {
|
||||||
|
|
|
@ -150,6 +150,16 @@ export function nengliziyuanshangjiaapply(params) {
|
||||||
params,
|
params,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
export function getTaskVariables(params) {
|
||||||
|
return request({
|
||||||
|
url:
|
||||||
|
'/act/task/getTaskVariables?taskId=' +
|
||||||
|
params.taskId +
|
||||||
|
'&variableName=tAbilityApplicationDTOList',
|
||||||
|
method: 'get',
|
||||||
|
params,
|
||||||
|
})
|
||||||
|
}
|
||||||
// 能力下架申请
|
// 能力下架申请
|
||||||
export function undercarriage(data) {
|
export function undercarriage(data) {
|
||||||
return request({
|
return request({
|
||||||
|
|
|
@ -509,6 +509,7 @@
|
||||||
getTaskHandleDetailInfo,
|
getTaskHandleDetailInfo,
|
||||||
getDemandForm,
|
getDemandForm,
|
||||||
nengliziyuanshangjiaapply,
|
nengliziyuanshangjiaapply,
|
||||||
|
getTaskVariables,
|
||||||
} from '@/api/personalCenter'
|
} from '@/api/personalCenter'
|
||||||
import { selectOneDel } from '@/api/home'
|
import { selectOneDel } from '@/api/home'
|
||||||
const downloadFile = (path, name) => {
|
const downloadFile = (path, name) => {
|
||||||
|
@ -593,6 +594,12 @@
|
||||||
resourceId: { type: String, default: null },
|
resourceId: { type: String, default: null },
|
||||||
})
|
})
|
||||||
const getInfo = () => {
|
const getInfo = () => {
|
||||||
|
console.log(props.processInstanceId, '============================')
|
||||||
|
if (props.processDefinitionName == '能力申请') {
|
||||||
|
getTaskVariables({ taskId: props.processInstanceId }).then((res) => {
|
||||||
|
console.log('获取数据====================>', res.data.data)
|
||||||
|
})
|
||||||
|
}
|
||||||
if (props.processDefinitionName == '能力申请流程') {
|
if (props.processDefinitionName == '能力申请流程') {
|
||||||
getApplyForm(props.businessKey).then((res) => {
|
getApplyForm(props.businessKey).then((res) => {
|
||||||
const { data } = res.data
|
const { data } = res.data
|
||||||
|
@ -662,6 +669,7 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
const getResourceURL = () => {
|
const getResourceURL = () => {
|
||||||
|
console.log('111111111111111111111111111111', Cookies.get('token'))
|
||||||
const params = qs.stringify({
|
const params = qs.stringify({
|
||||||
token: Cookies.get('token'),
|
token: Cookies.get('token'),
|
||||||
// processInstanceId: this.dataForm.processInstanceId
|
// processInstanceId: this.dataForm.processInstanceId
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
<div class="content-body-content">
|
<div class="content-body-content">
|
||||||
<p class="content-body-content-son">
|
<p class="content-body-content-son">
|
||||||
审核结果:{{
|
审核结果:{{
|
||||||
item.ended ? '审核完成' : item.backToFirst ? '被驳回' : '审核中'
|
item.ended ? '审核完成' : item.backToFirst ? '被终止' : '审核中'
|
||||||
}}
|
}}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -95,10 +95,16 @@
|
||||||
<div></div>
|
<div></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="button-box">
|
<div class="button-box">
|
||||||
<div class="button" @click="showDetail(item)">查看流程</div>
|
<div
|
||||||
<div class="button" @click="showAdd(item)" v-if="item.backToFirst">
|
class="button"
|
||||||
修改
|
@click="showDetail(item)"
|
||||||
|
v-if="!(item.processDefinitionName == '能力申请')"
|
||||||
|
>
|
||||||
|
查看流程
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <div class="button" @click="showAdd(item)" v-if="item.backToFirst">
|
||||||
|
修改
|
||||||
|
</div> -->
|
||||||
<div
|
<div
|
||||||
v-if="
|
v-if="
|
||||||
!(
|
!(
|
||||||
|
@ -107,7 +113,11 @@
|
||||||
item.ended == false
|
item.ended == false
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
v-show="item.resourceStatusTip == '正常' && item.ended"
|
v-show="
|
||||||
|
item.resourceStatusTip == '正常' &&
|
||||||
|
item.ended &&
|
||||||
|
item.processDefinitionName !== '能力申请'
|
||||||
|
"
|
||||||
class="button button-details"
|
class="button button-details"
|
||||||
@click="
|
@click="
|
||||||
viewDetail(
|
viewDetail(
|
||||||
|
|
Loading…
Reference in New Issue