|
|
@ -23,17 +23,17 @@ |
|
|
|
<el-row :gutter="10"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item label="报告编号:" prop="baogaobianhao"> |
|
|
|
<el-input v-model="listQuery.searchYsjl.baogaobianhao" clearable @keyup.enter.native="handleFilter" /> |
|
|
|
<el-input v-model="listQuery.baogaobianhao" clearable @keyup.enter.native="handleFilter" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="使用单位:" prop="shiyongdanwei"> |
|
|
|
<el-input v-model="listQuery.searchYsjl.shiyongdanwei" clearable @keyup.enter.native="handleFilter" /> |
|
|
|
<el-input v-model="listQuery.shiyongdanwei" clearable @keyup.enter.native="handleFilter" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="设备种类:" prop="shebeizhonglei"> |
|
|
|
<el-select v-model="listQuery.searchYsjl.shebeizhongleidaima" placeholder="请选择设备种类" clearable @change="sbzlChange"> |
|
|
|
<el-select v-model="listQuery.shebeizhongleidaima" placeholder="请选择设备种类" clearable @change="sbzlChange"> |
|
|
|
<el-option v-for="item in sbzlList" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -42,17 +42,17 @@ |
|
|
|
<el-row :gutter="10"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item label="注册代码:" prop="zhucedaima"> |
|
|
|
<el-input v-model="listQuery.searchYsjl.zhucedaima" clearable @keyup.enter.native="handleFilter" /> |
|
|
|
<el-input v-model="listQuery.zhucedaima" clearable @keyup.enter.native="handleFilter" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="产品编号:" prop="chanpinbianhao"> |
|
|
|
<el-input v-model="listQuery.searchYsjl.chanpinbianhao" clearable @keyup.enter.native="handleFilter" /> |
|
|
|
<el-input v-model="listQuery.chanpinbianhao" clearable @keyup.enter.native="handleFilter" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="设备品种:" prop="shebeipinzhongdaima"> |
|
|
|
<el-select v-model="listQuery.searchYsjl.shebeipinzhongdaima" placeholder="请选择设备品种" clearable> |
|
|
|
<el-select v-model="listQuery.shebeipinzhongdaima" placeholder="请选择设备品种" clearable> |
|
|
|
<el-option v-for="item in sbpzs" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -199,61 +199,61 @@ |
|
|
|
<el-container> |
|
|
|
<el-form :inline="true"> |
|
|
|
<el-form-item label="检验类别:" style="width: 240px;"> |
|
|
|
<el-select v-model="listQuery.searchYsjl.neibuleibie" placeholder="请选择检验类别" style="width: 165px" clearable> |
|
|
|
<el-select v-model="listQuery.neibuleibie" placeholder="请选择检验类别" style="width: 165px" clearable> |
|
|
|
<el-option v-for="item in jylbList" v-show="item.parentId" :key="item.code" :label="item.name" :value="item.code" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="设备种类:" style="width: 240px;"> |
|
|
|
<el-select v-model="listQuery.searchYsjl.shebeizhongleidaima" placeholder="请选择设备种类" style="width: 165px" clearable> |
|
|
|
<el-select v-model="listQuery.shebeizhongleidaima" placeholder="请选择设备种类" style="width: 165px" clearable> |
|
|
|
<el-option v-for="item in sbzlList" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="当前环节:" style="width: 240px;"> |
|
|
|
<el-select v-model="listQuery.searchYsjl.flowstatus" placeholder="请选择当前环节" style="width: 165px" clearable> |
|
|
|
<el-select v-model="listQuery.flowstatus" placeholder="请选择当前环节" style="width: 165px" clearable> |
|
|
|
<el-option v-for="item in statusList" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="检验人员:" style="width: 240px;"> |
|
|
|
<el-select v-model="listQuery.searchYsjl.jianyanrenyuan" placeholder="请选择检验人员" style="width: 165px" filterable clearable> |
|
|
|
<el-select v-model="listQuery.jianyanrenyuan" placeholder="请选择检验人员" style="width: 165px" filterable clearable> |
|
|
|
<el-option v-for="item in userList" :key="item.id" :label="item.nickname" :value="item.id" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="审核人员:" style="width: 240px;"> |
|
|
|
<el-select v-model="listQuery.searchYsjl.shenheren" placeholder="请选择审核人员" style="width: 165px" filterable clearable> |
|
|
|
<el-select v-model="listQuery.shenheren" placeholder="请选择审核人员" style="width: 165px" filterable clearable> |
|
|
|
<el-option v-for="item in userList" :key="item.id" :label="item.nickname" :value="item.id" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="审批人员:" style="width: 240px;"> |
|
|
|
<el-select v-model="listQuery.searchYsjl.shenpiren" placeholder="请选择审批人员" style="width: 165px" filterable clearable> |
|
|
|
<el-select v-model="listQuery.shenpiren" placeholder="请选择审批人员" style="width: 165px" filterable clearable> |
|
|
|
<el-option v-for="item in userList" :key="item.id" :label="item.nickname" :value="item.id" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="检验日期:" style="width: 240px;"> |
|
|
|
<el-date-picker v-model="listQuery.searchYsjl.jianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="选择检验日期" style="width: 165px" /> |
|
|
|
<el-date-picker v-model="listQuery.jianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="选择检验日期" style="width: 165px" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="审核日期:" style="width: 240px;"> |
|
|
|
<el-date-picker v-model="listQuery.searchYsjl.shenheriqi" type="date" value-format="yyyy-MM-dd" placeholder="选择审核日期" style="width: 165px" /> |
|
|
|
<el-date-picker v-model="listQuery.shenheriqi" type="date" value-format="yyyy-MM-dd" placeholder="选择审核日期" style="width: 165px" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="审批日期:" style="width: 240px;"> |
|
|
|
<el-date-picker v-model="listQuery.searchYsjl.shenpiriqi" type="date" value-format="yyyy-MM-dd" placeholder="选择审批日期" style="width: 165px" /> |
|
|
|
<el-date-picker v-model="listQuery.shenpiriqi" type="date" value-format="yyyy-MM-dd" placeholder="选择审批日期" style="width: 165px" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="设备/产品名称:" style="width: 290px;"> |
|
|
|
<el-input v-model="listQuery.searchYsjl.shebeimingcheng" placeholder="请输入设备/产品名称" clearable style="width: 185px" /> |
|
|
|
<el-input v-model="listQuery.shebeimingcheng" placeholder="请输入设备/产品名称" clearable style="width: 185px" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="内部编号:" style="width: 240px;"> |
|
|
|
<el-input v-model="listQuery.searchYsjl.danweineibubianhao" placeholder="请输入内部编号" clearable style="width: 165px" /> |
|
|
|
<el-input v-model="listQuery.danweineibubianhao" placeholder="请输入内部编号" clearable style="width: 165px" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="下次检验日期:" style="width: 280px;"> |
|
|
|
<el-date-picker v-model="listQuery.searchYsjl.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请输入日期" style="width: 165px" /> |
|
|
|
<el-date-picker v-model="listQuery.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请输入日期" style="width: 165px" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="制造单位:" style="width: 400px;"> |
|
|
|
<el-input v-model="listQuery.searchYsjl.zhizaodanwei" placeholder="请输入制造单位" clearable style="width: 300px" /> |
|
|
|
<el-input v-model="listQuery.zhizaodanwei" placeholder="请输入制造单位" clearable style="width: 300px" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="产品/出厂编号:" style="width: 290px;"> |
|
|
|
<el-input v-model="listQuery.searchYsjl.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" /> |
|
|
|
<el-input v-model="listQuery.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="使用登记证编号:" style="width: 320px;"> |
|
|
|
<el-input v-model="listQuery.searchYsjl.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" /> |
|
|
|
<el-input v-model="listQuery.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</el-container> |
|
|
@ -352,9 +352,7 @@ export default { |
|
|
|
pageRow: 20, // 每页条数 |
|
|
|
order: 'update_time', // 排序字段 |
|
|
|
sort: 'asc', // 排序方式 |
|
|
|
searchYsjl: { |
|
|
|
flowStatus: 1 |
|
|
|
}, |
|
|
|
flowStatus: 1, |
|
|
|
hasChild: true, |
|
|
|
hasFinish: false |
|
|
|
}, |
|
|
@ -982,7 +980,13 @@ export default { |
|
|
|
this.dialogQueryVisible = true |
|
|
|
}, |
|
|
|
clearQuery() { |
|
|
|
this.$set(this.listQuery, 'searchYsjl', {}) |
|
|
|
this.listQuery = { |
|
|
|
order: 'update_time', // 排序字段 |
|
|
|
sort: 'asc', // 排序方式 |
|
|
|
flowStatus: 1, |
|
|
|
hasChild: true, |
|
|
|
hasFinish: false |
|
|
|
} |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
clearCopyQuery() { |
|
|
|