Commit a1ce2ef3 by 张超军

Merge branch 'dev_zwpt' of http://47.92.108.28/changchao/founder_vue into dev_zwpt

parents d710dc8e dc7a5bd6
<template> <template>
<div class="RAList" direction="vertical"> <div
class="RAList"
direction="vertical"
>
<!-- 一 --> <!-- 一 -->
<div class="head" v-if="showType == 1||showType ==3"> <div
class="head"
v-if="showType == 1||showType ==3"
>
<!-- <el-radio-group <!-- <el-radio-group
v-model="dataType" v-model="dataType"
class="chooseType" class="chooseType"
...@@ -15,19 +21,39 @@ ...@@ -15,19 +21,39 @@
@click.native.prevent="clickitemdataType(2)" @click.native.prevent="clickitemdataType(2)"
>案件</el-radio> >案件</el-radio>
</el-radio-group> --> </el-radio-group> -->
<div class="headLeft" style="display: flex;"> <div
class="headLeft"
style="display: flex;"
>
<div class='search barcode'> <div class='search barcode'>
<div class='item'> 条码号:</div> <div class='item'> 条码号:</div>
<el-input placeholder="请输入条码号" v-model.trim="barcode" maxlength="23" show-word-limit @keyup.enter.native="search" clearable> <el-input
placeholder="请输入条码号"
v-model.trim="barcode"
maxlength="23"
show-word-limit
@keyup.enter.native="search"
clearable
>
</el-input> </el-input>
</div> </div>
<div class="search ljfk"> <div class="search ljfk">
<div class="item">逻辑分库:</div> <div class="item">逻辑分库:</div>
<div v-show="showType==1"> <div v-show="showType==1">
<SelectCode codeUrl="/api/code/personLogic" width="10.5" :form="ruleForm" id="logicDatabase"></SelectCode> <SelectCode
codeUrl="/api/code/personLogic"
width="10.5"
:form="ruleForm"
id="logicDatabase"
></SelectCode>
</div> </div>
<div v-show="showType==3"> <div v-show="showType==3">
<SelectCode codeUrl="/api/code/caseLogic" width="10.5" :form="ruleForm" id="logicDatabase"></SelectCode> <SelectCode
codeUrl="/api/code/caseLogic"
width="10.5"
:form="ruleForm"
id="logicDatabase"
></SelectCode>
</div> </div>
<!-- <el-select <!-- <el-select
v-model="logicDatabase" v-model="logicDatabase"
...@@ -45,46 +71,104 @@ ...@@ -45,46 +71,104 @@
</div> </div>
<div class='search taskNumber'> <div class='search taskNumber'>
<div class='item'>任务号:</div> <div class='item'>任务号:</div>
<el-input placeholder="请输入任务号" v-model.trim="taskNumber" @keyup.enter.native="search" maxlength="14" show-word-limit clearable> <el-input
placeholder="请输入任务号"
v-model.trim="taskNumber"
@keyup.enter.native="search"
maxlength="14"
show-word-limit
clearable
>
</el-input> </el-input>
</div> </div>
<div class="search rkzt"> <div class="search rkzt">
<div class="item">入库状态:</div> <div class="item">入库状态:</div>
<el-select v-model="status" placeholder="请选择入库状态" @keyup.enter.native="search"> <el-select
<el-option v-for="item in statusoptions" :key="item.value" :label="item.label" :value="item.value"> v-model="status"
placeholder="请选择入库状态"
@keyup.enter.native="search"
>
<el-option
v-for="item in statusoptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<div class="search sjxz"> <div class="search sjxz">
<div class="item">时间选择:</div> <div class="item">时间选择:</div>
<el-date-picker @keyup.enter.native="search" v-model="startEndDate" type="daterange" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="{ <el-date-picker
@keyup.enter.native="search"
v-model="startEndDate"
type="daterange"
start-placeholder="开始日期"
end-placeholder="结束日期"
:picker-options="{
disabledDate: disabledDate, disabledDate: disabledDate,
}"> }"
>
</el-date-picker> </el-date-picker>
</div> </div>
</div> </div>
<div class="headRight"> <div class="headRight">
<el-button v-show="barcode!=''||ruleForm.logicDatabase!=''||taskNumber!=''||status!=null||startEndDate!=null" type="text" @click="clear">清空</el-button> <el-button
<el-button class="sx" @click="search">筛选</el-button> v-show="barcode!=''||ruleForm.logicDatabase!=''||taskNumber!=''||status!=null||startEndDate!=null"
type="text"
@click="clear"
>清空</el-button>
<el-button
class="sx"
@click="search"
>筛选</el-button>
</div> </div>
</div> </div>
<div class='head' v-if="showType==2"> <div
class='head'
v-if="showType==2"
>
<div class='search barcode'> <div class='search barcode'>
<div class='item'> 条码号:</div> <div class='item'> 条码号:</div>
<el-input @keyup.enter.native="search" placeholder="请输入条码号" v-model.trim="barcode" maxlength="23" show-word-limit clearable> <el-input
@keyup.enter.native="search"
placeholder="请输入条码号"
v-model.trim="barcode"
maxlength="23"
show-word-limit
clearable
>
</el-input> </el-input>
</div> </div>
<div class="search ljfk"> <div class="search ljfk">
<div class="item">查询类型:</div> <div class="item">查询类型:</div>
<el-select @keyup.enter.native="search" v-model="queryType" placeholder="请选择查询类型"> <el-select
<el-option v-for="item in queryTypeOptions" :key="item.value" :label="item.label" :value="item.value"> @keyup.enter.native="search"
v-model="queryType"
placeholder="请选择查询类型"
>
<el-option
v-for="item in queryTypeOptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<div class="search ljfk"> <div class="search ljfk">
<div class="item">逻辑分库:</div> <div class="item">逻辑分库:</div>
<el-select @keyup.enter.native="search" v-model="logicDatabase" placeholder="请选择逻辑分库"> <el-select
<el-option v-for="item in logicDatabaseoptions" :key="item.value" :label="item.label" :value="item.value"> @keyup.enter.native="search"
v-model="logicDatabase"
placeholder="请选择逻辑分库"
>
<el-option
v-for="item in logicDatabaseoptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
...@@ -99,32 +183,66 @@ ...@@ -99,32 +183,66 @@
</div> --> </div> -->
<div class="search rkzt"> <div class="search rkzt">
<div class="item">入库状态:</div> <div class="item">入库状态:</div>
<el-select v-model="status" placeholder="请选择入库状态"> <el-select
<el-option v-for="item in statusoptions" :key="item.value" :label="item.label" :value="item.value"> v-model="status"
placeholder="请选择入库状态"
>
<el-option
v-for="item in statusoptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<div class='search sjxz'> <div class='search sjxz'>
<div class='item'> 时间选择:</div> <div class='item'> 时间选择:</div>
<el-date-picker @keyup.enter.native="search" v-model="startEndDate" type="daterange" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="{ <el-date-picker
@keyup.enter.native="search"
v-model="startEndDate"
type="daterange"
start-placeholder="开始日期"
end-placeholder="结束日期"
:picker-options="{
disabledDate: disabledDate, disabledDate: disabledDate,
}"> }"
>
</el-date-picker> </el-date-picker>
</div> </div>
<div class="headRight"> <div class="headRight">
<el-button v-show="barcode!=''||queryType!=''||logicDatabase!=''||status!=null||startEndDate!=null" type="text" @click="clear">清空</el-button> <el-button
<el-button class="sx" @click="search">筛选</el-button> v-show="barcode!=''||queryType!=''||logicDatabase!=''||status!=null||startEndDate!=null"
type="text"
@click="clear"
>清空</el-button>
<el-button
class="sx"
@click="search"
>筛选</el-button>
</div> </div>
</div> </div>
<!-- 二 --> <!-- 二 -->
<div class="buttons"> <div class="buttons">
<div class="left"> <div class="left">
<el-radio-group v-model="showType" size="small"> <el-radio-group
<el-radio label="1" v-if="roleArr.includes('B-2-1')">人员 v-model="showType"
size="small"
>
<el-radio
label="1"
v-if="roleArr.includes('B-2-1')"
>人员
</el-radio> </el-radio>
<el-radio label="3" v-if="roleArr.includes('B-2-2')">案件 <el-radio
label="3"
v-if="roleArr.includes('B-2-2')"
>案件
</el-radio> </el-radio>
<el-radio label="2" v-if="roleArr.includes('B-2-3')">比中关系 <el-radio
label="2"
v-if="roleArr.includes('B-2-3')"
>比中关系
</el-radio> </el-radio>
</el-radio-group> </el-radio-group>
</div> </div>
...@@ -140,68 +258,154 @@ ...@@ -140,68 +258,154 @@
<!-- 三 --> <!-- 三 -->
<div class="options"> <div class="options">
<div class="left"> <div class="left">
<div class="btn" @click="batch" style="font-size:14px">批量操作</div> <div
class="btn"
@click="batch"
style="font-size:14px"
>批量操作</div>
</div> </div>
<div class="right"> <div class="right">
<div v-if="roleArr.includes('B-2-4')" class="btn" @click="isShowTjddlBtn" style="font-size:14px">添加到队列</div> <div
<div class="btn" v-clipboard:copy="copyNum" @click="getBarcodeSuccess(0)" v-clipboard:success="onCopy" v-clipboard:error="onError" style="font-size:14px"> v-if="roleArr.includes('B-2-4')"
class="btn"
@click="isShowTjddlBtn"
style="font-size:14px"
>添加到队列</div>
<div
class="btn"
v-clipboard:copy="copyNum"
@click="getBarcodeSuccess(0)"
v-clipboard:success="onCopy"
v-clipboard:error="onError"
style="font-size:14px"
>
复制入库失败编号 复制入库失败编号
</div> </div>
<div class="btn" v-clipboard:copy="copyNum" @click="getBarcodeSuccess(1)" v-clipboard:success="onCopy" v-clipboard:error="onError" style="font-size:14px"> <div
class="btn"
v-clipboard:copy="copyNum"
@click="getBarcodeSuccess(1)"
v-clipboard:success="onCopy"
v-clipboard:error="onError"
style="font-size:14px"
>
复制入库成功编号 复制入库成功编号
</div> </div>
<div class="btn" v-clipboard:copy="copyNum" @click="getBarcode" v-clipboard:success="onCopy" v-clipboard:error="onError" style="font-size:14px"> <div
class="btn"
v-clipboard:copy="copyNum"
@click="getBarcode"
v-clipboard:success="onCopy"
v-clipboard:error="onError"
style="font-size:14px"
>
复制条码 复制条码
</div> </div>
<div v-if='showType!=2' class="btn send" @click="isShowFcxBtn" style="font-size:14px">发查询</div> <div
v-if='showType!=2'
class="btn send"
@click="isShowFcxBtn"
style="font-size:14px"
>发查询</div>
</div> </div>
</div> </div>
<!--四 --> <!--四 -->
<el-tag style="width: 100%; color: #666666; margin-bottom: 16px" v-show="isShowTip"> <el-tag
style="width: 100%; color: #666666; margin-bottom: 16px"
v-show="isShowTip"
>
<span v-html="'&nbsp;&nbsp;'"></span> <span v-html="'&nbsp;&nbsp;'"></span>
<i class="iconfont icon-tanhao1" style="color: #055fe7; font-size: 16px; margin: 0 0.625rem;"></i> <i
class="iconfont icon-tanhao1"
style="color: #055fe7; font-size: 16px; margin: 0 0.625rem;"
></i>
已选择 已选择
<span style="color: #055fe7">{{ multipleSelection.length }}</span> 项​ <span style="color: #055fe7">{{ multipleSelection.length }}</span> 项​
<span v-html="'&nbsp;&nbsp;'"></span> <span v-html="'&nbsp;&nbsp;'"></span>
<!-- ​服务调用总计:<span v-html="'&nbsp;&nbsp;'"></span>36.4万 --> <!-- ​服务调用总计:<span v-html="'&nbsp;&nbsp;'"></span>36.4万 -->
<el-link type="primary" :underline="false" style="margin-left: 20px" @click="toggleSelection()">清除</el-link> <el-link
type="primary"
:underline="false"
style="margin-left: 20px"
@click="toggleSelection()"
>清除</el-link>
</el-tag> </el-tag>
<!-- 五 --> <!-- 五 -->
<div v-if="showType == 1 || showType == 3"> <div v-if="showType == 1 || showType == 3">
<el-table :class="{delSelection: !selectBoo}" :max-height="height" ref="multipleTable" :data="tableDate1" tooltip-effect="dark" style="width: 100%" row-key="sequenceNumber" :header-cell-style="{background:'#eef1f6',color:'#606266'}" :tree-props="{ <el-table
:class="{delSelection: !selectBoo}"
:max-height="height"
ref="multipleTable"
:data="tableDate1"
tooltip-effect="dark"
style="width: 100%"
row-key="sequenceNumber"
:header-cell-style="{background:'#eef1f6',color:'#606266'}"
:tree-props="{
children: 'pcImportRecordGrandchildren', children: 'pcImportRecordGrandchildren',
hasChildren: 'hasChildren', hasChildren: 'hasChildren',
}" @selection-change="handleSelectionChange" @expand-change="hadnlExpandChange"> }"
@selection-change="handleSelectionChange"
@expand-change="hadnlExpandChange"
>
<!-- @expand-change="hadnlExpandChange" --> <!-- @expand-change="hadnlExpandChange" -->
<el-table-column type="selection" :width="width5"> <el-table-column
type="selection"
:width="width5"
>
</el-table-column> </el-table-column>
<el-table-column prop="taskNumber" label="任务号" :width="width1"> <el-table-column
prop="taskNumber"
label="任务号"
:width="width1"
>
<template slot-scope="scope"> <template slot-scope="scope">
<svg-icon style=" <svg-icon
style="
width: 0.875rem; width: 0.875rem;
height: 0.6875rem; height: 0.6875rem;
margin-bottom: 0.125rem; margin-bottom: 0.125rem;
margin-left: 0.3125rem; margin-left: 0.3125rem;
" v-if="scope.row.pcImportRecordGrandchildren || scope.row.pcImportRecordGrandchildren === null" icon-class="tree_f"> "
v-if="scope.row.pcImportRecordGrandchildren || scope.row.pcImportRecordGrandchildren === null"
icon-class="tree_f"
>
</svg-icon> </svg-icon>
<svg-icon style=" <svg-icon
style="
width: 0.8125rem; width: 0.8125rem;
height: 0.375rem; height: 0.375rem;
margin: 0 0 0.1875rem 0; margin: 0 0 0.1875rem 0;
" v-else-if="!scope.row.pcImportRecordGrandchildren || scope.row.pcImportRecordGrandchildren !== null" icon-class="tree_c"></svg-icon> "
v-else-if="!scope.row.pcImportRecordGrandchildren || scope.row.pcImportRecordGrandchildren !== null"
icon-class="tree_c"
></svg-icon>
{{ {{
scope.row.pcImportRecordGrandchildren || scope.row.pcImportRecordGrandchildren === null scope.row.pcImportRecordGrandchildren || scope.row.pcImportRecordGrandchildren === null
? scope.row.taskNumber ? scope.row.taskNumber
: scope.row.taskNumber : scope.row.taskNumber
}} }}
<div v-show="scope.row.pcImportRecordGrandchildren && scope.row.pcImportRecordGrandchildren !== null" class="children-count"> <div
v-show="scope.row.pcImportRecordGrandchildren && scope.row.pcImportRecordGrandchildren !== null"
class="children-count"
>
{{ scope.row.pcImportRecordGrandchildren ? scope.row.pcImportRecordGrandchildren.length : 0 }} {{ scope.row.pcImportRecordGrandchildren ? scope.row.pcImportRecordGrandchildren.length : 0 }}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="fileName" label="文件名" :width="width2" show-overflow-tooltip> <el-table-column
prop="fileName"
label="文件名"
:width="width2"
show-overflow-tooltip
>
</el-table-column> </el-table-column>
<el-table-column prop="barcode" :label="showType == 1?'人员编号':'案事件编号'" :width="width1" show-overflow-tooltip> <el-table-column
prop="barcode"
:label="showType == 1?'人员编号':'案事件编号'"
:width="width1"
show-overflow-tooltip
>
</el-table-column> </el-table-column>
<!-- <el-table-column <!-- <el-table-column
prop="dataTypeName" prop="dataTypeName"
...@@ -209,38 +413,105 @@ ...@@ -209,38 +413,105 @@
:width="width3" :width="width3"
> >
</el-table-column> --> </el-table-column> -->
<el-table-column prop="logicBatabaseName" label="逻辑分库" :width="width1" show-overflow-tooltip> <el-table-column
prop="logicBatabaseName"
label="逻辑分库"
:width="width1"
show-overflow-tooltip
>
</el-table-column> </el-table-column>
<el-table-column prop="statusName" label="状态" :width="width6"> <el-table-column
prop="statusName"
label="状态"
:width="width6"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span class="zt1" v-if="scope.row.status==1"></span> <span
<span class="zt0" v-if="scope.row.status==0"></span> class="zt1"
v-if="scope.row.status==1"
></span>
<span
class="zt0"
v-if="scope.row.status==0"
></span>
<span>{{scope.row.statusName}}</span> <span>{{scope.row.statusName}}</span>
<!-- scope.row.status==1?'zt1':'zt0' --> <!-- scope.row.status==1?'zt1':'zt0' -->
<span v-if="scope.row.failReason" class="history"> <span
<el-tooltip class="item" effect="dark" placement="right"> v-if="scope.row.failReason"
class="history"
>
<el-tooltip
class="item"
effect="dark"
placement="right"
>
<div slot="content">{{scope.row.failReason}}</div> <div slot="content">{{scope.row.failReason}}</div>
<img src="../../assets/img/confirm/history2x.png" /> <img src="../../assets/img/confirm/history2x.png" />
</el-tooltip> </el-tooltip>
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" :width="width4"> <el-table-column
fixed="right"
label="操作"
:width="width4"
>
<template slot-scope="scope"> <template slot-scope="scope">
<div class="ops" v-if="scope.row.barcode" @click.stop='closeSelected'> <div
<el-tooltip class="item" effect="dark" content="编辑" placement="top" :open-delay="500" @click="handleClick(scope.row)"> class="ops"
<div class="icon bj" @click="handleClick(scope.row)"> v-if="scope.row.barcode"
<img src="../../assets/img/qbryk/bj.svg" alt="" /> @click.stop='closeSelected'
>
<el-tooltip
class="item"
effect="dark"
content="编辑"
placement="top"
:open-delay="500"
@click="handleClick(scope.row)"
>
<div
class="icon bj"
@click="handleClick(scope.row)"
>
<img
src="../../assets/img/qbryk/bj.svg"
alt=""
/>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="复制条码" placement="top" :open-delay="500"> <el-tooltip
<div class="icon bz" @click="getBarcode1(scope.row)"> class="item"
<img src="../../assets/img/qbryk/fz.svg" alt="" /> effect="dark"
content="复制条码"
placement="top"
:open-delay="500"
>
<div
class="icon bz"
@click="getBarcode1(scope.row)"
>
<img
src="../../assets/img/qbryk/fz.svg"
alt=""
/>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="发查询" placement="top" :open-delay="500"> <el-tooltip
<div class="icon look" @click="isShowFcxBtn1(scope.row)"> class="item"
<img src="../../assets/img/qbryk/search.svg" alt="" /> effect="dark"
content="发查询"
placement="top"
:open-delay="500"
>
<div
class="icon look"
@click="isShowFcxBtn1(scope.row)"
>
<img
src="../../assets/img/qbryk/search.svg"
alt=""
/>
</div> </div>
</el-tooltip> </el-tooltip>
</div> </div>
...@@ -249,50 +520,111 @@ ...@@ -249,50 +520,111 @@
</el-table> </el-table>
</div> </div>
<el-table class="bzTable" :class="{delSelection: !selectBoo}" v-if="showType == 2" :max-height="height" ref="multipleTable" :data="tableDate2" tooltip-effect="dark" style="width: 100%" row-key="sequenceNumber" :header-cell-style="{background:'#eef1f6',color:'#606266'}" :tree-props="{ <el-table
class="bzTable"
:class="{delSelection: !selectBoo}"
v-if="showType == 2"
:max-height="height"
ref="multipleTable"
:data="tableDate2"
tooltip-effect="dark"
style="width: 100%"
row-key="sequenceNumber"
:header-cell-style="{background:'#eef1f6',color:'#606266'}"
:tree-props="{
children: 'affirmImportRecordGrandchildren', children: 'affirmImportRecordGrandchildren',
hasChildren: 'hasChildren', hasChildren: 'hasChildren',
}" @selection-change="handleSelectionChange" @expand-change="hadnlExpandChangeBz"> }"
<el-table-column type="selection" :width="width5"> @selection-change="handleSelectionChange"
@expand-change="hadnlExpandChangeBz"
>
<el-table-column
type="selection"
:width="width5"
>
</el-table-column> </el-table-column>
<el-table-column prop="taskNumber" label="任务号" :width="width1"> <el-table-column
prop="taskNumber"
label="任务号"
:width="width1"
>
<template slot-scope="scope"> <template slot-scope="scope">
<svg-icon style=" <svg-icon
style="
width: 0.875rem; width: 0.875rem;
height: 0.6875rem; height: 0.6875rem;
margin-bottom: 0.125rem; margin-bottom: 0.125rem;
margin-left: 0.3125rem; margin-left: 0.3125rem;
" v-if="scope.row.affirmImportRecordGrandchildren || scope.row.affirmImportRecordGrandchildren === null" icon-class="tree_f"> "
v-if="scope.row.affirmImportRecordGrandchildren || scope.row.affirmImportRecordGrandchildren === null"
icon-class="tree_f"
>
</svg-icon> </svg-icon>
<svg-icon style=" <svg-icon
style="
width: 0.8125rem; width: 0.8125rem;
height: 0.375rem; height: 0.375rem;
margin: 0 0 0.1875rem 0; margin: 0 0 0.1875rem 0;
" v-else-if="!scope.row.affirmImportRecordGrandchildren || scope.row.affirmImportRecordGrandchildren !== null" icon-class="tree_c"></svg-icon> "
v-else-if="!scope.row.affirmImportRecordGrandchildren || scope.row.affirmImportRecordGrandchildren !== null"
icon-class="tree_c"
></svg-icon>
{{ {{
scope.row.affirmImportRecordGrandchildren || scope.row.affirmImportRecordGrandchildren === null scope.row.affirmImportRecordGrandchildren || scope.row.affirmImportRecordGrandchildren === null
? scope.row.taskNumber ? scope.row.taskNumber
: scope.row.taskNumber : scope.row.taskNumber
}} }}
<div v-show="scope.row.affirmImportRecordGrandchildren && scope.row.affirmImportRecordGrandchildren !== null" class="children-count"> <div
v-show="scope.row.affirmImportRecordGrandchildren && scope.row.affirmImportRecordGrandchildren !== null"
class="children-count"
>
{{ scope.row.affirmImportRecordGrandchildren ? scope.row.affirmImportRecordGrandchildren.length : 0 }} {{ scope.row.affirmImportRecordGrandchildren ? scope.row.affirmImportRecordGrandchildren.length : 0 }}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="fileName" label="文件名" :width="width1" show-overflow-tooltip> <el-table-column
prop="fileName"
label="文件名"
:width="width1"
show-overflow-tooltip
>
</el-table-column> </el-table-column>
<el-table-column prop="dataTypeName" label="查询类型" :width="width3"> <el-table-column
prop="dataTypeName"
label="查询类型"
:width="width3"
>
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if='scope.row.queryType==0' style="color: #fa9500;">{{scope.row.dataTypeName}}</div> <div
<div v-if='scope.row.queryType==1' style="color: #e60012;">{{scope.row.dataTypeName }}</div> v-if='scope.row.queryType==0'
<div v-if='scope.row.queryType==2' style="color: #00b47a;">{{scope.row.dataTypeName}}</div> style="color: #fa9500;"
<div v-if='scope.row.queryType==3' style="color: #055fe7;">{{scope.row.dataTypeName }}</div> >{{scope.row.dataTypeName}}</div>
<div
v-if='scope.row.queryType==1'
style="color: #e60012;"
>{{scope.row.dataTypeName }}</div>
<div
v-if='scope.row.queryType==2'
style="color: #00b47a;"
>{{scope.row.dataTypeName}}</div>
<div
v-if='scope.row.queryType==3'
style="color: #055fe7;"
>{{scope.row.dataTypeName }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="barcode" label="人员编号/案事件编号" :width="width1" show-overflow-tooltip> <el-table-column
prop="barcode"
label="人员编号/案事件编号"
:width="width1"
show-overflow-tooltip
>
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;flex-direction: row;"> <div style="display: flex;flex-direction: row;">
<div v-if="scope.row.srcBarcode && scope.row.destBarcode !== ''" style="margin-top:6px;margin-right: 5px;"> <div
v-if="scope.row.srcBarcode && scope.row.destBarcode !== ''"
style="margin-top:6px;margin-right: 5px;"
>
<div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div> <div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div>
<div style="width: 1px;height: 15px;background: #D8D8D8;margin-left: 3px;"></div> <div style="width: 1px;height: 15px;background: #D8D8D8;margin-left: 3px;"></div>
<div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div> <div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div>
...@@ -305,11 +637,19 @@ ...@@ -305,11 +637,19 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="logicBatabaseName" label="逻辑分库" :width="width1" show-overflow-tooltip> <el-table-column
prop="logicBatabaseName"
label="逻辑分库"
:width="width1"
show-overflow-tooltip
>
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;flex-direction: row;"> <div style="display: flex;flex-direction: row;">
<div v-if="scope.row.srcLogicName && scope.row.destLogicName !== ''" style="margin-top:6px;margin-right: 5px;"> <div
v-if="scope.row.srcLogicName && scope.row.destLogicName !== ''"
style="margin-top:6px;margin-right: 5px;"
>
<div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div> <div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div>
<div style="width: 1px;height: 15px;background: #D8D8D8;margin-left: 3px;"></div> <div style="width: 1px;height: 15px;background: #D8D8D8;margin-left: 3px;"></div>
<div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div> <div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div>
...@@ -322,36 +662,98 @@ ...@@ -322,36 +662,98 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="statusName" label="状态" :width="width6"> <el-table-column
prop="statusName"
label="状态"
:width="width6"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span class="zt1" v-if="scope.row.status==1"></span> <span
<span class="zt0" v-if="scope.row.status==0"></span> class="zt1"
v-if="scope.row.status==1"
></span>
<span
class="zt0"
v-if="scope.row.status==0"
></span>
<span>{{scope.row.statusName}}</span> <span>{{scope.row.statusName}}</span>
<!-- scope.row.status==1?'zt1':'zt0' --> <!-- scope.row.status==1?'zt1':'zt0' -->
<span v-if="scope.row.failReason" class="history"> <span
<el-tooltip class="item" effect="dark" placement="right"> v-if="scope.row.failReason"
class="history"
>
<el-tooltip
class="item"
effect="dark"
placement="right"
>
<div slot="content">{{scope.row.failReason}}</div> <div slot="content">{{scope.row.failReason}}</div>
<img src="../../assets/img/confirm/history2x.png" /> <img src="../../assets/img/confirm/history2x.png" />
</el-tooltip> </el-tooltip>
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" :width="width4"> <el-table-column
fixed="right"
label="操作"
:width="width4"
>
<template slot-scope="scope"> <template slot-scope="scope">
<div class="ops" v-if="scope.row.srcBarcode" @click.stop='closeSelected'> <div
<el-tooltip class="item" effect="dark" content="编辑" placement="top" :open-delay="500" @click="handleClick(scope.row)"> class="ops"
<div class="icon bj" @click="handleClick(scope.row)"> v-if="scope.row.srcBarcode"
<img src="../../assets/img/qbryk/bj.svg" alt="" /> @click.stop='closeSelected'
>
<!-- <el-tooltip
class="item"
effect="dark"
content="编辑"
placement="top"
:open-delay="500"
@click="handleClick(scope.row)"
>
<div
class="icon bj"
@click="handleClick(scope.row)"
>
<img
src="../../assets/img/qbryk/bj.svg"
alt=""
/>
</div> </div>
</el-tooltip> </el-tooltip> -->
<el-tooltip class="item" effect="dark" content="复制条码" placement="top" :open-delay="500"> <el-tooltip
<div class="icon bj" @click="getBarcode1(scope.row)"> class="item"
<img src="../../assets/img/qbryk/fz.svg" alt="" /> effect="dark"
content="复制条码"
placement="top"
:open-delay="500"
>
<div
class="icon bj"
@click="getBarcode1(scope.row)"
>
<img
src="../../assets/img/qbryk/fz.svg"
alt=""
/>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="发查询" placement="top" :open-delay="500"> <el-tooltip
<div class="icon look" @click="isShowFcxBtn1(scope.row)"> class="item"
<img src="../../assets/img/qbryk/search.svg" alt="" /> effect="dark"
content="发查询"
placement="top"
:open-delay="500"
>
<div
class="icon look"
@click="isShowFcxBtn1(scope.row)"
>
<img
src="../../assets/img/qbryk/search.svg"
alt=""
/>
</div> </div>
</el-tooltip> </el-tooltip>
<!-- <el-tooltip <!-- <el-tooltip
...@@ -373,23 +775,62 @@ ...@@ -373,23 +775,62 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<!-- 六 --> <!-- 六 -->
<div class="block" v-if="showType == 1|| showType == 3"> <div
class="block"
v-if="showType == 1|| showType == 3"
>
<span class="record">共{{ total1 }}条记录 第{{ currPage1 }}/{{Tpage1}}页</span> <span class="record">共{{ total1 }}条记录 第{{ currPage1 }}/{{Tpage1}}页</span>
<el-pagination class="paging" @size-change="handleSizeChange1" @current-change="handleCurrentChange1" :current-page="currPage1" :page-sizes="[10, 20, 30, 40]" background layout="prev, pager, next" :total="total1"> <el-pagination
class="paging"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"
:current-page="currPage1"
:page-sizes="[10, 20, 30, 40]"
background
layout="prev, pager, next"
:total="total1"
>
</el-pagination> </el-pagination>
</div> </div>
<div class="block" v-if="showType == 2"> <div
class="block"
v-if="showType == 2"
>
<span class="record">共{{ total2 }}条记录 第{{ currPage2 }}/{{Tpage2}}页</span> <span class="record">共{{ total2 }}条记录 第{{ currPage2 }}/{{Tpage2}}页</span>
<el-pagination class="paging" @size-change="handleSizeChange2" @current-change="handleCurrentChange2" :current-page="currPage2" :page-sizes="[10, 20, 30, 40]" background layout="prev, pager, next" :total="total2"> <el-pagination
class="paging"
@size-change="handleSizeChange2"
@current-change="handleCurrentChange2"
:current-page="currPage2"
:page-sizes="[10, 20, 30, 40]"
background
layout="prev, pager, next"
:total="total2"
>
</el-pagination> </el-pagination>
</div> </div>
<!-- 添加到队列弹窗 --> <!-- 添加到队列弹窗 -->
<tjddl :isShowTjddl="isShowTjddl" :rowData="rowData" :type="type" @closeTjddl="closeTjddl"></tjddl> <tjddl
:isShowTjddl="isShowTjddl"
:rowData="rowData"
:type="type"
@closeTjddl="closeTjddl"
></tjddl>
<!-- 复制数据弹窗 --> <!-- 复制数据弹窗 -->
<fztm :isShowFztm="isShowFztm" :rowData="rowData" :type="type" @closeFztm="closeFztm"></fztm> <fztm
:isShowFztm="isShowFztm"
:rowData="rowData"
:type="type"
@closeFztm="closeFztm"
></fztm>
<!-- 发查询弹窗 --> <!-- 发查询弹窗 -->
<fcx :isShowFcx="isShowFcx" :rowData="rowData" :type="type" @closeFcx="closeFcx"> <fcx
:isShowFcx="isShowFcx"
:rowData="rowData"
:type="type"
@closeFcx="closeFcx"
>
</fcx> </fcx>
</div> </div>
</template> </template>
...@@ -1078,33 +1519,8 @@ export default { ...@@ -1078,33 +1519,8 @@ export default {
handleClick (row) { handleClick (row) {
console.log(row); console.log(row);
if (this.showType == 1) { if (this.showType == 1) {
// 清除bus
this.$bus.off('ryzwbjImage');
this.$bus.off('ryzwbjType');
this.$bus.off('ryzwbjTDZ');
this.$bus.off('zwType');
this.$bus.off('setRxInfo')
this.$bus.off('openRyDaxx')
// 先清除路由懒加载
this.$store.commit('layout/delcachePageName', 'ryzwbj')
// 清除sessionStorage值
sessionStorage.clear()
this.$store.commit("rydaxx/setRyInfo", row);
this.$router.push("/ryzwbj/" + row.id + "/" + row.barcode); this.$router.push("/ryzwbj/" + row.id + "/" + row.barcode);
} else if (this.showType == 3) { } else if (this.showType == 3) {
// 清除bus
this.$bus.off('ajzwbjImage');
this.$bus.off('ajzwbjType');
this.$bus.off('ajzwbjTDZ');
this.$bus.off('zwType');
this.$bus.off('openAjDaxx');
this.$bus.off('updateList');
this.$bus.off('updateList_hand')
// 先清除路由懒加载
this.$store.commit('layout/delcachePageName', 'ajzwbj')
// 清除sessionStorage值
sessionStorage.clear()
this.$store.commit('ajdaxx/setAjInfo', row)
this.$router.push('/ajzwbj/' + row.id + '/' + row.barcode) this.$router.push('/ajzwbj/' + row.id + '/' + row.barcode)
} else if (this.showType == 2) { } else if (this.showType == 2) {
console.log(row) console.log(row)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment