修改参数列表
This commit is contained in:
@@ -19,8 +19,12 @@
|
|||||||
<span slot="titleName" slot-scope="text,record" :title="text">
|
<span slot="titleName" slot-scope="text,record" :title="text">
|
||||||
{{ text }}
|
{{ text }}
|
||||||
</span>
|
</span>
|
||||||
|
<span slot="paramsName" slot-scope="text,record">
|
||||||
|
<span class="textName" :title="text">{{text}}</span>
|
||||||
|
</span>
|
||||||
<div :slot="'titleName'+(index+1)" v-for="(item,index) in content">
|
<div :slot="'titleName'+(index+1)" v-for="(item,index) in content">
|
||||||
<span v-if='item.isLock == 1' style='padding-right: 20px'><a-icon type="lock" theme="twoTone" two-tone-color="#00B3BE" /></span>
|
<span v-if='item.isLock == 1' style='padding-right: 20px'><a-icon type="lock" theme="twoTone"
|
||||||
|
two-tone-color="#00B3BE"/></span>
|
||||||
<span style='padding-right: 10px'>{{ item.db_field_txt }} </span>
|
<span style='padding-right: 10px'>{{ item.db_field_txt }} </span>
|
||||||
<a-button @click='onClickSee(item)'>{{$t('See')}}</a-button>
|
<a-button @click='onClickSee(item)'>{{$t('See')}}</a-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -155,7 +159,8 @@
|
|||||||
<div class="imports-footer">
|
<div class="imports-footer">
|
||||||
<div class="imports-footer-wrap">
|
<div class="imports-footer-wrap">
|
||||||
|
|
||||||
<a-button class="imports-btn imports-sub" :loading="confirmLoading" type="primary" @click="handleSubmitzr">{{$t('preservation')}}
|
<a-button class="imports-btn imports-sub" :loading="confirmLoading" type="primary" @click="handleSubmitzr">
|
||||||
|
{{$t('preservation')}}
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button class="imports-btn" type="primary" @click="cancel">{{$t('cancel')}}</a-button>
|
<a-button class="imports-btn" type="primary" @click="cancel">{{$t('cancel')}}</a-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -455,7 +460,11 @@
|
|||||||
// 责任领域 保存
|
// 责任领域 保存
|
||||||
handleSubmitzr(record) {
|
handleSubmitzr(record) {
|
||||||
let _this = this
|
let _this = this
|
||||||
let param = { dutyTerritory: this.Dateline.queryzr, ids: this.getquerySdtId,paramsManifestId: this.$route.query.id, }
|
let param = {
|
||||||
|
dutyTerritory: this.Dateline.queryzr,
|
||||||
|
ids: this.getquerySdtId,
|
||||||
|
paramsManifestId: this.$route.query.id
|
||||||
|
}
|
||||||
this.$refs.ruleFormOne.validate(valid => {
|
this.$refs.ruleFormOne.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
@@ -631,7 +640,7 @@
|
|||||||
let params = {
|
let params = {
|
||||||
paramsManifestId: paramsManifestid,
|
paramsManifestId: paramsManifestid,
|
||||||
flag: '7',
|
flag: '7',
|
||||||
userType:userType,
|
userType: userType
|
||||||
}
|
}
|
||||||
getAction(url, params).then((res) => {
|
getAction(url, params).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
@@ -666,10 +675,12 @@
|
|||||||
sorter: res.sort,
|
sorter: res.sort,
|
||||||
width: 160
|
width: 160
|
||||||
})
|
})
|
||||||
console.log(res)
|
|
||||||
this.columns[index].scopedSlots = {
|
this.columns[index].scopedSlots = {
|
||||||
customRender: 'titleName'
|
customRender: 'titleName'
|
||||||
}
|
}
|
||||||
|
if (res.db_field_name == 'nioNumber') {
|
||||||
|
this.columns[index].width = 100
|
||||||
|
}
|
||||||
if (res.click1) {
|
if (res.click1) {
|
||||||
this.columns[index].scopedSlots = {
|
this.columns[index].scopedSlots = {
|
||||||
customRender: 'operationzr'
|
customRender: 'operationzr'
|
||||||
@@ -691,6 +702,12 @@
|
|||||||
customRender: 'operationbtn'
|
customRender: 'operationbtn'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (res.db_field_name == 'paramsName') {
|
||||||
|
this.columns[index].width = 200
|
||||||
|
this.columns[index].scopedSlots = {
|
||||||
|
customRender: 'paramsName'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.columns = [...this.columns]
|
this.columns = [...this.columns]
|
||||||
@@ -707,7 +724,7 @@
|
|||||||
let params = {
|
let params = {
|
||||||
paramsManifestId: this.$route.query.id,
|
paramsManifestId: this.$route.query.id,
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize
|
||||||
// userTypes: this.currentPersonRole
|
// userTypes: this.currentPersonRole
|
||||||
}
|
}
|
||||||
let url
|
let url
|
||||||
@@ -912,6 +929,7 @@
|
|||||||
border: none !important;
|
border: none !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
//::v-deep .ant-table-row:first-child {
|
//::v-deep .ant-table-row:first-child {
|
||||||
// background: #fff!important;
|
// background: #fff!important;
|
||||||
// /*opacity: 0.9;*/
|
// /*opacity: 0.9;*/
|
||||||
@@ -952,6 +970,7 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.textfield {
|
.textfield {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
@@ -981,6 +1000,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.textName {
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
display: -webkit-box;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
/*! autoprefixer: off */
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
/*! autoprefixer: on;*/
|
||||||
|
text-justify: inter-ideograph;
|
||||||
|
word-break: break-all
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
.resize-table-th {
|
.resize-table-th {
|
||||||
|
|||||||
@@ -28,6 +28,9 @@
|
|||||||
|
|
||||||
<a-button @click='onClickTitle(record)'>{{$t('See')}}</a-button>
|
<a-button @click='onClickTitle(record)'>{{$t('See')}}</a-button>
|
||||||
</span>
|
</span>
|
||||||
|
<span slot="paramsName" slot-scope="text,record">
|
||||||
|
<span class="textName" :title="text">{{text}}</span>
|
||||||
|
</span>
|
||||||
<!-- <span slot="operationbtn" slot-scope="record">-->
|
<!-- <span slot="operationbtn" slot-scope="record">-->
|
||||||
<!-- <span v-if='currentPersonRole === "homo"'>-->
|
<!-- <span v-if='currentPersonRole === "homo"'>-->
|
||||||
<!--<!– 认证工程师 –>-->
|
<!--<!– 认证工程师 –>-->
|
||||||
@@ -99,7 +102,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 配置信息--->
|
<!-- 配置信息--->
|
||||||
<a-modal v-model="areaVisibleView" :title="$t('configurationInformation')" width='550px' :footer="null" @cancel="hideModal">
|
<a-modal v-model="areaVisibleView" :title="$t('configurationInformation')" width='550px' :footer="null"
|
||||||
|
@cancel="hideModal">
|
||||||
<div class="content-text">
|
<div class="content-text">
|
||||||
<div class="text-field">
|
<div class="text-field">
|
||||||
<span class="text-field-left" :title="$t('configurationName')">{{$t('configurationName')}}:</span>
|
<span class="text-field-left" :title="$t('configurationName')">{{$t('configurationName')}}:</span>
|
||||||
@@ -507,6 +511,9 @@
|
|||||||
this.columns[index].scopedSlots = {
|
this.columns[index].scopedSlots = {
|
||||||
customRender: 'titleName'
|
customRender: 'titleName'
|
||||||
}
|
}
|
||||||
|
if (res.db_field_name == 'nioNumber') {
|
||||||
|
this.columns[index].width = 100
|
||||||
|
}
|
||||||
if (res.click) {
|
if (res.click) {
|
||||||
// 工程接口人列表修改
|
// 工程接口人列表修改
|
||||||
this.columns[index].scopedSlots = {
|
this.columns[index].scopedSlots = {
|
||||||
@@ -518,6 +525,13 @@
|
|||||||
customRender: 'ParameterDescription'
|
customRender: 'ParameterDescription'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (res.db_field_name == 'paramsName') {
|
||||||
|
this.columns[index].width = 200
|
||||||
|
this.columns[index].ellipsis = false
|
||||||
|
this.columns[index].scopedSlots = {
|
||||||
|
customRender: 'paramsName'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.columns = [...this.columns]
|
this.columns = [...this.columns]
|
||||||
@@ -723,6 +737,7 @@
|
|||||||
border: none !important;
|
border: none !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .ant-table-row:first-child {
|
::v-deep .ant-table-row:first-child {
|
||||||
background: #fff !important;
|
background: #fff !important;
|
||||||
opacity: 0.9;
|
opacity: 0.9;
|
||||||
@@ -731,6 +746,7 @@
|
|||||||
::v-deep .ant-table-body {
|
::v-deep .ant-table-body {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textfield {
|
.textfield {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
@@ -759,6 +775,7 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-text {
|
.content-text {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -791,6 +808,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.textName {
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
display: -webkit-box;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
/*! autoprefixer: off */
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
/*! autoprefixer: on;*/
|
||||||
|
text-justify: inter-ideograph;
|
||||||
|
word-break: break-all
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
.resize-table-th {
|
.resize-table-th {
|
||||||
|
|||||||
+9
-2
@@ -60,7 +60,9 @@
|
|||||||
<span style="cursor: pointer"
|
<span style="cursor: pointer"
|
||||||
@click="fileClick(resultData.fileNameRight,resultData.fileIdRight)">{{resultData.fileNameRight}}</span>
|
@click="fileClick(resultData.fileNameRight,resultData.fileIdRight)">{{resultData.fileNameRight}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-content-header-content-rightOne" :title="$t('comparisonDifferenceComment')">
|
<div class="detail-content-header-content-rightOne"
|
||||||
|
:class="{'detail-content-header-content-rightOne-active':isDisplay}"
|
||||||
|
:title="$t('comparisonDifferenceComment')">
|
||||||
{{$t('comparisonDifferenceComment')}}
|
{{$t('comparisonDifferenceComment')}}
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-content-header-content-right" v-if="!isDisplay">
|
<div class="detail-content-header-content-right" v-if="!isDisplay">
|
||||||
@@ -567,6 +569,10 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.detail-content-header-content-rightOne-active {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
.detail-content-header-content-right {
|
.detail-content-header-content-right {
|
||||||
width: 128px;
|
width: 128px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -751,7 +757,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.detail-content-header-content-left-active {
|
.detail-content-header-content-left-active {
|
||||||
width: 50% !important;
|
width: calc(50% - 130px) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail-content-bottom-left-text {
|
.detail-content-bottom-left-text {
|
||||||
@@ -761,6 +767,7 @@
|
|||||||
.detail-content-bottom-right-text {
|
.detail-content-bottom-right-text {
|
||||||
width: calc(50% - 256px);
|
width: calc(50% - 256px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.operator-text-text-text {
|
.operator-text-text-text {
|
||||||
color: #00B3BE !important;
|
color: #00B3BE !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user