feat: There is no way the,

This commit is contained in:
super_liu
2021-11-07 17:07:00 +08:00
parent 3786d753a0
commit b718fa634b
@@ -76,6 +76,15 @@
/>
<!-- <span class="time-text">上传时间{{ dateFormat(file.modifyTime) }}</span>-->
</span>
<el-button
v-if="child.attrField === itemNam "
v-for="(itemNam,index) in itemExistList"
:key="index"
@click="showItemsModel(child.attrField)"
class="decomposition-btn"
icon="icon-separate"
>标准分解单
</el-button>
</p>
</template>
<p><label style=" margin-right: 150px;">中文名称</label><span>{{
@@ -1360,8 +1369,8 @@
filters: {
ellipsis (value) {
if (!value) return ''
if (value.length > 25) {
return value.slice(0,25) + '...'
if (value.length > 18) {
return value.slice(0,18) + '...'
}
return value
}
@@ -3142,6 +3151,31 @@
@import '~@/assets/styles/mixins';
@import '~@/assets/styles/style';
/deep/ .decomposition-btn {
position: absolute;
top: 6px;
right: 0;
padding: 0 10px;
height: 30px;
line-height: 30px;
font-size: 14px;
color: #07C160;
border: 1px solid #07C160;
background: rgba(1, 193, 96, 0.1);
/deep/ .icon-separate {
display: inline-block;
margin-right: 3px;
width: 16px;
height: 16px;
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center center;
vertical-align: sub;
background-image: url("~assets/images/shangqi/standardDetails/separate.png");
}
}
/deep/ .el-collapse-item__content {
padding-bottom: 0px;
font-size: 13px;