[update] 调文档库的搜索,表头,新增

This commit is contained in:
lideqin
2023-08-25 17:53:44 +08:00
parent 59e68f795b
commit c4caed0e3f
9 changed files with 596 additions and 592 deletions
+6 -6
View File
@@ -1,7 +1,7 @@
<template>
<a-card :bordered="false">
<div class="table-page-search-wrapper">
<search ref="searchRef" :flag="'1'" :url="url" @search="searchQuery" @reset="searchReset" />
<search ref="searchRef" :flag="flag" :url="url" @search="searchQuery" @reset="searchReset" />
</div>
<div class="table-operator">
<div class="operator-text" @click="handleBatchDel">
@@ -135,6 +135,7 @@ export default {
mixins: [ConfigurableTableMixin],
data () {
return {
flag: '1',
operationList: [
{
text: this.$t('docLibrary.cancelCollection'),
@@ -162,11 +163,10 @@ export default {
tokenHeader: { 'X-Access-Token': Vue.ls.get(ACCESS_TOKEN) },
// url传参严格按照当前命名
url: {
// tableHeader: '/document/bussDocumentLibraryEO/getHeader', // 表格头部字段
tableHeader: '', // 表格头部字段
getSearchList: '/document/bussDocumentLibraryEO/queryCondition', // 搜索字段
list: 'document/bussDocumentLibraryEO/queryPageInfo', // 表格数据
getAddForm: 'document/bussDocumentLibraryEO/getAddForm', // 表单的字段
tableHeader: '/laws/common/getCommonHeader', // 表格头部字段
getSearchList: '/laws/common/getQueryCondition', // 搜索字段
list: '/laws/common/getCommonPage', // 表格数据
getAddForm: '/laws/common/getFormModel', // 表单的字段
addInfo: 'document/bussDocumentLibraryEO/addInfo', // 新增
updateInfo: 'document/bussDocumentLibraryEO/updateInfo', // 编辑
getDocumentInfo: 'document/bussDocumentLibraryEO/getDocumentInfoById', // 查看