生成数据修改
This commit is contained in:
parent
a4f6f74e52
commit
ff64deb138
@ -68,6 +68,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="texts">
|
<div class="texts">
|
||||||
<div class="topform">
|
<div class="topform">
|
||||||
|
<div v-if="getParamslistData">
|
||||||
<div
|
<div
|
||||||
v-for="(item, index) in getParamslistData"
|
v-for="(item, index) in getParamslistData"
|
||||||
:key="index"
|
:key="index"
|
||||||
@ -80,11 +81,13 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
class="form"
|
class="form"
|
||||||
label-width="100px"
|
label-width="100px"
|
||||||
v-for="(ite, ind) in item"
|
|
||||||
:key="ind"
|
|
||||||
:rules="rules"
|
:rules="rules"
|
||||||
>
|
>
|
||||||
<el-form-item :label="ite.paramName" :key="ind">
|
<el-form-item
|
||||||
|
:label="ite.paramName"
|
||||||
|
v-for="(ite, ind) in item"
|
||||||
|
:key="ind"
|
||||||
|
>
|
||||||
<el-input
|
<el-input
|
||||||
class="textarea"
|
class="textarea"
|
||||||
v-model="ite.paramValue"
|
v-model="ite.paramValue"
|
||||||
@ -120,6 +123,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="TemporaryStorage" type="primary">保 存</el-button>
|
<el-button @click="TemporaryStorage" type="primary">保 存</el-button>
|
||||||
</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 => {
|
||||||
|
if (res.code == 200) {
|
||||||
this.$modal.msgSuccess("提交成功!");
|
this.$modal.msgSuccess("提交成功!");
|
||||||
this.indexdata = null
|
this.indexdata = null
|
||||||
loading.close();
|
loading.close();
|
||||||
})
|
}
|
||||||
|
else {
|
||||||
|
loading.close();
|
||||||
|
}
|
||||||
|
}).catch(() => {
|
||||||
|
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,21 +996,25 @@ export default {
|
|||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
.texts {
|
||||||
.topform {
|
overflow-y: scroll;
|
||||||
|
overflow-x: hidden;
|
||||||
|
width: 72%;
|
||||||
|
height: calc(100vh - 30px);
|
||||||
|
background-color: #fff;
|
||||||
|
.topform {
|
||||||
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 15px 70px 30px 15px;
|
padding: 15px 70px 30px 15px;
|
||||||
.form{
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.box-card {
|
.box-card {
|
||||||
// width:calc(100% - 149px);
|
// width:calc(100% - 149px);
|
||||||
|
|
||||||
width: 85%;
|
width: 85%;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
padding-top: 25px;
|
padding-top: 25px;
|
||||||
.textarea {
|
.textarea {
|
||||||
width: 500px;
|
display: flex;
|
||||||
|
// width: 500px;
|
||||||
|
// width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.icon {
|
.icon {
|
||||||
@ -1012,6 +1024,13 @@ export default {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.form {
|
.form {
|
||||||
|
width: 100%;
|
||||||
|
::v-deep .el-form-item {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
::v-deep .el-form-item__content {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
::v-deep .el-input__inner {
|
::v-deep .el-input__inner {
|
||||||
height: 30px !important;
|
height: 30px !important;
|
||||||
line-height: 30px !important;
|
line-height: 30px !important;
|
||||||
@ -1021,7 +1040,9 @@ export default {
|
|||||||
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