From ff64deb13821d376cd25d47230341c7cf9525828 Mon Sep 17 00:00:00 2001 From: shidongli Date: Fri, 24 May 2024 15:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E6=95=B0=E6=8D=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/Datadetails/index.vue | 200 +++++++++++++------------ 1 file changed, 106 insertions(+), 94 deletions(-) diff --git a/src/views/manage/Datadetails/index.vue b/src/views/manage/Datadetails/index.vue index 389f106..5969afc 100644 --- a/src/views/manage/Datadetails/index.vue +++ b/src/views/manage/Datadetails/index.vue @@ -68,53 +68,57 @@
-
- - - - - - - -
- - - 知识库获取 +
+
+ + + + + + + +
+ + + 知识库获取 +
@@ -786,6 +790,7 @@ export default { }) this.moban = JSON.parse(JSON.stringify(res.data)) this.getParamslistData = res.data + console.log(this.getParamslistData, '009090') }) }, @@ -906,18 +911,24 @@ export default { spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)' }); - inserList(this.getParamslistData).then(res => { - this.$modal.msgSuccess("提交成功!"); - this.indexdata = null + inserList(getParamslistData2).then(res => { + if (res.code == 200) { + this.$modal.msgSuccess("提交成功!"); + this.indexdata = null + loading.close(); + } + else { + loading.close(); + } + }).catch(() => { loading.close(); - }) + }); }) } }, bottomclickevent(ulitem, uindex, ulindex) { - console.log(ulitem, uindex, ulindex) - this.getParamslistData =[] + this.getParamslistData = [] this.itemdata = ulitem this.taskPartitionList = [] this.querytParams.id = ulitem.routeNodeId @@ -944,7 +955,6 @@ export default { this.NursinggetList() } this.indexdata = index - }, additem(index) { this.moban[0].forEach(e => { @@ -970,13 +980,11 @@ export default { ::v-deep .el-card__body { position: relative; } -::v-deep .el-select .el-input.is-disabled .el-input__inner{ +::v-deep .el-select .el-input.is-disabled .el-input__inner { background: #fff !important; } -::v-deep .el-input.is-disabled .el-input__inner{ +::v-deep .el-input.is-disabled .el-input__inner { background: #fff !important; - - } .routeCheckStatus { position: absolute; @@ -988,40 +996,53 @@ export default { padding: 0 20px 0; text-align: right; } - -.topform { - position: relative; - padding: 15px 70px 30px 15px; - .form{ +.texts { + overflow-y: scroll; + overflow-x: hidden; + width: 72%; + height: calc(100vh - 30px); + background-color: #fff; + .topform { width: 100%; - } - .box-card { - // width:calc(100% - 149px); - - width: 85%; - margin-left: 20px; - padding-top: 25px; - .textarea { - width: 500px; - } - } - .icon { - width: 150px; - right: -20px; - top: 40px; position: relative; - } - .form { - ::v-deep .el-input__inner { - height: 30px !important; - line-height: 30px !important; + padding: 15px 70px 30px 15px; + .box-card { + // width:calc(100% - 149px); + width: 85%; + margin-left: 20px; + padding-top: 25px; + .textarea { + display: flex; + // width: 500px; + // width: 100%; + } } + .icon { + width: 150px; + right: -20px; + top: 40px; + position: relative; + } + .form { + width: 100%; + ::v-deep .el-form-item { + display: flex; + } + ::v-deep .el-form-item__content { + flex: 1; + } + ::v-deep .el-input__inner { + height: 30px !important; + line-height: 30px !important; + } - ::v-deep .el-form-item__label { - font-size: 12px !important; + ::v-deep .el-form-item__label { + font-size: 12px !important; + } } } } + .list { margin: 20px auto; width: 100%; @@ -1052,15 +1073,6 @@ export default { padding: 15px 0 0 !important; } } - .texts { - overflow-y: scroll; - overflow-x: hidden; - width: 72%; - // height: 680px; - height: calc(100vh - 30px); - // overflow: scroll; - background-color: #fff; - } } .cards { border: 1px solid #409eff;