生成数据修改
This commit is contained in:
parent
a4f6f74e52
commit
ff64deb138
@ -68,6 +68,7 @@
|
||||
</div>
|
||||
<div class="texts">
|
||||
<div class="topform">
|
||||
<div v-if="getParamslistData">
|
||||
<div
|
||||
v-for="(item, index) in getParamslistData"
|
||||
:key="index"
|
||||
@ -80,11 +81,13 @@
|
||||
:model="form"
|
||||
class="form"
|
||||
label-width="100px"
|
||||
v-for="(ite, ind) in item"
|
||||
:key="ind"
|
||||
: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
|
||||
class="textarea"
|
||||
v-model="ite.paramValue"
|
||||
@ -120,6 +123,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="TemporaryStorage" type="primary">保 存</el-button>
|
||||
</div>
|
||||
@ -786,6 +790,7 @@ export default {
|
||||
})
|
||||
this.moban = JSON.parse(JSON.stringify(res.data))
|
||||
this.getParamslistData = res.data
|
||||
console.log(this.getParamslistData, '009090')
|
||||
|
||||
})
|
||||
},
|
||||
@ -906,16 +911,22 @@ export default {
|
||||
spinner: 'el-icon-loading',
|
||||
background: 'rgba(0, 0, 0, 0.7)'
|
||||
});
|
||||
inserList(this.getParamslistData).then(res => {
|
||||
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.itemdata = ulitem
|
||||
@ -944,7 +955,6 @@ export default {
|
||||
this.NursinggetList()
|
||||
}
|
||||
this.indexdata = index
|
||||
|
||||
},
|
||||
additem(index) {
|
||||
this.moban[0].forEach(e => {
|
||||
@ -975,8 +985,6 @@ export default {
|
||||
}
|
||||
::v-deep .el-input.is-disabled .el-input__inner {
|
||||
background: #fff !important;
|
||||
|
||||
|
||||
}
|
||||
.routeCheckStatus {
|
||||
position: absolute;
|
||||
@ -988,21 +996,25 @@ export default {
|
||||
padding: 0 20px 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.texts {
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
width: 72%;
|
||||
height: calc(100vh - 30px);
|
||||
background-color: #fff;
|
||||
.topform {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
padding: 15px 70px 30px 15px;
|
||||
.form{
|
||||
width: 100%;
|
||||
}
|
||||
.box-card {
|
||||
// width:calc(100% - 149px);
|
||||
|
||||
width: 85%;
|
||||
margin-left: 20px;
|
||||
padding-top: 25px;
|
||||
.textarea {
|
||||
width: 500px;
|
||||
display: flex;
|
||||
// width: 500px;
|
||||
// width: 100%;
|
||||
}
|
||||
}
|
||||
.icon {
|
||||
@ -1012,6 +1024,13 @@ export default {
|
||||
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;
|
||||
@ -1022,6 +1041,8 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user