Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -11,25 +11,51 @@
|
|||||||
<h5>实施预警</h5>
|
<h5>实施预警</h5>
|
||||||
<div class="more">
|
<div class="more">
|
||||||
<el-form :inline="true" :model="dynamic" class="demo-form-inline">
|
<el-form :inline="true" :model="dynamic" class="demo-form-inline">
|
||||||
|
<el-form-item label="标准编号">
|
||||||
|
<el-input clearable size="small"
|
||||||
|
v-model="dynamic.standCode"
|
||||||
|
placeholder="根据标准编号查找">
|
||||||
|
</el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称">
|
||||||
|
<el-input clearable size="small"
|
||||||
|
v-model="dynamic.standName"
|
||||||
|
placeholder="根据标准名称查找">
|
||||||
|
</el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="实施日期" class="choose-time-area">
|
||||||
|
<el-datePicker
|
||||||
|
clearable size="small"
|
||||||
|
v-model="dynamic.putTime"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="根据实施日期查找">
|
||||||
|
</el-datePicker>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="适用车型">
|
<el-form-item label="适用车型">
|
||||||
<el-input clearable size="small"
|
<el-input clearable size="small"
|
||||||
v-model="dynamic.keyword"
|
v-model="dynamic.applyType"
|
||||||
placeholder="根据适用车型查找">
|
placeholder="根据适用车型查找">
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<el-button
|
||||||
icon="el-icon-search"
|
|
||||||
type="primary"
|
type="primary"
|
||||||
size="small"
|
size="small"
|
||||||
@click="searchBtnClick"
|
@click="searchBtnClick"
|
||||||
class="common-button-primary">
|
class="common-button-primary">
|
||||||
|
查询
|
||||||
|
</el-button>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="clearBtnClick"
|
||||||
|
class="common-button-primary">
|
||||||
|
清空
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" style="height: 100%; padding-top: 5px; ">
|
<div class="content" style="height: 100%; padding-top: 5px; ">
|
||||||
<el-divider content-position="left" class="dynamic-child-title"></el-divider>
|
<el-divider content-position="left" class="dynamic-child-title">新车型实施日期预警</el-divider>
|
||||||
<el-table
|
<el-table
|
||||||
:data="newItems"
|
:data="newItems"
|
||||||
:height="height"
|
:height="height"
|
||||||
@@ -410,7 +436,14 @@ export default {
|
|||||||
activeName: "STANDARD", //tab 默认选中值
|
activeName: "STANDARD", //tab 默认选中值
|
||||||
// 头部搜索框
|
// 头部搜索框
|
||||||
dynamic: {
|
dynamic: {
|
||||||
keyWord: "",
|
//标准编号
|
||||||
|
standCode: "",
|
||||||
|
//标准名称
|
||||||
|
standName: "",
|
||||||
|
//实施日期
|
||||||
|
putTime: "",
|
||||||
|
//适用车型
|
||||||
|
applyType: "",
|
||||||
},
|
},
|
||||||
height: null,
|
height: null,
|
||||||
// 新车型实施日期预警
|
// 新车型实施日期预警
|
||||||
@@ -549,7 +582,14 @@ export default {
|
|||||||
searchBtnClick() {
|
searchBtnClick() {
|
||||||
this.$http.get('sys/EarlyWarning/StandWarning', {
|
this.$http.get('sys/EarlyWarning/StandWarning', {
|
||||||
...this.pageConfig,
|
...this.pageConfig,
|
||||||
applyType: this.dynamic.keyword
|
//标准编号
|
||||||
|
standCode: this.dynamic.standCode,
|
||||||
|
//标准名称
|
||||||
|
standName: this.dynamic.standName,
|
||||||
|
//实施日期
|
||||||
|
putTime: this.dynamic.putTime,
|
||||||
|
//适用车型
|
||||||
|
applyType: this.dynamic.applyType
|
||||||
},{
|
},{
|
||||||
_this: this,
|
_this: this,
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -567,6 +607,19 @@ export default {
|
|||||||
console.log(e)
|
console.log(e)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
clearBtnClick() {
|
||||||
|
this.dynamic = {
|
||||||
|
//标准编号
|
||||||
|
standCode: "",
|
||||||
|
//标准名称
|
||||||
|
standName: "",
|
||||||
|
//实施日期
|
||||||
|
putTime: "",
|
||||||
|
//适用车型
|
||||||
|
applyType: "",
|
||||||
|
}
|
||||||
|
this.searchBtnClick()
|
||||||
|
},
|
||||||
//取消预警
|
//取消预警
|
||||||
cancelWarning (index, row) {
|
cancelWarning (index, row) {
|
||||||
console.log(index, row)
|
console.log(index, row)
|
||||||
@@ -882,6 +935,16 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.more {
|
.more {
|
||||||
|
|
||||||
|
/deep/ .el-input__inner {
|
||||||
|
width: 155px;
|
||||||
|
}
|
||||||
|
.choose-time-area {
|
||||||
|
/deep/ .el-input__inner {
|
||||||
|
width: 220px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #12508e;
|
color: #12508e;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -2613,6 +2613,13 @@ export default {
|
|||||||
},
|
},
|
||||||
// 清空搜索框
|
// 清空搜索框
|
||||||
clearAllSearch (flag) {
|
clearAllSearch (flag) {
|
||||||
|
if (flag==='standCommonlySearch'){
|
||||||
|
this.standCommonlySearch.standNumber='';
|
||||||
|
this.standCommonlySearch.standSort='';
|
||||||
|
this.standCommonlySearch.page=1;
|
||||||
|
|
||||||
|
}
|
||||||
|
this.getDomesticStandardTable(this.standCommonlySearch)
|
||||||
|
|
||||||
if (flag === 'sarStandardsSearch') {
|
if (flag === 'sarStandardsSearch') {
|
||||||
this.sarStandardsSearch.standSort = ''
|
this.sarStandardsSearch.standSort = ''
|
||||||
|
|||||||
@@ -39,9 +39,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<div class="action-bar">
|
<div class="action-bar">
|
||||||
<el-button plain class="common-button-primary" v-btn-permission="''" size="mini" @click="transfer">调取</el-button>
|
<!-- <el-button plain class="common-button-primary" v-btn-permission="''" size="mini" @click="transfer">调取</el-button>-->
|
||||||
<el-button plain class="common-button-primary" v-btn-permission="''" size="mini" @click="deleteList">批量删除
|
<!-- <el-button plain class="common-button-primary" v-btn-permission="''" size="mini" @click="deleteList">批量删除-->
|
||||||
</el-button>
|
<!-- </el-button>-->
|
||||||
<el-button class="common-button-default export-button"
|
<el-button class="common-button-default export-button"
|
||||||
size="mini" @click="exportStandard"
|
size="mini" @click="exportStandard"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
|
|||||||
+34
-8
@@ -108,13 +108,27 @@
|
|||||||
>
|
>
|
||||||
<div class="demo-drawer-content">
|
<div class="demo-drawer-content">
|
||||||
<div class="el-drawer-form">
|
<div class="el-drawer-form">
|
||||||
<div class="search-area">
|
<div class="search-area-detail">
|
||||||
<div class="left">
|
<div class="left" id="detailSearch">
|
||||||
<el-form :inline="true" :model="sarProStateEO" class="label-input-form">
|
<el-form :inline="true" :model="sarProStateEO" class="label-input-form">
|
||||||
<el-form-item label="项目名称" class="search-item search-item-last">
|
<el-form-item label="标准编号" class="search-item search-item-last">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarProStateEO.productName"
|
v-model="sarProStateEO.standNumber"
|
||||||
placeholder="根据项目名称查找"
|
placeholder="根据标准编号查找"
|
||||||
|
:maxlength="100"
|
||||||
|
clearable></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称" class="search-item search-item-last">
|
||||||
|
<el-input
|
||||||
|
v-model="sarProStateEO.standName"
|
||||||
|
placeholder="根据标准名称查找"
|
||||||
|
:maxlength="100"
|
||||||
|
clearable></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="具体章条" class="search-item search-item-last">
|
||||||
|
<el-input
|
||||||
|
v-model="sarProStateEO.specificItem"
|
||||||
|
placeholder="根据具体章条查找"
|
||||||
:maxlength="100"
|
:maxlength="100"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -230,7 +244,12 @@ name: "technologyInvolveProject",
|
|||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
showSarProStateModal: false,
|
showSarProStateModal: false,
|
||||||
sarProStateEO: {
|
sarProStateEO: {
|
||||||
productName: ''
|
//标准编号
|
||||||
|
standNumber: '',
|
||||||
|
//标准名称
|
||||||
|
standName: '',
|
||||||
|
//具体章条
|
||||||
|
specificItem: '',
|
||||||
},
|
},
|
||||||
sarProStateTotal: 0,
|
sarProStateTotal: 0,
|
||||||
sarProStateTotalPage: 1,
|
sarProStateTotalPage: 1,
|
||||||
@@ -306,11 +325,15 @@ name: "technologyInvolveProject",
|
|||||||
this.showSarProStateModal = true
|
this.showSarProStateModal = true
|
||||||
}, // 查询项目数据
|
}, // 查询项目数据
|
||||||
clearSearchProState () {
|
clearSearchProState () {
|
||||||
this.sarProStateEO.productName = ''
|
this.sarProStateEO.standNumber = ''
|
||||||
|
this.sarProStateEO.standName = ''
|
||||||
|
this.sarProStateEO.specificItem = ''
|
||||||
this.querySarProStateZero()
|
this.querySarProStateZero()
|
||||||
}, // 清空条件查询
|
}, // 清空条件查询
|
||||||
clearSearchPro () {
|
clearSearchPro () {
|
||||||
this.sarProStateEO.productName = ''
|
this.sarProStateEO.standNumber = ''
|
||||||
|
this.sarProStateEO.standName = ''
|
||||||
|
this.sarProStateEO.specificItem = ''
|
||||||
this.showSarProStateModal = false
|
this.showSarProStateModal = false
|
||||||
}, // 关闭查看事件
|
}, // 关闭查看事件
|
||||||
pageProStateChange (page) {
|
pageProStateChange (page) {
|
||||||
@@ -368,5 +391,8 @@ name: "technologyInvolveProject",
|
|||||||
.search-area .search-item .el-input--suffix .el-input__inner{
|
.search-area .search-item .el-input--suffix .el-input__inner{
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
}
|
}
|
||||||
|
.search-area-detail .el-input__inner{
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user