Browse Source

优化页面

master
李磊 3 years ago
parent
commit
1c8bcfac5e
  1. 18
      src/views/archive/list.vue
  2. 6
      src/views/bjd/dj_input.vue
  3. 2
      src/views/borrow/borrow.vue
  4. 2
      src/views/device_management/components/Move.vue

18
src/views/archive/list.vue

@ -17,14 +17,6 @@
<el-col :span="2.5"> <el-col :span="2.5">
<el-input v-model="listQuery.archiveNum" placeholder="归档单号" clearable style="width: 175px" size="small" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.archiveNum" placeholder="归档单号" clearable style="width: 175px" size="small" @keyup.enter.native="handleFilter" />
</el-col> </el-col>
<el-col :span="2.5">
<el-input v-model="listQuery.baogaobianhao" placeholder="报告编号" clearable style="width: 180px" size="small" @keyup.enter.native="handleFilter" />
</el-col>
<el-col :span="3">
<el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位" clearable style="width: 250px" size="small" @keyup.enter.native="handleFilter" />
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="2.5"> <el-col :span="2.5">
<el-input v-model="listQuery.frameNum" placeholder="归档架号" clearable style="width: 130px" size="small" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.frameNum" placeholder="归档架号" clearable style="width: 130px" size="small" @keyup.enter.native="handleFilter" />
</el-col> </el-col>
@ -34,18 +26,10 @@
<el-col :span="2.5"> <el-col :span="2.5">
<el-input v-model="listQuery.boxNum" placeholder="归档盒号" clearable style="width: 130px" size="small" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.boxNum" placeholder="归档盒号" clearable style="width: 130px" size="small" @keyup.enter.native="handleFilter" />
</el-col> </el-col>
<el-col :span="2.5">
<el-select v-model="listQuery.shebeizhonglei" placeholder="请选择设备种类" style="width: 200px" size="small" clearable>
<el-option v-for="item in sbzlList" :key="item.label" :label="item.label" :value="item.label" />
</el-select>
</el-col>
</el-row>
<el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 180px" size="small" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.shiyongdengjibianhao" placeholder="使用登记证编号" clearable style="width: 180px" size="small" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.chanpinbianhao" placeholder="产品编号" clearable style="width: 180px" size="small" @keyup.enter.native="handleFilter" />
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter"> <el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">
查询 查询
</el-button> </el-button>
</el-row>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>

6
src/views/bjd/dj_input.vue

@ -1370,11 +1370,7 @@
@row-click="checkSelection" @row-click="checkSelection"
> >
<el-table-column type="selection" width="45" /> <el-table-column type="selection" width="45" />
<el-table-column align="center" label="序号" width="40"> <el-table-column align="center" type="index" label="序号" width="40" />
<template slot-scope="scope">
<span v-text="getIndex(scope.$index)" />
</template>
</el-table-column>
<el-table-column <el-table-column
align="center" align="center"
label="设备种类" label="设备种类"

2
src/views/borrow/borrow.vue

@ -127,7 +127,7 @@ export default {
{ prop: 'shiyongdanwei', label: '使用单位', align: 'center' }, { prop: 'shiyongdanwei', label: '使用单位', align: 'center' },
{ prop: 'shigongdanwei', label: '施工单位', align: 'center' }, { prop: 'shigongdanwei', label: '施工单位', align: 'center' },
{ prop: 'zhizaodanwei', label: '制造单位', align: 'center' }, { prop: 'zhizaodanwei', label: '制造单位', align: 'center' },
{ prop: 'jianyanrenyuan', label: '检验人员', align: 'center' }, { prop: 'jianyanrenyuan', label: '检验人员', align: 'center', formatter: this.formatter.getChineseName },
{ prop: 'zhucedaima', label: '注册代码', align: 'center' }, { prop: 'zhucedaima', label: '注册代码', align: 'center' },
{ prop: 'shiyongdengjibianhao', label: '使用登记证编号', align: 'center' }, { prop: 'shiyongdengjibianhao', label: '使用登记证编号', align: 'center' },
{ slot: 'operation' } { slot: 'operation' }

2
src/views/device_management/components/Move.vue

@ -168,7 +168,7 @@ const defaultCrud = presenter(CRUD({
title: '领用、借用管理', title: '领用、借用管理',
url: '/move/list', url: '/move/list',
orderBy: ['id desc'], orderBy: ['id desc'],
crudMethod: { ...InstrumentMove }, crudMethod: { ...InstrumentMove }
})) }))
// form // form

Loading…
Cancel
Save