Commit 2399077f authored by wangxl's avatar wangxl

555

parent 9999f4ca
...@@ -169,8 +169,7 @@ export default { ...@@ -169,8 +169,7 @@ export default {
appPersonName: null, appPersonName: null,
treeCode: JSON.parse(window.sessionStorage.getItem('user')).unitCode, treeCode: JSON.parse(window.sessionStorage.getItem('user')).unitCode,
projClass: null, projClass: null,
reportYear: null, reportYear: null
systemType: getType()
}, },
activekey: '1', activekey: '1',
tabDate: [ tabDate: [
......
<template> <template>
<div class="app-content"> <div class="app-content">
<a-form :form="form" :model="searchForm" layout="inline" class="search_form"> <a-form :form="form" :model="searchForm" layout="inline" class="search_form">
<a-form-item label="项目名称"> <a-form-item>
<a-input placeholder="项目名称" v-model="searchForm.projName" :maxLength="100" style="width: 272px" /> <a-input placeholder="项目名称" v-model="searchForm.projName" :maxLength="100" style="width: 150px" />
</a-form-item> </a-form-item>
<a-form-item label="项目编号"> <a-form-item>
<a-input placeholder="项目编号" v-model="searchForm.projNo" :maxLength="100" style="width: 272px" /> <a-input placeholder="项目编号" v-model="searchForm.projNo" :maxLength="100" style="width: 150px" />
</a-form-item> </a-form-item>
<a-form-item label="项目类别"> <a-form-item>
<para-select v-model="searchForm.projClass" :typeId="52" /> <para-select v-model="searchForm.projClass" :title="'项目类别'" :type="17" :isAll="true" :width="150" />
</a-form-item> </a-form-item>
<a-form-item label="申报单位"> <a-form-item>
<a-input placeholder="申报单位" v-model="searchForm.appUnitName" :maxLength="100" style="width: 272px" /> <a-input placeholder="申报单位" v-model="searchForm.appUnitName" :maxLength="100" style="width: 150px" />
</a-form-item> </a-form-item>
<a-form-item label="申报人"> <a-form-item>
<a-input placeholder="申报人" v-model="searchForm.appPersonName" :maxLength="50" style="width: 272px" /> <a-input placeholder="申报人" v-model="searchForm.appPersonName" :maxLength="50" style="width: 150px" />
</a-form-item> </a-form-item>
<a-form-item> <a-form-item>
<a-button type="primary" size="default" icon="search" @click="search">搜索</a-button> <a-button type="primary" size="default" icon="search" @click="search">搜索</a-button>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<btn-group :data="tabDate" :itemCount="itemCount" v-model="activekey" @change="callback" /> <btn-group :data="tabDate" :itemCount="itemCount" v-model="activekey" @change="callback" />
</div> </div>
<div style="display: inline-block;width:50%;text-align: right;"> <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> <a-button type="primary" @click="exportData" icon="download">Excel</a-button>
</div> </div>
</div> </div>
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
</template> </template>
<script> <script>
import { getType } from '@/views/utils/auth'
import { isEmptyParams, filterExportExcelData, tableColumnsName } from "@/views/utils/common"; import { isEmptyParams, filterExportExcelData, tableColumnsName } from "@/views/utils/common";
import paraSelect from '@/views/components/common/paraSelect' import paraSelect from '@/views/components/common/paraSelect'
import Audit from '@/views/audit/task/audit' import Audit from '@/views/audit/task/audit'
...@@ -82,14 +83,7 @@ export default { ...@@ -82,14 +83,7 @@ export default {
itemCount: [0, 0, 0, 0, 0], itemCount: [0, 0, 0, 0, 0],
form: this.$form.createForm(this, { name: 'advanced_search' }), form: this.$form.createForm(this, { name: 'advanced_search' }),
searchForm: { searchForm: {
auditType: 2, auditType: 2, auditMethod: 1, systemType: getType(), auditResult: 1, projName: null, projNo: null, appUnitName: null, appPersonName: null, projClass: null, reportYear: null
auditResult: 1,
projName: null,
projNo: null,
appUnitName: null,
appPersonName: null,
projClass: null,
reportYear: null
}, },
tableData: [], tableData: [],
columns: [ columns: [
...@@ -216,19 +210,51 @@ export default { ...@@ -216,19 +210,51 @@ export default {
} }
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.app-content { ::-webkit-scrollbar {
border: 1px solid #e8e8e8; width: 8px;
padding: 0px 10px 10px 10px; height: 8px;
} }
.ant-form-item { .editable-cell {
display: flex !important; position: relative;
} }
.ant-form-item-control-wrapper {
flex: 1 !important; .editable-cell-input-wrapper,
width: 100% !important; .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; .editable-cell-icon {
margin-top: 15px; 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> </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