fix : 对接需求征集列表接口
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
<!-- <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="10">-->
|
||||
<div class="approval-record">
|
||||
<baseTitle title="审批记录"></baseTitle>
|
||||
<div class="process" id="approvalRecord">
|
||||
<div class="process">
|
||||
<process-diagram-viewer v-if="processDiagramViewer"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -167,12 +167,10 @@ getTree()
|
||||
|
||||
.approval-record {
|
||||
flex: 0.4;
|
||||
|
||||
|
||||
.process {
|
||||
//max-height: calc(100vh - 96px);
|
||||
height: calc(100vh - 250px);
|
||||
overflow: auto;
|
||||
//height: calc(100vh - 250px);
|
||||
overflow: hidden;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
|
||||
@@ -6,12 +6,13 @@
|
||||
<script setup lang="jsx">
|
||||
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
|
||||
import Tag from '@/components/Tag.vue'
|
||||
import {getDemandInfo} from "@/api/project-demand";
|
||||
|
||||
const router = useRouter()
|
||||
const searchConfig = reactive([
|
||||
{
|
||||
label: '名称',
|
||||
prop: 'roleName',
|
||||
label: '征集类型',
|
||||
prop: 'collectType',
|
||||
component: 'el-input',
|
||||
props: {
|
||||
placeholder: '请输入名称查询',
|
||||
@@ -19,13 +20,12 @@ const searchConfig = reactive([
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '状态',
|
||||
prop: 'state',
|
||||
component: shallowRef(fvSelect),
|
||||
label: '需求名称',
|
||||
prop: 'requirementName',
|
||||
component: 'el-input',
|
||||
props: {
|
||||
placeholder: '请选择',
|
||||
clearable: true,
|
||||
cacheKey: 'normal_disable'
|
||||
placeholder: '请输入名称查询',
|
||||
clearable: true
|
||||
}
|
||||
}
|
||||
])
|
||||
@@ -43,26 +43,29 @@ const tableConfig = reactive({
|
||||
prop: 'selection'
|
||||
},
|
||||
{
|
||||
prop: 'roleName',
|
||||
label: '名称',
|
||||
prop: 'requirementName',
|
||||
label: '需求名称',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
prop: 'roleKey',
|
||||
label: '所属公司',
|
||||
prop: 'collectType',
|
||||
label: '征集类型',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
prop: 'time',
|
||||
label: '发布时间',
|
||||
prop: 'approveName',
|
||||
label: '审批人',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
prop: 'state',
|
||||
label: '状态',
|
||||
align: 'center',
|
||||
showOverflowTooltip: false,
|
||||
currentRender: ({row, index}) => (<Tag dictType={'demand_collection'} value={row.state}/>)
|
||||
prop: 'deadline',
|
||||
label: '截止时间',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
prop: 'taskNode',
|
||||
label: '当前节点',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
prop: 'oper',
|
||||
@@ -81,7 +84,7 @@ const tableConfig = reactive({
|
||||
}
|
||||
}
|
||||
],
|
||||
api: '/admin/role',
|
||||
api: '/workflow/mosr/requirement',
|
||||
btns: [
|
||||
{name: '新增', key: 'add', auth: auths.add, color: '#DED0B2'},
|
||||
{name: '导出', key: 'add', auth: auths.add, type: ''},
|
||||
|
||||
Reference in New Issue
Block a user