Merge pull request 'master' (#486) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/486
This commit is contained in:
@@ -2,8 +2,7 @@
|
|||||||
<el-button color="#DED0B2" style="float: right;margin: 0 10px 10px 0" @click="exportTable">导出</el-button>
|
<el-button color="#DED0B2" style="float: right;margin: 0 10px 10px 0" @click="exportTable">导出</el-button>
|
||||||
<el-table ref="reportTable" :data="tableData" style="width: 100%;height: 479px"
|
<el-table ref="reportTable" :data="tableData" style="width: 100%;height: 479px"
|
||||||
:span-method="objectSpanMethod" v-loading="loading">
|
:span-method="objectSpanMethod" v-loading="loading">
|
||||||
<!-- <el-table-column label="四川省国有资产经营投资管理有限责任公司-->
|
<el-table-column label="四川省国有资产经营投资管理有限责任公司科技创新项目人工成本分摊明细表" align="center">
|
||||||
<!-- 科技创新项目人工成本分摊明细表" align="center">-->
|
|
||||||
<el-table-column v-for="column in columnInfo" :prop="column.prop" :label="column.label" align="center"
|
<el-table-column v-for="column in columnInfo" :prop="column.prop" :label="column.label" align="center"
|
||||||
:fixed="(!column.children) ? ((column.prop === 'totalSeparation' || column.prop === 'totalSeparationCost') ? 'right' : 'left') : false"
|
:fixed="(!column.children) ? ((column.prop === 'totalSeparation' || column.prop === 'totalSeparationCost') ? 'right' : 'left') : false"
|
||||||
:width="(column.prop === 'totalSeparation' || column.prop === 'totalSeparationCost') ? 160:130">
|
:width="(column.prop === 'totalSeparation' || column.prop === 'totalSeparationCost') ? 160:130">
|
||||||
@@ -41,7 +40,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- </el-table-column>-->
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
<div v-else>--</div>
|
<div v-else>--</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column prop="departmentName" label="承办部门" align="center"/>
|
||||||
<el-table-column prop="investmentType" label="出资类型" align="center">
|
<el-table-column prop="investmentType" label="出资类型" align="center">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div v-if="scope.row.investmentType !== null">
|
<div v-if="scope.row.investmentType !== null">
|
||||||
|
|||||||
@@ -12,11 +12,18 @@
|
|||||||
当前节点: {{ operation.operationName }}
|
当前节点: {{ operation.operationName }}
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div v-for="(user,index) in operation.userInfo" :key="index" class="avatar_name" :style="{'flex-direction': isColumn?'column':'row'}">
|
<div v-for="(user,index) in operation.userInfo" :key="index" class="avatar_name"
|
||||||
|
:style="{'flex-direction': isColumn?'column':'row'}">
|
||||||
<div class="avatar-block" :style="{'margin-bottom': isColumn?'10px':'0'}">
|
<div class="avatar-block" :style="{'margin-bottom': isColumn?'10px':'0'}">
|
||||||
<name-circle :user="user"/>
|
<name-circle :user="user"/>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
<span>{{ user.name }}</span>
|
<div style="display: flex;align-items: center">
|
||||||
|
<el-icon :color="user.accountType==='0'?'#95d475':user.accountType==null?'#95d475':'#409eff'"
|
||||||
|
style="margin-right: 5px;">
|
||||||
|
<UserFilled/>
|
||||||
|
</el-icon>
|
||||||
|
<span class="name-style">{{ user.name }}</span>
|
||||||
|
</div>
|
||||||
<span>{{ user.jobActivityDesc }}</span>
|
<span>{{ user.jobActivityDesc }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -305,9 +312,10 @@ init()
|
|||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
|
|
||||||
> span:first-child {
|
.name-style{
|
||||||
color: #2a99ff;
|
color: #2a99ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
> span:last-child {
|
> span:last-child {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
color: #909399;
|
color: #909399;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ export const APPROVAL_PROPS = {
|
|||||||
assignedUser: [] //审批人列表
|
assignedUser: [] //审批人列表
|
||||||
},
|
},
|
||||||
matrixApproval: true,
|
matrixApproval: true,
|
||||||
|
skipSelf: true,
|
||||||
timeLimit: { //边界事件
|
timeLimit: { //边界事件
|
||||||
timeout: { //超时提醒时间
|
timeout: { //超时提醒时间
|
||||||
unit: "H",
|
unit: "H",
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
</el-icon>
|
</el-icon>
|
||||||
<span>审批人</span>
|
<span>审批人</span>
|
||||||
</div>
|
</div>
|
||||||
<div @click="addCcNode">
|
<!-- <div @click="addCcNode">-->
|
||||||
<el-icon style="color:rgb(50, 150, 250);">
|
<!-- <el-icon style="color:rgb(50, 150, 250);">-->
|
||||||
<Promotion/>
|
<!-- <Promotion/>-->
|
||||||
</el-icon>
|
<!-- </el-icon>-->
|
||||||
<span>抄送人</span>
|
<!-- <span>抄送人</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div @click="addConditionsNode">
|
<div @click="addConditionsNode">
|
||||||
<el-icon style="color:rgb(21, 188, 131);">
|
<el-icon style="color:rgb(21, 188, 131);">
|
||||||
<Share/>
|
<Share/>
|
||||||
@@ -25,12 +25,12 @@
|
|||||||
</el-icon>
|
</el-icon>
|
||||||
<span>并行分支</span>
|
<span>并行分支</span>
|
||||||
</div>
|
</div>
|
||||||
<div @click="addDelayNode">
|
<!-- <div @click="addDelayNode">-->
|
||||||
<el-icon style="color:#f25643;">
|
<!-- <el-icon style="color:#f25643;">-->
|
||||||
<Clock/>
|
<!-- <Clock/>-->
|
||||||
</el-icon>
|
<!-- </el-icon>-->
|
||||||
<span>延迟等待</span>
|
<!-- <span>延迟等待</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<!-- <div @click="addTriggerNode">-->
|
<!-- <div @click="addTriggerNode">-->
|
||||||
<!-- <el-icon style="color:#15BC83;">-->
|
<!-- <el-icon style="color:#15BC83;">-->
|
||||||
<!-- <SetUp/>-->
|
<!-- <SetUp/>-->
|
||||||
|
|||||||
@@ -102,6 +102,10 @@
|
|||||||
<el-form-item label="是否使用矩阵审批" prop="text">
|
<el-form-item label="是否使用矩阵审批" prop="text">
|
||||||
<el-switch inactive-text="不用" active-text="使用" v-model="nodeProps.matrixApproval"></el-switch>
|
<el-switch inactive-text="不用" active-text="使用" v-model="nodeProps.matrixApproval"></el-switch>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item v-if="nodeProps.matrixApproval && nodeProps.assignedType === 'SELF'" label="是否跳过自己" prop="text">
|
||||||
|
<!-- {{nodeProps.skipSelf}}-->
|
||||||
|
<el-switch inactive-text="不跳过" active-text="跳过" v-model="nodeProps.skipSelf"></el-switch>
|
||||||
|
</el-form-item>
|
||||||
<!-- <el-form-item label="审批期限(为 0 则不生效)" prop="timeLimit">-->
|
<!-- <el-form-item label="审批期限(为 0 则不生效)" prop="timeLimit">-->
|
||||||
<!-- <el-input style="width: 180px;" placeholder="时长" type="number"-->
|
<!-- <el-input style="width: 180px;" placeholder="时长" type="number"-->
|
||||||
<!-- v-model="nodeProps.timeLimit.timeout.value">-->
|
<!-- v-model="nodeProps.timeLimit.timeout.value">-->
|
||||||
|
|||||||
Reference in New Issue
Block a user