Commit 2399077f authored by wangxl's avatar wangxl

555

parent 9999f4ca
......@@ -169,8 +169,7 @@ export default {
appPersonName: null,
treeCode: JSON.parse(window.sessionStorage.getItem('user')).unitCode,
projClass: null,
reportYear: null,
systemType: getType()
reportYear: null
},
activekey: '1',
tabDate: [
......
<template>
<div class="app-content">
<a-form :form="form" :model="searchForm" layout="inline" class="search_form">
<a-form-item label="项目名称">
<a-input placeholder="项目名称" v-model="searchForm.projName" :maxLength="100" style="width: 272px" />
<a-form-item>
<a-input placeholder="项目名称" v-model="searchForm.projName" :maxLength="100" style="width: 150px" />
</a-form-item>
<a-form-item label="项目编号">
<a-input placeholder="项目编号" v-model="searchForm.projNo" :maxLength="100" style="width: 272px" />
<a-form-item>
<a-input placeholder="项目编号" v-model="searchForm.projNo" :maxLength="100" style="width: 150px" />
</a-form-item>
<a-form-item label="项目类别">
<para-select v-model="searchForm.projClass" :typeId="52" />
<a-form-item>
<para-select v-model="searchForm.projClass" :title="'项目类别'" :type="17" :isAll="true" :width="150" />
</a-form-item>
<a-form-item label="申报单位">
<a-input placeholder="申报单位" v-model="searchForm.appUnitName" :maxLength="100" style="width: 272px" />
<a-form-item>
<a-input placeholder="申报单位" v-model="searchForm.appUnitName" :maxLength="100" style="width: 150px" />
</a-form-item>
<a-form-item label="申报人">
<a-input placeholder="申报人" v-model="searchForm.appPersonName" :maxLength="50" style="width: 272px" />
<a-form-item>
<a-input placeholder="申报人" v-model="searchForm.appPersonName" :maxLength="50" style="width: 150px" />
</a-form-item>
<a-form-item>
<a-button type="primary" size="default" icon="search" @click="search">搜索</a-button>
......@@ -26,7 +26,7 @@
<btn-group :data="tabDate" :itemCount="itemCount" v-model="activekey" @change="callback" />
</div>
<div style="display: inline-block;width:50%;text-align: right;">
<a-button type="primary" @click="batchAudit" style="margin-right: 8px;" v-if="isBatchButten">批量审核</a-button>
<!-- <a-button type="primary" @click="batchAudit" style="margin-right: 8px;" v-if="isBatchButten">批量审核</a-button> -->
<a-button type="primary" @click="exportData" icon="download">Excel</a-button>
</div>
</div>
......@@ -59,6 +59,7 @@
</template>
<script>
import { getType } from '@/views/utils/auth'
import { isEmptyParams, filterExportExcelData, tableColumnsName } from "@/views/utils/common";
import paraSelect from '@/views/components/common/paraSelect'
import Audit from '@/views/audit/task/audit'
......@@ -82,14 +83,7 @@ export default {
itemCount: [0, 0, 0, 0, 0],
form: this.$form.createForm(this, { name: 'advanced_search' }),
searchForm: {
auditType: 2,
auditResult: 1,
projName: null,
projNo: null,
appUnitName: null,
appPersonName: null,
projClass: null,
reportYear: null
auditType: 2, auditMethod: 1, systemType: getType(), auditResult: 1, projName: null, projNo: null, appUnitName: null, appPersonName: null, projClass: null, reportYear: null
},
tableData: [],
columns: [
......@@ -216,19 +210,51 @@ export default {
}
</script>
<style scoped lang="less">
.app-content {
border: 1px solid #e8e8e8;
padding: 0px 10px 10px 10px;
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.ant-form-item {
display: flex !important;
.editable-cell {
position: relative;
}
.ant-form-item-control-wrapper {
flex: 1 !important;
width: 100% !important;
.editable-cell-input-wrapper,
.editable-cell-text-wrapper {
padding-right: 24px;
}
.editable-cell-text-wrapper {
padding: 5px 24px 5px 5px;
}
.editable-cell-icon,
.editable-cell-icon-check {
position: absolute;
right: 0;
width: 20px;
cursor: pointer;
}
.ant-pagination {
float: inherit !important;
margin-top: 15px;
.editable-cell-icon {
line-height: 18px;
display: none;
}
.editable-cell-icon-check {
line-height: 28px;
color: turquoise;
}
.editable-cell:hover .editable-cell-icon {
display: inline-block;
}
.editable-cell-icon:hover,
.editable-cell-icon-check:hover {
color: #108ee9;
}
.editable-add-btn {
margin-bottom: 8px;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment