Commit d119c4ca authored by 高宇's avatar 高宇

修改再利用页面逻辑

parent 0b701e7f
......@@ -34,6 +34,22 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="ptype" >
<el-select
v-model="queryParams.ptype"
placeholder="请选择ptype"
clearable
size="small"
style="width: 150px"
>
<el-option
v-for="(dict,index) in typeList"
:key="index"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" style="padding: 8px 7px;" icon="el-icon-search" size="small" @click="handleQuery">查询</el-button>
<el-button style="padding: 8px 7px;" icon="el-icon-refresh" size="small" @click="resetQuery">重置</el-button>
......@@ -224,6 +240,20 @@ export default {
name: 'Role',
data() {
return {
typeList: [
{
label: '全部',
value: '0'
},
{
label: '2',
value: '2'
},
{
label: '3',
value: '3'
}
],
// TODO: 表单里的单项详情参数
singleDetails: {
equipmentName: '',
......@@ -326,6 +356,7 @@ export default {
queryParams: {
page: 1,
rows: 10,
tempType: '',
pn: undefined,
lot: undefined,
plocation: undefined,
......
......@@ -306,7 +306,8 @@ export default {
rows: 10,
jbcode: '',
jblot: '',
jbrank: ''
jbrank: '',
tempType: ''
},
singleDetails: {
jbcode: '',
......
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