稽查搜索栏操作时间添加提示
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
320451780b
commit
651175d8c2
|
|
@ -38,8 +38,8 @@
|
|||
<!-- 阅片标准 -->
|
||||
<el-form-item :label="$t('trials:auditRecord:table:criterion')">
|
||||
<el-select v-model="searchData.TrialReadingCriterionId" clearable filterable>
|
||||
<el-option v-for="(item, index) of trialCriterionList" :key="index" :label="item.TrialReadingCriterionName"
|
||||
:value="item.TrialReadingCriterionId" />
|
||||
<el-option v-for="(item, index) of trialCriterionList" :key="index"
|
||||
:label="item.TrialReadingCriterionName" :value="item.TrialReadingCriterionId" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 功能模块 -->
|
||||
|
|
@ -79,7 +79,9 @@
|
|||
<!-- 操作时间 -->
|
||||
<el-form-item :label="$t('trials:auditRecord:table:operateTime')">
|
||||
<el-date-picker v-model="timeList" @change="changeTimeList" value-format="yyyy-MM-dd HH:mm:ss"
|
||||
:default-time="['00:00:00', '23:59:59']" type="datetimerange">
|
||||
range-separator="-" :start-placeholder="$t('trials:auditRecord:placeholder:startTime')"
|
||||
:end-placeholder="$t('trials:auditRecord:placeholder:endTime')" :default-time="['00:00:00', '23:59:59']"
|
||||
type="datetimerange">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!--<el-form-item label="阅片人: ">-->
|
||||
|
|
@ -91,17 +93,17 @@
|
|||
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" @click="handleSearch"> {{ $t('common:button:search')
|
||||
}}</el-button>
|
||||
}}</el-button>
|
||||
<el-button type="primary" icon="el-icon-refresh-left" @click="handleReset"> {{ $t('common:button:reset')
|
||||
}}</el-button>
|
||||
}}</el-button>
|
||||
</el-form-item>
|
||||
</div>
|
||||
|
||||
</el-form>
|
||||
</template>
|
||||
<template slot="main-container">
|
||||
<el-table v-adaptive="{ bottomOffset: 60 }" v-loading="loading" :data="list" @sort-change="handleSortChange" stripe
|
||||
height="100" :default-sort="{ prop: 'CreateTime', order: 'descending' }">
|
||||
<el-table v-adaptive="{ bottomOffset: 60 }" v-loading="loading" :data="list" @sort-change="handleSortChange"
|
||||
stripe height="100" :default-sort="{ prop: 'CreateTime', order: 'descending' }">
|
||||
<el-table-column type="index" width="40" fixed="left" align="left" />
|
||||
<!-- 研究方案号 -->
|
||||
<!-- <el-table-column
|
||||
|
|
@ -217,11 +219,11 @@
|
|||
<template slot="dialog-body">
|
||||
<div style="display: flex;align-items: center;justify-content: flex-start;">
|
||||
<!-- 同一对象历史操作 -->
|
||||
<el-button size="small" style="position: relative;top: -15px;" type="primary"
|
||||
@click="lookAssociated(1)">{{ $t('trials:auditRecord:title:historicalOperations') }}</el-button>
|
||||
<el-button size="small" style="position: relative;top: -15px;" type="primary" @click="lookAssociated(1)">{{
|
||||
$t('trials:auditRecord:title:historicalOperations') }}</el-button>
|
||||
<!-- 同一对象关联操作 -->
|
||||
<el-button size="small" style="position: relative;top: -15px;" type="primary"
|
||||
@click="lookAssociated(0)">{{ $t('trials:auditRecord:title:relationOperations') }}</el-button>
|
||||
<el-button size="small" style="position: relative;top: -15px;" type="primary" @click="lookAssociated(0)">{{
|
||||
$t('trials:auditRecord:title:relationOperations') }}</el-button>
|
||||
</div>
|
||||
<el-table v-if="auditData.length > 0" :data="auditData" border style="width: 100%" size="small"
|
||||
max-height="400">
|
||||
|
|
@ -247,9 +249,9 @@
|
|||
:ref="`${scope.row.oldValue instanceof Array ? scope.row.oldValue[0] : scope.row.oldValue}_modelCfg`"
|
||||
:images="imagesList">
|
||||
<!-- 查看图片 -->
|
||||
<span style="color:#409eff;cursor: pointer"
|
||||
@click="openImage(scope.row.oldValue, 'modelCfg')">{{ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
|
||||
instanceof Array ? `(${scope.row.oldValue.length})` : ''}}</span>
|
||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.oldValue, 'modelCfg')">{{
|
||||
$t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
|
||||
instanceof Array ? `(${scope.row.oldValue.length})` : '' }}</span>
|
||||
<template v-for="item of scope.row.oldValue">
|
||||
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item"
|
||||
v-show="false" crossorigin="anonymous" alt="">
|
||||
|
|
@ -285,9 +287,9 @@
|
|||
:ref="`${scope.row.newValue instanceof Array ? scope.row.newValue[0] : scope.row.newValue}_modelcfg`"
|
||||
:images="imagesList">
|
||||
<!-- 查看图片 -->
|
||||
<span style="color:#409eff;cursor: pointer"
|
||||
@click="openImage(scope.row.newValue, 'modelcfg')">{{ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
|
||||
instanceof Array ? `(${scope.row.newValue.length})` : ''}}</span>
|
||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.newValue, 'modelcfg')">{{
|
||||
$t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
|
||||
instanceof Array ? `(${scope.row.newValue.length})` : '' }}</span>
|
||||
<template v-for="item of scope.row.newValue">
|
||||
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item"
|
||||
v-show="false" crossorigin="anonymous" alt="">
|
||||
|
|
@ -310,7 +312,8 @@
|
|||
<viewer v-if="item.IsPicture" :images="imagesList" :ref="`${scope.row[item.ColumnValue]}_modelcfg`">
|
||||
<!-- 查看图片 -->
|
||||
<span style="color:#409eff;cursor: pointer"
|
||||
@click="openImage(scope.row[item.ColumnValue], 'modelcfg')">{{ $t('trials:auditRecord:title:viewImage') }}</span>
|
||||
@click="openImage(scope.row[item.ColumnValue], 'modelcfg')">{{
|
||||
$t('trials:auditRecord:title:viewImage') }}</span>
|
||||
<img :src="OSSclientConfig.basePath + scope.row[item.ColumnValue]" v-show="false"
|
||||
crossorigin="anonymous" alt="">
|
||||
</viewer>
|
||||
|
|
@ -333,7 +336,7 @@
|
|||
v-show="false" crossorigin="anonymous" alt="">
|
||||
</viewer>
|
||||
<span v-else>{{ scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index :
|
||||
ite.ColumnValue]}}</span>
|
||||
ite.ColumnValue] }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</template>
|
||||
|
|
@ -488,9 +491,9 @@
|
|||
:ref="scope.row.oldValue instanceof Array ? scope.row.oldValue[0] : scope.row.oldValue"
|
||||
:images="imagesList">
|
||||
<!-- 查看图片 -->
|
||||
<span style="color:#409eff;cursor: pointer"
|
||||
@click="openImage(scope.row.oldValue)">{{ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
|
||||
instanceof Array ? `(${scope.row.oldValue.length})` : ''}}</span>
|
||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.oldValue)">{{
|
||||
$t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
|
||||
instanceof Array ? `(${scope.row.oldValue.length})` : '' }}</span>
|
||||
<template v-for="item of scope.row.oldValue">
|
||||
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item"
|
||||
v-show="false" crossorigin="anonymous" alt="">
|
||||
|
|
@ -531,9 +534,9 @@
|
|||
:ref="scope.row.newValue instanceof Array ? scope.row.newValue[0] : scope.row.newValue"
|
||||
:images="imagesList">
|
||||
<!-- 查看图片 -->
|
||||
<span style="color:#409eff;cursor: pointer"
|
||||
@click="openImage(scope.row.newValue)">{{ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
|
||||
instanceof Array ? `(${scope.row.newValue.length})` : ''}}</span>
|
||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.newValue)">{{
|
||||
$t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
|
||||
instanceof Array ? `(${scope.row.newValue.length})` : '' }}</span>
|
||||
<template v-for="item of scope.row.newValue">
|
||||
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item"
|
||||
v-show="false" crossorigin="anonymous" alt="">
|
||||
|
|
@ -566,13 +569,14 @@
|
|||
:images="imagesList">
|
||||
<!-- 查看图片 -->
|
||||
<span style="color:#409eff;cursor: pointer"
|
||||
@click="openImage(scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue])">{{ $t('trials:auditRecord:title:viewImage') }}</span>
|
||||
@click="openImage(scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue])">{{
|
||||
$t('trials:auditRecord:title:viewImage') }}</span>
|
||||
<img
|
||||
:src="OSSclientConfig.basePath + scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]"
|
||||
v-show="false" crossorigin="anonymous" alt="">
|
||||
</viewer>
|
||||
<span v-else>{{ scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index :
|
||||
ite.ColumnValue]}}</span>
|
||||
ite.ColumnValue] }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<template v-else slot-scope="scope">
|
||||
|
|
@ -583,8 +587,8 @@
|
|||
<viewer v-if="item.IsPicture && item.IsPicture !== '--'" :ref="scope.row[item.ColumnValue]"
|
||||
:images="imagesList" :key="'ChildrenList' + index">
|
||||
<!-- 查看图片 -->
|
||||
<span style="color:#409eff;cursor: pointer"
|
||||
@click="openImage(scope.row[item.ColumnValue])">{{ $t('trials:auditRecord:title:viewImage') }}</span>
|
||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row[item.ColumnValue])">{{
|
||||
$t('trials:auditRecord:title:viewImage') }}</span>
|
||||
<img :src="OSSclientConfig.basePath + scope.row[item.ColumnValue]" v-show="false"
|
||||
crossorigin="anonymous" alt="">
|
||||
</viewer>
|
||||
|
|
@ -801,7 +805,7 @@ export default {
|
|||
|
||||
var item
|
||||
if (!v.IsEnable) return
|
||||
if (v.ApplyCriterionList && Array.isArray(v.ApplyCriterionList) && v.ApplyCriterionList.length > 0 && !v.ApplyCriterionList.includes(this.currentRow.CriterionType)) return false
|
||||
if (v.ApplyCriterionList && Array.isArray(v.ApplyCriterionList) && v.ApplyCriterionList.length > 0 && !v.ApplyCriterionList.includes(this.currentRow.CriterionType)) return false
|
||||
if (v.IsShowByTrialConfig) {
|
||||
if (!parentRow[v.TrialConfigRelyFieldName]) return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue