修改参数项收集清单 截止时间弹框
复制参数清单点击取消按钮无反应问题
This commit is contained in:
@@ -25,10 +25,11 @@
|
||||
<span style='padding-right: 10px;margin-left: -16px'>{{ item.db_field_txt }} </span>
|
||||
<a-button @click='onClickSee(item)'>{{$t('See')}}</a-button>
|
||||
</div>
|
||||
<!-- {{ text && text.length > 8 ? text.slice(0, 7) + '...' : text }}-->
|
||||
<span slot="ParameterDescription" slot-scope="text,record" :title="text">
|
||||
{{ text && text.length > 8 ? text.slice(0, 7) + '...' : text }}
|
||||
</span>
|
||||
|
||||
<a-button @click='onClickTitle(record)'>{{$t('See')}}</a-button>
|
||||
</span>
|
||||
<span slot="operationbtn" slot-scope="record">
|
||||
<span v-if='currentPersonRole === "homo"'>
|
||||
<!-- 认证工程师 -->
|
||||
@@ -192,6 +193,18 @@
|
||||
</div>
|
||||
</div>
|
||||
</a-modal>
|
||||
<!-- 参数说明--->
|
||||
<a-modal v-model="seeVisibleView" :title="$t('ParameterDescription')" width='550px' :footer="null">
|
||||
<div class="content-text">
|
||||
<div class="textfield">
|
||||
<span class="textfield-left" :title="$t('ParameterDescription')">{{$t('ParameterDescription')}}:</span>
|
||||
<span class="textfield-right"
|
||||
:title="this.description"
|
||||
>{{this.description}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a-modal>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -219,6 +232,7 @@
|
||||
default: {},
|
||||
require: true
|
||||
},
|
||||
description:'',
|
||||
formInline: {
|
||||
type: Object,
|
||||
default: true
|
||||
@@ -331,6 +345,7 @@
|
||||
Dateline: {},
|
||||
getquerySdtId: '', // 当前工程接口人的id
|
||||
areaVisibleView: false, // 查看配置得弹框
|
||||
seeVisibleView:false,
|
||||
configDetail: {} // 查看配置得详细信息
|
||||
}
|
||||
},
|
||||
@@ -376,6 +391,12 @@
|
||||
this.$emit('handlePreservation')
|
||||
this.getTableList()
|
||||
},
|
||||
onClickTitle(val){
|
||||
console.log(val)
|
||||
this.description = val.description
|
||||
this.seeVisibleView = true
|
||||
|
||||
},
|
||||
// 查看配置详细信息
|
||||
onClickSee(val) {
|
||||
let _this = this
|
||||
@@ -662,6 +683,7 @@
|
||||
}
|
||||
})
|
||||
this.columns = [...this.columns]
|
||||
this.$forceUpdate()
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -919,6 +941,34 @@
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
.textfield {
|
||||
width: 100%;
|
||||
margin-bottom: 8px;
|
||||
display: flex;
|
||||
|
||||
.textfield-left {
|
||||
width: 80px;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
color: #040B29;
|
||||
font-weight: 400;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.textfield-right {
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
//text-overflow: ellipsis;
|
||||
//white-space: nowrap;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
word-break: break-word;
|
||||
color: #040B29;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user