BUG 29169
This commit is contained in:
@@ -4,14 +4,9 @@
|
|||||||
<template #content>
|
<template #content>
|
||||||
<ai-search-bar>
|
<ai-search-bar>
|
||||||
<template #left>
|
<template #left>
|
||||||
<el-select v-model="search.department" placeholder="请选择所属部门" @change="page.current=1,getList()"
|
<ai-select placeholder="请选择" v-model="search.department" action="/appfinancialorganization/nameList"
|
||||||
size="small" clearable>
|
:instance="instance" :prop="{label:'organizationName',value:'organizationName'}"
|
||||||
<el-option
|
@change="page.current=1,getList()"/>
|
||||||
v-for="(item,i) in dict.getDict('hbDepartment')" :key="i"
|
|
||||||
:label="item.dictName"
|
|
||||||
:value="item.dictValue">
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
<el-select v-model="search.classificationId" placeholder="请选择所属分类" @change="page.current=1,getList()"
|
<el-select v-model="search.classificationId" placeholder="请选择所属分类" @change="page.current=1,getList()"
|
||||||
size="small" clearable>
|
size="small" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
@@ -34,7 +29,9 @@
|
|||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
<ai-search-bar>
|
<ai-search-bar>
|
||||||
<template #left>
|
<template #left>
|
||||||
<el-button type="primary" icon="iconfont iconAdd" @click="goPage(tab.value==0 ? 'addConfig':'guidance')">添加{{tab.value==0?'事项':'办事指南'}}</el-button>
|
<el-button type="primary" icon="iconfont iconAdd" @click="goPage(tab.value==0 ? 'addConfig':'guidance')">
|
||||||
|
添加{{ tab.value == 0 ? '事项' : '办事指南' }}
|
||||||
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
<ai-table
|
<ai-table
|
||||||
@@ -49,14 +46,16 @@
|
|||||||
<template v-slot="{row}">
|
<template v-slot="{row}">
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="row.processDefStatus"
|
v-model="row.processDefStatus"
|
||||||
@change="onChange(row)" active-color="#5088FF" inactive-color="#D0D4DC" active-value="1" inactive-value="0">
|
@change="onChange(row)" active-color="#5088FF" inactive-color="#D0D4DC" active-value="1"
|
||||||
|
inactive-value="0">
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" slot="options" align="center" width="150">
|
<el-table-column label="操作" slot="options" align="center" width="150">
|
||||||
<template v-slot="{row}">
|
<template v-slot="{row}">
|
||||||
<div class="table-options">
|
<div class="table-options">
|
||||||
<el-button type="text" title="编辑" @click="goPage(tab.value==0 ? 'addConfig':'guidance',row)">编辑</el-button>
|
<el-button type="text" title="编辑" @click="goPage(tab.value==0 ? 'addConfig':'guidance',row)">编辑
|
||||||
|
</el-button>
|
||||||
<el-button type="text" title="删除" @click="delInfo(row)">删除</el-button>
|
<el-button type="text" title="删除" @click="delInfo(row)">删除</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -126,8 +125,7 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
label: '最后修改时间',
|
label: '最后修改时间',
|
||||||
render: (h, {row}) => [< span> {day(row.createTime
|
render: (h, {row}) => [< span> {day(row.createTime
|
||||||
).
|
).format("YYYY-MM-DD HH:mm")
|
||||||
format("YYYY-MM-DD HH:mm")
|
|
||||||
}<
|
}<
|
||||||
/span>]
|
/span>]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user