commit
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="search-area">
|
<div class="search-area">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<el-form :modal="historySearch" :inline="true" class="label-input-form" >
|
<el-form :modal="historySearch" :inline="true" class="label-input-form">
|
||||||
<el-form-item label="编号/名称" class="search-item">
|
<el-form-item label="编号/名称" class="search-item">
|
||||||
<el-input v-model="historySearch.standId"
|
<el-input v-model="historySearch.standId"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
@@ -25,47 +25,48 @@
|
|||||||
:maxlength="100"></el-input>
|
:maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="责任部门" class="search-item">
|
<el-form-item label="责任部门" class="search-item">
|
||||||
<el-input v-model="historySearch.responseUnit" v-show="false" />
|
<el-input v-model="historySearch.responseUnit" v-show="false"/>
|
||||||
<el-popover
|
<el-popover
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
popper-class="user-dept-popper"
|
popper-class="user-dept-popper"
|
||||||
trigger="click"
|
trigger="click"
|
||||||
:value="false"
|
:value="false"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
slot="reference"
|
slot="reference"
|
||||||
v-model="historySearch.responseUnitShow"
|
v-model="historySearch.responseUnitShow"
|
||||||
placeholder="根据责任部门查找"
|
placeholder="根据责任部门查找"
|
||||||
readonly
|
readonly
|
||||||
clearable
|
clearable
|
||||||
id="searchResp"
|
id="searchResp"
|
||||||
/>
|
/>
|
||||||
<div class="api">
|
<div class="api">
|
||||||
<laws-tree
|
<laws-tree
|
||||||
:zNodes="zNodesSItem"
|
:zNodes="zNodesSItem"
|
||||||
treeDivId="zNodesSItemSearch"
|
treeDivId="zNodesSItemSearch"
|
||||||
deptSelect
|
deptSelect
|
||||||
showRMenu
|
showRMenu
|
||||||
@treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"
|
@treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"
|
||||||
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
||||||
</laws-tree>
|
</laws-tree>
|
||||||
</div>
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
@click="getTableBtn">
|
@click="getTableBtn">
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
@click="clearAllSearch">清空</el-button>
|
@click="clearAllSearch">清空
|
||||||
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -73,166 +74,170 @@
|
|||||||
<div class="content">
|
<div class="content">
|
||||||
<loading :loading="loading">数据获取中</loading>
|
<loading :loading="loading">数据获取中</loading>
|
||||||
<el-table
|
<el-table
|
||||||
:data="historyList"
|
:data="historyList"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
height="100%"
|
height="100%"
|
||||||
border
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
@selection-change="handleRowChange"
|
@selection-change="handleRowChange"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
fixed="left"
|
fixed="left"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standId"
|
prop="standId"
|
||||||
width="180px"
|
width="180px"
|
||||||
label="标准编号/政策编号">
|
label="标准编号/政策编号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standId }}</a>
|
<a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standId }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
width="180px"
|
width="180px"
|
||||||
label="标准名称/政策名称">
|
label="标准名称/政策名称">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
<a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsNum"
|
prop="itemsNum"
|
||||||
label="产品类型">
|
label="产品类型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
label="实施时间">
|
label="实施时间">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productLine"
|
prop="productLine"
|
||||||
label="实施要求">
|
label="实施要求">
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column-->
|
||||||
|
<!-- prop="productName"-->
|
||||||
|
<!-- label="问题类型">-->
|
||||||
|
<!-- </el-table-column>-->
|
||||||
|
<el-table-column
|
||||||
|
prop="responsibleUnit"
|
||||||
|
width="110"
|
||||||
|
label="资源符合情况">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productName"
|
prop="dutyEngineer"
|
||||||
label="问题类型">
|
width="150px"
|
||||||
|
label="开发计划">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="responsibleUnit"
|
prop="responsibleUnit"
|
||||||
width="110"
|
label="责任部门">
|
||||||
label="资源符合情况">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="dutyEngineer"
|
prop="responsePeople"
|
||||||
width="150px"
|
width="100"
|
||||||
label="开发计划">
|
label="责任人">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="actualCloseTime"
|
prop="actualCloseTime"
|
||||||
width="150px"
|
width="150px"
|
||||||
sortable
|
sortable
|
||||||
label="要求关闭时间">
|
label="SOP时间">
|
||||||
<template slot-scope="scope">{{(scope.row.actualCloseTime ? scope.row.actualCloseTime.substring(0, 11): '')}}</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="authEngineer"
|
|
||||||
width="150px"
|
|
||||||
label="计划完成情况">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="qaEngineer"
|
|
||||||
width="320px"
|
|
||||||
label="SOP时间超过法规时间的空档期的业务应对方案">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="responsibleUnit"
|
|
||||||
label="责任部门">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="responsibleUnit"
|
|
||||||
width="100"
|
|
||||||
label="责任工程师">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="responsibleUnit"
|
|
||||||
width="120"
|
|
||||||
label="时间完成情况">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="actualCloseTime"
|
|
||||||
width="150px"
|
|
||||||
sortable
|
|
||||||
label="实际完成时间">
|
|
||||||
<template slot-scope="scope">{{(scope.row.actualCloseTime ? scope.row.actualCloseTime.substring(0, 11): '')}}</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div @click.stop style="display: inline-block">
|
{{ (scope.row.actualCloseTime ? scope.row.actualCloseTime.substring(0, 11) : '') }}
|
||||||
<el-dropdown trigger="click" @command="handleCommand">
|
|
||||||
<i class="iconfont"></i>
|
|
||||||
<el-dropdown-menu slot="dropdown">
|
|
||||||
<el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
|
|
||||||
</el-dropdown-menu>
|
|
||||||
</el-dropdown>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="authEngineer"
|
||||||
|
width="150px"
|
||||||
|
label="完成情况">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="responsibleUnit"
|
||||||
|
width="120"
|
||||||
|
label="关闭状态">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="qaEngineer"
|
||||||
|
width="320px"
|
||||||
|
label="SOP时间超过法规时间的空档期的业务应对方案">
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column-->
|
||||||
|
<!-- prop="actualCloseTime"-->
|
||||||
|
<!-- width="150px"-->
|
||||||
|
<!-- sortable-->
|
||||||
|
<!-- label="实际完成时间">-->
|
||||||
|
<!-- <template slot-scope="scope">-->
|
||||||
|
<!-- {{ (scope.row.actualCloseTime ? scope.row.actualCloseTime.substring(0, 11) : '') }}-->
|
||||||
|
<!-- </template>-->
|
||||||
|
<!-- </el-table-column>-->
|
||||||
|
<!-- <el-table-column label="操作" align="center" width="50" fixed="right">-->
|
||||||
|
<!-- <template slot-scope="scope">-->
|
||||||
|
<!-- <div @click.stop style="display: inline-block">-->
|
||||||
|
<!-- <el-dropdown trigger="click" @command="handleCommand">-->
|
||||||
|
<!-- <i class="iconfont"></i>-->
|
||||||
|
<!-- <el-dropdown-menu slot="dropdown">-->
|
||||||
|
<!-- <el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>-->
|
||||||
|
<!-- </el-dropdown-menu>-->
|
||||||
|
<!-- </el-dropdown>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </template>-->
|
||||||
|
<!-- </el-table-column>-->
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<pagination :page="pageNo" :total="total" @pageChange="pageChange" @pageSizeChange="pageSizeChange"></pagination>
|
<pagination :page="pageNo" :total="total" @pageChange="pageChange" @pageSizeChange="pageSizeChange"></pagination>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title='查看'
|
title='查看'
|
||||||
:visible.sync="historySee"
|
:visible.sync="historySee"
|
||||||
destroy-on-close
|
destroy-on-close
|
||||||
:wrapperClosable="false"
|
:wrapperClosable="false"
|
||||||
class="seeHisToryDraw"
|
class="seeHisToryDraw"
|
||||||
size="1000px"
|
size="1000px"
|
||||||
>
|
>
|
||||||
<div class="demo-drawer-content">
|
<div class="demo-drawer-content">
|
||||||
<div class="el-drawer-form" style="height: auto">
|
<div class="el-drawer-form" style="height: auto">
|
||||||
<el-form
|
<el-form
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="150px"
|
label-width="150px"
|
||||||
ref="nonAddForm"
|
ref="nonAddForm"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
:model="historySeeForm"
|
:model="historySeeForm"
|
||||||
>
|
>
|
||||||
<el-form-item class="add-form-item" label="标准编号:">
|
<el-form-item class="add-form-item" label="标准编号:">
|
||||||
<div class="seeItem">{{historySeeForm.standId}}</div>
|
<div class="seeItem">{{ historySeeForm.standId }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="标准名称:">
|
<el-form-item class="add-form-item" label="标准名称:">
|
||||||
<div class="seeItem">{{historySeeForm.standName}}</div>
|
<div class="seeItem">{{ historySeeForm.standName }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="条款号:">
|
<el-form-item class="add-form-item" label="条款号:">
|
||||||
<div class="seeItem">{{historySeeForm.itemsNum}}</div>
|
<div class="seeItem">{{ historySeeForm.itemsNum }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="条款名称:">
|
<el-form-item class="add-form-item" label="条款名称:">
|
||||||
<div class="seeItem">{{historySeeForm.itemsName}}</div>
|
<div class="seeItem">{{ historySeeForm.itemsName }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="产品线:">
|
<el-form-item class="add-form-item" label="产品线:">
|
||||||
<div class="seeItem">{{historySeeForm.productLine}}</div>
|
<div class="seeItem">{{ historySeeForm.productLine }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="项目名称:">
|
<el-form-item class="add-form-item" label="项目名称:">
|
||||||
<div class="seeItem">{{historySeeForm.productName}}</div>
|
<div class="seeItem">{{ historySeeForm.productName }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="责任部门:">
|
<el-form-item class="add-form-item" label="责任部门:">
|
||||||
<div class="seeItem">{{historySeeForm.responsibleUnit}}</div>
|
<div class="seeItem">{{ historySeeForm.responsibleUnit }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="责任工程师:">
|
<el-form-item class="add-form-item" label="责任工程师:">
|
||||||
<div class="seeItem">{{historySeeForm.dutyEngineer}}</div>
|
<div class="seeItem">{{ historySeeForm.dutyEngineer }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="认证工程师:">
|
<el-form-item class="add-form-item" label="认证工程师:">
|
||||||
<div class="seeItem">{{historySeeForm.authEngineer}}</div>
|
<div class="seeItem">{{ historySeeForm.authEngineer }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="质量工程师:">
|
<el-form-item class="add-form-item" label="质量工程师:">
|
||||||
<div class="seeItem">{{historySeeForm.qaEngineer}}</div>
|
<div class="seeItem">{{ historySeeForm.qaEngineer }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="要求关闭时间:">
|
<el-form-item class="add-form-item" label="要求关闭时间:">
|
||||||
<div class="seeItem">{{historySeeForm.actualCloseTime}}</div>
|
<div class="seeItem">{{ historySeeForm.actualCloseTime }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -241,11 +246,11 @@
|
|||||||
<div class="typeitem" v-for="(item, index) in historySeeForm.inconItemEOList" :key="index">
|
<div class="typeitem" v-for="(item, index) in historySeeForm.inconItemEOList" :key="index">
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">条款号:</div>
|
<div class="itemsLeft">条款号:</div>
|
||||||
<div class="itemsRight">{{item.itemNum}}</div>
|
<div class="itemsRight">{{ item.itemNum }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">涉及项目:</div>
|
<div class="itemsLeft">涉及项目:</div>
|
||||||
<div class="itemsRight">{{item.productNameShow}}</div>
|
<div class="itemsRight">{{ item.productNameShow }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">目前状态:</div>
|
<div class="itemsLeft">目前状态:</div>
|
||||||
@@ -254,100 +259,101 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">设计完成时间:</div>
|
<div class="itemsLeft">设计完成时间:</div>
|
||||||
<div class="itemsRight">{{(item.stepFirTime ? item.stepFirTime.substring(0, 10): '')}}</div>
|
<div class="itemsRight">{{ (item.stepFirTime ? item.stepFirTime.substring(0, 10) : '') }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">佐证材料:</div>
|
<div class="itemsLeft">佐证材料:</div>
|
||||||
<!-- <div class="itemsRight">{{item.supportFile}}</div>-->
|
<!-- <div class="itemsRight">{{item.supportFile}}</div>-->
|
||||||
<div class="itemsRight">
|
<div class="itemsRight">
|
||||||
<p
|
<p
|
||||||
class="files-title"
|
class="files-title"
|
||||||
v-for="(file, fileIndex) in item.supportFileList"
|
v-for="(file, fileIndex) in item.supportFileList"
|
||||||
:key="fileIndex"
|
:key="fileIndex"
|
||||||
>
|
>
|
||||||
<span>{{ file.oldFileName }}</span>
|
<span>{{ file.oldFileName }}</span>
|
||||||
<i title="下载" @click="downloadFile(file.id)" class="icon-download" />
|
<i title="下载" @click="downloadFile(file.id)" class="icon-download"/>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">备注信息:</div>
|
<div class="itemsLeft">备注信息:</div>
|
||||||
<div class="itemsRight">{{item.remark}}</div>
|
<div class="itemsRight">{{ item.remark }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">验证完成时间:</div>
|
<div class="itemsLeft">验证完成时间:</div>
|
||||||
<div class="itemsRight">{{(item.stepSecTime ? item.stepSecTime.substring(0, 10): '')}}</div>
|
<div class="itemsRight">{{ (item.stepSecTime ? item.stepSecTime.substring(0, 10) : '') }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">佐证材料:</div>
|
<div class="itemsLeft">佐证材料:</div>
|
||||||
<div class="itemsRight">
|
<div class="itemsRight">
|
||||||
<p
|
<p
|
||||||
class="files-title"
|
class="files-title"
|
||||||
v-for="(file, fileIndex) in item.secSupportFileList"
|
v-for="(file, fileIndex) in item.secSupportFileList"
|
||||||
:key="fileIndex"
|
:key="fileIndex"
|
||||||
>
|
>
|
||||||
<span>{{ file.oldFileName }}</span>
|
<span>{{ file.oldFileName }}</span>
|
||||||
<i title="下载" @click="downloadFile(file.id)" class="icon-download" />
|
<i title="下载" @click="downloadFile(file.id)" class="icon-download"/>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">备注信息:</div>
|
<div class="itemsLeft">备注信息:</div>
|
||||||
<div class="itemsRight">{{item.secRemark}}</div>
|
<div class="itemsRight">{{ item.secRemark }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">整改完成时间:</div>
|
<div class="itemsLeft">整改完成时间:</div>
|
||||||
<div class="itemsRight">{{(item.stepThiTime ? item.stepThiTime.substring(0, 10): '')}}</div>
|
<div class="itemsRight">{{ (item.stepThiTime ? item.stepThiTime.substring(0, 10) : '') }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">佐证材料:</div>
|
<div class="itemsLeft">佐证材料:</div>
|
||||||
<div class="itemsRight">
|
<div class="itemsRight">
|
||||||
<p
|
<p
|
||||||
class="files-title"
|
class="files-title"
|
||||||
v-for="(file, fileIndex) in item.thrSupportFileList"
|
v-for="(file, fileIndex) in item.thrSupportFileList"
|
||||||
:key="fileIndex"
|
:key="fileIndex"
|
||||||
>
|
>
|
||||||
<span>{{ file.oldFileName }}</span>
|
<span>{{ file.oldFileName }}</span>
|
||||||
<i title="下载" @click="downloadFile(file.id)" class="icon-download" />
|
<i title="下载" @click="downloadFile(file.id)" class="icon-download"/>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">备注信息:</div>
|
<div class="itemsLeft">备注信息:</div>
|
||||||
<div class="itemsRight">{{item.thrRemark}}</div>
|
<div class="itemsRight">{{ item.thrRemark }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">责任部门:</div>
|
<div class="itemsLeft">责任部门:</div>
|
||||||
<div class="itemsRight">{{item.responseUnitShow}}</div>
|
<div class="itemsRight">{{ item.responseUnitShow }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">责任工程师:</div>
|
<div class="itemsLeft">责任工程师:</div>
|
||||||
<div class="itemsRight">{{item.responseEnginShow}}</div>
|
<div class="itemsRight">{{ item.responseEnginShow }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typebox" v-if="historySeeForm.besureItemEOList != null && historySeeForm.besureItemEOList.length > 0">
|
<div class="typebox"
|
||||||
|
v-if="historySeeForm.besureItemEOList != null && historySeeForm.besureItemEOList.length > 0">
|
||||||
<el-divider content-position="left">待验证项</el-divider>
|
<el-divider content-position="left">待验证项</el-divider>
|
||||||
<div class="typeitem" v-for="(item, index) in historySeeForm.besureItemEOList" :key="index">
|
<div class="typeitem" v-for="(item, index) in historySeeForm.besureItemEOList" :key="index">
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">条款号:</div>
|
<div class="itemsLeft">条款号:</div>
|
||||||
<div class="itemsRight">{{item.itemNum}}</div>
|
<div class="itemsRight">{{ item.itemNum }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">涉及项目:</div>
|
<div class="itemsLeft">涉及项目:</div>
|
||||||
<div class="itemsRight">{{item.productNameShow}}</div>
|
<div class="itemsRight">{{ item.productNameShow }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">责任部门:</div>
|
<div class="itemsLeft">责任部门:</div>
|
||||||
<div class="itemsRight">{{item.responseUnitShow}}</div>
|
<div class="itemsRight">{{ item.responseUnitShow }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">责任工程师:</div>
|
<div class="itemsLeft">责任工程师:</div>
|
||||||
<div class="itemsRight">{{item.responseEnginShow}}</div>
|
<div class="itemsRight">{{ item.responseEnginShow }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">验证时间:</div>
|
<div class="itemsLeft">验证时间:</div>
|
||||||
<div class="itemsRight">{{(item.validTime ? item.validTime.substring(0, 11): '')}}</div>
|
<div class="itemsRight">{{ (item.validTime ? item.validTime.substring(0, 11) : '') }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="typeitems">
|
<div class="typeitems">
|
||||||
<div class="itemsLeft">验证结果:</div>
|
<div class="itemsLeft">验证结果:</div>
|
||||||
@@ -363,7 +369,7 @@
|
|||||||
export default {
|
export default {
|
||||||
name: 'BusinessDetails',
|
name: 'BusinessDetails',
|
||||||
components: {},
|
components: {},
|
||||||
data () {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
// 搜索条件字段
|
// 搜索条件字段
|
||||||
@@ -397,7 +403,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openFileInPdf (attId, oldFileName) {
|
openFileInPdf(attId, oldFileName) {
|
||||||
// 缺少文件
|
// 缺少文件
|
||||||
if (this.$hasPermission('ZWBGBNTL11')) {
|
if (this.$hasPermission('ZWBGBNTL11')) {
|
||||||
this.$http.get('lawss/sarStandFile/queryConvertAtt', {
|
this.$http.get('lawss/sarStandFile/queryConvertAtt', {
|
||||||
@@ -442,14 +448,14 @@ export default {
|
|||||||
this.$message.error('没有在线预览文档权限!')
|
this.$message.error('没有在线预览文档权限!')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFile (attId) {
|
downloadFile(attId) {
|
||||||
if (attId != null && attId !== '') {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选择要下载的文件')
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater (attId, fileSuffix) {
|
downloadFileByWater(attId, fileSuffix) {
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
||||||
} else {
|
} else {
|
||||||
@@ -460,7 +466,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
typeColor (row, type) {
|
typeColor(row, type) {
|
||||||
this.$confirm('确定修改此标准分级?', '提示', {
|
this.$confirm('确定修改此标准分级?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
@@ -477,21 +483,21 @@ export default {
|
|||||||
color = '#f00'
|
color = '#f00'
|
||||||
}
|
}
|
||||||
this.$http.postData('lawss/sarInconformInfo/updateInconformInfo',
|
this.$http.postData('lawss/sarInconformInfo/updateInconformInfo',
|
||||||
{
|
{
|
||||||
id: row.id,
|
id: row.id,
|
||||||
color: color
|
color: color
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.getTableBtn()
|
this.getTableBtn()
|
||||||
} else {
|
} else {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'error',
|
type: 'error',
|
||||||
message: '修改失败!'
|
message: '修改失败!'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
@@ -499,7 +505,7 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
detailsStandard (item) {
|
detailsStandard(item) {
|
||||||
this.$http.post('lawss/sarTestItem/validateStandNumber', {
|
this.$http.post('lawss/sarTestItem/validateStandNumber', {
|
||||||
standnumber: item.standNum
|
standnumber: item.standNum
|
||||||
}, {
|
}, {
|
||||||
@@ -517,29 +523,30 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getOrgTreeSource () {
|
getOrgTreeSource() {
|
||||||
this.$http.get('sys/org/getTree', {}, {_this: this},
|
this.$http.get('sys/org/getTree', {}, {_this: this},
|
||||||
res => {
|
res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
let treeNode = []
|
let treeNode = []
|
||||||
res.data.map((item, index) => {
|
res.data.map((item, index) => {
|
||||||
let treeItem = {}
|
let treeItem = {}
|
||||||
for (let key in item) {
|
for (let key in item) {
|
||||||
if (key === 'orgName') {
|
if (key === 'orgName') {
|
||||||
treeItem.name = item[key]
|
treeItem.name = item[key]
|
||||||
} else {
|
} else {
|
||||||
treeItem[key] = item[key]
|
treeItem[key] = item[key]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
treeNode[index] = treeItem
|
||||||
treeNode[index] = treeItem
|
})
|
||||||
})
|
this.zNodesSItem = treeNode
|
||||||
this.zNodesSItem = treeNode
|
// this.searchInlandNodes = treeNode
|
||||||
// this.searchInlandNodes = treeNode
|
}
|
||||||
}
|
}, e => {
|
||||||
}, e => {})
|
})
|
||||||
},
|
},
|
||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand(command) {
|
||||||
switch (command[1]) {
|
switch (command[1]) {
|
||||||
case '查看':
|
case '查看':
|
||||||
this.showUser(command[0])
|
this.showUser(command[0])
|
||||||
@@ -547,7 +554,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 查看方法
|
// 查看方法
|
||||||
showUser (row) {
|
showUser(row) {
|
||||||
this.historySeeForm = JSON.parse(JSON.stringify(row))
|
this.historySeeForm = JSON.parse(JSON.stringify(row))
|
||||||
this.historySee = true
|
this.historySee = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -566,30 +573,30 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 分页事件
|
// 分页事件
|
||||||
pageChange (page) {
|
pageChange(page) {
|
||||||
this.pageNo = page
|
this.pageNo = page
|
||||||
this.getTableBtn()
|
this.getTableBtn()
|
||||||
},
|
},
|
||||||
pageSizeChange (pageSize) {
|
pageSizeChange(pageSize) {
|
||||||
this.pageSize = this.$store.getters.userInfo.configContent
|
this.pageSize = this.$store.getters.userInfo.configContent
|
||||||
this.getTableBtn()
|
this.getTableBtn()
|
||||||
},
|
},
|
||||||
back () {
|
back() {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'NonConfomity'
|
name: 'NonConfomity'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 未符合项table selected事件
|
// 未符合项table selected事件
|
||||||
handleRowChange (selection) {
|
handleRowChange(selection) {
|
||||||
//
|
//
|
||||||
},
|
},
|
||||||
// 分页查询未符合项数据
|
// 分页查询未符合项数据
|
||||||
getTableBtn () {
|
getTableBtn() {
|
||||||
this.$http.get('sarStandUnqualified/sar-stand-unqualified/history', {
|
this.$http.get('sarStandUnqualified/sar-stand-unqualified/history', {
|
||||||
...this.historySearch,
|
...this.historySearch,
|
||||||
current: this.pageNo,
|
current: this.pageNo,
|
||||||
size: this.pageSize,
|
size: this.pageSize,
|
||||||
},{
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
@@ -616,12 +623,12 @@ export default {
|
|||||||
// }, e => {
|
// }, e => {
|
||||||
// })
|
// })
|
||||||
// },
|
// },
|
||||||
treeClickSearch (treeId, treeNode) {
|
treeClickSearch(treeId, treeNode) {
|
||||||
this.historySearch.responseUnit = treeNode.id
|
this.historySearch.responseUnit = treeNode.id
|
||||||
this.historySearch.responseUnitShow = treeNode.name
|
this.historySearch.responseUnitShow = treeNode.name
|
||||||
},
|
},
|
||||||
// 点击清空按钮事件
|
// 点击清空按钮事件
|
||||||
clearAllSearch () {
|
clearAllSearch() {
|
||||||
this.historySearch = {
|
this.historySearch = {
|
||||||
standNumOrName: '',
|
standNumOrName: '',
|
||||||
quesType: '',
|
quesType: '',
|
||||||
@@ -633,7 +640,7 @@ export default {
|
|||||||
/**
|
/**
|
||||||
* @Description: 跳转流程
|
* @Description: 跳转流程
|
||||||
*/
|
*/
|
||||||
processCenterClick (item) {
|
processCenterClick(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: 'ProcessDetail',
|
name: 'ProcessDetail',
|
||||||
query: {
|
query: {
|
||||||
@@ -643,15 +650,16 @@ export default {
|
|||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted() {
|
||||||
this.getTableBtn()
|
this.getTableBtn()
|
||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.historical-data{
|
.historical-data {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.laws-details-header {
|
.laws-details-header {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
// height: 30px;
|
// height: 30px;
|
||||||
@@ -662,6 +670,7 @@ export default {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -671,13 +680,16 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.content{
|
|
||||||
|
.content {
|
||||||
height: calc(~'100% - 56px - 107px');
|
height: calc(~'100% - 56px - 107px');
|
||||||
.iconClass{
|
|
||||||
|
.iconClass {
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.typebox {
|
.typebox {
|
||||||
.typeitem {
|
.typeitem {
|
||||||
border: 1px solid #f4f4f4;
|
border: 1px solid #f4f4f4;
|
||||||
@@ -685,32 +697,39 @@ export default {
|
|||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
.typeitems {
|
.typeitems {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.itemsLeft {
|
.itemsLeft {
|
||||||
min-width: 140px;
|
min-width: 140px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemsRight {
|
.itemsRight {
|
||||||
/*width: 150px;*/
|
/*width: 150px;*/
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
display: flex;
|
display: flex;
|
||||||
.files-title{
|
|
||||||
|
.files-title {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
a{
|
|
||||||
|
a {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #409EFF;
|
color: #409EFF;
|
||||||
}
|
}
|
||||||
a:hover{
|
|
||||||
|
a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
color: #409EFF;
|
color: #409EFF;
|
||||||
}
|
}
|
||||||
i{
|
|
||||||
|
i {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
width: 18px;
|
width: 18px;
|
||||||
@@ -721,23 +740,27 @@ 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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.seeHisToryDraw{
|
|
||||||
/deep/.el-form-item__content{
|
.seeHisToryDraw {
|
||||||
|
/deep/ .el-form-item__content {
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.add-form-item{
|
|
||||||
|
.add-form-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user