Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
+12
-4
@@ -47,7 +47,8 @@
|
|||||||
<div class="detail-content-content" v-for="(item,index) in resultData.resList">
|
<div class="detail-content-content" v-for="(item,index) in resultData.resList">
|
||||||
<a-checkbox :value="item.id" class="detail-checkbox">
|
<a-checkbox :value="item.id" class="detail-checkbox">
|
||||||
</a-checkbox>
|
</a-checkbox>
|
||||||
<div class="detail-content-content-text">
|
<div class="detail-content-content-text"
|
||||||
|
:class="{'detail-content-content-text-color':checkboxList.join(',').includes(item.id)}">
|
||||||
<div class="detail-content-content-text-left"
|
<div class="detail-content-content-text-left"
|
||||||
:class="{'detail-content-content-text-dis':isDisplay}">
|
:class="{'detail-content-content-text-dis':isDisplay}">
|
||||||
<div class="detail-content-left">
|
<div class="detail-content-left">
|
||||||
@@ -64,7 +65,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="detail-content-left-button" v-html="item.itemsTextRight"></div>
|
<div class="detail-content-left-button" v-html="item.itemsTextRight"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-content-bottom">
|
<div class="detail-content-bottom" :class="{'detail-content-bottom-color':checkboxList.join(',').includes(item.id)}">
|
||||||
<div class="detail-content-bottom-left"
|
<div class="detail-content-bottom-left"
|
||||||
:class="{'detail-content-bottom-left-text':language == 'en-us' ? true:false}"
|
:class="{'detail-content-bottom-left-text':language == 'en-us' ? true:false}"
|
||||||
:title="$t('comparisonDifferenceComment')">
|
:title="$t('comparisonDifferenceComment')">
|
||||||
@@ -89,7 +90,7 @@
|
|||||||
<div class="detail-content-content">
|
<div class="detail-content-content">
|
||||||
<a-checkbox @change="fullCheckboxChange" v-model="fullCheckbox" class="detail-checkbox">
|
<a-checkbox @change="fullCheckboxChange" v-model="fullCheckbox" class="detail-checkbox">
|
||||||
</a-checkbox>
|
</a-checkbox>
|
||||||
<div class="detail-content-content-text">
|
<div class="detail-content-content-text" :class="{'detail-content-content-text-color':fullCheckbox}">
|
||||||
<div class="detail-content-content-text-left"
|
<div class="detail-content-content-text-left"
|
||||||
:class="{'detail-content-content-text-dis':isDisplay}">
|
:class="{'detail-content-content-text-dis':isDisplay}">
|
||||||
<div class="detail-content-content-text-left-text" :title="resultData.comments">
|
<div class="detail-content-content-text-left-text" :title="resultData.comments">
|
||||||
@@ -533,6 +534,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.detail-content-content-text-color {
|
||||||
|
border: 1px solid #00B3BE;
|
||||||
|
background: rgba(0,179,190,0.0300);
|
||||||
|
}
|
||||||
|
|
||||||
.detail-content-left {
|
.detail-content-left {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -571,7 +577,9 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
.detail-content-bottom-color{
|
||||||
|
background: rgba(0,179,190,0.0300);
|
||||||
|
}
|
||||||
.detail-content-bottom-left {
|
.detail-content-bottom-left {
|
||||||
width: 115px;
|
width: 115px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|||||||
+2
-2
@@ -327,7 +327,7 @@
|
|||||||
if (detailRightColor && detailRightColor.length > 0) {
|
if (detailRightColor && detailRightColor.length > 0) {
|
||||||
detailRightColor[0].classList.remove('detail-content-content-right-data-color-right')
|
detailRightColor[0].classList.remove('detail-content-content-right-data-color-right')
|
||||||
}
|
}
|
||||||
if (item.targetStand && item.targetStand >= 0) {
|
if (item.targetStand > -1) {
|
||||||
let detailContent = document.getElementsByClassName('detail-content-content-right-right-top')
|
let detailContent = document.getElementsByClassName('detail-content-content-right-right-top')
|
||||||
let detailRight = document.getElementsByClassName('detail-content-content-right-data-right')
|
let detailRight = document.getElementsByClassName('detail-content-content-right-data-right')
|
||||||
this.dataRight = this.resultData.textRight[item.targetStand]
|
this.dataRight = this.resultData.textRight[item.targetStand]
|
||||||
@@ -357,7 +357,7 @@
|
|||||||
if (detailLeftColor && detailLeftColor.length > 0) {
|
if (detailLeftColor && detailLeftColor.length > 0) {
|
||||||
detailLeftColor[0].classList.remove('detail-content-content-right-data-color')
|
detailLeftColor[0].classList.remove('detail-content-content-right-data-color')
|
||||||
}
|
}
|
||||||
if (item.targetStand && item.targetStand >= 0) {
|
if (item.targetStand > -1) {
|
||||||
this.dataLeft = this.resultData.textLeft[item.targetStand]
|
this.dataLeft = this.resultData.textLeft[item.targetStand]
|
||||||
let detailContent = document.getElementsByClassName('detail-content-content-right-top')
|
let detailContent = document.getElementsByClassName('detail-content-content-right-top')
|
||||||
let detailLeft = document.getElementsByClassName('detail-content-content-right-data')
|
let detailLeft = document.getElementsByClassName('detail-content-content-right-data')
|
||||||
|
|||||||
@@ -26,34 +26,46 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'regulatoryCirculationHistory',
|
name: 'regulatoryCirculationHistory',
|
||||||
|
props: {
|
||||||
|
isTrue: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
}
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
columns: [
|
columnsAll: [
|
||||||
{
|
{
|
||||||
title: this.$t('OperationContent'),
|
title: this.$t('OperationContent'),
|
||||||
dataIndex: 'taskDefinitionKeyName',
|
dataIndex: 'taskDefinitionKeyName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '25%'
|
width: '20%'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: this.$t('opinion'),
|
||||||
|
dataIndex: 'approvalOpinion',
|
||||||
|
align: 'center',
|
||||||
|
width: '20%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Operator'),
|
title: this.$t('Operator'),
|
||||||
dataIndex: 'createBy',
|
dataIndex: 'createBy',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '25%'
|
width: '20%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('role'),
|
title: this.$t('role'),
|
||||||
dataIndex: 'operatorRoleName',
|
dataIndex: 'operatorRoleName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '25%'
|
width: '20%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('OperationTime'),
|
title: this.$t('OperationTime'),
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '25%',
|
width: '20%',
|
||||||
customRender: function(t, r, index) {
|
customRender: function(t, r, index) {
|
||||||
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
||||||
}
|
}
|
||||||
@@ -64,6 +76,20 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
columns() {
|
||||||
|
let columnsAll = JSON.parse(JSON.stringify(this.columnsAll))
|
||||||
|
if (!this.isTrue) {
|
||||||
|
for (let i = 0; i < columnsAll.length; i++) {
|
||||||
|
if (columnsAll[i].title == this.$t('opinion')) {
|
||||||
|
columnsAll.splice(i, 1)
|
||||||
|
i--
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return columnsAll
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
let query = {
|
let query = {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
@submit="submit"
|
@submit="submit"
|
||||||
@sendBack="sendBack"
|
@sendBack="sendBack"
|
||||||
/>
|
/>
|
||||||
<circulationHistory v-if="isDisplay"/>
|
<circulationHistory :isTrue="true" v-if="isDisplay"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<JLoading :loading="loading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
|
<JLoading :loading="loading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
|
||||||
|
|||||||
Reference in New Issue
Block a user