Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -409,6 +409,7 @@ export default {
|
|||||||
// 查询相关参数
|
// 查询相关参数
|
||||||
searching: false,
|
searching: false,
|
||||||
commentText:'',
|
commentText:'',
|
||||||
|
fileType: 'FBGBJBD',
|
||||||
standardSearch: {
|
standardSearch: {
|
||||||
standType: "",
|
standType: "",
|
||||||
standName: ""
|
standName: ""
|
||||||
@@ -847,6 +848,7 @@ export default {
|
|||||||
this.$http.post("SarStandItems/sar-stand-items/findStand", {
|
this.$http.post("SarStandItems/sar-stand-items/findStand", {
|
||||||
page: this.page,
|
page: this.page,
|
||||||
size: this.pageSize,
|
size: this.pageSize,
|
||||||
|
fileType: this.fileType,
|
||||||
...this.standardSearch
|
...this.standardSearch
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
|
|||||||
@@ -396,6 +396,7 @@ export default {
|
|||||||
drawerTitle: "", //drawer标题
|
drawerTitle: "", //drawer标题
|
||||||
// 查询相关参数
|
// 查询相关参数
|
||||||
searching: false,
|
searching: false,
|
||||||
|
fileType: 'FBGBJBD',
|
||||||
standardSearch: {
|
standardSearch: {
|
||||||
standType: "",
|
standType: "",
|
||||||
standName: ""
|
standName: ""
|
||||||
@@ -822,6 +823,7 @@ export default {
|
|||||||
this.$http.post("SarStandItems/sar-stand-items/findStand", {
|
this.$http.post("SarStandItems/sar-stand-items/findStand", {
|
||||||
page: this.page,
|
page: this.page,
|
||||||
size: this.pageSize,
|
size: this.pageSize,
|
||||||
|
fileType: this.fileType,
|
||||||
...this.standardSearch
|
...this.standardSearch
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
|
|||||||
@@ -369,6 +369,16 @@ export default {
|
|||||||
this.listForm.breakdownList = [];
|
this.listForm.breakdownList = [];
|
||||||
for (let i = 0; i < item.pepdtos.length; i++) {
|
for (let i = 0; i < item.pepdtos.length; i++) {
|
||||||
for (let j = 0; j < item.pepdtos[i].breakdownList.length; j++) {
|
for (let j = 0; j < item.pepdtos[i].breakdownList.length; j++) {
|
||||||
|
if(item.pepdtos[i].xCXSSRQ === null){
|
||||||
|
this.listForm.breakdownList.xCXSSRQ = ""
|
||||||
|
} else {
|
||||||
|
this.listForm.breakdownList.xCXSSRQ = item.pepdtos[i].xCXSSRQ
|
||||||
|
}
|
||||||
|
if(item.pepdtos[i].zCCSSRQ === null){
|
||||||
|
this.listForm.breakdownList.zCCSSRQ = ""
|
||||||
|
} else {
|
||||||
|
this.listForm.breakdownList.zCCSSRQ = item.pepdtos[i].zCCSSRQ
|
||||||
|
}
|
||||||
this.listForm.breakdownList.push({
|
this.listForm.breakdownList.push({
|
||||||
itemsName: item.pepdtos[i].breakdownList[j].itemsName,
|
itemsName: item.pepdtos[i].breakdownList[j].itemsName,
|
||||||
itemNum: item.pepdtos[i].breakdownList[j].itemsNum,
|
itemNum: item.pepdtos[i].breakdownList[j].itemsNum,
|
||||||
@@ -386,8 +396,6 @@ export default {
|
|||||||
qualityEngineerName: item.pepdtos[i].qualityEngineerName,
|
qualityEngineerName: item.pepdtos[i].qualityEngineerName,
|
||||||
standNumber: item.pepdtos[i].standNumber,
|
standNumber: item.pepdtos[i].standNumber,
|
||||||
standName: item.pepdtos[i].standName,
|
standName: item.pepdtos[i].standName,
|
||||||
xCXSSRQ: item.pepdtos[i].xCXSSRQ,
|
|
||||||
zCCSSRQ: item.pepdtos[i].zCCSSRQ
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,8 +68,10 @@
|
|||||||
label="标准号"
|
label="标准号"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort
|
||||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
|
}} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSort }}
|
||||||
|
{{ scope.row.standNumber }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -484,6 +486,7 @@ export default {
|
|||||||
this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId }, {
|
this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId }, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
console.log(res.data.records);
|
||||||
this.listForm.dataList = res.data.records;
|
this.listForm.dataList = res.data.records;
|
||||||
this.dataList = res.data.records;
|
this.dataList = res.data.records;
|
||||||
this.listForm.dataList.forEach(item => {
|
this.listForm.dataList.forEach(item => {
|
||||||
@@ -517,7 +520,12 @@ export default {
|
|||||||
{
|
{
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.listForm.breakdownList = res.data;
|
if (!res.data.length) {
|
||||||
|
this.dataList = []
|
||||||
|
this.$message.warning("请选择带有分解单的标准");
|
||||||
|
} else {
|
||||||
|
this.listForm.breakdownList = res.data;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//标准的多选框改变
|
//标准的多选框改变
|
||||||
@@ -595,15 +603,15 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: "OtherStandardDetails",
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
pageType: 'INLAND_STAND'
|
pageType: "INLAND_STAND"
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, "_blank");
|
||||||
},
|
},
|
||||||
choiceZRR(type, title, id) {
|
choiceZRR(type, title, id) {
|
||||||
this.nodeList = [];
|
this.nodeList = [];
|
||||||
|
|||||||
+231
-209
@@ -15,10 +15,14 @@
|
|||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="" class="search-item btn-box">
|
<el-form-item label="" class="search-item btn-box">
|
||||||
<el-button class="common-button-primary" type="primary" size="mini" @click="searchStandAndLaws" v-btn-permission="'314ad07cd81834dfdd3c58476cdcde68'">查询</el-button>
|
<el-button class="common-button-primary" type="primary" size="mini" @click="searchStandAndLaws"
|
||||||
|
v-btn-permission="'314ad07cd81834dfdd3c58476cdcde68'">查询
|
||||||
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="" class="search-item btn-box">
|
<el-form-item label="" class="search-item btn-box">
|
||||||
<el-button class="common-button-default" @click="resetSelect" size="mini" v-btn-permission="'eb402ab8306d437c7d33e9e4b4e4341a'">清空</el-button>
|
<el-button class="common-button-default" @click="resetSelect" size="mini"
|
||||||
|
v-btn-permission="'eb402ab8306d437c7d33e9e4b4e4341a'">清空
|
||||||
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -27,24 +31,24 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-table
|
<el-table
|
||||||
stripe
|
stripe
|
||||||
ref="selections"
|
ref="selections"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
border
|
border
|
||||||
:height="tableHeight"
|
:height="tableHeight"
|
||||||
:data="sarProjectListDatas"
|
:data="sarProjectListDatas"
|
||||||
class="table"
|
class="table"
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}">
|
fontWeight: 'bold', height: '48px'}">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standType"
|
prop="standType"
|
||||||
label="标准/政策类型"
|
label="标准/政策类型"
|
||||||
width="120"
|
width="120"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.standType === 'INLAND'">国内标准法规</div>
|
<div v-if="scope.row.standType === 'INLAND'">国内标准法规</div>
|
||||||
@@ -55,9 +59,9 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standNumber"
|
||||||
label="标准/政策号"
|
label="标准/政策号"
|
||||||
width="180"
|
width="180"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump"
|
<a class="table-jump"
|
||||||
@@ -65,8 +69,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准/政策名称"
|
label="标准/政策名称"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump"
|
<a class="table-jump"
|
||||||
@@ -74,15 +78,15 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="interpretationTime"
|
prop="interpretationTime"
|
||||||
label="评估时间"
|
label="评估时间"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
fixed="right"
|
fixed="right"
|
||||||
label=""
|
label=""
|
||||||
width="50"
|
width="50"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<i class="el-icon-view btn-i" @click="handleProjectCompliance(scope.row)"></i>
|
<i class="el-icon-view btn-i" @click="handleProjectCompliance(scope.row)"></i>
|
||||||
</template>
|
</template>
|
||||||
@@ -93,12 +97,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 查看符合标准性弹窗-->
|
<!-- 查看符合标准性弹窗-->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="标准涉及项目符合性"
|
title="标准涉及项目符合性"
|
||||||
:visible.sync="showSarProStateModal"
|
:visible.sync="showSarProStateModal"
|
||||||
:wrapperClosable="false"
|
:wrapperClosable="false"
|
||||||
size="1100px"
|
size="1100px"
|
||||||
:before-close="clearSearchPro"
|
:before-close="clearSearchPro"
|
||||||
class="not-footer-drawer"
|
class="not-footer-drawer"
|
||||||
>
|
>
|
||||||
<div class="demo-drawer-content">
|
<div class="demo-drawer-content">
|
||||||
<div class="el-drawer-form">
|
<div class="el-drawer-form">
|
||||||
@@ -107,10 +111,10 @@
|
|||||||
<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.productName"
|
||||||
placeholder="根据项目名称查找"
|
placeholder="根据项目名称查找"
|
||||||
:maxlength="100"
|
:maxlength="100"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="项目编号" class="search-item search-item-last">
|
<el-form-item label="项目编号" class="search-item search-item-last">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -121,18 +125,20 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
v-btn-permission="'f0ea68cb2c01cd0063ea639ee9bd4cec'"
|
v-btn-permission="'f0ea68cb2c01cd0063ea639ee9bd4cec'"
|
||||||
@click="querySarProStateZero">查询</el-button>
|
@click="querySarProStateZero">查询
|
||||||
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
size="mini"
|
size="mini"
|
||||||
v-btn-permission="'aa4d6d0cc28d016f8241159c9e7d4c80'"
|
v-btn-permission="'aa4d6d0cc28d016f8241159c9e7d4c80'"
|
||||||
@click="clearSearchProState">清空</el-button>
|
@click="clearSearchProState">清空
|
||||||
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -140,141 +146,153 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:data="sarProStateListDatas"
|
:data="sarProStateListDatas"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
border
|
border
|
||||||
:height="sarProStateTableHeight"
|
:height="sarProStateTableHeight"
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}">
|
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="productLineId"
|
prop="productLineId"
|
||||||
label="产品线">
|
label="产品线">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="productId"
|
prop="productId"
|
||||||
label="项目编号">
|
label="项目编号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="productName"
|
prop="productName"
|
||||||
label="项目名称">
|
label="项目名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="standNumber"
|
prop="standNumber"
|
||||||
label="标准编号">
|
label="标准编号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称">
|
label="标准名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="standardItem"
|
prop="standardItem"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="standardInfo"
|
prop="standardInfo"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
prop="productType"
|
prop="productType"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="researchImplementationTime"
|
prop="researchImplementationTime"
|
||||||
label="实施时间">
|
label="实施时间">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.researchImplementationTime ? $moment(scope.row.researchImplementationTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="researchCompliance"
|
prop="researchCompliance"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="researchCountermeasures"
|
prop="researchCountermeasures"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="researchCompletionTime"
|
prop="researchCompletionTime"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.researchCompletionTime ? $moment(scope.row.researchCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
prop="center"
|
prop="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="productionImplementationTime"
|
prop="productionImplementationTime"
|
||||||
label="实施时间">
|
label="实施时间">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.productionImplementationTime ? $moment(scope.row.productionImplementationTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="productionCompliance"
|
prop="productionCompliance"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="productionCountermeasures"
|
prop="productionCountermeasures"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="productionCompletionTime"
|
prop="productionCompletionTime"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.productionCompletionTime ? $moment(scope.row.productionCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<pagination
|
<pagination
|
||||||
:page="sarProStateTotalPage"
|
:page="sarProStateTotalPage"
|
||||||
:total="sarProStateTotal"
|
:total="sarProStateTotal"
|
||||||
@pageChange="pageProStateChange"
|
@pageChange="pageProStateChange"
|
||||||
@pageSizeChange="pageProStateSizeChange"></pagination>
|
@pageSizeChange="pageProStateSizeChange"></pagination>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
@@ -283,12 +301,12 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'standInvolveProjectDetail',
|
name: "standInvolveProjectDetail",
|
||||||
data () {
|
data() {
|
||||||
return {
|
return {
|
||||||
sarProject: {
|
sarProject: {
|
||||||
standName: '', // 标准政策名称
|
standName: "", // 标准政策名称
|
||||||
standNumber: '', // 标准/政策号
|
standNumber: "", // 标准/政策号
|
||||||
standApplicationType: 1
|
standApplicationType: 1
|
||||||
}, // 条件查询
|
}, // 条件查询
|
||||||
showSarProStateModal: false, // 查看drawer开关
|
showSarProStateModal: false, // 查看drawer开关
|
||||||
@@ -302,125 +320,127 @@ export default {
|
|||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
sarProStateEO: {
|
sarProStateEO: {
|
||||||
productName: '',
|
productName: "",
|
||||||
standId: ''
|
standId: ""
|
||||||
},
|
},
|
||||||
sarProStateTotal: 0,
|
sarProStateTotal: 0,
|
||||||
sarProStateTotalPage: 1,
|
sarProStateTotalPage: 1,
|
||||||
sarProStatePageSize: this.$store.getters.userInfo.configContent,
|
sarProStatePageSize: this.$store.getters.userInfo.configContent,
|
||||||
sarProStateListDatas: [], // 符合性项目列表数据
|
sarProStateListDatas: [], // 符合性项目列表数据
|
||||||
sarProStateTableHeight: null, // 符合性项目列表高度
|
sarProStateTableHeight: null, // 符合性项目列表高度
|
||||||
standId: '' // 符合性项目Id
|
standId: "" // 符合性项目Id
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
searchStandAndLaws () {
|
searchStandAndLaws() {
|
||||||
this.page = 1
|
this.page = 1;
|
||||||
this.queryStandAndLaws()
|
this.queryStandAndLaws();
|
||||||
}, // 查询
|
}, // 查询
|
||||||
pageChange (page) {
|
pageChange(page) {
|
||||||
this.page = page
|
this.page = page;
|
||||||
this.queryStandAndLaws()
|
this.queryStandAndLaws();
|
||||||
},
|
},
|
||||||
pageSizeChange (pageSize) {
|
pageSizeChange(pageSize) {
|
||||||
this.pageSize = pageSize
|
this.pageSize = pageSize;
|
||||||
this.$store.getters.userInfo.configContent = pageSize
|
this.$store.getters.userInfo.configContent = pageSize;
|
||||||
this.queryStandAndLaws()
|
this.queryStandAndLaws();
|
||||||
},
|
},
|
||||||
//点击查看详情
|
//点击查看详情
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: "OtherStandardDetails",
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
pageType: 'INLAND_STAND'
|
pageType: "INLAND_STAND"
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, "_blank");
|
||||||
},
|
},
|
||||||
queryStandAndLaws () {
|
queryStandAndLaws() {
|
||||||
this.sarProject.current = this.page
|
this.sarProject.current = this.page;
|
||||||
this.sarProject.size = this.pageSize
|
this.sarProject.size = this.pageSize;
|
||||||
this.$http.get('sarStandardComplianceAssessResult/standard', this.sarProject, {
|
this.$http.get("sarStandardComplianceAssessResult/standard", this.sarProject, {
|
||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loading',
|
loading: "loading"
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarProjectListDatas = res.data.records
|
this.sarProjectListDatas = res.data.records;
|
||||||
this.total = res.data.total
|
this.total = res.data.total;
|
||||||
}, e=> {})
|
}, e => {
|
||||||
}, // 分页查询
|
});
|
||||||
resetSelect () {
|
}, // 分页查询
|
||||||
this.sarProject.country = ''
|
resetSelect() {
|
||||||
this.sarProject.standCode=''
|
this.sarProject.country = "";
|
||||||
this.sarProject.standName = ''
|
this.sarProject.standCode = "";
|
||||||
this.sarProject.standNumber=''
|
this.sarProject.standName = "";
|
||||||
this.queryStandAndLaws()
|
this.sarProject.standNumber = "";
|
||||||
}, // 外层清空条件查询
|
this.queryStandAndLaws();
|
||||||
handleProjectCompliance (row) {
|
}, // 外层清空条件查询
|
||||||
this.standId = row.standId
|
handleProjectCompliance(row) {
|
||||||
this.querySarProStateZero()
|
this.standId = row.standId;
|
||||||
}, // 查看项目符合性
|
this.querySarProStateZero();
|
||||||
querySarProStateZero () {
|
}, // 查看项目符合性
|
||||||
this.sarProStateTotalPage = 1
|
querySarProStateZero() {
|
||||||
var form = this.sarProStateEO
|
this.sarProStateTotalPage = 1;
|
||||||
// form.standId = this.standId
|
var form = this.sarProStateEO;
|
||||||
form.current = this.sarProStateTotalPage
|
// form.standId = this.standId
|
||||||
form.size = this.sarProStatePageSize
|
form.current = this.sarProStateTotalPage;
|
||||||
this.$http.get('sarStandardComplianceAssessResult/product', form, {
|
form.size = this.sarProStatePageSize;
|
||||||
_this: this,
|
this.$http.get("sarStandardComplianceAssessResult/product", form, {
|
||||||
loading: 'loading'
|
_this: this,
|
||||||
}, res => {
|
loading: "loading"
|
||||||
if (res.ok) {
|
}, res => {
|
||||||
res.data.records.forEach((item)=>{
|
if (res.ok) {
|
||||||
for(let key in item){
|
// res.data.records.forEach((item)=>{
|
||||||
if(item[key] == null){
|
// for(let key in item){
|
||||||
item[key]='无'
|
// if(item[key] == null){
|
||||||
}
|
// item[key]='无'
|
||||||
}
|
// }
|
||||||
})
|
// }
|
||||||
this.sarProStateListDatas = res.data.records
|
// })
|
||||||
this.sarProStateTotal = res.data.total
|
this.sarProStateListDatas = res.data.records;
|
||||||
}
|
this.sarProStateTotal = res.data.total;
|
||||||
})
|
}
|
||||||
this.showSarProStateModal = true
|
});
|
||||||
}, // 查询项目数据
|
this.showSarProStateModal = true;
|
||||||
clearSearchProState () {
|
}, // 查询项目数据
|
||||||
this.sarProStateEO.productName = ''
|
clearSearchProState() {
|
||||||
this.sarProStateEO.standId = ''
|
this.sarProStateEO.productName = "";
|
||||||
this.sarProStateTotalPage = 1
|
this.sarProStateEO.standId = "";
|
||||||
this.querySarProStateZero()
|
this.sarProStateTotalPage = 1;
|
||||||
}, // 清空条件查询
|
this.querySarProStateZero();
|
||||||
clearSearchPro () {
|
}, // 清空条件查询
|
||||||
this.sarProStateEO.productName = ''
|
clearSearchPro() {
|
||||||
this.sarProStateEO.standId = ''
|
this.sarProStateEO.productName = "";
|
||||||
this.showSarProStateModal = false
|
this.sarProStateEO.standId = "";
|
||||||
this.standId = ''
|
this.showSarProStateModal = false;
|
||||||
}, // 关闭查看事件
|
this.standId = "";
|
||||||
pageProStateChange (page) {
|
}, // 关闭查看事件
|
||||||
this.sarProStateTotalPage = page
|
pageProStateChange(page) {
|
||||||
this.querySarProStateZero()
|
this.sarProStateTotalPage = page;
|
||||||
},
|
this.querySarProStateZero();
|
||||||
pageProStateSizeChange (pageSize) {
|
},
|
||||||
this.sarProStatePageSize = pageSize
|
pageProStateSizeChange(pageSize) {
|
||||||
this.$store.getters.userInfo.configContent = pageSize
|
this.sarProStatePageSize = pageSize;
|
||||||
this.querySarProStateZero()
|
this.$store.getters.userInfo.configContent = pageSize;
|
||||||
},
|
this.querySarProStateZero();
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.queryStandAndLaws()
|
|
||||||
this.tableHeight = $('.regulatory-repository').height() - 159
|
|
||||||
this.sarProStateTableHeight=$('.regulatory-repository').height() -120
|
|
||||||
window.onresize = () => {
|
|
||||||
this.tableHeight = $('.regulatory-repository').height() - 159
|
|
||||||
this.sarProStateTableHeight=$('.regulatory-repository').height() - 120
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.queryStandAndLaws();
|
||||||
|
this.tableHeight = $(".regulatory-repository").height() - 159;
|
||||||
|
this.sarProStateTableHeight = $(".regulatory-repository").height() - 120;
|
||||||
|
window.onresize = () => {
|
||||||
|
this.tableHeight = $(".regulatory-repository").height() - 159;
|
||||||
|
this.sarProStateTableHeight = $(".regulatory-repository").height() - 120;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.stand-involve-project-detail{
|
.stand-involve-project-detail {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.laws-details-header {
|
.laws-details-header {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
// height: 30px;
|
// height: 30px;
|
||||||
@@ -431,6 +451,7 @@ export default {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -440,6 +461,7 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.contaiiner {
|
.contaiiner {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
@@ -447,8 +469,8 @@ export default {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.stand-involve-project-detail{
|
.stand-involve-project-detail {
|
||||||
.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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user