修改机构

This commit is contained in:
闫晓茹 2024-05-16 16:54:02 +08:00
parent 53bbacbc0a
commit ba5f3c52c9

View File

@ -788,6 +788,7 @@ export default {
<el-button
size="mini"
type="text"
class="buttontext"
icon="el-icon-delete"
on-click={() => this.remove(node, data)}
></el-button>
@ -801,8 +802,9 @@ export default {
const children = parent.data.children || parent.data;
const index = children.findIndex((d) => d.id === data.id);
const ids = data.id;
const label = node.data.label;
this.$modal
.confirm("是否确认删除机构?")
.confirm('是否确认删除机构名称为"' + label + '"的数据项')
.then(function () {
return delAgency(ids);
})
@ -971,7 +973,7 @@ export default {
{ dangerouslyUseHTMLString: true }
);
this.getList();
this.gettreelist()
this.gettreelist();
},
//
handleFileUploadProgress(event, file, fileList) {
@ -1192,13 +1194,20 @@ export default {
::v-deep .el-cascader .el-input__inner::placeholder {
color: #686a6d !important;
}
::v-deep.el-button--text {
::v-deep .el-button--text {
border-color: transparent;
color: #1890ff;
background: transparent;
padding-left: 15px;
padding-right: 0;
position: absolute !important;
right: 10px !important;
}
// .buttontext{
// border-color: transparent;
// color: #1890ff;
// background: transparent;
// position: absolute !important;
// right: 20px !important;
// }
::v-deep.el-descriptions-item__container {
display: -webkit-box;
padding: 15px !important;
@ -1222,6 +1231,6 @@ export default {
// align-items: center;
// justify-content: space-between;
// font-size: 14px;
padding-right: 28px;
// padding-right: 28px;
}
</style>