|
@@ -1,15 +1,15 @@
|
|
<template>
|
|
<template>
|
|
<section>
|
|
<section>
|
|
- <el-select v-model="value" filterable placeholder="请选择" :filter-method="aabbcc()">
|
|
|
|
|
|
+ <el-select v-model="value" filterable :placeholder="$t('defaultText.pleaseChoose')" :filter-method="aabbcc()">
|
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
<el-col :span="24" class="toolbar" style="padding-bottom: 0px;">
|
|
<el-col :span="24" class="toolbar" style="padding-bottom: 0px;">
|
|
<el-form :inline="true">
|
|
<el-form :inline="true">
|
|
<el-form-item :label="user.timeType.customDegreeName + $t('guan-li')">
|
|
<el-form-item :label="user.timeType.customDegreeName + $t('guan-li')">
|
|
- <el-input placeholder="请输入关键名称" v-model.trim="searchNameVal" clearable class="input-with-select"
|
|
|
|
|
|
+ <el-input :placeholder="$t('qing-shu-ru-guan-jian-ming-cheng')" v-model.trim="searchNameVal" clearable class="input-with-select"
|
|
style="margin-left: 50px" @keyup.enter.native="searchName()">
|
|
style="margin-left: 50px" @keyup.enter.native="searchName()">
|
|
- <el-button slot="append" @click="searchName()">搜索</el-button>
|
|
|
|
|
|
+ <el-button slot="append" @click="searchName()">{{ $t('sou-suo') }}</el-button>
|
|
</el-input>
|
|
</el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
@@ -121,22 +121,7 @@ export default {
|
|
subProjectList: [],//子项目列表
|
|
subProjectList: [],//子项目列表
|
|
subProjectListArr: [], // 备用列表
|
|
subProjectListArr: [], // 备用列表
|
|
searchNameVal: '',
|
|
searchNameVal: '',
|
|
- options: [{
|
|
|
|
- value: '选项1',
|
|
|
|
- label: '黄金糕'
|
|
|
|
- }, {
|
|
|
|
- value: '选项2',
|
|
|
|
- label: '双皮奶'
|
|
|
|
- }, {
|
|
|
|
- value: '选项3',
|
|
|
|
- label: '蚵仔煎'
|
|
|
|
- }, {
|
|
|
|
- value: '选项4',
|
|
|
|
- label: '龙须面'
|
|
|
|
- }, {
|
|
|
|
- value: '选项5',
|
|
|
|
- label: '北京烤鸭'
|
|
|
|
- }],
|
|
|
|
|
|
+ options: [],
|
|
value: ''
|
|
value: ''
|
|
};
|
|
};
|
|
},
|
|
},
|