合并分支 'feature_dev_20221125_YW' 到 'master'

Feature dev 20221125 yw

查看合并请求 laws-nio/laws-weilai!259
This commit is contained in:
高嵩
2022-12-12 19:42:15 +08:00
15 changed files with 709 additions and 56 deletions
@@ -55,18 +55,18 @@
</span>
<span slot="operationzr" slot-scope="record">
<span v-if='currentPersonRole === "homo"'>
<!-- 认证工程师 -->
<!-- 责任领域 -->
<span
v-if='record.state == "待发起收集" || record.state == "工程接口人退回" || record.state == "To be collected" || record.state == "Rejected by eng. interface"'>
<span :title='record.dataValue'
@click='ondataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined')? '--': record.dataValue }}</span>
@click='ondataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined' || record.dataValue == '')? '--': record.dataValue }}</span>
</span>
<span v-else>
<span :title='record.dataValue' @click='dataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined')? '--': record.dataValue }}</span>
<span :title='record.dataValue' @click='dataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined' || record.dataValue == '')? '--': record.dataValue }}</span>
</span>
</span>
<span v-else>
<span :title='record.dataValue' @click='dataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined')? '--': record.dataValue }}</span>
<span :title='record.dataValue' @click='dataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined' || record.dataValue == '')? '--': record.dataValue }}</span>
</span>
</span>
@@ -489,8 +489,8 @@
console.log(res)
if (res.data.success) {
_this.$message.success(_this.$t('OperationSuccessful'))
// this.$refs['ruleFormOne'].resetFields()
_this.areaVisiblezr = false
this.$refs['ruleFormOne'].resetFields()
this.getLoginUserType()
} else {
_this.$message.warning(_this.$t('operationFailed'))
@@ -34,6 +34,7 @@
:placeholder="$t('pleaseEnter')"
v-model="record.remarks"/>
</span>
<!-- 历史记录-->
<template slot="Operation" slot-scope="text, record">
<a-button class="action-dict" @click="UpdateLog(record)">{{$t('historicalrecord')}}</a-button>
</template>
@@ -183,6 +184,11 @@
<span v-html="text"></span>
</a-tooltip>
</span>
<span slot="detailText" slot-scope="text,record">
<span class="text" :title="text">
{{text && text.length > 10?text.slice(0,9)+'...':text}}
</span>
</span>
</a-table>
<div class="page" v-if="dataSourcehistory.length > 0">
<a-pagination
@@ -338,6 +344,14 @@
ellipsis: true,
scopedSlots: { customRender: 'content' }
},
{
title: this.$t('remarks'),
dataIndex: 'remarks',
align: 'center',
ellipsis: true,
width: 180,
scopedSlots: { customRender: 'detailText' }
},
{
title: this.$t('OperationTime'),
dataIndex: 'createTime',