|
|
@ -13,11 +13,11 @@ |
|
|
|
</sticky> |
|
|
|
<el-form> |
|
|
|
<el-form-item> |
|
|
|
<el-input v-model="listQuery.searchRwd.serialNumber" placeholder="报检单号" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-select v-model="listQuery.searchRwd.teamId" placeholder="请选择检验小组" style="width: 150px;" @change="handleFilter"> |
|
|
|
<el-input v-model="listQuery.serialNumber" placeholder="报检单号" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-select v-model="listQuery.teamId" placeholder="请选择检验小组" style="width: 150px;" @change="handleFilter"> |
|
|
|
<el-option v-for="team in teams" :key="team.id" :label="team.name" :value="team.id" /> |
|
|
|
</el-select> |
|
|
|
<el-input v-model="listQuery.searchRwd.shiyongdanwei" placeholder="使用单位" clearable style="width: 400px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位" clearable style="width: 400px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-button type="primary" icon="el-icon-search" @click="handleFilter"> |
|
|
|
查询 |
|
|
|
</el-button> |
|
|
@ -25,7 +25,7 @@ |
|
|
|
清除 |
|
|
|
</el-button> |
|
|
|
<br> |
|
|
|
<el-select v-model="listQuery.searchRwd.quhuamingcheng" style="width: 120px" placeholder="请选择所属区划" clearable value="" @change="handleFilter"> |
|
|
|
<el-select v-model="listQuery.quhuamingcheng" style="width: 120px" placeholder="请选择所属区划" clearable value="" @change="handleFilter"> |
|
|
|
<el-option |
|
|
|
v-for="item in areas" |
|
|
|
:key="item.value" |
|
|
@ -33,14 +33,14 @@ |
|
|
|
:value="item.label" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<el-select v-model="listQuery.searchRwd.jianyanleibie" style="width: 120px" placeholder="请选择检验类别" clearable value="" @change="handleFilter"> |
|
|
|
<el-select v-model="listQuery.jianyanleibie" style="width: 120px" placeholder="请选择检验类别" clearable value="" @change="handleFilter"> |
|
|
|
<el-option value="DJ" label="定期检验" /> |
|
|
|
<el-option value="JJ" label="监督检验" /> |
|
|
|
</el-select> |
|
|
|
<el-date-picker v-model="listQuery.searchRwd.yuejianriqiStart" type="date" placeholder="约检日期(起)" value-format="yyyy-MM-dd" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-date-picker v-model="listQuery.searchRwd.yuejianriqiEnd" type="date" placeholder="约检日期(止)" value-format="yyyy-MM-dd" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-date-picker v-model="listQuery.searchRwd.createTimeStart" type="date" placeholder="创建日期(起)" value-format="yyyy-MM-dd" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-date-picker v-model="listQuery.searchRwd.createTimeEnd" type="date" placeholder="创建日期(止)" value-format="yyyy-MM-dd" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-date-picker v-model="listQuery.yuejianriqiStart" type="date" placeholder="约检日期(起)" value-format="yyyy-MM-dd" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-date-picker v-model="listQuery.yuejianriqiEnd" type="date" placeholder="约检日期(止)" value-format="yyyy-MM-dd" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-date-picker v-model="listQuery.createTimeStart" type="date" placeholder="创建日期(起)" value-format="yyyy-MM-dd" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-date-picker v-model="listQuery.createTimeEnd" type="date" placeholder="创建日期(止)" value-format="yyyy-MM-dd" clearable style="width: 160px" @keyup.enter.native="handleFilter" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
@ -92,7 +92,7 @@ |
|
|
|
<el-table-column align="center" label="组名称" prop="teamName" width="100" /> |
|
|
|
<el-table-column align="center" label="区划名称" prop="quhuamingcheng" width="100" /> |
|
|
|
<el-table-column align="center" label="组长" prop="groupLeader" :formatter="formatter.getChineseName" width="70" /> |
|
|
|
<el-table-column align="center" label="组成员" prop="jianyanrenyuan" /> |
|
|
|
<el-table-column :formatter="formatter.getChineseName" align="center" label="组成员" prop="jianyanrenyuan" /> |
|
|
|
<el-table-column align="center" label="约检日期" prop="yuejianriqi" width="100" /> |
|
|
|
<el-table-column align="center" label="创建日期" prop="createTime" width="100" /> |
|
|
|
<el-table-column align="center" label="查看报检" width="60"> |
|
|
@ -131,9 +131,8 @@ export default { |
|
|
|
listQuery: { |
|
|
|
pageNum: 1, // 页码 |
|
|
|
pageSize: 20, // 每页条数 |
|
|
|
searchRwd: { // 任务分配人 跟 超级管理员可以查看所有 其他人只能看自己 |
|
|
|
isLookRwdAll: this.hasRole('JDFPRW') || this.hasRole('FPRW') || this.hasRole('ADMIN') |
|
|
|
}, |
|
|
|
// 任务分配人 跟 超级管理员可以查看所有 其他人只能看自己 |
|
|
|
isLookRwdAll: this.hasRole('JDFPRW') || this.hasRole('FPRW') || this.hasRole('ADMIN'), |
|
|
|
orderBy: 'id desc' |
|
|
|
}, |
|
|
|
multipleSelection: [], |
|
|
@ -210,7 +209,7 @@ export default { |
|
|
|
this.selection = val |
|
|
|
}, |
|
|
|
clearSearch() { |
|
|
|
this.listQuery.searchRwd = { |
|
|
|
this.listQuery = { |
|
|
|
} |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|