修改机构

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