Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # src/pages/details/otherStandardDetails/index.vue
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="attribute-custom v-class">
|
<div class="attribute-custom v-class">
|
||||||
<div class="action-bar1">
|
<div class="action-bar1">
|
||||||
<el-button class="common-button-primary add-button" size="mini" v-btn-permission="'7UARYUBX8J8BX3ELZDH2'" type="primary" @click="showAddModel"><i class="iconfont"></i>新增</el-button>
|
<el-button class="common-button-primary add-button" size="mini" v-btn-permission="''" type="primary" @click="showAddModel"><i class="iconfont"></i>新增</el-button>
|
||||||
<el-button class="common-button-default" size="mini" v-btn-permission="'8QSDDR8R7UMDS9S6M2HU'" @click="showDisplayLocationDialog" >展示区域管理</el-button>
|
<el-button class="common-button-default" size="mini" v-btn-permission="''" @click="showDisplayLocationDialog" >展示区域管理</el-button>
|
||||||
</div>
|
</div>
|
||||||
<loading :loading="attributeDataLoading">数据处理中</loading>
|
<loading :loading="attributeDataLoading">数据处理中</loading>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|||||||
@@ -41,22 +41,36 @@
|
|||||||
<!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>-->
|
<!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>-->
|
||||||
<p style="color: #C42626;">
|
<p style="color: #C42626;">
|
||||||
<label style=" margin-right: 150px;">标准号</label>
|
<label style=" margin-right: 150px;">标准号</label>
|
||||||
<span v-if="sarStandardsInfoEO.standYear">{{ sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear }}</span>
|
<span v-if="sarStandardsInfoEO.standYear">{{
|
||||||
|
sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear
|
||||||
|
}}</span>
|
||||||
<span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
|
<span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
|
||||||
</p>
|
</p>
|
||||||
<!-- <p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>-->
|
<!-- <p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>-->
|
||||||
<p><label style=" margin-right: 150px;">中文名称</label><span>{{ sarStandardsInfoEO.standName || '-' }}</span></p>
|
<p><label style=" margin-right: 150px;">中文名称</label><span>{{
|
||||||
<p><label style=" margin-right: 150px;">英文名称</label><span>{{ sarStandardsInfoEO.standEnName || '-' }}</span></p>
|
sarStandardsInfoEO.standName || '-'
|
||||||
<p><label style=" margin-right: 150px;">标准性质</label><span>{{ standMap[sarStandardsInfoEO.standNature] || '-' }}</span></p>
|
}}</span></p>
|
||||||
|
<p><label style=" margin-right: 150px;">英文名称</label><span>{{
|
||||||
|
sarStandardsInfoEO.standEnName || '-'
|
||||||
|
}}</span></p>
|
||||||
|
<p><label style=" margin-right: 150px;">标准性质</label><span>{{
|
||||||
|
standMap[sarStandardsInfoEO.standNature] || '-'
|
||||||
|
}}</span></p>
|
||||||
<p>
|
<p>
|
||||||
<label style=" margin-right: 132px;"
|
<label style=" margin-right: 132px;"
|
||||||
title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。"
|
title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。"
|
||||||
>文本状态<i class="el-icon-warning-outline"></i></label>
|
>文本状态<i class="el-icon-warning-outline"></i></label>
|
||||||
<span style="color: #409EFF;">{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span>
|
<span style="color: #409EFF;">{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span>
|
||||||
</p>
|
</p>
|
||||||
<p><label style=" margin-right: 150px;">发布日期</label><span>{{ sarStandardsInfoEO.issueTime || '-' }}</span></p>
|
<p><label style=" margin-right: 150px;">发布日期</label><span>{{
|
||||||
<p><label style=" margin-right: 76px;">是否纳入认证清单</label><span>{{sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-'}}</span></p>
|
sarStandardsInfoEO.issueTime || '-'
|
||||||
<p v-if="saveStandType === 'INLAND_STAND'"><label style=" margin-right: 150px;">标准体系</label><span>{{ sarStandardsInfoEO.standSystem || '-' }}</span></p>
|
}}</span></p>
|
||||||
|
<p>
|
||||||
|
<label style=" margin-right: 76px;">是否纳入认证清单</label><span>{{ sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-' }}</span>
|
||||||
|
</p>
|
||||||
|
<p v-if="saveStandType === 'INLAND_STAND'"><label style=" margin-right: 150px;">标准体系</label><span>{{
|
||||||
|
sarStandardsInfoEO.standSystem || '-'
|
||||||
|
}}</span></p>
|
||||||
<!-- <p><label>文本说明:</label><span style="color: #999999">{{ sarStandardsInfoEO.synopsis || '-' }}</span></p>-->
|
<!-- <p><label>文本说明:</label><span style="color: #999999">{{ sarStandardsInfoEO.synopsis || '-' }}</span></p>-->
|
||||||
<!-- <p><label>重要度:</label><span>{{ sarStandardsInfoEO.isRelateAccess === '1' ? 'A' : 'B'}}</span></p>-->
|
<!-- <p><label>重要度:</label><span>{{ sarStandardsInfoEO.isRelateAccess === '1' ? 'A' : 'B'}}</span></p>-->
|
||||||
<!-- <p><label>纳入标准法规清单的国家/地区:</label><span>{{ sarStandardsInfoEO.accessCountry || '-' }}</span></p>-->
|
<!-- <p><label>纳入标准法规清单的国家/地区:</label><span>{{ sarStandardsInfoEO.accessCountry || '-' }}</span></p>-->
|
||||||
@@ -381,7 +395,8 @@
|
|||||||
@click="showItemsModel(child.attrField)"
|
@click="showItemsModel(child.attrField)"
|
||||||
class="decomposition-btn"
|
class="decomposition-btn"
|
||||||
icon="icon-separate"
|
icon="icon-separate"
|
||||||
>标准分解单</el-button>
|
>标准分解单
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -395,7 +410,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-show="!isMoreAwayBtn" class="more" @click="moreClick">更多<img src="@/assets/images/shangqi/img/more.png"></div>
|
<div v-show="!isMoreAwayBtn" class="more" @click="moreClick">更多<img src="@/assets/images/shangqi/img/more.png">
|
||||||
|
</div>
|
||||||
<!-- <div v-show="isMoreAwayBtn" class="put-away" @click="putAwayClick">收起<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
<!-- <div v-show="isMoreAwayBtn" class="put-away" @click="putAwayClick">收起<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
||||||
<!--查看标准条款列表-->
|
<!--查看标准条款列表-->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
@@ -418,30 +434,10 @@
|
|||||||
trigger="click"
|
trigger="click"
|
||||||
:value="false"
|
:value="false"
|
||||||
>
|
>
|
||||||
<!-- <el-input-->
|
|
||||||
<!-- v-model="standItemSearch.orgName"-->
|
|
||||||
<!-- slot="reference"-->
|
|
||||||
<!-- placeholder="请选择部门"-->
|
|
||||||
<!-- readonly-->
|
|
||||||
<!-- id="searchInlandDeptBtn"-->
|
|
||||||
<!-- @on-change="inputChange"-->
|
|
||||||
<!-- style="margin-right: 0;"/>-->
|
|
||||||
<div class="api">
|
|
||||||
<!-- <laws-tree :zNodes="searchInlandNodes"-->
|
|
||||||
<!-- treeDivId="domesticTree1"-->
|
|
||||||
<!-- ref="reloadTree2"-->
|
|
||||||
<!-- deptSelect-->
|
|
||||||
<!-- showRMenu-->
|
|
||||||
<!-- @treeDblClick="searchInlandNodesClick"-->
|
|
||||||
<!-- class="ztree" style="width: 200px;height: 400px;overflow: auto">-->
|
|
||||||
<!-- </laws-tree>-->
|
|
||||||
</div>
|
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<el-form-item class="search-item">
|
<el-form-item class="search-item">
|
||||||
<el-input v-model="standItemSearch.itemsName" size="small" placeholder="根据条款名称查找" clearable maxlength="100"></el-input>
|
<el-input v-model="standItemSearch.itemsName" size="small" placeholder="根据条款名称查找" clearable maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -465,9 +461,6 @@
|
|||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item class="search-item">-->
|
|
||||||
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
:loading="searching"
|
:loading="searching"
|
||||||
@@ -491,14 +484,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="action-bar">
|
<div class="action-bar">
|
||||||
<el-button class="common-button-default export-button" icon="export" size="mini"
|
<el-button class="common-button-default export-button" icon="export" size="mini"
|
||||||
@click="exportStandardItem" v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '52HT9PLW49G6ZWS9RZSC' : '9CLEQQBS75SYV8JQQYFB'">导出</el-button>
|
@click="exportStandardItem" v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '52HT9PLW49G6ZWS9RZSC' : '9CLEQQBS75SYV8JQQYFB'">
|
||||||
|
导出
|
||||||
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="primary"
|
type="primary"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
@click="openRelatedTermsDrawer"
|
@click="openRelatedTermsDrawer"
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '28CUM4KPUXDMCCMTFUQA' : 'R62HAB3QEMD27BZ7XHCM'"
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '28CUM4KPUXDMCCMTFUQA' : 'R62HAB3QEMD27BZ7XHCM'"
|
||||||
>关联条款</el-button>
|
>关联条款
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-table
|
<el-table
|
||||||
@@ -531,27 +527,29 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="itemsTitle"
|
|
||||||
label="条款内容"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="termsConditions"
|
prop="termsConditions"
|
||||||
label="解读内容"
|
label="条款内容"
|
||||||
show-overflow-tooltip
|
:resizable="false"
|
||||||
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="table-jump" @click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">{{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}</div>
|
<div class="table-jump" @click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">
|
||||||
|
{{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="interpretationContent"
|
||||||
|
label="解读内容"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrq"
|
prop="xcxssrq"
|
||||||
:formatter="formatterTime"
|
|
||||||
label="新车型实施日期(文本)"
|
label="新车型实施日期(文本)"
|
||||||
width="180">
|
width="180">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xcxssrq ? $moment(scope.row.xcxssrq).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
<span>{{ scope.row.xcxssrq ? $moment(scope.row.xcxssrq).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -559,7 +557,7 @@
|
|||||||
label="在产车实施日期(文本)"
|
label="在产车实施日期(文本)"
|
||||||
width="180">
|
width="180">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zccssrq ? $moment(scope.row.zccssrq).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
<span>{{ scope.row.zccssrq ? $moment(scope.row.zccssrq).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -596,7 +594,8 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '查看']">查看</el-dropdown-item>
|
<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '查看']">查看
|
||||||
|
</el-dropdown-item>
|
||||||
<!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '编辑']">编辑</el-dropdown-item>-->
|
<!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '编辑']">编辑</el-dropdown-item>-->
|
||||||
<!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '删除']">删除</el-dropdown-item>-->
|
<!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '删除']">删除</el-dropdown-item>-->
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
@@ -733,7 +732,9 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div class="demo-drawer-footer">
|
<div class="demo-drawer-footer">
|
||||||
<el-button class="common-button-primary" icon="el-icon-check" type="primary" v-if="!itemFormdisableflag" @click="saveOrUpdateStandItem" :loading="isSubmit">保存</el-button>
|
<el-button class="common-button-primary" icon="el-icon-check" type="primary" v-if="!itemFormdisableflag" @click="saveOrUpdateStandItem" :loading="isSubmit">
|
||||||
|
保存
|
||||||
|
</el-button>
|
||||||
<el-button class="common-button-default" icon="el-icon-close" @click="resetForm">取消</el-button>
|
<el-button class="common-button-default" icon="el-icon-close" @click="resetForm">取消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
@@ -775,11 +776,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="see-drawer-div">
|
<div class="see-drawer-div">
|
||||||
<label class="see-drawer-name" title="内容简介">内容简介</label>
|
<label class="see-drawer-name" title="内容简介">内容简介</label>
|
||||||
<span class="see-drawer-val" :title="standShowItemEO.termsConditions ? standShowItemEO.termsConditions.replace(/<.*?>/ig, ' ') : ''">{{ standShowItemEO.termsConditions ? standShowItemEO.termsConditions.replace(/<.*?>/ig, ' ') : '' }}</span>
|
<span class="see-drawer-val" :title="standShowItemEO.termsConditions ? standShowItemEO.termsConditions.replace(/<.*?>/ig, ' ') : ''">{{
|
||||||
|
standShowItemEO.termsConditions ? standShowItemEO.termsConditions.replace(/<.*?>/ig, ' ') : ''
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="see-drawer-div">
|
<div class="see-drawer-div">
|
||||||
<label class="see-drawer-name" title="责任部门">责任部门</label>
|
<label class="see-drawer-name" title="责任部门">责任部门</label>
|
||||||
<span class="see-drawer-val" :title="standShowItemEO.responsibleUnit">{{ standShowItemEO.responsibleUnit }}</span>
|
<span class="see-drawer-val" :title="standShowItemEO.responsibleUnit">{{
|
||||||
|
standShowItemEO.responsibleUnit
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="see-drawer-div">
|
<div class="see-drawer-div">
|
||||||
<label class="see-drawer-name" title="FO">FO</label>
|
<label class="see-drawer-name" title="FO">FO</label>
|
||||||
@@ -787,7 +792,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="see-drawer-div">
|
<div class="see-drawer-div">
|
||||||
<label class="see-drawer-name" title="责任工程师">责任工程师</label>
|
<label class="see-drawer-name" title="责任工程师">责任工程师</label>
|
||||||
<span class="see-drawer-val" :title="standShowItemEO.dutyEngineerShow">{{ standShowItemEO.dutyEngineerShow }}</span>
|
<span class="see-drawer-val" :title="standShowItemEO.dutyEngineerShow">{{
|
||||||
|
standShowItemEO.dutyEngineerShow
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="see-drawer-div">
|
<div class="see-drawer-div">
|
||||||
<label class="see-drawer-name" title="svpps">svpps</label>
|
<label class="see-drawer-name" title="svpps">svpps</label>
|
||||||
@@ -803,7 +810,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="see-drawer-div">
|
<div class="see-drawer-div">
|
||||||
<label class="see-drawer-name" title="企标覆盖关系">企标覆盖关系</label>
|
<label class="see-drawer-name" title="企标覆盖关系">企标覆盖关系</label>
|
||||||
<span class="see-drawer-val" :title="standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover)">{{ standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover) }}</span>
|
<span class="see-drawer-val" :title="standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover)">{{
|
||||||
|
standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover)
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
@@ -840,11 +849,13 @@
|
|||||||
class="common-button-primary add-button"
|
class="common-button-primary add-button"
|
||||||
size="mini"
|
size="mini"
|
||||||
:v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'PVBSWCJQ9X4RVBM9RK7L' : 'NJ3YL4SVEJADWH7ESHDX'"
|
:v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'PVBSWCJQ9X4RVBM9RK7L' : 'NJ3YL4SVEJADWH7ESHDX'"
|
||||||
@click="addknowledge(1)"><i class="iconfont"></i>新增</el-button>
|
@click="addknowledge(1)"><i class="iconfont"></i>新增
|
||||||
|
</el-button>
|
||||||
<el-button class="common-button-default delete-button"
|
<el-button class="common-button-default delete-button"
|
||||||
size="mini"
|
size="mini"
|
||||||
:v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'"
|
:v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'"
|
||||||
@click="deleteknowledge(2)"><i class="iconfont"></i>批量删除</el-button>
|
@click="deleteknowledge(2)"><i class="iconfont"></i>批量删除
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="knowContent">
|
<div class="knowContent">
|
||||||
<el-table
|
<el-table
|
||||||
@@ -889,8 +900,12 @@
|
|||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
|
||||||
<el-dropdown-item :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'XPMLS6UV5HXG7C9ZR6B8' : '5ZC797XABNFV36KWJCA5'" :command="[scope.row, '编辑']">编辑</el-dropdown-item>
|
<el-dropdown-item :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'XPMLS6UV5HXG7C9ZR6B8' : '5ZC797XABNFV36KWJCA5'" :command="[scope.row, '编辑']">
|
||||||
<el-dropdown-item :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'" :command="[scope.row, '删除']">删除</el-dropdown-item>
|
编辑
|
||||||
|
</el-dropdown-item>
|
||||||
|
<el-dropdown-item :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'" :command="[scope.row, '删除']">
|
||||||
|
删除
|
||||||
|
</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -934,7 +949,9 @@
|
|||||||
</el-formItem>
|
</el-formItem>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="demo-drawer-footer">
|
<div slot="footer" class="demo-drawer-footer">
|
||||||
<el-button type="primary" size="mini" class="common-button-primary" :loading="AddKnowSubLoading" icon="el-icon-check" @click="AddKnowSub">确定</el-button>
|
<el-button type="primary" size="mini" class="common-button-primary" :loading="AddKnowSubLoading" icon="el-icon-check" @click="AddKnowSub">
|
||||||
|
确定
|
||||||
|
</el-button>
|
||||||
<el-button class="common-button-default" icon="el-icon-close" @click="AddKnowClose">取消</el-button>
|
<el-button class="common-button-default" icon="el-icon-close" @click="AddKnowClose">取消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@@ -955,7 +972,9 @@
|
|||||||
@click="downloadFile(item.id)"
|
@click="downloadFile(item.id)"
|
||||||
:key="index">{{ item.oldFileName }}</span>
|
:key="index">{{ item.oldFileName }}</span>
|
||||||
</p>
|
</p>
|
||||||
<p><label>发布时间:</label><span>{{ knowSee.creationTime ? $moment(knowSee.creationTime).format('YYYY-MM-DD') : '' }}</span></p>
|
<p><label>发布时间:</label><span>{{
|
||||||
|
knowSee.creationTime ? $moment(knowSee.creationTime).format('YYYY-MM-DD') : ''
|
||||||
|
}}</span></p>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@@ -982,7 +1001,9 @@
|
|||||||
icon="el-icon-refresh-left"
|
icon="el-icon-refresh-left"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="clearComparison()"></el-button>
|
@click="clearComparison()"></el-button>
|
||||||
<el-button type="primary" class="common-button-primary" size="mini" @click="addComparison"><i class="iconfont"></i>新增</el-button>
|
<el-button type="primary" class="common-button-primary" size="mini" @click="addComparison">
|
||||||
|
<i class="iconfont"></i>新增
|
||||||
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -996,7 +1017,9 @@
|
|||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer" class="demo-drawer-footer">
|
<div slot="footer" class="demo-drawer-footer">
|
||||||
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="comparisonSub">确定</el-button>
|
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="comparisonSub">
|
||||||
|
确定
|
||||||
|
</el-button>
|
||||||
<el-button class="common-button-default" icon="el-icon-close" @click="comparisonClose">取消</el-button>
|
<el-button class="common-button-default" icon="el-icon-close" @click="comparisonClose">取消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1028,8 +1051,11 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div id="listFormButton" class="demo-drawer-footer">
|
<div id="listFormButton" class="demo-drawer-footer">
|
||||||
<el-button class="common-button-primary" icon="el-icon-check" type="primary" @click="submitDrawerForm('listVO')">确定</el-button>
|
<el-button class="common-button-primary" icon="el-icon-check" type="primary" @click="submitDrawerForm('listVO')">
|
||||||
<el-button class="common-button-default" icon="el-icon-close" @click="AddcomparisonDrawer = false">取消</el-button>
|
确定
|
||||||
|
</el-button>
|
||||||
|
<el-button class="common-button-default" icon="el-icon-close" @click="AddcomparisonDrawer = false">取消
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<!-- 导入失败-->
|
<!-- 导入失败-->
|
||||||
@@ -1041,7 +1067,9 @@
|
|||||||
<p v-html="importForm.content"></p>
|
<p v-html="importForm.content"></p>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer" class="demo-drawer-footer">
|
<div slot="footer" class="demo-drawer-footer">
|
||||||
<el-button type="primary" size="mini" class="common-button-default" icon="el-icon-check" @click="importFailed = false">确认</el-button>
|
<el-button type="primary" size="mini" class="common-button-default" icon="el-icon-check" @click="importFailed = false">
|
||||||
|
确认
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<loading :loading="loading">数据获取中</loading>
|
<loading :loading="loading">数据获取中</loading>
|
||||||
@@ -1065,8 +1093,12 @@
|
|||||||
></related-terms-select>
|
></related-terms-select>
|
||||||
</div>
|
</div>
|
||||||
<div class="demo-drawer-footer">
|
<div class="demo-drawer-footer">
|
||||||
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" :loading="btnLoading" @click="handleRelatedTermsDrawerSubmit">{{$t('m.submit')}}</el-button>
|
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" :loading="btnLoading" @click="handleRelatedTermsDrawerSubmit">
|
||||||
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="handleRelatedTermsDrawerCancel">{{$t('m.cancel')}}</el-button>
|
{{ $t('m.submit') }}
|
||||||
|
</el-button>
|
||||||
|
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="handleRelatedTermsDrawerCancel">
|
||||||
|
{{ $t('m.cancel') }}
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<!--内容简介-->
|
<!--内容简介-->
|
||||||
@@ -1379,8 +1411,7 @@ export default {
|
|||||||
standMap: {}
|
standMap: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {},
|
||||||
},
|
|
||||||
watch: {},
|
watch: {},
|
||||||
methods: {
|
methods: {
|
||||||
FormatDate(date) {
|
FormatDate(date) {
|
||||||
@@ -1392,8 +1423,6 @@ export default {
|
|||||||
this.$set(this.textStatusMap, item.value, item.label)
|
this.$set(this.textStatusMap, item.value, item.label)
|
||||||
this.$set(this.standMap, item.value, item.label)
|
this.$set(this.standMap, item.value, item.label)
|
||||||
})
|
})
|
||||||
console.log(this.textStatusMap, '文本状态的值')
|
|
||||||
console.log(this.standMap, '标准性质')
|
|
||||||
},
|
},
|
||||||
statusClick() {
|
statusClick() {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
@@ -1406,79 +1435,6 @@ export default {
|
|||||||
},
|
},
|
||||||
closeDrawer() {
|
closeDrawer() {
|
||||||
this.modalStandItemflag = false
|
this.modalStandItemflag = false
|
||||||
// svpps变化
|
|
||||||
// Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then((values) => {
|
|
||||||
// const [displayLocation, standEO, formFieldList] = values
|
|
||||||
// const dynamicFormField = standEO ? standEO.attrInfoMap : {}
|
|
||||||
// formFieldList.forEach((field) => {
|
|
||||||
// displayLocation.forEach((location) => {
|
|
||||||
// location.isShowImp = '1'
|
|
||||||
// if (dynamicFormField) {
|
|
||||||
// let value = dynamicFormField[field.attrField]
|
|
||||||
// if (field.attrField === 'SVPPS') {
|
|
||||||
// let tips = dynamicFormField.SVPPSTips
|
|
||||||
// field['tips'] = tips
|
|
||||||
// }
|
|
||||||
// if (value && typeof value === 'number') {
|
|
||||||
// value = this.$dateFormat(value, 'yyyy-MM-dd')
|
|
||||||
// }
|
|
||||||
// field['value'] = value
|
|
||||||
// if (field.showRegionId === location.value) {
|
|
||||||
// if (!location.child) {
|
|
||||||
// location['child'] = []
|
|
||||||
// }
|
|
||||||
// location['child'].push(field)
|
|
||||||
// if (field.isShowImp === '0') {
|
|
||||||
// location.isShowImp = '0'
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// })
|
|
||||||
// displayLocation.forEach(location => {
|
|
||||||
// const child = location.child || []
|
|
||||||
// const one = []
|
|
||||||
// const half = []
|
|
||||||
// child.map(field => {
|
|
||||||
// if (['DATE_PICKER', 'SEL_OPTION', 'INPUT_NUM'].includes(field.attrType)) {
|
|
||||||
// half.push(field)
|
|
||||||
// } else {
|
|
||||||
// one.push(field)
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// const fieldsIsTextAreaOrFile = child.filter(field => {
|
|
||||||
// return field.attrType === 'TEXTAREA' || field.attrType === 'FILE'
|
|
||||||
// })
|
|
||||||
// const fieldOthers = child.filter(field => {
|
|
||||||
// return field.attrType !== 'TEXTAREA' && field.attrType !== 'FILE'
|
|
||||||
// })
|
|
||||||
// location.child = [...fieldOthers, ...fieldsIsTextAreaOrFile]
|
|
||||||
// location.one = one
|
|
||||||
// location.half = half
|
|
||||||
// location.showAll = false
|
|
||||||
// })
|
|
||||||
// this.$http.get('lawss/sarSarAccessInfo/selectProTimeInfoByStandId', {
|
|
||||||
// standId: this.$route.params.id
|
|
||||||
// }, {
|
|
||||||
// _this: this
|
|
||||||
// }, res => {
|
|
||||||
// displayLocation.map(item => {
|
|
||||||
// if (item.value === '2URVBGR2Y4UG77KZ5YPL') {
|
|
||||||
// for (let key in res.data) {
|
|
||||||
// item.one.push({
|
|
||||||
// attrName: key,
|
|
||||||
// value: res.data[key].join(','),
|
|
||||||
// isShowImp: '0',
|
|
||||||
// id: key
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// this.dynamicFormField = displayLocation
|
|
||||||
// })
|
|
||||||
// sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))
|
|
||||||
// this.loading = false
|
|
||||||
// })
|
|
||||||
},
|
},
|
||||||
clearComparison() {
|
clearComparison() {
|
||||||
this.comparisonTitle = ''
|
this.comparisonTitle = ''
|
||||||
@@ -2102,7 +2058,8 @@ export default {
|
|||||||
this.zNodesSItem = treeNode
|
this.zNodesSItem = treeNode
|
||||||
this.searchInlandNodes = treeNode
|
this.searchInlandNodes = treeNode
|
||||||
}
|
}
|
||||||
}, e => {})
|
}, e => {
|
||||||
|
})
|
||||||
},
|
},
|
||||||
getUserTreeSource() {
|
getUserTreeSource() {
|
||||||
this.$http.get('sys/org/getTree', {}, {_this: this},
|
this.$http.get('sys/org/getTree', {}, {_this: this},
|
||||||
@@ -2122,7 +2079,8 @@ export default {
|
|||||||
})
|
})
|
||||||
this.zNodesSItemEngin = treeNode
|
this.zNodesSItemEngin = treeNode
|
||||||
}
|
}
|
||||||
}, e => {})
|
}, e => {
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 查询相近标准
|
// 查询相近标准
|
||||||
selectCloseStand(id) {
|
selectCloseStand(id) {
|
||||||
@@ -2267,16 +2225,6 @@ export default {
|
|||||||
console.log("hello" + this.standItemList + res.data);
|
console.log("hello" + this.standItemList + res.data);
|
||||||
this.standitemTotal = res.data.count // 分页需要
|
this.standitemTotal = res.data.count // 分页需要
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (this.standItemList != null && this.standItemList.length > 0) {
|
|
||||||
// for (let ind = 0; ind < this.standItemList.length; ind++) {
|
|
||||||
// // 去掉html标签
|
|
||||||
// let itemContent = this.standItemList[ind].termsConditions
|
|
||||||
// itemContent = itemContent ? itemContent.replace(/<.*?>/ig, ' ') : ''
|
|
||||||
// this.standItemList[ind].termsConditions = itemContent
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -2375,7 +2323,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning('暂无可导出的数据')
|
this.$message.warning('暂无可导出的数据')
|
||||||
}
|
}
|
||||||
}).catch(() => {})
|
}).catch(() => {
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 标准条款删除
|
// 标准条款删除
|
||||||
deleteStandItem(item, flag) {
|
deleteStandItem(item, flag) {
|
||||||
@@ -2870,6 +2819,7 @@ export default {
|
|||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/mixins';
|
@import '~@/assets/styles/mixins';
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
/deep/ .btn1 #question {
|
/deep/ .btn1 #question {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
@@ -2879,6 +2829,7 @@ export default {
|
|||||||
color: #409EFF;;
|
color: #409EFF;;
|
||||||
border: 1px solid #409EFF;
|
border: 1px solid #409EFF;
|
||||||
background: rgba(64, 158, 255, 0.1);
|
background: rgba(64, 158, 255, 0.1);
|
||||||
|
|
||||||
.icon-separate {
|
.icon-separate {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
@@ -2891,62 +2842,77 @@ export default {
|
|||||||
background-image: url("~assets/images/shangqi/standardDetails/separate.png");
|
background-image: url("~assets/images/shangqi/standardDetails/separate.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.other-standard-details {
|
.other-standard-details {
|
||||||
padding: 15px 30px 0;
|
padding: 15px 30px 0;
|
||||||
width: 1200px;
|
width: 1200px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.itemsTextBox {
|
.itemsTextBox {
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
|
||||||
/deep/ td {
|
/deep/ td {
|
||||||
border: 1px solid #606266;
|
border: 1px solid #606266;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-radio-group {
|
/deep/ .el-radio-group {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-bar {
|
.action-bar {
|
||||||
border-top: 0px;
|
border-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileCss {
|
.fileCss {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileCss:hover {
|
.fileCss:hover {
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.myDialog1 {
|
.myDialog1 {
|
||||||
/deep/ .el-dialog__body {
|
/deep/ .el-dialog__body {
|
||||||
padding: 0px 20px 10px;
|
padding: 0px 20px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.myRadio {
|
.myRadio {
|
||||||
min-height: 200px;
|
min-height: 200px;
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.myDialog {
|
.myDialog {
|
||||||
min-width: 700px;
|
min-width: 700px;
|
||||||
|
|
||||||
.el-dialog {
|
.el-dialog {
|
||||||
min-width: 700px;
|
min-width: 700px;
|
||||||
width: 70%;
|
width: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-dialog__body {
|
/deep/ .el-dialog__body {
|
||||||
padding: 0px 20px 56px;
|
padding: 0px 20px 56px;
|
||||||
|
|
||||||
.basic-information-content {
|
.basic-information-content {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
||||||
.standard-text {
|
.standard-text {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
border-bottom: 1px solid #E5E5E5;
|
border-bottom: 1px solid #E5E5E5;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > p {
|
& > p {
|
||||||
min-height: 55px;
|
min-height: 55px;
|
||||||
line-height: 55px;
|
line-height: 55px;
|
||||||
@@ -2954,34 +2920,42 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.knowContent {
|
.knowContent {
|
||||||
height: 500px;
|
height: 500px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.details-header {
|
.details-header {
|
||||||
padding: 34px 0;
|
padding: 34px 0;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
& > span {
|
& > span {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .details-content {
|
/deep/ .details-content {
|
||||||
/*padding: 0 67px;*/
|
/*padding: 0 67px;*/
|
||||||
|
|
||||||
.details-content-modular {
|
.details-content-modular {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
.modular-header {
|
.modular-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
border-bottom: 1px solid #E5E5E5;
|
border-bottom: 1px solid #E5E5E5;
|
||||||
|
|
||||||
.modular-header-title {
|
.modular-header-title {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #3B424C;
|
color: #3B424C;
|
||||||
|
|
||||||
& > .icon-modular-title {
|
& > .icon-modular-title {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: -28px;
|
margin-left: -28px;
|
||||||
@@ -2992,10 +2966,12 @@ export default {
|
|||||||
background-image: url("~assets/images/shangqi/standardDetails/modular-title.png");
|
background-image: url("~assets/images/shangqi/standardDetails/modular-title.png");
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > span {
|
& > span {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.modular-header-btn {
|
.modular-header-btn {
|
||||||
& > button {
|
& > button {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
@@ -3003,6 +2979,7 @@ export default {
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
font-family: 'Microsoft Yahei', '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif !important;
|
font-family: 'Microsoft Yahei', '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif !important;
|
||||||
|
|
||||||
& > i {
|
& > i {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
@@ -3014,43 +2991,53 @@ export default {
|
|||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.collection-btn {
|
.collection-btn {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
color: #F2CB51;
|
color: #F2CB51;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*background: rgba(244, 162, 39, 0.1);*/
|
/*background: rgba(244, 162, 39, 0.1);*/
|
||||||
|
|
||||||
.icon-collection {
|
.icon-collection {
|
||||||
background-image: url("~assets/images/shangqi/standardDetails/collection.png");
|
background-image: url("~assets/images/shangqi/standardDetails/collection.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.relation-btn {
|
.relation-btn {
|
||||||
color: #409EFF;
|
color: #409EFF;
|
||||||
border: 1px solid #409EFF;
|
border: 1px solid #409EFF;
|
||||||
background: rgba(64, 158, 255, 0.1);
|
background: rgba(64, 158, 255, 0.1);
|
||||||
|
|
||||||
.icon-relation {
|
.icon-relation {
|
||||||
background-image: url("~assets/images/shangqi/standardDetails/relation.png");
|
background-image: url("~assets/images/shangqi/standardDetails/relation.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.basic-information-content {
|
.basic-information-content {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
||||||
.standard-text {
|
.standard-text {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
border-bottom: 1px solid #E5E5E5;
|
border-bottom: 1px solid #E5E5E5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.modular-content {
|
.modular-content {
|
||||||
.modular-item-more {
|
.modular-item-more {
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
@@ -3061,23 +3048,29 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: #409EFF;
|
color: #409EFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
transition: all .2s linear;
|
transition: all .2s linear;
|
||||||
|
|
||||||
&.is-show-all {
|
&.is-show-all {
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& > div:not(.modular-item-more) {
|
& > div:not(.modular-item-more) {
|
||||||
border-bottom: 1px solid #E5E5E5;
|
border-bottom: 1px solid #E5E5E5;
|
||||||
|
|
||||||
.modular-content-p-name {
|
.modular-content-p-name {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 220px;
|
width: 220px;
|
||||||
@@ -3090,6 +3083,7 @@ export default {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modular-content-p-val {
|
.modular-content-p-val {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(~'100% - 225px');
|
width: calc(~'100% - 225px');
|
||||||
@@ -3102,20 +3096,24 @@ export default {
|
|||||||
//white-space: nowrap;
|
//white-space: nowrap;
|
||||||
//text-overflow: ellipsis;
|
//text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modular-content-p-flies {
|
.modular-content-p-flies {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(~'100% - 225px');
|
width: calc(~'100% - 225px');
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
|
|
||||||
& > .files-title {
|
& > .files-title {
|
||||||
width: calc(~'100% - 120px');
|
width: calc(~'100% - 120px');
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #409EFF;
|
color: #409EFF;
|
||||||
|
|
||||||
& > a {
|
& > a {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > i {
|
& > i {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
@@ -3127,13 +3125,16 @@ export default {
|
|||||||
vertical-align: sub;
|
vertical-align: sub;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-download {
|
.icon-download {
|
||||||
background-image: url("~assets/images/shangqi/img/download.png");
|
background-image: url("~assets/images/shangqi/img/download.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-download2 {
|
.icon-download2 {
|
||||||
background-image: url("~assets/images/shangqi/img/download2.png");
|
background-image: url("~assets/images/shangqi/img/download2.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.decomposition-btn {
|
.decomposition-btn {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: 10px;
|
||||||
@@ -3145,6 +3146,7 @@ export default {
|
|||||||
color: #07C160;
|
color: #07C160;
|
||||||
border: 1px solid #07C160;
|
border: 1px solid #07C160;
|
||||||
background: rgba(1, 193, 96, 0.1);
|
background: rgba(1, 193, 96, 0.1);
|
||||||
|
|
||||||
.icon-separate {
|
.icon-separate {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
@@ -3161,12 +3163,15 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.basic-information {
|
.basic-information {
|
||||||
border-top: 2px dashed #D1D1D1;
|
border-top: 2px dashed #D1D1D1;
|
||||||
|
|
||||||
.modular-header {
|
.modular-header {
|
||||||
height: 60px;
|
height: 60px;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.basic-information-content {
|
.basic-information-content {
|
||||||
& > p {
|
& > p {
|
||||||
min-height: 55px;
|
min-height: 55px;
|
||||||
@@ -3176,6 +3181,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.more, .put-away {
|
.more, .put-away {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@@ -3190,32 +3196,38 @@ export default {
|
|||||||
background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 70%);
|
background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 70%);
|
||||||
padding-bottom: 34px;
|
padding-bottom: 34px;
|
||||||
padding-top: 34px;
|
padding-top: 34px;
|
||||||
|
|
||||||
& > img {
|
& > img {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.put-away {
|
.put-away {
|
||||||
& > img {
|
& > img {
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.not-footer-drawer {
|
.not-footer-drawer {
|
||||||
.search-area {
|
.search-area {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
border-bottom: 5px solid #f6f6f6;
|
border-bottom: 5px solid #f6f6f6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
flex: auto;
|
flex: auto;
|
||||||
//height: calc(~'100% - 105px - 56px');
|
//height: calc(~'100% - 105px - 56px');
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.half {
|
.half {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
float: left;
|
float: left;
|
||||||
@@ -3224,33 +3236,40 @@ export default {
|
|||||||
.hidden {
|
.hidden {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clearfix {
|
.clearfix {
|
||||||
&:after {
|
&:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after, &:before {
|
&:after, &:before {
|
||||||
display: table;
|
display: table;
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.details-container .el-divider {
|
.details-container .el-divider {
|
||||||
height: 1px;
|
height: 1px;
|
||||||
background-color: #d5d8da;
|
background-color: #d5d8da;
|
||||||
}
|
}
|
||||||
|
|
||||||
.span-line:hover {
|
.span-line:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.relateClass {
|
.relateClass {
|
||||||
.el-dialog__body {
|
.el-dialog__body {
|
||||||
max-height: 460px;
|
max-height: 460px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-drawer__header {
|
::v-deep .el-drawer__header {
|
||||||
& > span:first-child {
|
& > span:first-child {
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-drawer {
|
::v-deep .el-drawer {
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,6 +77,18 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="splitStatus"
|
||||||
|
label="拆分状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span v-if="scope.row.splitStatus == '0'">编辑中</span>
|
||||||
|
<span v-else-if="scope.row.splitStatus == '1'">审核中</span>
|
||||||
|
<span v-else-if="scope.row.splitStatus == '2'">已关联</span>
|
||||||
|
<span v-else-if="scope.row.splitStatus == '3'">解读中</span>
|
||||||
|
<span v-else>已完成</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="creationTime"
|
prop="creationTime"
|
||||||
label="拆分时间"
|
label="拆分时间"
|
||||||
@@ -822,7 +834,7 @@ export default {
|
|||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
pageType: 'INLAND_STAND'
|
pageType: item.standType + '_STAND'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -833,7 +845,7 @@ export default {
|
|||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
pageType: item.sarType + '_STAND'
|
pageType: item.sarType + '_STAND',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -1369,6 +1381,7 @@ export default {
|
|||||||
query: {
|
query: {
|
||||||
infoId: row.id,
|
infoId: row.id,
|
||||||
result: row.result,
|
result: row.result,
|
||||||
|
splitStatus: row.splitStatus
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -97,7 +97,8 @@
|
|||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '属性']" v-btn-permission="''">属性</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '属性']" v-btn-permission="''">属性</el-dropdown-item>
|
||||||
<el-dropdown-item :command="[scope.row, '编辑', scope.$index]" v-btn-permission="''">编辑</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '编辑', scope.$index]" v-if="splitStatus === '4'" v-btn-permission="''">编辑</el-dropdown-item>
|
||||||
|
<el-dropdown-item :command="[scope.row, '编辑', scope.$index]" v-else :disabled="true" v-btn-permission="''">编辑</el-dropdown-item>
|
||||||
<el-dropdown-item :command="[scope.row, '复制']" v-btn-permission="''">复制</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '复制']" v-btn-permission="''">复制</el-dropdown-item>
|
||||||
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="''">删除</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="''">删除</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
@@ -685,6 +686,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
splitStatus: this.$route.query.splitStatus,
|
||||||
auditFlag: this.$route.query.auditFlag,
|
auditFlag: this.$route.query.auditFlag,
|
||||||
splitCheckDialog: false,
|
splitCheckDialog: false,
|
||||||
submitLoading: false,
|
submitLoading: false,
|
||||||
@@ -1306,7 +1308,6 @@ export default {
|
|||||||
if (cur[i].pId == null || cur[i].pId === '') {
|
if (cur[i].pId == null || cur[i].pId === '') {
|
||||||
this.parentNode = cur[i]
|
this.parentNode = cur[i]
|
||||||
}
|
}
|
||||||
console.log(str);
|
|
||||||
this.zNodes = str
|
this.zNodes = str
|
||||||
}
|
}
|
||||||
// 查完左侧目录后,如果没有选中的,设置最外层选中
|
// 查完左侧目录后,如果没有选中的,设置最外层选中
|
||||||
|
|||||||
@@ -208,7 +208,7 @@
|
|||||||
import ProcessHeader from '../../components/ProcessHeader'
|
import ProcessHeader from '../../components/ProcessHeader'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail} from 'api/process'
|
import {inboundLiaisonDetail,saveTaskForPub} from 'api/process'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "bzdyStep5",
|
name: "bzdyStep5",
|
||||||
|
|||||||
@@ -388,6 +388,7 @@
|
|||||||
sarType: '',
|
sarType: '',
|
||||||
loading: false,
|
loading: false,
|
||||||
standId: '',
|
standId: '',
|
||||||
|
statusId: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
title: '', // 新增抽屉标题
|
title: '', // 新增抽屉标题
|
||||||
@@ -401,6 +402,7 @@
|
|||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
standId: '',
|
standId: '',
|
||||||
|
statusId: '',
|
||||||
itemsNum1: '',
|
itemsNum1: '',
|
||||||
itemsName1: '',
|
itemsName1: '',
|
||||||
oldNumber: ''
|
oldNumber: ''
|
||||||
@@ -622,6 +624,8 @@
|
|||||||
this.form.standId = bringData[0].standId
|
this.form.standId = bringData[0].standId
|
||||||
this.sarType = bringData[0].standType
|
this.sarType = bringData[0].standType
|
||||||
this.standId = bringData[0].standId
|
this.standId = bringData[0].standId
|
||||||
|
this.statusId = bringData[0].id
|
||||||
|
this.form.statusId = bringData[0].id
|
||||||
this.listModel = false;
|
this.listModel = false;
|
||||||
this.listModel2 = true
|
this.listModel2 = true
|
||||||
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
||||||
|
|||||||
@@ -388,6 +388,7 @@
|
|||||||
sarType: '',
|
sarType: '',
|
||||||
loading: false,
|
loading: false,
|
||||||
standId: '',
|
standId: '',
|
||||||
|
statusId: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
title: '', // 新增抽屉标题
|
title: '', // 新增抽屉标题
|
||||||
@@ -401,6 +402,7 @@
|
|||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
standId: '',
|
standId: '',
|
||||||
|
statusId: '',
|
||||||
itemsNum1: '',
|
itemsNum1: '',
|
||||||
itemsName1: '',
|
itemsName1: '',
|
||||||
oldNumber: ''
|
oldNumber: ''
|
||||||
@@ -627,6 +629,8 @@
|
|||||||
this.form.standId = bringData[0].standId
|
this.form.standId = bringData[0].standId
|
||||||
this.sarType = bringData[0].standType
|
this.sarType = bringData[0].standType
|
||||||
this.standId = bringData[0].standId
|
this.standId = bringData[0].standId
|
||||||
|
this.statusId = bringData[0].id
|
||||||
|
this.form.statusId = bringData[0].id
|
||||||
this.listModel = false;
|
this.listModel = false;
|
||||||
this.listModel2 = true
|
this.listModel2 = true
|
||||||
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
||||||
|
|||||||
@@ -145,7 +145,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -181,7 +182,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -352,13 +354,13 @@ export default {
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", '');
|
this.$set(item, "ZCCSSRQ", "");
|
||||||
this.$set(item, "XCXSSRQ", '');
|
this.$set(item, "XCXSSRQ", "");
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -410,8 +412,8 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
if (this.commentText === null || this.commentText === undefined || this.commentText === "") {
|
||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning("请填写审批意见");
|
||||||
} else {
|
} else {
|
||||||
this.listForm.bzFlag = "2";
|
this.listForm.bzFlag = "2";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
@@ -433,10 +435,11 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = true;
|
||||||
this.listForm.bzFlag = "1";
|
this.listForm.bzFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
console.log(json)
|
console.log(json);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -448,9 +451,10 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -145,7 +145,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -181,7 +182,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -350,13 +352,13 @@ export default {
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", '');
|
this.$set(item, "ZCCSSRQ", "");
|
||||||
this.$set(item, "XCXSSRQ", '');
|
this.$set(item, "XCXSSRQ", "");
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -385,7 +387,7 @@ export default {
|
|||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res.mesg)
|
console.log(res.mesg);
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg);
|
const processForm = JSON.parse(res.mesg);
|
||||||
this.getFormFieldList(processForm);
|
this.getFormFieldList(processForm);
|
||||||
@@ -409,6 +411,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = true;
|
||||||
this.listForm.bzFlag = "1";
|
this.listForm.bzFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -423,9 +426,10 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -145,7 +145,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -181,7 +182,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -352,13 +354,13 @@ export default {
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", '');
|
this.$set(item, "ZCCSSRQ", "");
|
||||||
this.$set(item, "XCXSSRQ", '');
|
this.$set(item, "XCXSSRQ", "");
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -410,8 +412,8 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
if (this.commentText === null || this.commentText === undefined || this.commentText === "") {
|
||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning("请填写审批意见");
|
||||||
} else {
|
} else {
|
||||||
this.listForm.dlFlag = "2";
|
this.listForm.dlFlag = "2";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
@@ -433,6 +435,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = true;
|
||||||
this.listForm.dlFlag = "1";
|
this.listForm.dlFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -447,9 +450,10 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
@@ -459,7 +463,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.processTable();
|
this.processTable();
|
||||||
this.getData();
|
this.getData();
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@
|
|||||||
</process-title>
|
</process-title>
|
||||||
<div class="tableTitle">
|
<div class="tableTitle">
|
||||||
<div class="tableButton">
|
<div class="tableButton">
|
||||||
<el-button plain class="common-button-primary" size="mini" @click="choiceZRRS('', 2, '')">批量分发责任人</el-button>
|
<el-button plain class="common-button-primary" size="mini" @click="choiceZRRS('', 2, '')">批量分发责任人
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
@@ -113,7 +114,8 @@
|
|||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input v-model="scope.row.liablePeopleId" style="display: none;" />
|
<el-input v-model="scope.row.liablePeopleId" style="display: none;" />
|
||||||
<el-input v-model="scope.row.liablePeople" placeholder="请选择分发责任人" @click.native="choiceZRRS(scope.row.liablePeopleId, 1, scope.$index)"/>
|
<el-input v-model="scope.row.liablePeople" placeholder="请选择分发责任人"
|
||||||
|
@click.native="choiceZRRS(scope.row.liablePeopleId, 1, scope.$index)" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -247,8 +249,8 @@ export default {
|
|||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
selectList: [],
|
selectList: [],
|
||||||
treeData: [], // 人员数据
|
treeData: [], // 人员数据
|
||||||
zrIndex: '',
|
zrIndex: "",
|
||||||
zrType: '',
|
zrType: "",
|
||||||
roleForm: {
|
roleForm: {
|
||||||
liablePeople: ""
|
liablePeople: ""
|
||||||
},
|
},
|
||||||
@@ -270,7 +272,7 @@ export default {
|
|||||||
detailData: [], //流程历史数据
|
detailData: [], //流程历史数据
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -298,13 +300,13 @@ export default {
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", '');
|
this.$set(item, "ZCCSSRQ", "");
|
||||||
this.$set(item, "XCXSSRQ", '');
|
this.$set(item, "XCXSSRQ", "");
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -354,8 +356,8 @@ export default {
|
|||||||
this.dataList = item.dataList;
|
this.dataList = item.dataList;
|
||||||
this.listForm.breakdownList = item.breakdownList;
|
this.listForm.breakdownList = item.breakdownList;
|
||||||
} else {
|
} else {
|
||||||
this.listForm = item.form
|
this.listForm = item.form;
|
||||||
this.dataList = item.form.dataList
|
this.dataList = item.form.dataList;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@@ -383,12 +385,13 @@ export default {
|
|||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.dataList.forEach(item => {
|
this.listForm.dataList.forEach(item => {
|
||||||
if (item.liablePeople !== undefined) {
|
if (item.liablePeople !== undefined) {
|
||||||
this.peopleFlag = true
|
this.peopleFlag = true;
|
||||||
} else {
|
} else {
|
||||||
this.peopleFlag = false
|
this.peopleFlag = false;
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
if (this.peopleFlag === true) {
|
if (this.peopleFlag === true) {
|
||||||
|
this.isSubmit = true;
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
@@ -402,30 +405,31 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择分发负责人')
|
this.$message.warning("请选择分发负责人");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRS(row, type, index) {
|
choiceZRRS(row, type, index) {
|
||||||
this.type = type
|
this.type = type;
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
this.drawerTitle = '选择责任人'
|
this.drawerTitle = "选择责任人";
|
||||||
this.nodeList = []
|
this.nodeList = [];
|
||||||
this.zrIndex = index
|
this.zrIndex = index;
|
||||||
this.zrType = type
|
this.zrType = type;
|
||||||
this.nodeList.push(row)
|
this.nodeList.push(row);
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true;
|
||||||
} else if (type === 2) {
|
} else if (type === 2) {
|
||||||
// 批量
|
// 批量
|
||||||
if (this.selectList.length > 0) {
|
if (this.selectList.length > 0) {
|
||||||
this.zrType = type
|
this.zrType = type;
|
||||||
this.nodeList = []
|
this.nodeList = [];
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true;
|
||||||
this.drawerTitle = '批量选择责任人'
|
this.drawerTitle = "批量选择责任人";
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要分发的数据')
|
this.$message.warning("请选择要分发的数据");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -449,23 +453,23 @@ export default {
|
|||||||
},
|
},
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
if (this.type === 1) {
|
if (this.type === 1) {
|
||||||
const newRow = JSON.parse(JSON.stringify(this.dataList[this.zrIndex]))
|
const newRow = JSON.parse(JSON.stringify(this.dataList[this.zrIndex]));
|
||||||
newRow.liablePeopleId = data[0].id
|
newRow.liablePeopleId = data[0].id;
|
||||||
newRow.liablePeople = data[0].name
|
newRow.liablePeople = data[0].name;
|
||||||
this.$set(this.dataList, this.zrIndex, newRow)
|
this.$set(this.dataList, this.zrIndex, newRow);
|
||||||
} else if (this.type === 2) {
|
} else if (this.type === 2) {
|
||||||
this.dataList.forEach((item, index) => {
|
this.dataList.forEach((item, index) => {
|
||||||
this.selectList.forEach(items => {
|
this.selectList.forEach(items => {
|
||||||
if (item.standId === items.standId) {
|
if (item.standId === items.standId) {
|
||||||
const newRow = JSON.parse(JSON.stringify(item))
|
const newRow = JSON.parse(JSON.stringify(item));
|
||||||
newRow.liablePeopleId = data[0].id
|
newRow.liablePeopleId = data[0].id;
|
||||||
newRow.liablePeople = data[0].name
|
newRow.liablePeople = data[0].name;
|
||||||
this.$set(this.dataList, index, newRow)
|
this.$set(this.dataList, index, newRow);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false;
|
||||||
},
|
},
|
||||||
cancleUserInfo() {
|
cancleUserInfo() {
|
||||||
this.modalshowflag = false;
|
this.modalshowflag = false;
|
||||||
|
|||||||
@@ -96,7 +96,8 @@
|
|||||||
<el-table-column label="责任人" prop="workPeople" align="center">
|
<el-table-column label="责任人" prop="workPeople" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div :class="{'fileClass': !scope.row.workPeople}">
|
<div :class="{'fileClass': !scope.row.workPeople}">
|
||||||
{{ scope.row.workPeople ? scope.row.workPeople: '' }}</div>
|
{{ scope.row.workPeople ? scope.row.workPeople : "" }}
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -280,13 +281,13 @@ export default {
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", '');
|
this.$set(item, "ZCCSSRQ", "");
|
||||||
this.$set(item, "XCXSSRQ", '');
|
this.$set(item, "XCXSSRQ", "");
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -362,8 +363,8 @@ export default {
|
|||||||
});
|
});
|
||||||
this.listForm.children = children;
|
this.listForm.children = children;
|
||||||
} else {
|
} else {
|
||||||
this.listForm = item.form
|
this.listForm = item.form;
|
||||||
this.dataList = item.form.dataList
|
this.dataList = item.form.dataList;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@@ -389,6 +390,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = true;
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
@@ -402,6 +404,7 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -434,7 +437,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
console.log(data[0].name)
|
console.log(data[0].name);
|
||||||
// 选取负责人时的操作
|
// 选取负责人时的操作
|
||||||
let deposit = new Map();
|
let deposit = new Map();
|
||||||
let mis2 = new Map();
|
let mis2 = new Map();
|
||||||
@@ -456,19 +459,19 @@ export default {
|
|||||||
i.workPeople = undefined;
|
i.workPeople = undefined;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const newItem = JSON.parse(JSON.stringify(item))
|
const newItem = JSON.parse(JSON.stringify(item));
|
||||||
newItem.workPeopleId = data[0].id
|
newItem.workPeopleId = data[0].id;
|
||||||
newItem.workPeople = data[0].name
|
newItem.workPeople = data[0].name;
|
||||||
this.$set(this.dataList, index, newItem)
|
this.$set(this.dataList, index, newItem);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (item.children) {
|
if (item.children) {
|
||||||
item.children.forEach((items, childIndex) => {
|
item.children.forEach((items, childIndex) => {
|
||||||
if (deposit.get(items.standId)) {
|
if (deposit.get(items.standId)) {
|
||||||
const childItems = JSON.parse(JSON.stringify(items))
|
const childItems = JSON.parse(JSON.stringify(items));
|
||||||
childItems.workPeopleId = deposit.get(items.standId).workPeopleId;
|
childItems.workPeopleId = deposit.get(items.standId).workPeopleId;
|
||||||
childItems.workPeople = deposit.get(items.standId).workPeople;
|
childItems.workPeople = deposit.get(items.standId).workPeople;
|
||||||
this.$set(this.dataList[index].children, childIndex, childItems)
|
this.$set(this.dataList[index].children, childIndex, childItems);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -370,24 +370,24 @@ export default {
|
|||||||
children: "children",
|
children: "children",
|
||||||
label: "name"
|
label: "name"
|
||||||
},
|
},
|
||||||
complianceReasons:'',
|
complianceReasons: "",
|
||||||
zcComplianceReasons:'',
|
zcComplianceReasons: "",
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [
|
dataList: [
|
||||||
{
|
{
|
||||||
complianceReasons:'',
|
complianceReasons: "",
|
||||||
zcComplianceReasons:'',
|
zcComplianceReasons: ""
|
||||||
}
|
}
|
||||||
], //项目下的标准数据
|
], //项目下的标准数据
|
||||||
children: [] //标准下的分解单数据
|
children: [] //标准下的分解单数据
|
||||||
},
|
},
|
||||||
dataList: [
|
dataList: [
|
||||||
{
|
{
|
||||||
complianceReasons:'',
|
complianceReasons: "",
|
||||||
zcComplianceReasons:'',
|
zcComplianceReasons: ""
|
||||||
}
|
}
|
||||||
], //展示的标准数据
|
], //展示的标准数据
|
||||||
commentText: "", //审批意见
|
commentText: "", //审批意见
|
||||||
@@ -422,13 +422,13 @@ export default {
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", '');
|
this.$set(item, "ZCCSSRQ", "");
|
||||||
this.$set(item, "XCXSSRQ", '');
|
this.$set(item, "XCXSSRQ", "");
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -458,7 +458,7 @@ export default {
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
console.log(res.mesg)
|
console.log(res.mesg);
|
||||||
const processForm = JSON.parse(res.mesg);
|
const processForm = JSON.parse(res.mesg);
|
||||||
this.getFormFieldList(processForm);
|
this.getFormFieldList(processForm);
|
||||||
}
|
}
|
||||||
@@ -477,8 +477,8 @@ export default {
|
|||||||
// this.listForm.dataList = item.dataList;
|
// this.listForm.dataList = item.dataList;
|
||||||
this.dataList = this.listForm.dataList;
|
this.dataList = this.listForm.dataList;
|
||||||
} else {
|
} else {
|
||||||
this.listForm = item.form
|
this.listForm = item.form;
|
||||||
this.dataList = item.form.dataList
|
this.dataList = item.form.dataList;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@@ -504,6 +504,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = true;
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
@@ -517,6 +518,7 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -537,7 +539,7 @@ export default {
|
|||||||
this.$refs.tree.setCheckedKeys([data.id]);
|
this.$refs.tree.setCheckedKeys([data.id]);
|
||||||
this.roleRow = this.$refs.tree.getCheckedNodes()[0];
|
this.roleRow = this.$refs.tree.getCheckedNodes()[0];
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -145,7 +145,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -181,7 +182,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -330,7 +332,7 @@
|
|||||||
methods: {
|
methods: {
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
console.log(item)
|
console.log(item);
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: "OtherStandardDetails",
|
name: "OtherStandardDetails",
|
||||||
params: {
|
params: {
|
||||||
@@ -353,13 +355,13 @@
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", '');
|
this.$set(item, "ZCCSSRQ", "");
|
||||||
this.$set(item, "XCXSSRQ", '');
|
this.$set(item, "XCXSSRQ", "");
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -388,7 +390,7 @@
|
|||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res.mesg)
|
console.log(res.mesg);
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg);
|
const processForm = JSON.parse(res.mesg);
|
||||||
this.getFormFieldList(processForm);
|
this.getFormFieldList(processForm);
|
||||||
@@ -412,8 +414,8 @@
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
if (this.commentText === null || this.commentText === undefined || this.commentText === "") {
|
||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning("请填写审批意见");
|
||||||
} else {
|
} else {
|
||||||
this.listForm.ffFlag = "2";
|
this.listForm.ffFlag = "2";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
@@ -435,6 +437,7 @@
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = true;
|
||||||
this.listForm.ffFlag = "1";
|
this.listForm.ffFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -449,8 +452,9 @@
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
});
|
});
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
@@ -460,7 +464,7 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.processTable();
|
this.processTable();
|
||||||
this.getData();
|
this.getData();
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -433,6 +433,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = true;
|
||||||
this.listForm.jgFlag = "1";
|
this.listForm.jgFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -447,6 +448,7 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -145,7 +145,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -181,7 +182,8 @@
|
|||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format("YYYY-MM-DD") : ""
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -352,13 +354,13 @@ export default {
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", '');
|
this.$set(item, "ZCCSSRQ", "");
|
||||||
this.$set(item, "XCXSSRQ", '');
|
this.$set(item, "XCXSSRQ", "");
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -410,8 +412,8 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
if (this.commentText === null || this.commentText === undefined || this.commentText === "") {
|
||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning("请填写审批意见");
|
||||||
} else {
|
} else {
|
||||||
this.listForm.gcFlag = "2";
|
this.listForm.gcFlag = "2";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
@@ -433,6 +435,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = true;
|
||||||
this.listForm.gcFlag = "1";
|
this.listForm.gcFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -447,9 +450,10 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -304,11 +304,14 @@
|
|||||||
label="能源类型">
|
label="能源类型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="putTime"
|
prop="ssrq"
|
||||||
sortable
|
sortable
|
||||||
align="center"
|
align="center"
|
||||||
width="210px"
|
width="210px"
|
||||||
label="标准实施日期">
|
label="标准实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
@@ -458,7 +461,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准实施日期" prop="putTime">
|
<el-form-item label="标准实施日期" prop="putTime">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model.trim="editRowData.putTime"
|
v-model.trim="editRowData.ssrq"
|
||||||
type="date"
|
type="date"
|
||||||
value-format="yyyy-MM-dd"
|
value-format="yyyy-MM-dd"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
@@ -582,7 +585,7 @@ export default {
|
|||||||
standEnName: '',
|
standEnName: '',
|
||||||
typeApplicable: '',
|
typeApplicable: '',
|
||||||
nylx: '',
|
nylx: '',
|
||||||
putTime: '',
|
ssrq: '',
|
||||||
zccssrqgj: '',
|
zccssrqgj: '',
|
||||||
xcxssrqgj: '',
|
xcxssrqgj: '',
|
||||||
zrbm: '',
|
zrbm: '',
|
||||||
@@ -1108,66 +1111,6 @@ export default {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
// 国内外政策可查字段
|
// 国内外政策可查字段
|
||||||
}else if (val === 'FOREIGN_LAWS'){
|
|
||||||
this.twoOptions=[
|
|
||||||
{
|
|
||||||
label: '适用车辆类型',
|
|
||||||
value: 'SYCLLX',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '政策编号',
|
|
||||||
value: 'LAWS_NUMBER',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '中文名称',
|
|
||||||
value: 'LAWS_NAME',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '英文名称',
|
|
||||||
value: 'LAWS_EN_NAME',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '个性化标签',
|
|
||||||
value: 'GXHBQXX',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '新车型实施日期(文本)',
|
|
||||||
value: 'XCXSSRQ',
|
|
||||||
type: 'DATE_PIC_OPTS',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '在产车实施日期(文本)',
|
|
||||||
value: 'ZCCSSRQ',
|
|
||||||
type: 'DATE_PIC_OPTS',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '维护工程师',
|
|
||||||
value: 'ZCGCS',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
selVal: "USERLIST",
|
|
||||||
disabled: false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
// 标准法规清单可查字段
|
|
||||||
}else {
|
|
||||||
this.twoOptions=[
|
|
||||||
{
|
|
||||||
label: '清单名称',
|
|
||||||
value: 'ACCESS_CONTENT',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '国家地区',
|
|
||||||
value: 'COUNTRY',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
disabled: false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
@@ -1305,10 +1248,10 @@ export default {
|
|||||||
let rowlist3 = []
|
let rowlist3 = []
|
||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
if (this.sarAccessInfoList[i].putTime === null) {
|
if (this.sarAccessInfoList[i].ssrq === null) {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime = '-')
|
rowlist1.push(this.sarAccessInfoList[i].ssrq = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
rowlist1.push(this.sarAccessInfoList[i].ssrq.toString())
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||||
@@ -1382,14 +1325,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 查询数据搜索 table 数据
|
pageInfo() {
|
||||||
selectLawsStands () {
|
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
|
||||||
this.sarAccessInfoSearch.standType = ''
|
|
||||||
} else {
|
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
|
||||||
}
|
|
||||||
StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{
|
StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
@@ -1402,6 +1338,7 @@ export default {
|
|||||||
this.$set(item, 'zccssrqgj', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'sycpx', '')
|
||||||
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'zrbm', '')
|
this.$set(item, 'zrbm', '')
|
||||||
@@ -1413,6 +1350,7 @@ export default {
|
|||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
@@ -1426,12 +1364,18 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
selectBtn() {
|
// 查询数据搜索 table 数据
|
||||||
|
selectLawsStands () {
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||||
|
this.pageInfo()
|
||||||
} else {
|
} else {
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
this.pageInfo()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
selectPage() {
|
||||||
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
@@ -1443,6 +1387,7 @@ export default {
|
|||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'zccssrqgj', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'nylx', '')
|
||||||
@@ -1454,6 +1399,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
@@ -1468,6 +1414,15 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
selectBtn() {
|
||||||
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
|
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||||
|
this.selectPage()
|
||||||
|
} else {
|
||||||
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
this.selectPage()
|
||||||
|
}
|
||||||
|
},
|
||||||
// 数据搜索table判断checked状态
|
// 数据搜索table判断checked状态
|
||||||
selectable (row) {
|
selectable (row) {
|
||||||
return row.isRelateAccess === '1'
|
return row.isRelateAccess === '1'
|
||||||
@@ -1479,6 +1434,7 @@ export default {
|
|||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'zccssrqgj', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'nylx', '')
|
||||||
@@ -1490,6 +1446,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
@@ -1578,7 +1535,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 导出确定功能
|
// 导出确定功能
|
||||||
exportTestItem () {
|
exportTestItem () {
|
||||||
let exportNames = this.exportName
|
|
||||||
let exportList = []
|
let exportList = []
|
||||||
if (this.sarAccessInfoListArry.length > 0) {
|
if (this.sarAccessInfoListArry.length > 0) {
|
||||||
exportList = this.sarAccessInfoListArry
|
exportList = this.sarAccessInfoListArry
|
||||||
|
|||||||
@@ -150,11 +150,17 @@
|
|||||||
label="能源类型">
|
label="能源类型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="putTime"
|
prop="ssrq"
|
||||||
sortable
|
sortable
|
||||||
align="center"
|
align="center"
|
||||||
width="210px"
|
width="210px"
|
||||||
label="标准实施日期">
|
label="标准实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span v-if="scope.row.ssrq === null">
|
||||||
|
{{ scope.row.ssrq }}
|
||||||
|
</span>
|
||||||
|
<span v-else>{{ scope.row.ssrq.slice(0, 10) }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
@@ -757,11 +763,6 @@ export default {
|
|||||||
setMap(data){
|
setMap(data){
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
this.$set(this.textStatusMap, item.value, item.label)
|
this.$set(this.textStatusMap, item.value, item.label)
|
||||||
this.$set(this.typeApplicableMap, item.value, item.label)
|
|
||||||
this.$set(this.nylxMap, item.value, item.label)
|
|
||||||
this.$set(this.zrbmMap, item.value, item.label)
|
|
||||||
this.$set(this.sycpxMap, item.value, item.label)
|
|
||||||
this.$set(this.countryAreaMap, item.value, item.label)
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -797,12 +798,6 @@ export default {
|
|||||||
this.textStatusOptions = res.data.WBZTCLASS
|
this.textStatusOptions = res.data.WBZTCLASS
|
||||||
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
||||||
this.setMap(this.textStatusOptions)
|
this.setMap(this.textStatusOptions)
|
||||||
this.setMap(this.zrbmOptions)
|
|
||||||
this.setMap(this.categoryOptions)
|
|
||||||
this.setMap(this.sycpxOptions)
|
|
||||||
this.setMap(this.energyKindOptions)
|
|
||||||
this.setMap(this.drawerCountryOptions)
|
|
||||||
this.setMap(this.applyArcticOptions)
|
|
||||||
this.getGzzOption();
|
this.getGzzOption();
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
|
|||||||
+34
-78
@@ -288,11 +288,14 @@
|
|||||||
label="能源类型">
|
label="能源类型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="putTime"
|
prop="ssrq"
|
||||||
sortable
|
sortable
|
||||||
align="center"
|
align="center"
|
||||||
width="210px"
|
width="210px"
|
||||||
label="标准实施日期">
|
label="标准实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
@@ -440,9 +443,9 @@
|
|||||||
<el-form-item label="能源类型" prop="nylx">
|
<el-form-item label="能源类型" prop="nylx">
|
||||||
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准实施日期" prop="putTime">
|
<el-form-item label="标准实施日期" prop="ssrq">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model.trim="editRowData.putTime"
|
v-model.trim="editRowData.ssrq"
|
||||||
type="date"
|
type="date"
|
||||||
value-format="yyyy-MM-dd"
|
value-format="yyyy-MM-dd"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
@@ -566,7 +569,7 @@ export default {
|
|||||||
standEnName: '',
|
standEnName: '',
|
||||||
typeApplicable: '',
|
typeApplicable: '',
|
||||||
nylx: '',
|
nylx: '',
|
||||||
putTime: '',
|
ssrq: '',
|
||||||
zccssrqgj: '',
|
zccssrqgj: '',
|
||||||
xcxssrqgj: '',
|
xcxssrqgj: '',
|
||||||
zrbm: '',
|
zrbm: '',
|
||||||
@@ -1076,66 +1079,6 @@ export default {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
// 国内外政策可查字段
|
// 国内外政策可查字段
|
||||||
}else if (val === 'FOREIGN_LAWS'){
|
|
||||||
this.twoOptions=[
|
|
||||||
{
|
|
||||||
label: '适用车辆类型',
|
|
||||||
value: 'SYCLLX',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '政策编号',
|
|
||||||
value: 'LAWS_NUMBER',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '中文名称',
|
|
||||||
value: 'LAWS_NAME',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '英文名称',
|
|
||||||
value: 'LAWS_EN_NAME',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '个性化标签',
|
|
||||||
value: 'GXHBQXX',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '新车型实施日期(文本)',
|
|
||||||
value: 'XCXSSRQ',
|
|
||||||
type: 'DATE_PIC_OPTS',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '在产车实施日期(文本)',
|
|
||||||
value: 'ZCCSSRQ',
|
|
||||||
type: 'DATE_PIC_OPTS',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '维护工程师',
|
|
||||||
value: 'ZCGCS',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
selVal: "USERLIST",
|
|
||||||
disabled: false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
// 标准法规清单可查字段
|
|
||||||
}else {
|
|
||||||
this.twoOptions=[
|
|
||||||
{
|
|
||||||
label: '清单名称',
|
|
||||||
value: 'ACCESS_CONTENT',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '国家地区',
|
|
||||||
value: 'COUNTRY',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
disabled: false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
@@ -1274,10 +1217,10 @@ export default {
|
|||||||
let rowlist3 = []
|
let rowlist3 = []
|
||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
if (this.sarAccessInfoList[i].putTime === null) {
|
if (this.sarAccessInfoList[i].ssrq === null) {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime = '-')
|
rowlist1.push(this.sarAccessInfoList[i].ssrq = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
rowlist1.push(this.sarAccessInfoList[i].ssrq.toString())
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||||
@@ -1350,14 +1293,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 查询数据搜索 table 数据
|
pageInfo() {
|
||||||
selectLawsStands () {
|
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
|
||||||
this.sarAccessInfoSearch.standType = ''
|
|
||||||
} else {
|
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
|
||||||
}
|
|
||||||
StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{
|
StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
@@ -1369,6 +1305,7 @@ export default {
|
|||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'zccssrqgj', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'nylx', '')
|
||||||
@@ -1380,6 +1317,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
@@ -1394,13 +1332,17 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 高级检索查询按钮
|
// 查询数据搜索 table 数据
|
||||||
selectBtn() {
|
selectLawsStands () {
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||||
|
this.pageInfo()
|
||||||
} else {
|
} else {
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
this.pageInfo()
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
selectPage() {
|
||||||
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
@@ -1412,6 +1354,7 @@ export default {
|
|||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'zccssrqgj', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'nylx', '')
|
||||||
@@ -1423,6 +1366,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
@@ -1437,6 +1381,16 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 高级检索查询按钮
|
||||||
|
selectBtn() {
|
||||||
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
|
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||||
|
this.selectPage()
|
||||||
|
} else {
|
||||||
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
this.selectPage()
|
||||||
|
}
|
||||||
|
},
|
||||||
// 数据搜索table判断checked状态
|
// 数据搜索table判断checked状态
|
||||||
selectable (row) {
|
selectable (row) {
|
||||||
return row.isRelateAccess === '1'
|
return row.isRelateAccess === '1'
|
||||||
@@ -1448,6 +1402,7 @@ export default {
|
|||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'zccssrqgj', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'nylx', '')
|
||||||
@@ -1459,6 +1414,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
|||||||
+33
-77
@@ -288,11 +288,14 @@
|
|||||||
label="能源类型">
|
label="能源类型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="putTime"
|
prop="ssrq"
|
||||||
sortable
|
sortable
|
||||||
align="center"
|
align="center"
|
||||||
width="210px"
|
width="210px"
|
||||||
label="标准实施日期">
|
label="标准实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
@@ -439,9 +442,9 @@
|
|||||||
<el-form-item label="能源类型" prop="nylx">
|
<el-form-item label="能源类型" prop="nylx">
|
||||||
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准实施日期" prop="putTime">
|
<el-form-item label="标准实施日期" prop="ssrq">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model.trim="editRowData.putTime"
|
v-model.trim="editRowData.ssrq"
|
||||||
type="date"
|
type="date"
|
||||||
value-format="yyyy-MM-dd"
|
value-format="yyyy-MM-dd"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
@@ -580,7 +583,7 @@ export default {
|
|||||||
standEnName: '',
|
standEnName: '',
|
||||||
typeApplicable: '',
|
typeApplicable: '',
|
||||||
nylx: '',
|
nylx: '',
|
||||||
putTime: '',
|
ssrq: '',
|
||||||
zccssrqgj: '',
|
zccssrqgj: '',
|
||||||
xcxssrqgj: '',
|
xcxssrqgj: '',
|
||||||
zrbm: '',
|
zrbm: '',
|
||||||
@@ -1076,66 +1079,6 @@ export default {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
// 国内外政策可查字段
|
// 国内外政策可查字段
|
||||||
}else if (val === 'FOREIGN_LAWS'){
|
|
||||||
this.twoOptions=[
|
|
||||||
{
|
|
||||||
label: '适用车辆类型',
|
|
||||||
value: 'SYCLLX',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '政策编号',
|
|
||||||
value: 'LAWS_NUMBER',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '中文名称',
|
|
||||||
value: 'LAWS_NAME',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '英文名称',
|
|
||||||
value: 'LAWS_EN_NAME',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '个性化标签',
|
|
||||||
value: 'GXHBQXX',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '新车型实施日期(文本)',
|
|
||||||
value: 'XCXSSRQ',
|
|
||||||
type: 'DATE_PIC_OPTS',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '在产车实施日期(文本)',
|
|
||||||
value: 'ZCCSSRQ',
|
|
||||||
type: 'DATE_PIC_OPTS',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '维护工程师',
|
|
||||||
value: 'ZCGCS',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
selVal: "USERLIST",
|
|
||||||
disabled: false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
// 标准法规清单可查字段
|
|
||||||
}else {
|
|
||||||
this.twoOptions=[
|
|
||||||
{
|
|
||||||
label: '清单名称',
|
|
||||||
value: 'ACCESS_CONTENT',
|
|
||||||
type: 'INPUT',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
label: '国家地区',
|
|
||||||
value: 'COUNTRY',
|
|
||||||
type: 'SEL_OPTION',
|
|
||||||
disabled: false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
@@ -1273,10 +1216,10 @@ export default {
|
|||||||
let rowlist3 = []
|
let rowlist3 = []
|
||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
if (this.sarAccessInfoList[i].putTime === null) {
|
if (this.sarAccessInfoList[i].ssrq === null) {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime = '-')
|
rowlist1.push(this.sarAccessInfoList[i].ssrq = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
rowlist1.push(this.sarAccessInfoList[i].ssrq.toString())
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||||
@@ -1350,13 +1293,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 查询数据搜索 table 数据
|
// 查询数据搜索 table 数据
|
||||||
selectLawsStands () {
|
pageInfo() {
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
|
||||||
this.sarAccessInfoSearch.standType = ''
|
|
||||||
} else {
|
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
|
||||||
}
|
|
||||||
StandardsInfoPage(this.sarAccessInfoSearch, this.sarAccessInfo).then(res =>{
|
StandardsInfoPage(this.sarAccessInfoSearch, this.sarAccessInfo).then(res =>{
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
@@ -1368,6 +1305,7 @@ export default {
|
|||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'zccssrqgj', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'nylx', '')
|
||||||
@@ -1379,6 +1317,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
@@ -1393,13 +1332,17 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/** 高级查询查询按钮*/
|
selectLawsStands () {
|
||||||
selectBtn() {
|
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||||
|
this.pageInfo()
|
||||||
} else {
|
} else {
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
this.pageInfo()
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
/** 高级查询查询按钮*/
|
||||||
|
selectPage() {
|
||||||
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
@@ -1411,6 +1354,7 @@ export default {
|
|||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'zccssrqgj', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'nylx', '')
|
||||||
@@ -1422,6 +1366,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
@@ -1436,6 +1381,15 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
selectBtn() {
|
||||||
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
|
this.sarAccessInfoSearch.standType = 'INLAND'
|
||||||
|
this.selectPage()
|
||||||
|
} else {
|
||||||
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
this.selectPage()
|
||||||
|
}
|
||||||
|
},
|
||||||
// 数据搜索table判断checked状态
|
// 数据搜索table判断checked状态
|
||||||
selectable (row) {
|
selectable (row) {
|
||||||
return row.isRelateAccess === '1'
|
return row.isRelateAccess === '1'
|
||||||
@@ -1447,6 +1401,7 @@ export default {
|
|||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'zccssrqgj', '')
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'xcxssrqgj', '')
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'ssrq', '')
|
||||||
this.$set(item, 'sycpx', '')
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'typeApplicable', '')
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'nylx', '')
|
this.$set(item, 'nylx', '')
|
||||||
@@ -1458,6 +1413,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ)
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ)
|
||||||
|
this.$set(item, 'ssrq', item.attrInfoMap.SSRQ)
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
|||||||
@@ -1324,8 +1324,8 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 是否纳入标准清单-->
|
<!-- 是否纳入标准清单-->
|
||||||
<el-form-item title="是否纳入标准清单" label="是否纳入标准清单">
|
<el-form-item label="是否纳入标准清单" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.isRelateAccess" class="advanced-one" placeholder="根据是否纳入标准清单查找">
|
<el-select v-model="sarStandardsSearch.isRelateAccess" placeholder="根据是否纳入标准清单查找">
|
||||||
<el-option value="yes" label="是"></el-option>
|
<el-option value="yes" label="是"></el-option>
|
||||||
<el-option value="no" label="否"></el-option>
|
<el-option value="no" label="否"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -1333,7 +1333,7 @@
|
|||||||
<!-- 实施日期-->
|
<!-- 实施日期-->
|
||||||
<el-form-item label="实施日期">
|
<el-form-item label="实施日期">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="sarStandardsSearch.putTime"
|
v-model="sarStandardsSearch.ssrq"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="根据实施日期查找">
|
placeholder="根据实施日期查找">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -1341,7 +1341,7 @@
|
|||||||
<!-- 新车型实施日期-->
|
<!-- 新车型实施日期-->
|
||||||
<el-form-item title="新车型实施日期" label="新车型实施日期">
|
<el-form-item title="新车型实施日期" label="新车型实施日期">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="sarStandardsSearch.XCXTime"
|
v-model="sarStandardsSearch.xcxssrq"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="根据新车型实施日期查找">
|
placeholder="根据新车型实施日期查找">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -1349,14 +1349,14 @@
|
|||||||
<!-- 在产车实施日期-->
|
<!-- 在产车实施日期-->
|
||||||
<el-form-item title="在产车实施日期" label="在产车实施日期">
|
<el-form-item title="在产车实施日期" label="在产车实施日期">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="sarStandardsSearch.ZCCTime"
|
v-model="sarStandardsSearch.zccssrq"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="根据在产车实施日期查找">
|
placeholder="根据在产车实施日期查找">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 归口管理部门-->
|
<!-- 归口管理部门-->
|
||||||
<el-form-item label="归口管理部门">
|
<el-form-item label="归口管理部门">
|
||||||
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据归口管理部门查找"
|
<el-input v-model="sarStandardsSearch.gkglbm" clearable placeholder="根据归口管理部门查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 起草单位-->
|
<!-- 起草单位-->
|
||||||
@@ -1368,7 +1368,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 我司参与深度-->
|
<!-- 我司参与深度-->
|
||||||
<el-form-item label="我司参与深度">
|
<el-form-item label="我司参与深度">
|
||||||
<el-select v-model="sarStandardsSearch.nameShow" placeholder="请选择我司参与深度" clearable
|
<el-select v-model="sarStandardsSearch.wscysd" placeholder="请选择我司参与深度" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in cysdOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in cysdOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -1376,14 +1376,14 @@
|
|||||||
|
|
||||||
<!-- 能源类型-->
|
<!-- 能源类型-->
|
||||||
<el-form-item label="能源类型">
|
<el-form-item label="能源类型">
|
||||||
<el-select v-model="sarStandardsSearch.energyKind" placeholder="请选择能源类型" clearable
|
<el-select v-model="sarStandardsSearch.nylx" placeholder="请选择能源类型" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in nylxOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in nylxOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 适用车型-->
|
<!-- 适用车型-->
|
||||||
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.applyArctic" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
<el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -1397,9 +1397,9 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 适用认证-->
|
<!-- 适用认证-->
|
||||||
<el-form-item label="适用认证">
|
<el-form-item label="适用认证">
|
||||||
<el-select v-model="sarStandardsSearch.syzr" placeholder="根据适用认证查找" clearable
|
<el-select v-model="sarStandardsSearch.syrz" placeholder="根据适用认证查找" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in syzrOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in syrzOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 责任部门-->
|
<!-- 责任部门-->
|
||||||
@@ -1411,7 +1411,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 责任工程师-->
|
<!-- 责任工程师-->
|
||||||
<el-form-item label="责任工程师">
|
<el-form-item label="责任工程师">
|
||||||
<el-select v-model="sarStandardsSearch.dutyEngineer" placeholder="根据责任工程师查找" clearable
|
<el-select v-model="sarStandardsSearch.zrgcs" placeholder="根据责任工程师查找" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -1424,7 +1424,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 代替标准号-->
|
<!-- 代替标准号-->
|
||||||
<el-form-item label="代替标准号">
|
<el-form-item label="代替标准号">
|
||||||
<el-input v-model="sarStandardsSearch.replaceStandNum" clearable placeholder="根据代替标准号查找"
|
<el-input v-model="sarStandardsSearch.dtbjh" clearable placeholder="根据代替标准号查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 关联模块-中文名称-->
|
<!-- 关联模块-中文名称-->
|
||||||
@@ -1435,23 +1435,23 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 采标编号-->
|
<!-- 采标编号-->
|
||||||
<el-form-item label="采标编号" prop="nameShow">
|
<el-form-item label="采标编号" prop="nameShow">
|
||||||
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据采标编号查找"
|
<el-input v-model="sarStandardsSearch.cbbh" clearable placeholder="根据采标编号查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 采标程度-->
|
<!-- 采标程度-->
|
||||||
<el-form-item label="采标程度" prop="standNumber">
|
<el-form-item label="采标程度" prop="standNumber">
|
||||||
<el-input v-model="sarStandardsSearch.standNumber" clearable
|
<el-input v-model="sarStandardsSearch.cbcd" clearable
|
||||||
placeholder="根据采标程度查找"
|
placeholder="根据采标程度查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 引用标准-->
|
<!-- 引用标准-->
|
||||||
<el-form-item label="引用标准">
|
<el-form-item label="引用标准">
|
||||||
<el-input v-model="sarStandardsSearch.citeStand" clearable placeholder="根据引用标准查找"
|
<el-input v-model="sarStandardsSearch.yybj" clearable placeholder="根据引用标准查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 被引用标准-->
|
<!-- 被引用标准-->
|
||||||
<el-form-item label="被引用标准">
|
<el-form-item label="被引用标准">
|
||||||
<el-input v-model="sarStandardsSearch.citedStand" clearable
|
<el-input v-model="sarStandardsSearch.byybj" clearable
|
||||||
placeholder="根据被引用标准查找"
|
placeholder="根据被引用标准查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -1463,6 +1463,23 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
<!-- 标记-->
|
||||||
|
<!-- 标签-->
|
||||||
|
<el-form-item label="标签">
|
||||||
|
<el-input v-model="sarStandardsSearch.gxhbq" clearable
|
||||||
|
placeholder="根据被标签查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- 体系类别-->
|
||||||
|
<el-form-item label="体系类别">
|
||||||
|
<el-select v-model="sarStandardsSearch.txlb" placeholder="根据体系类别查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in txlbOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div class="demo-drawer-footer">
|
<div class="demo-drawer-footer">
|
||||||
@@ -1706,33 +1723,34 @@ export default {
|
|||||||
country: '',
|
country: '',
|
||||||
standNumber: '',//标准编号
|
standNumber: '',//标准编号
|
||||||
standName: '',//标准名称
|
standName: '',//标准名称
|
||||||
standState: '', // 标准状态
|
standState: '',
|
||||||
issueTime: '', // 标准发布日期
|
|
||||||
svpps: '', // 关联模块-VPPS编码
|
|
||||||
replaceStandNum: '', // 代替标准号
|
|
||||||
replacedStandNum: '', // 被代替标准号
|
|
||||||
replacePartStandNum: '', // 代替标准号
|
|
||||||
replacedPartStandNum: '', // 被代替标准号
|
|
||||||
citeStand: '', // 引用标准
|
|
||||||
citedStand: '', // 被引用标准
|
|
||||||
synopsis: '', // 内容摘要
|
|
||||||
applyArctic: '', // 适用车型
|
|
||||||
sycpx: '', // 适用产品线
|
|
||||||
syzr: '', // 适用认证
|
|
||||||
zrbm: '', // 责任部门
|
|
||||||
dutyEngineer: '', // 责任工程师
|
|
||||||
standSort: '', // 标准类别
|
|
||||||
standYear: '', // 标准年份
|
|
||||||
standEnName: '', // 标准英文名称
|
|
||||||
standNature: '',//标准性质
|
standNature: '',//标准性质
|
||||||
putTime: '', // 实施日期
|
issueTime: '',//标准发布时间
|
||||||
isRelateAccess: '', // 是否纳入标准清单
|
// applyArctic: '',
|
||||||
// nameShow: '', // 我司参与深度
|
dtbjh: '',//代替标准号
|
||||||
qcdw: '', // 起草单位
|
// replaceStandNumCope: '',
|
||||||
nameShow: '', // 归口管理部门
|
// replaceStandNumList: [],
|
||||||
ZCCTime: '', // 在产车实施日期
|
replacedStandNum: '',
|
||||||
XCXTime: '', // 新车型实施日期
|
synopsis: '', // 内容摘要
|
||||||
energyKind: '', // 能源类型
|
// category: '', // 所属类别
|
||||||
|
standSort: '', // 标准类别
|
||||||
|
txlbOption:'', //标准体系
|
||||||
|
gxhbq:'', //标签
|
||||||
|
wscysd:'', //我司参与深度
|
||||||
|
gkglbm:'', //归口管理部门
|
||||||
|
ssrq:'',//实施日期
|
||||||
|
scxssrq:''//新车型实施日期
|
||||||
|
,zccssrq:''//在产车实施日期
|
||||||
|
,qcdw:''//起草单位
|
||||||
|
,nylx:''//能源类型
|
||||||
|
,cllx:''//适用车型
|
||||||
|
,syrz:''//适用认证
|
||||||
|
,zrgcs:''//责任工程师
|
||||||
|
,cbbh:''//采标编号
|
||||||
|
,cbcd:''//采标程度
|
||||||
|
,yybj:''//引用标准
|
||||||
|
,byybj:''//被引用标准
|
||||||
|
,txlb:''//体系类别
|
||||||
}, // 分页查询过程中用到的对象
|
}, // 分页查询过程中用到的对象
|
||||||
// 树形结构
|
// 树形结构
|
||||||
// tree function
|
// tree function
|
||||||
@@ -4720,7 +4738,7 @@ export default {
|
|||||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||||
this.standStateOptions = res.data.WBZTCLASS // 文本状态
|
this.standStateOptions = res.data.WBZTCLASS // 文本状态
|
||||||
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
|
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
|
||||||
this.applyArcticOptions = res.data.SYCXCLASS // 适用车型
|
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
|
||||||
this.categoryOptions = res.data.NYLXCLASS // 能源类型
|
this.categoryOptions = res.data.NYLXCLASS // 能源类型
|
||||||
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
|
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
|
||||||
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
||||||
@@ -4733,7 +4751,7 @@ export default {
|
|||||||
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.syzrOptions = res.data.SYRZCLASS // 适用认证
|
this.syrzOptions = res.data.SYRZCLASS // 适用认证
|
||||||
this.getGzzOption()
|
this.getGzzOption()
|
||||||
this.setMap(this.standStateOptions)
|
this.setMap(this.standStateOptions)
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|||||||
+103
-3
@@ -4,18 +4,25 @@
|
|||||||
<!--左侧树-->
|
<!--左侧树-->
|
||||||
<div class="tree-content" :class="{ 'tree-closed': sideClose }" >
|
<div class="tree-content" :class="{ 'tree-closed': sideClose }" >
|
||||||
<div class="tree">
|
<div class="tree">
|
||||||
|
<el-input
|
||||||
|
placeholder="输入树状图体系"
|
||||||
|
v-model="filterText">
|
||||||
|
</el-input>
|
||||||
<el-tree
|
<el-tree
|
||||||
ref="tree"
|
ref="tree"
|
||||||
node-key="id"
|
node-key="id"
|
||||||
class="filter-tree"
|
class="tree-line"
|
||||||
|
icon-class="icon-tree"
|
||||||
|
:indent="0"
|
||||||
:props="props"
|
:props="props"
|
||||||
:data="treeList"
|
:data="treeList"
|
||||||
highlight-current
|
highlight-current
|
||||||
@node-click="treeClick"
|
@node-click="treeClick"
|
||||||
|
:filter-node-method="filterNode"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
:expand-on-click-node="false">
|
:expand-on-click-node="false">
|
||||||
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
|
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
|
||||||
<span> {{ node.label}} </span>
|
<span :class="data.children.length !== 0 ? 'is-show' : 'is-leaf-none'"></span> <span> {{ node.label}} </span>
|
||||||
<span>
|
<span>
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
@@ -1021,6 +1028,7 @@ export default {
|
|||||||
// 唯一辨识
|
// 唯一辨识
|
||||||
dicId: ""
|
dicId: ""
|
||||||
},
|
},
|
||||||
|
filterText: '', // 企业标准库过滤
|
||||||
treeList: [],
|
treeList: [],
|
||||||
standId: '',
|
standId: '',
|
||||||
visibleOrgTable: false,
|
visibleOrgTable: false,
|
||||||
@@ -3434,7 +3442,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {},
|
watch: {
|
||||||
|
filterText(val) {
|
||||||
|
this.$refs.tree.filter(val);
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
// 是否拥有拖拽权限
|
// 是否拥有拖拽权限
|
||||||
hasPermissionDrag () {
|
hasPermissionDrag () {
|
||||||
@@ -3491,6 +3503,94 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
/deep/ .icon-tree {
|
||||||
|
margin:0 5px 0 10px;
|
||||||
|
position:relative;
|
||||||
|
background:url('~@/assets/images/shangqi/img/tree-add.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .expanded{
|
||||||
|
background:url('~@/assets/images/shangqi/img/tree-sub.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .is-leaf{
|
||||||
|
background-image:none;
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .is-leaf-none{
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
background:url('~@/assets/images/shangqi/img/none-file.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .is-show{
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
background:url('~@/assets/images/shangqi/img/tree.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/.tree-line{
|
||||||
|
.el-tree-node {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 0px; // 缩进量
|
||||||
|
line-height: 30px;
|
||||||
|
}
|
||||||
|
.el-tree-node__children {
|
||||||
|
padding-left: 16px; // 缩进量
|
||||||
|
}
|
||||||
|
|
||||||
|
// 竖线
|
||||||
|
.el-tree-node::before {
|
||||||
|
content: "";
|
||||||
|
height: 100%;
|
||||||
|
width: 1px;
|
||||||
|
position: absolute;
|
||||||
|
left: -3px;
|
||||||
|
top: -26px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-left: 1px dashed #858990e0;
|
||||||
|
}
|
||||||
|
// 当前层最后一个节点的竖线高度固定
|
||||||
|
.el-tree-node:last-child::before {
|
||||||
|
height: 38px; // 可以自己调节到合适数值
|
||||||
|
}
|
||||||
|
|
||||||
|
// 横线
|
||||||
|
.el-tree-node::after {
|
||||||
|
content: "";
|
||||||
|
width: 11px;
|
||||||
|
height: 20px;
|
||||||
|
position: absolute;
|
||||||
|
left: -3px;
|
||||||
|
top: 12px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-top: 1px dashed #858990e0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 去掉最顶层的虚线,放最下面样式才不会被上面的覆盖了
|
||||||
|
& > .el-tree-node::after {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
& > .el-tree-node::before {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 展开关闭的icon
|
||||||
|
.el-tree-node__expand-icon{
|
||||||
|
font-size: 16px;
|
||||||
|
// 叶子节点(无子节点)
|
||||||
|
&.is-leaf{
|
||||||
|
color: transparent;
|
||||||
|
// display: none; // 也可以去掉
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/mixins';
|
@import '~@/assets/styles/mixins';
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
|
|||||||
@@ -239,7 +239,7 @@
|
|||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'e8d690904ee1895dd0d17d9c794fbcd7'">编辑</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'e8d690904ee1895dd0d17d9c794fbcd7'">编辑</el-dropdown-item>
|
||||||
<!-- <el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="'413e676a155d6eb2dfbe08df8cbcf682'">分享</el-dropdown-item>-->
|
<!-- <el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="'413e676a155d6eb2dfbe08df8cbcf682'">分享</el-dropdown-item>-->
|
||||||
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'413e676a155d6eb2dfbe08df8cbcf682'">删除</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'dbaf9df2990a595c8abea28e68b1a681'">删除</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -391,8 +391,8 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 是否纳入标准清单-->
|
<!-- 是否纳入标准清单-->
|
||||||
<el-form-item title="是否纳入标准清单" label="是否纳入标准清单">
|
<el-form-item label="是否纳入标准清单" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.isRelateAccess" class="advanced-one" placeholder="根据是否纳入标准清单查找">
|
<el-select v-model="sarStandardsSearch.isRelateAccess" placeholder="根据是否纳入标准清单查找">
|
||||||
<el-option value="yes" label="是"></el-option>
|
<el-option value="yes" label="是"></el-option>
|
||||||
<el-option value="no" label="否"></el-option>
|
<el-option value="no" label="否"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -400,7 +400,7 @@
|
|||||||
<!-- 实施日期-->
|
<!-- 实施日期-->
|
||||||
<el-form-item label="实施日期">
|
<el-form-item label="实施日期">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="sarStandardsSearch.putTime"
|
v-model="sarStandardsSearch.ssrq"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="根据实施日期查找">
|
placeholder="根据实施日期查找">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -408,7 +408,7 @@
|
|||||||
<!-- 新车型实施日期-->
|
<!-- 新车型实施日期-->
|
||||||
<el-form-item title="新车型实施日期" label="新车型实施日期">
|
<el-form-item title="新车型实施日期" label="新车型实施日期">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="sarStandardsSearch.XCXTime"
|
v-model="sarStandardsSearch.xcxssrq"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="根据新车型实施日期查找">
|
placeholder="根据新车型实施日期查找">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -416,14 +416,14 @@
|
|||||||
<!-- 在产车实施日期-->
|
<!-- 在产车实施日期-->
|
||||||
<el-form-item title="在产车实施日期" label="在产车实施日期">
|
<el-form-item title="在产车实施日期" label="在产车实施日期">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="sarStandardsSearch.ZCCTime"
|
v-model="sarStandardsSearch.zccssrq"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="根据在产车实施日期查找">
|
placeholder="根据在产车实施日期查找">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 归口管理部门-->
|
<!-- 归口管理部门-->
|
||||||
<el-form-item label="归口管理部门">
|
<el-form-item label="归口管理部门">
|
||||||
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据归口管理部门查找"
|
<el-input v-model="sarStandardsSearch.gkglbm" clearable placeholder="根据归口管理部门查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 起草单位-->
|
<!-- 起草单位-->
|
||||||
@@ -435,7 +435,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 我司参与深度-->
|
<!-- 我司参与深度-->
|
||||||
<el-form-item label="我司参与深度">
|
<el-form-item label="我司参与深度">
|
||||||
<el-select v-model="sarStandardsSearch.nameShow" placeholder="请选择我司参与深度" clearable
|
<el-select v-model="sarStandardsSearch.wscysd" placeholder="请选择我司参与深度" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in cysdOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in cysdOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -443,14 +443,14 @@
|
|||||||
|
|
||||||
<!-- 能源类型-->
|
<!-- 能源类型-->
|
||||||
<el-form-item label="能源类型">
|
<el-form-item label="能源类型">
|
||||||
<el-select v-model="sarStandardsSearch.energyKind" placeholder="请选择能源类型" clearable
|
<el-select v-model="sarStandardsSearch.nylx" placeholder="请选择能源类型" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in nylxOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in nylxOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 适用车型-->
|
<!-- 适用车型-->
|
||||||
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.applyArctic" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
<el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -464,9 +464,9 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 适用认证-->
|
<!-- 适用认证-->
|
||||||
<el-form-item label="适用认证">
|
<el-form-item label="适用认证">
|
||||||
<el-select v-model="sarStandardsSearch.syzr" placeholder="根据适用认证查找" clearable
|
<el-select v-model="sarStandardsSearch.syrz" placeholder="根据适用认证查找" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in syzrOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in syrzOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 责任部门-->
|
<!-- 责任部门-->
|
||||||
@@ -478,7 +478,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 责任工程师-->
|
<!-- 责任工程师-->
|
||||||
<el-form-item label="责任工程师">
|
<el-form-item label="责任工程师">
|
||||||
<el-select v-model="sarStandardsSearch.dutyEngineer" placeholder="根据责任工程师查找" clearable
|
<el-select v-model="sarStandardsSearch.zrgcs" placeholder="根据责任工程师查找" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -491,7 +491,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 代替标准号-->
|
<!-- 代替标准号-->
|
||||||
<el-form-item label="代替标准号">
|
<el-form-item label="代替标准号">
|
||||||
<el-input v-model="sarStandardsSearch.replaceStandNum" clearable placeholder="根据代替标准号查找"
|
<el-input v-model="sarStandardsSearch.dtbjh" clearable placeholder="根据代替标准号查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 关联模块-中文名称-->
|
<!-- 关联模块-中文名称-->
|
||||||
@@ -502,23 +502,23 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 采标编号-->
|
<!-- 采标编号-->
|
||||||
<el-form-item label="采标编号" prop="nameShow">
|
<el-form-item label="采标编号" prop="nameShow">
|
||||||
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据采标编号查找"
|
<el-input v-model="sarStandardsSearch.cbbh" clearable placeholder="根据采标编号查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 采标程度-->
|
<!-- 采标程度-->
|
||||||
<el-form-item label="采标程度" prop="standNumber">
|
<el-form-item label="采标程度" prop="standNumber">
|
||||||
<el-input v-model="sarStandardsSearch.standNumber" clearable
|
<el-input v-model="sarStandardsSearch.cbcd" clearable
|
||||||
placeholder="根据采标程度查找"
|
placeholder="根据采标程度查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 引用标准-->
|
<!-- 引用标准-->
|
||||||
<el-form-item label="引用标准">
|
<el-form-item label="引用标准">
|
||||||
<el-input v-model="sarStandardsSearch.citeStand" clearable placeholder="根据引用标准查找"
|
<el-input v-model="sarStandardsSearch.yybj" clearable placeholder="根据引用标准查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 被引用标准-->
|
<!-- 被引用标准-->
|
||||||
<el-form-item label="被引用标准">
|
<el-form-item label="被引用标准">
|
||||||
<el-input v-model="sarStandardsSearch.citedStand" clearable
|
<el-input v-model="sarStandardsSearch.byybj" clearable
|
||||||
placeholder="根据被引用标准查找"
|
placeholder="根据被引用标准查找"
|
||||||
@keyup.enter.native="btnSearch"></el-input>
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -530,6 +530,23 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
<!-- 标记-->
|
||||||
|
<!-- 标签-->
|
||||||
|
<el-form-item label="标签">
|
||||||
|
<el-input v-model="sarStandardsSearch.gxhbq" clearable
|
||||||
|
placeholder="根据被标签查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- 体系类别-->
|
||||||
|
<el-form-item label="体系类别">
|
||||||
|
<el-select v-model="sarStandardsSearch.txlb" placeholder="根据体系类别查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in txlbOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div class="demo-drawer-footer">
|
<div class="demo-drawer-footer">
|
||||||
@@ -1416,19 +1433,37 @@ export default {
|
|||||||
validFlag: '0',
|
validFlag: '0',
|
||||||
menuId: '',
|
menuId: '',
|
||||||
country: '',
|
country: '',
|
||||||
standNumber: '',
|
standNumber: '',//标准编号
|
||||||
standName: '',
|
standName: '',//标准名称
|
||||||
standState: '',
|
standState: '',
|
||||||
standNature: '',
|
standNature: '',//标准性质
|
||||||
issueTime: '',
|
issueTime: '',//标准发布时间
|
||||||
// applyArctic: '',
|
// applyArctic: '',
|
||||||
replaceStandNum: '',
|
dtbjh: '',//代替标准号
|
||||||
// replaceStandNumCope: '',
|
// replaceStandNumCope: '',
|
||||||
// replaceStandNumList: [],
|
// replaceStandNumList: [],
|
||||||
replacedStandNum: '',
|
replacedStandNum: '',
|
||||||
synopsis: '', // 内容摘要
|
synopsis: '', // 内容摘要
|
||||||
// category: '', // 所属类别
|
// category: '', // 所属类别
|
||||||
standSort: '' // 标准类别
|
standSort: '', // 标准类别
|
||||||
|
txlbOption:'', //标准体系
|
||||||
|
gxhbq:'', //标签
|
||||||
|
wscysd:'', //我司参与深度
|
||||||
|
gkglbm:'', //归口管理部门
|
||||||
|
ssrq:'',//实施日期
|
||||||
|
scxssrq:''//新车型实施日期
|
||||||
|
,zccssrq:''//在产车实施日期
|
||||||
|
,qcdw:''//起草单位
|
||||||
|
,nylx:''//能源类型
|
||||||
|
,cllx:''//适用车型
|
||||||
|
,syrz:''//适用认证
|
||||||
|
,zrgcs:''//责任工程师
|
||||||
|
,cbbh:''//采标编号
|
||||||
|
,cbcd:''//采标程度
|
||||||
|
,yybj:''//引用标准
|
||||||
|
,byybj:''//被引用标准
|
||||||
|
,txlb:''//体系类别
|
||||||
|
|
||||||
}, // 分页查询过程中用到的对象
|
}, // 分页查询过程中用到的对象
|
||||||
loading: false,
|
loading: false,
|
||||||
isCollapse: true,
|
isCollapse: true,
|
||||||
@@ -1484,6 +1519,10 @@ export default {
|
|||||||
categoryConfigOptions: [], // 所属类别下拉框
|
categoryConfigOptions: [], // 所属类别下拉框
|
||||||
assemClassOptions: [], // 总成分类下拉框
|
assemClassOptions: [], // 总成分类下拉框
|
||||||
standAttributeList: [],
|
standAttributeList: [],
|
||||||
|
qcdwOptions:[],//起草单位下拉框
|
||||||
|
cysdOptions:[], //我司参与深度下拉框
|
||||||
|
nylxOptions:[],//能源类型下拉框
|
||||||
|
syrzOptions:[],//适用认证下拉框
|
||||||
// 树形结构
|
// 树形结构
|
||||||
// tree function
|
// tree function
|
||||||
MoveTest: '',
|
MoveTest: '',
|
||||||
@@ -4276,13 +4315,17 @@ export default {
|
|||||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
this.countryOptions = res.data.COUNTRY
|
this.countryOptions = res.data.COUNTRY
|
||||||
this.regionOptions = res.data.REGION // 区域
|
this.regionOptions = res.data.REGION // 区域
|
||||||
this.applyArcticOptions = res.data.PRODUCTTYPE // 根据需求文档,产品类别对应标准属性中的“适用车型”
|
this.applyArcticOptions = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车型”
|
||||||
this.adoptExtentOptions = res.data.DEGREESTANDARD
|
this.adoptExtentOptions = res.data.DEGREESTANDARD
|
||||||
this.emergyKindOptions = res.data.ENERGYTYPES
|
this.emergyKindOptions = res.data.ENERGYTYPES
|
||||||
this.assemClassOptions = res.data.ASSEMCLASSIFY // 总成分类
|
this.assemClassOptions = res.data.ASSEMCLASSIFY // 总成分类
|
||||||
this.categoryConfigOptions = res.data.CATEGORY
|
this.categoryConfigOptions = res.data.CATEGORY
|
||||||
this.standAttributeList = res.data.RULETYPE
|
this.standAttributeList = res.data.RULETYPE
|
||||||
this.qcdwOptions = res.data.QCDW
|
this.qcdwOptions = res.data.QCDW
|
||||||
|
this.cysdOptions=res.data.WSCYSD;
|
||||||
|
this.nylxOptions=res.data.NYLXCLASS;//能源类型
|
||||||
|
this.syrzOptions=res.data.SYRZCLASS;//适用认证
|
||||||
|
|
||||||
this.getGzzOption()
|
this.getGzzOption()
|
||||||
this.setMap(this.standStateOptions)
|
this.setMap(this.standStateOptions)
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|||||||
@@ -1082,7 +1082,6 @@ export default {
|
|||||||
this.localProTableSearch = { ...this.localProTableSearchDefault };
|
this.localProTableSearch = { ...this.localProTableSearchDefault };
|
||||||
this.projectLibrarySearch = { ...this.projectLibrarySearchDefault };
|
this.projectLibrarySearch = { ...this.projectLibrarySearchDefault };
|
||||||
this.localProTableSearch.page = 1;
|
this.localProTableSearch.page = 1;
|
||||||
this.isAdvancedSearch = false;
|
|
||||||
this.getLocalProductTable();
|
this.getLocalProductTable();
|
||||||
},
|
},
|
||||||
resolveTime(data) {
|
resolveTime(data) {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="category"
|
prop="category"
|
||||||
label="标准"
|
label="标准/政策"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click.stop="handlePreview(scope.row)">{{ scope.row.category }}</a>
|
<a class="table-jump" @click.stop="handlePreview(scope.row)">{{ scope.row.category }}</a>
|
||||||
|
|||||||
@@ -233,7 +233,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="AllBoxContent" v-html="item.textContent"></div>
|
<div class="AllBoxContent" v-html="item.textContent"></div>
|
||||||
<div v-if="item.indexType !== 'items' && item.indexType !== 'msgdyinfo'" class="AllTime">
|
<div v-if="item.indexType !== 'items' && item.indexType !== 'msgdyinfo'" class="AllTime">
|
||||||
<div style="margin-right: 15px;">发布日期11: {{ item.issue_time !== null && item.issue_time !== '' ? dateFormat2(item.issue_time) : '--' }} </div>
|
<div style="margin-right: 15px;">发布日期: {{ item.issue_time !== null && item.issue_time !== '' ? dateFormat2(item.issue_time) : '--' }} </div>
|
||||||
<!-- <div>{{$t('m.putTime')}}: {{ item.issue_time !== null && item.issue_time !== '' ? $dateFormat(new Date(item.put_time), 'yyyy-MM-dd') : '--' }} </div>-->
|
<!-- <div>{{$t('m.putTime')}}: {{ item.issue_time !== null && item.issue_time !== '' ? $dateFormat(new Date(item.put_time), 'yyyy-MM-dd') : '--' }} </div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user