修改已知问题
This commit is contained in:
@@ -18,7 +18,6 @@ require('@/components/onlineForm/onlineForm')
|
|||||||
require('@/components/onlineForm/OnlineForm.css')
|
require('@/components/onlineForm/OnlineForm.css')
|
||||||
|
|
||||||
import Antd, { version } from 'ant-design-vue'
|
import Antd, { version } from 'ant-design-vue'
|
||||||
|
|
||||||
console.log('ant-design-vue version:', version)
|
console.log('ant-design-vue version:', version)
|
||||||
|
|
||||||
import Viser from 'viser-vue'
|
import Viser from 'viser-vue'
|
||||||
|
|||||||
@@ -290,7 +290,6 @@
|
|||||||
},
|
},
|
||||||
//处理列表中的点击事件
|
//处理列表中的点击事件
|
||||||
detailClick(item) {
|
detailClick(item) {
|
||||||
console.log('item.',item)
|
|
||||||
let newUrl = this.$router.resolve({
|
let newUrl = this.$router.resolve({
|
||||||
path: '/docManage/library/detail',
|
path: '/docManage/library/detail',
|
||||||
query: item
|
query: item
|
||||||
|
|||||||
@@ -38,9 +38,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a-card :bordered="false" class="card">
|
<a-card :bordered="false" class="card">
|
||||||
<div class="header-text">
|
<!-- <div class="header-text">-->
|
||||||
{{$t('listSubclauses')}}
|
<!-- {{$t('listSubclauses')}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="table-page-search-wrapper">
|
<div class="table-page-search-wrapper">
|
||||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
@@ -85,10 +85,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<!-- 导入-->
|
<!-- 导入-->
|
||||||
<div class="operator-text"
|
<!-- <div class="operator-text"-->
|
||||||
style="float: left;font-size: 16px;font-weight: 400;color: #040B29;">
|
<!-- style="float: left;font-size: 16px;font-weight: 400;color: #040B29;">-->
|
||||||
{{$t('DocumentStandard')}}
|
<!-- {{$t('DocumentStandard')}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="operator-text" v-has="'document:importZip'" v-if="isTrue">
|
<div class="operator-text" v-has="'document:importZip'" v-if="isTrue">
|
||||||
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" @getList="getPersonnelList"
|
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" @getList="getPersonnelList"
|
||||||
:accept="'.zip'"/>
|
:accept="'.zip'"/>
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
class="ant-table"
|
class="ant-table"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%',y:'calc(100vh - 445px)'}"
|
:scroll="{x: '100%',y:'calc(100vh - 200px)'}"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||||
@@ -141,7 +141,9 @@
|
|||||||
<a class="text-operation" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
|
<a class="text-operation" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="titleName" slot-scope="text,record" :title="text">
|
<span slot="titleName" slot-scope="text,record" :title="text">
|
||||||
{{text && text.length > 10 ? text.slice(0,9)+'...':text}}
|
<span class="textName">
|
||||||
|
{{text}}
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span slot="designDeliverableTemplateName" slot-scope="text,record">
|
<span slot="designDeliverableTemplateName" slot-scope="text,record">
|
||||||
<span>{{record.designDeliverableTypeName}}</span><br v-if="record.designDeliverableTypeName">
|
<span>{{record.designDeliverableTypeName}}</span><br v-if="record.designDeliverableTypeName">
|
||||||
@@ -243,6 +245,7 @@
|
|||||||
return {
|
return {
|
||||||
title: '维护虚拟清单',
|
title: '维护虚拟清单',
|
||||||
queryParam: {},
|
queryParam: {},
|
||||||
|
components: {},
|
||||||
visibleFile: false,
|
visibleFile: false,
|
||||||
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download',
|
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download',
|
||||||
dataSourceFile: [],
|
dataSourceFile: [],
|
||||||
@@ -285,7 +288,6 @@
|
|||||||
dataIndex: 'serialNumber',
|
dataIndex: 'serialNumber',
|
||||||
width: 180,
|
width: 180,
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
ellipsis: true,
|
|
||||||
scopedSlots: { customRender: 'titleName' }
|
scopedSlots: { customRender: 'titleName' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -294,7 +296,6 @@
|
|||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
width: 180,
|
width: 180,
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
ellipsis: true,
|
|
||||||
scopedSlots: { customRender: 'titleName' }
|
scopedSlots: { customRender: 'titleName' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -303,7 +304,6 @@
|
|||||||
dataIndex: 'subtitle',
|
dataIndex: 'subtitle',
|
||||||
width: 180,
|
width: 180,
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
ellipsis: true,
|
|
||||||
scopedSlots: { customRender: 'titleName' }
|
scopedSlots: { customRender: 'titleName' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -311,42 +311,42 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 150,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'region_dictText',
|
dataIndex: 'region_dictText'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('scopeOfApplication'),
|
title: this.$t('scopeOfApplication'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'shi4Yong4Fan4Wei2_dictText',
|
dataIndex: 'shi4Yong4Fan4Wei2_dictText'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('status'),
|
title: this.$t('status'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 100,
|
width: 100,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'state_dictText',
|
dataIndex: 'state_dictText'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('correspondingStandard'),
|
title: this.$t('correspondingStandard'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 140,
|
width: 140,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'correspondingStandard',
|
dataIndex: 'correspondingStandard'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('implementationCategory'),
|
title: this.$t('implementationCategory'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 140,
|
width: 140,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'implementType_dictText',
|
dataIndex: 'implementType_dictText'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('ImplementationDate'),
|
title: this.$t('ImplementationDate'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 200,
|
width: 200,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1',
|
dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('vehicleInProductionDate'),
|
title: this.$t('vehicleInProductionDate'),
|
||||||
@@ -820,6 +820,7 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
border-bottom: 2px #eff1f3 solid;
|
border-bottom: 2px #eff1f3 solid;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
z-index: 1000;
|
||||||
|
|
||||||
.Virtual-detail-title {
|
.Virtual-detail-title {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -933,6 +934,19 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.textName {
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
display: -webkit-box;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
/*! autoprefixer: off */
|
||||||
|
text-justify: inter-ideograph;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
/*! autoprefixer: on;*/
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
word-break: break-all
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
.box-input .ant-select-selection {
|
.box-input .ant-select-selection {
|
||||||
@@ -951,4 +965,5 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -134,7 +134,7 @@
|
|||||||
ref="table"
|
ref="table"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%',y:'calc(100vh - 400px)'}"
|
:scroll="{x: '100%',y:'calc(100vh - 200px)'}"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||||
@@ -157,7 +157,9 @@
|
|||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="titleName" slot-scope="text,record" :title="text">
|
<span slot="titleName" slot-scope="text,record" :title="text">
|
||||||
{{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }}
|
<span class="textName">
|
||||||
|
{{text}}
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span slot="designDeliverableTemplateName" slot-scope="text,record">
|
<span slot="designDeliverableTemplateName" slot-scope="text,record">
|
||||||
<span>{{ record.designDeliverableTypeName }}</span><br v-if="record.designDeliverableTypeName">
|
<span>{{ record.designDeliverableTypeName }}</span><br v-if="record.designDeliverableTypeName">
|
||||||
@@ -1559,6 +1561,19 @@
|
|||||||
height: 42px;
|
height: 42px;
|
||||||
line-height: 48px;
|
line-height: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.textName {
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
display: -webkit-box;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
/*! autoprefixer: off */
|
||||||
|
text-justify: inter-ideograph;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
/*! autoprefixer: on;*/
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
word-break: break-all
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
.box-input .ant-select-selection {
|
.box-input .ant-select-selection {
|
||||||
|
|||||||
@@ -130,12 +130,12 @@
|
|||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="Required">*</span>
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('verificationConfirmationDeadline')">
|
<span class="title-text-text" :title="$t('verificationAndConformityconfirmation')">
|
||||||
{{$t('verificationConfirmationDeadline')}}</span>
|
{{$t('verificationAndConformityconfirmation')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="verifyDeadline">
|
<a-form-model-item class="itemModel" prop="verifyDeadline">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('verificationConfirmationDeadline')"
|
:placeholder="$t('PleaseSelect')+$t('verificationAndConformityconfirmation')"
|
||||||
@change="dateChange({db_field_name:'verifyDeadline'})"
|
@change="dateChange({db_field_name:'verifyDeadline'})"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||||
@@ -219,19 +219,19 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
disabledRegistrationEndDate(endDate){
|
disabledRegistrationEndDate(endDate) {
|
||||||
const { attestationStartTime,attestationEndTime } = this.formInline;
|
const { attestationStartTime, attestationEndTime } = this.formInline
|
||||||
if(attestationEndTime && endDate.valueOf() > attestationEndTime.valueOf()){
|
if (attestationEndTime && endDate.valueOf() > attestationEndTime.valueOf()) {
|
||||||
return true;
|
return true
|
||||||
}
|
}
|
||||||
return endDate < moment(attestationStartTime).add( 'days');
|
return endDate < moment(attestationStartTime).add('days')
|
||||||
},
|
},
|
||||||
disabledRegistrationStartDate(StartDate){
|
disabledRegistrationStartDate(StartDate) {
|
||||||
const { attestationStartTime,attestationEndTime } = this.formInline;
|
const { attestationStartTime, attestationEndTime } = this.formInline
|
||||||
if(attestationEndTime && StartDate.valueOf() > attestationEndTime.valueOf()){
|
if (attestationEndTime && StartDate.valueOf() > attestationEndTime.valueOf()) {
|
||||||
return true;
|
return true
|
||||||
}
|
}
|
||||||
return StartDate > moment(attestationEndTime).add( 'days');
|
return StartDate > moment(attestationEndTime).add('days')
|
||||||
},
|
},
|
||||||
edit() {
|
edit() {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
@@ -347,7 +347,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title-text {
|
.title-text {
|
||||||
width: 194px;
|
width: 144px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|||||||
@@ -160,7 +160,9 @@
|
|||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
<span slot="standard" slot-scope="text,result">
|
<span slot="standard" slot-scope="text,result">
|
||||||
<a @click="standardClick(result)" :title="text">{{text}}</a>
|
<a @click="standardClick(result)" class="textName" :title="text">
|
||||||
|
{{text}}
|
||||||
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
@@ -201,16 +203,14 @@
|
|||||||
title: this.$t('standard'),
|
title: this.$t('standard'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'serialNumber',
|
||||||
ellipsis: true,
|
width: 170,
|
||||||
width: 180,
|
|
||||||
scopedSlots: { customRender: 'standard' }
|
scopedSlots: { customRender: 'standard' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
ellipsis: true,
|
width: 170,
|
||||||
width: 180,
|
|
||||||
scopedSlots: { customRender: 'standard' }
|
scopedSlots: { customRender: 'standard' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -456,4 +456,15 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.textName {
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
display: -webkit-box;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
/*! autoprefixer: off */
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
/*! autoprefixer: on;*/
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user