生成数据修改
This commit is contained in:
parent
a4f6f74e52
commit
ff64deb138
@ -68,53 +68,57 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="texts">
|
<div class="texts">
|
||||||
<div class="topform">
|
<div class="topform">
|
||||||
<div
|
<div v-if="getParamslistData">
|
||||||
v-for="(item, index) in getParamslistData"
|
<div
|
||||||
:key="index"
|
v-for="(item, index) in getParamslistData"
|
||||||
style="display: flex"
|
:key="index"
|
||||||
>
|
style="display: flex"
|
||||||
<el-card class="box-card">
|
>
|
||||||
<el-form
|
<el-card class="box-card">
|
||||||
ref="form"
|
<el-form
|
||||||
:inline="true"
|
ref="form"
|
||||||
:model="form"
|
:inline="true"
|
||||||
class="form"
|
:model="form"
|
||||||
label-width="100px"
|
class="form"
|
||||||
v-for="(ite, ind) in item"
|
label-width="100px"
|
||||||
:key="ind"
|
:rules="rules"
|
||||||
:rules="rules"
|
>
|
||||||
>
|
<el-form-item
|
||||||
<el-form-item :label="ite.paramName" :key="ind">
|
:label="ite.paramName"
|
||||||
<el-input
|
v-for="(ite, ind) in item"
|
||||||
class="textarea"
|
:key="ind"
|
||||||
v-model="ite.paramValue"
|
>
|
||||||
></el-input>
|
<el-input
|
||||||
</el-form-item>
|
class="textarea"
|
||||||
</el-form>
|
v-model="ite.paramValue"
|
||||||
</el-card>
|
></el-input>
|
||||||
<div class="icon">
|
</el-form-item>
|
||||||
<i
|
</el-form>
|
||||||
class="el-icon-delete"
|
</el-card>
|
||||||
@click="delitem(index)"
|
<div class="icon">
|
||||||
v-if="index != 0"
|
<i
|
||||||
></i>
|
class="el-icon-delete"
|
||||||
<i
|
@click="delitem(index)"
|
||||||
v-if="index == 0"
|
v-if="index != 0"
|
||||||
class="el-icon-circle-plus-outline"
|
></i>
|
||||||
@click="additem(index)"
|
<i
|
||||||
></i>
|
v-if="index == 0"
|
||||||
<el-button
|
class="el-icon-circle-plus-outline"
|
||||||
v-if="
|
@click="additem(index)"
|
||||||
taskPartitionCode == 'TPC202405200003' ||
|
></i>
|
||||||
taskPartitionCode == 'TPC202405200004' ||
|
<el-button
|
||||||
taskPartitionCode == 'TPC202405200005' ||
|
v-if="
|
||||||
taskPartitionCode == 'TPC202405200006'
|
taskPartitionCode == 'TPC202405200003' ||
|
||||||
"
|
taskPartitionCode == 'TPC202405200004' ||
|
||||||
round
|
taskPartitionCode == 'TPC202405200005' ||
|
||||||
style="margin-left: 10px"
|
taskPartitionCode == 'TPC202405200006'
|
||||||
@click="knowledge(index, item)"
|
"
|
||||||
>知识库获取</el-button
|
round
|
||||||
>
|
style="margin-left: 10px"
|
||||||
|
@click="knowledge(index, item)"
|
||||||
|
>知识库获取</el-button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -786,6 +790,7 @@ export default {
|
|||||||
})
|
})
|
||||||
this.moban = JSON.parse(JSON.stringify(res.data))
|
this.moban = JSON.parse(JSON.stringify(res.data))
|
||||||
this.getParamslistData = res.data
|
this.getParamslistData = res.data
|
||||||
|
console.log(this.getParamslistData, '009090')
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -906,18 +911,24 @@ export default {
|
|||||||
spinner: 'el-icon-loading',
|
spinner: 'el-icon-loading',
|
||||||
background: 'rgba(0, 0, 0, 0.7)'
|
background: 'rgba(0, 0, 0, 0.7)'
|
||||||
});
|
});
|
||||||
inserList(this.getParamslistData).then(res => {
|
inserList(getParamslistData2).then(res => {
|
||||||
this.$modal.msgSuccess("提交成功!");
|
if (res.code == 200) {
|
||||||
this.indexdata = null
|
this.$modal.msgSuccess("提交成功!");
|
||||||
|
this.indexdata = null
|
||||||
|
loading.close();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
loading.close();
|
||||||
|
}
|
||||||
|
}).catch(() => {
|
||||||
loading.close();
|
loading.close();
|
||||||
})
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
bottomclickevent(ulitem, uindex, ulindex) {
|
bottomclickevent(ulitem, uindex, ulindex) {
|
||||||
|
|
||||||
console.log(ulitem, uindex, ulindex)
|
console.log(ulitem, uindex, ulindex)
|
||||||
this.getParamslistData =[]
|
this.getParamslistData = []
|
||||||
this.itemdata = ulitem
|
this.itemdata = ulitem
|
||||||
this.taskPartitionList = []
|
this.taskPartitionList = []
|
||||||
this.querytParams.id = ulitem.routeNodeId
|
this.querytParams.id = ulitem.routeNodeId
|
||||||
@ -944,7 +955,6 @@ export default {
|
|||||||
this.NursinggetList()
|
this.NursinggetList()
|
||||||
}
|
}
|
||||||
this.indexdata = index
|
this.indexdata = index
|
||||||
|
|
||||||
},
|
},
|
||||||
additem(index) {
|
additem(index) {
|
||||||
this.moban[0].forEach(e => {
|
this.moban[0].forEach(e => {
|
||||||
@ -970,13 +980,11 @@ export default {
|
|||||||
::v-deep .el-card__body {
|
::v-deep .el-card__body {
|
||||||
position: relative;
|
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;
|
background: #fff !important;
|
||||||
}
|
}
|
||||||
::v-deep .el-input.is-disabled .el-input__inner{
|
::v-deep .el-input.is-disabled .el-input__inner {
|
||||||
background: #fff !important;
|
background: #fff !important;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.routeCheckStatus {
|
.routeCheckStatus {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -988,40 +996,53 @@ export default {
|
|||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
.texts {
|
||||||
.topform {
|
overflow-y: scroll;
|
||||||
position: relative;
|
overflow-x: hidden;
|
||||||
padding: 15px 70px 30px 15px;
|
width: 72%;
|
||||||
.form{
|
height: calc(100vh - 30px);
|
||||||
|
background-color: #fff;
|
||||||
|
.topform {
|
||||||
width: 100%;
|
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;
|
position: relative;
|
||||||
}
|
padding: 15px 70px 30px 15px;
|
||||||
.form {
|
.box-card {
|
||||||
::v-deep .el-input__inner {
|
// width:calc(100% - 149px);
|
||||||
height: 30px !important;
|
width: 85%;
|
||||||
line-height: 30px !important;
|
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 {
|
::v-deep .el-form-item__label {
|
||||||
font-size: 12px !important;
|
font-size: 12px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -1052,15 +1073,6 @@ export default {
|
|||||||
padding: 15px 0 0 !important;
|
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 {
|
.cards {
|
||||||
border: 1px solid #409eff;
|
border: 1px solid #409eff;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user