Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
<!-- 实施预警 -->
|
||||
<div class="dynamic" style="overflow-y: auto;">
|
||||
<div class="container" :style="containerStyle">
|
||||
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">-->
|
||||
<!-- <el-tab-pane label="标准预警" name="STANDARD">-->
|
||||
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">-->
|
||||
<!-- <el-tab-pane label="标准预警" name="STANDARD">-->
|
||||
<div class="dynamic-content">
|
||||
<h5>实施预警</h5>
|
||||
<div class="more">
|
||||
@@ -100,7 +100,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="标准类型" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.standCode.slice(0,3) }}</div>
|
||||
<div>{{ scope.row.standCode.slice(0, 3) }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="dutyEngineer" label="标准责任工程师" align="center">
|
||||
@@ -113,7 +113,8 @@
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
@click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>
|
||||
@click="cancelWarning(scope.$index, scope.row)">取消预警
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -170,7 +171,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="标准类型" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.standCode.slice(0,3) }}</div>
|
||||
<div>{{ scope.row.standCode.slice(0, 3) }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="dutyEngineer" label="标准责任工程师" align="center">
|
||||
@@ -183,7 +184,8 @@
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
@click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>
|
||||
@click="cancelWarning(scope.$index, scope.row)">取消预警
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -241,8 +243,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column prop="mark" label="标准分类" align="center">
|
||||
<template slot-scope="scope">
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.mark }}</a>-->
|
||||
<div>{{ scope.row.standCode.slice(0,3) }}</div>
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.mark }}</a>-->
|
||||
<div>{{ scope.row.standCode.slice(0, 3) }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="dutyEngineer" label="标准责任工程师" align="center">
|
||||
@@ -255,7 +257,8 @@
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
@click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>
|
||||
@click="cancelWarning(scope.$index, scope.row)">取消预警
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -313,8 +316,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column prop="mark" label="标准分类" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.standCode.slice(0,3) }}</div>
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.mark }}</a>-->
|
||||
<div>{{ scope.row.standCode.slice(0, 3) }}</div>
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.mark }}</a>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="dutyEngineer" label="标准责任工程师" align="center">
|
||||
@@ -327,7 +330,8 @@
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
@click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>
|
||||
@click="cancelWarning(scope.$index, scope.row)">取消预警
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -341,105 +345,105 @@
|
||||
@pageSizeChange="pageSize => handlePageSizeChange('oldItems', pageSize)"></pagination>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </el-tab-pane>-->
|
||||
<!-- <el-tab-pane label="政策预警" name="POLICY">-->
|
||||
<!-- <div class="dynamic-content">-->
|
||||
<!-- <h5>实施预警</h5>-->
|
||||
<!-- <div class="content" style="height: 100%; padding-top: 5px; ">-->
|
||||
<!-- <div class="content-group">-->
|
||||
<!-- <el-divider content-position="left" class="dynamic-child-title">新车型实施日期预警</el-divider>-->
|
||||
<!-- <div class="table-wrap">-->
|
||||
<!-- <el-table-->
|
||||
<!-- :data="newPolicy"-->
|
||||
<!-- :height="tableHeight"-->
|
||||
<!-- border-->
|
||||
<!-- :resizable="false"-->
|
||||
<!-- v-loading="loading.newPolicy"-->
|
||||
<!-- :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"-->
|
||||
<!-- >-->
|
||||
<!-- <el-table-column prop="policyId" label="政策编号" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyId }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="policyName" label="政策名称" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyName }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="putTime" label="新车型实施日期" align="center" sortable>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- {{ (scope.row.putTime ? scope.row.putTime.substring(0, 11) : "") }}-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column label="操作" align="center" width="150" v-if="isShowBtn">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="danger"-->
|
||||
<!-- @click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table>-->
|
||||
<!-- </div>-->
|
||||
<!-- <pagination-->
|
||||
<!-- style="position: static;"-->
|
||||
<!-- :page="pageConfig.newPolicyPage"-->
|
||||
<!-- :pageSize="pageConfig.newPolicyPageSize"-->
|
||||
<!-- :total="pageConfig.count5"-->
|
||||
<!-- autoSize-->
|
||||
<!-- @pageChange="page => handlePageChange('newPolicy', page)"-->
|
||||
<!-- @pageSizeChange="pageSize => handlePageSizeChange('newPolicy', pageSize)"></pagination>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="content-group">-->
|
||||
<!-- <el-divider content-position="left" class="dynamic-child-title">在产车实施日期预警</el-divider>-->
|
||||
<!-- <div class="table-wrap">-->
|
||||
<!-- <el-table-->
|
||||
<!-- :data="oldPolicy"-->
|
||||
<!-- :height="tableHeight"-->
|
||||
<!-- border-->
|
||||
<!-- :resizable="false"-->
|
||||
<!-- v-loading="loading.oldPolicy"-->
|
||||
<!-- :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"-->
|
||||
<!-- >-->
|
||||
<!-- <el-table-column prop="policyId" label="政策编号" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyId }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="policyName" label="政策名称" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyName }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="putTime" label="在产车实施日期" align="center" sortable>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- {{ (scope.row.putTime ? scope.row.putTime.substring(0, 11) : "") }}-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column label="操作" align="center" width="150" v-if="isShowBtn">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="danger"-->
|
||||
<!-- @click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table>-->
|
||||
<!-- </div>-->
|
||||
<!-- <pagination-->
|
||||
<!-- style="position: static;"-->
|
||||
<!-- :page="pageConfig.oldPolicyPage"-->
|
||||
<!-- :pangSize="pageConfig.oldPolicyPageSize"-->
|
||||
<!-- :total="pageConfig.count6"-->
|
||||
<!-- autoSize-->
|
||||
<!-- @pageChange="page => handlePageChange('oldPolicy', page)"-->
|
||||
<!-- @pageSizeChange="pageSize => handlePageSizeChange('oldPolicy', pageSize)"></pagination>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </el-tab-pane>-->
|
||||
<!-- </el-tabs>-->
|
||||
<!-- </el-tab-pane>-->
|
||||
<!-- <el-tab-pane label="政策预警" name="POLICY">-->
|
||||
<!-- <div class="dynamic-content">-->
|
||||
<!-- <h5>实施预警</h5>-->
|
||||
<!-- <div class="content" style="height: 100%; padding-top: 5px; ">-->
|
||||
<!-- <div class="content-group">-->
|
||||
<!-- <el-divider content-position="left" class="dynamic-child-title">新车型实施日期预警</el-divider>-->
|
||||
<!-- <div class="table-wrap">-->
|
||||
<!-- <el-table-->
|
||||
<!-- :data="newPolicy"-->
|
||||
<!-- :height="tableHeight"-->
|
||||
<!-- border-->
|
||||
<!-- :resizable="false"-->
|
||||
<!-- v-loading="loading.newPolicy"-->
|
||||
<!-- :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"-->
|
||||
<!-- >-->
|
||||
<!-- <el-table-column prop="policyId" label="政策编号" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyId }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="policyName" label="政策名称" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyName }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="putTime" label="新车型实施日期" align="center" sortable>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- {{ (scope.row.putTime ? scope.row.putTime.substring(0, 11) : "") }}-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column label="操作" align="center" width="150" v-if="isShowBtn">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="danger"-->
|
||||
<!-- @click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table>-->
|
||||
<!-- </div>-->
|
||||
<!-- <pagination-->
|
||||
<!-- style="position: static;"-->
|
||||
<!-- :page="pageConfig.newPolicyPage"-->
|
||||
<!-- :pageSize="pageConfig.newPolicyPageSize"-->
|
||||
<!-- :total="pageConfig.count5"-->
|
||||
<!-- autoSize-->
|
||||
<!-- @pageChange="page => handlePageChange('newPolicy', page)"-->
|
||||
<!-- @pageSizeChange="pageSize => handlePageSizeChange('newPolicy', pageSize)"></pagination>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="content-group">-->
|
||||
<!-- <el-divider content-position="left" class="dynamic-child-title">在产车实施日期预警</el-divider>-->
|
||||
<!-- <div class="table-wrap">-->
|
||||
<!-- <el-table-->
|
||||
<!-- :data="oldPolicy"-->
|
||||
<!-- :height="tableHeight"-->
|
||||
<!-- border-->
|
||||
<!-- :resizable="false"-->
|
||||
<!-- v-loading="loading.oldPolicy"-->
|
||||
<!-- :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"-->
|
||||
<!-- >-->
|
||||
<!-- <el-table-column prop="policyId" label="政策编号" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyId }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="policyName" label="政策名称" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyName }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="putTime" label="在产车实施日期" align="center" sortable>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- {{ (scope.row.putTime ? scope.row.putTime.substring(0, 11) : "") }}-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column label="操作" align="center" width="150" v-if="isShowBtn">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="danger"-->
|
||||
<!-- @click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table>-->
|
||||
<!-- </div>-->
|
||||
<!-- <pagination-->
|
||||
<!-- style="position: static;"-->
|
||||
<!-- :page="pageConfig.oldPolicyPage"-->
|
||||
<!-- :pangSize="pageConfig.oldPolicyPageSize"-->
|
||||
<!-- :total="pageConfig.count6"-->
|
||||
<!-- autoSize-->
|
||||
<!-- @pageChange="page => handlePageChange('oldPolicy', page)"-->
|
||||
<!-- @pageSizeChange="pageSize => handlePageSizeChange('oldPolicy', pageSize)"></pagination>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </el-tab-pane>-->
|
||||
<!-- </el-tabs>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -448,7 +452,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapMutations } from "vuex";
|
||||
import {mapMutations} from "vuex";
|
||||
|
||||
export default {
|
||||
name: "standardWarning",
|
||||
@@ -522,7 +526,7 @@ export default {
|
||||
...this.pageConfig
|
||||
}, {
|
||||
_this: this
|
||||
},res => {
|
||||
}, res => {
|
||||
console.log(res.data);
|
||||
const result = res.data[0]
|
||||
for (const field in result) {
|
||||
@@ -544,7 +548,9 @@ export default {
|
||||
break
|
||||
}
|
||||
}
|
||||
for (const loading in this.loading) { this.loading[loading] = false }
|
||||
for (const loading in this.loading) {
|
||||
this.loading[loading] = false
|
||||
}
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
@@ -565,13 +571,13 @@ export default {
|
||||
this.$http.get('sys/EarlyWarning/PolicyWarning', {
|
||||
applyType: '',
|
||||
...this.pageConfig
|
||||
},{
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
const policys = res.data[0]
|
||||
for(const field in policys) {
|
||||
for (const field in policys) {
|
||||
this[field] = policys[field].records
|
||||
switch(field) {
|
||||
switch (field) {
|
||||
case 'newPolicy':
|
||||
this.pageConfig.count5 = policys.newPolicy.total
|
||||
break
|
||||
@@ -580,7 +586,9 @@ export default {
|
||||
break
|
||||
}
|
||||
}
|
||||
for(const loading in this.loading) {this.loading[loading] = false}
|
||||
for (const loading in this.loading) {
|
||||
this.loading[loading] = false
|
||||
}
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
@@ -613,11 +621,11 @@ export default {
|
||||
putTime: this.dynamic.putTime,
|
||||
//适用车型
|
||||
applyType: this.dynamic.applyType
|
||||
},{
|
||||
}, {
|
||||
_this: this,
|
||||
}, res => {
|
||||
const result = res.data[0]
|
||||
for(const type in result) {
|
||||
for (const type in result) {
|
||||
this[type] = result[type].records
|
||||
}
|
||||
this.newItemsPage = 1
|
||||
@@ -644,9 +652,9 @@ export default {
|
||||
this.searchBtnClick()
|
||||
},
|
||||
//取消预警
|
||||
cancelWarning (index, row) {
|
||||
cancelWarning(index, row) {
|
||||
console.log(index, row)
|
||||
this.$confirm('确认取消预警?','提示', {
|
||||
this.$confirm('确认取消预警?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
cancelButtonText: '取消',
|
||||
@@ -800,7 +808,9 @@ export default {
|
||||
// this.queryNewTypeByPage();
|
||||
// this.queryProductionVehicleByPage();
|
||||
// 四个预警同时查询,loading全部打开
|
||||
for (const loading in this.loading) { this.loading[loading] = true }
|
||||
for (const loading in this.loading) {
|
||||
this.loading[loading] = true
|
||||
}
|
||||
this.getEarlyDate();
|
||||
|
||||
}
|
||||
@@ -963,6 +973,7 @@ export default {
|
||||
/deep/ .el-input__inner {
|
||||
width: 155px;
|
||||
}
|
||||
|
||||
.choose-time-area {
|
||||
/deep/ .el-input__inner {
|
||||
width: 220px;
|
||||
|
||||
@@ -312,9 +312,14 @@ export default {
|
||||
let listJSON = JSON.parse(JSON.stringify(item.responUserList))
|
||||
this.dataList = [listJSON][0].standardInfoList
|
||||
} else {
|
||||
if (item.dockUserList !== undefined) {
|
||||
let listJSON = JSON.parse(JSON.stringify(item.dockUserList))
|
||||
this.dataList = listJSON[0].standardInfoList
|
||||
}else {
|
||||
let listJSONInfo = item.info
|
||||
this.dataList = [listJSONInfo]
|
||||
}
|
||||
}
|
||||
this.dataList.forEach(item => {
|
||||
if (item.fileText.length !== 0) {
|
||||
this.fileTextList = item.fileText
|
||||
|
||||
@@ -398,7 +398,7 @@ export default {
|
||||
// 相关人员姓名
|
||||
},
|
||||
// 新增编辑弹窗里的数据
|
||||
localProEODefault: {
|
||||
/* localProEODefault: {
|
||||
// 项目相关人员
|
||||
userEOList: [],
|
||||
// 产品代码
|
||||
@@ -460,7 +460,7 @@ export default {
|
||||
// 相关人员信息
|
||||
relatePersonShow: ""
|
||||
// 相关人员姓名
|
||||
},
|
||||
},*/
|
||||
//查询3类
|
||||
projectLibrarySearch: {
|
||||
// 项目名称
|
||||
|
||||
@@ -14,10 +14,16 @@
|
||||
<el-col :span="5" :push="1">项目编号: <span class="valueColor">{{ localProEO.projectNumber }}</span></el-col>
|
||||
<el-col :span="5" :push="2">
|
||||
<el-tooltip class="item" effect="dark" :content="localProEO.projectName" placement="top">
|
||||
<div slot="content" class="toolip-content" v-if="localProEO.projectName !== undefined && localProEO.projectName.length>15">{{ localProEO.projectName }}</div>
|
||||
<div slot="content" class="toolip-content" v-if="localProEO.projectName !== undefined && localProEO.projectName.length>15">
|
||||
{{ localProEO.projectName }}
|
||||
</div>
|
||||
<div v-else></div>
|
||||
<div class="check-item-value" v-if="localProEO.projectName !== undefined && localProEO.projectName.length>15">项目名称: <span class="valueColor">{{localProEO.projectName && localProEO.projectName.substring(0,15)+"..." }}</span></div>
|
||||
<div class="check-item-value" v-else>项目名称: <span class="valueColor">{{localProEO.projectName}}</span></div>
|
||||
<div class="check-item-value" v-if="localProEO.projectName !== undefined && localProEO.projectName.length>15">
|
||||
项目名称: <span class="valueColor">{{
|
||||
localProEO.projectName && localProEO.projectName.substring(0, 15) + "..."
|
||||
}}</span></div>
|
||||
<div class="check-item-value" v-else>项目名称: <span class="valueColor">{{ localProEO.projectName }}</span>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</el-col>
|
||||
<el-col :span="4" :push="3">项目分类:<span class="valueColor">{{ localProEO.projectClassification }}</span>
|
||||
@@ -39,19 +45,23 @@
|
||||
</div>
|
||||
</el-card>
|
||||
<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="deleteList">批量删除-->
|
||||
<!-- </el-button>-->
|
||||
<el-button class="common-button-default export-button"
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<span style="font-size: 16px;font-weight: bold">清单版本: {{ }}</span>
|
||||
</el-col>
|
||||
<el-col :span="12" style="text-align: end">
|
||||
<el-button
|
||||
type="primary"
|
||||
class="common-button-default export-button"
|
||||
size="mini" @click="exportStandard"
|
||||
v-btn-permission="''"
|
||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||
icon="export"
|
||||
>导出
|
||||
</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
<!-- <el-tabs type="border-card">-->
|
||||
<!-- <el-tab-pane :label="localProEO.productName" class="details-panel-tabs-item">-->
|
||||
<div class="table-wrapper">
|
||||
<el-table
|
||||
:data="dataList"
|
||||
@@ -172,8 +182,6 @@
|
||||
@pageSizeChange="pageSizeChangeLaws"></pagination>
|
||||
</div>
|
||||
<loading :loading="loading">数据获取中</loading>
|
||||
<!-- </el-tab-pane>-->
|
||||
<!-- </el-tabs>-->
|
||||
</div>
|
||||
<!-- 调取弹窗 -->
|
||||
<el-drawer
|
||||
@@ -245,9 +253,9 @@
|
||||
align="center"
|
||||
width="260px"
|
||||
>
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a class="table-jump" @click.stop="showTable(scope.row)">{{ scope.row.detailedListName }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a class="table-jump" @click.stop="showTable(scope.row)">{{ scope.row.detailedListName }}</a>-->
|
||||
<!-- </template>-->
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="detailedListState"
|
||||
@@ -265,7 +273,8 @@
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span
|
||||
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{ scope.row.detailedListVision
|
||||
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{
|
||||
scope.row.detailedListVision
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -274,7 +283,10 @@
|
||||
label="更新时间"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}</div>
|
||||
<div>{{
|
||||
scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime
|
||||
}}
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -512,7 +524,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
//搜索清单
|
||||
searchSarAccess(){
|
||||
searchSarAccess() {
|
||||
this.pageDo = 1
|
||||
this.pageSizeDo = this.$store.getters.userInfo.configContent;
|
||||
this.transfer()
|
||||
@@ -523,7 +535,7 @@ export default {
|
||||
this.pageSizeNo = this.$store.getters.userInfo.configContent;
|
||||
this.getStand()
|
||||
},
|
||||
clearSearchAccess(){
|
||||
clearSearchAccess() {
|
||||
this.sarSarAccessEOSearch.carType = ''
|
||||
this.sarSarAccessEOSearch.detailedListName = ''
|
||||
this.transfer()
|
||||
@@ -547,11 +559,11 @@ export default {
|
||||
this.pageNo = page
|
||||
this.getStand()
|
||||
},
|
||||
pageChangeDo(page){
|
||||
pageChangeDo(page) {
|
||||
this.pageDo = page
|
||||
this.transfer()
|
||||
},
|
||||
pageSizeChangeDo(pageSize){
|
||||
pageSizeChangeDo(pageSize) {
|
||||
this.pageDo = pageSize
|
||||
this.transfer()
|
||||
},
|
||||
@@ -582,7 +594,7 @@ export default {
|
||||
});
|
||||
},
|
||||
//点击获取项目清单
|
||||
transfer(){
|
||||
transfer() {
|
||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||
page: 1,
|
||||
pageSize: this.pageSize,
|
||||
@@ -592,12 +604,12 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.sarAccessListDatas = res.data.records;
|
||||
this.sarAccessListDatas.forEach(item =>{
|
||||
this.sarAccessListDatas.forEach(item => {
|
||||
// 适用车型转换
|
||||
if (item.carType !== null) {
|
||||
let k = (item.carType || "").split(',')
|
||||
for (let i in this.energyKindOptions) {
|
||||
for (let m = 0; m< k.length; m++) {
|
||||
for (let m = 0; m < k.length; m++) {
|
||||
if (this.energyKindOptions[i].value === k[m]) {
|
||||
k[m] = this.energyKindOptions[i].label
|
||||
}
|
||||
@@ -692,7 +704,7 @@ export default {
|
||||
})
|
||||
},
|
||||
//调取清单取消事件
|
||||
cancelDetailed(){
|
||||
cancelDetailed() {
|
||||
this.detailedListModel = false;
|
||||
},
|
||||
//添加标准取消事件
|
||||
@@ -747,28 +759,28 @@ export default {
|
||||
}
|
||||
},
|
||||
//获取标准
|
||||
getStandrd(data){
|
||||
getStandrd(data) {
|
||||
this.detailedId = data.id
|
||||
this.getStand();
|
||||
},
|
||||
getStand(data){
|
||||
getStand(data) {
|
||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||
id:this.detailedId,
|
||||
id: this.detailedId,
|
||||
...this.standCommonlySearch,
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if(res.data === null){
|
||||
if (res.data === null) {
|
||||
this.standardData = ''
|
||||
this.totalDo =''
|
||||
this.totalDo = ''
|
||||
this.standModel = true;
|
||||
}
|
||||
this.standardData = res.data.records
|
||||
this.standardData.forEach(item => {
|
||||
if(item.zccssrqgj === '-'){
|
||||
if (item.zccssrqgj === '-') {
|
||||
item.zccssrqgj = ''
|
||||
}
|
||||
if(item.xcxssrqgj === '-'){
|
||||
if (item.xcxssrqgj === '-') {
|
||||
item.xcxssrq = ''
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user