|
|
@ -26,6 +26,26 @@ |
|
|
|
clear="false" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item |
|
|
|
label="采样年份:" |
|
|
|
prop="year" |
|
|
|
:rules="[ |
|
|
|
{ required: true, message: '请输入采样年份', trigger: 'blur' }, |
|
|
|
]" |
|
|
|
> |
|
|
|
<el-date-picker |
|
|
|
v-model="queryParams.year" |
|
|
|
type="year" |
|
|
|
placeholder="选择年" |
|
|
|
> |
|
|
|
</el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="采样时段:"> |
|
|
|
<el-select v-model="queryParams.unit" clearable placeholder="请选择"> |
|
|
|
<el-option label="上半年" value="top"></el-option> |
|
|
|
<el-option label="下半年" value="bottom"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
|
|
@ -143,7 +163,7 @@ import TableFive from './components/TableFive' |
|
|
|
import TableSix from './components/TableSix' |
|
|
|
import TableSeven from './components/TableSeven' |
|
|
|
import { getSatisfactionData } from '@/api/questionnaire/satisfaction' |
|
|
|
|
|
|
|
import moment from 'moment' |
|
|
|
export default { |
|
|
|
name: 'DashboardAdmin', |
|
|
|
components: { |
|
|
@ -163,7 +183,9 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
queryParams: { |
|
|
|
selectType: 'ratio' |
|
|
|
selectType: 'ratio', |
|
|
|
unit:undefined, |
|
|
|
year:moment().format("YYYY") |
|
|
|
}, |
|
|
|
paperOptions: [ |
|
|
|
{ |
|
|
|