修改弹框

This commit is contained in:
shidongli 2024-05-23 17:55:06 +08:00
parent d54a90b430
commit ce89cd4052

View File

@ -173,7 +173,7 @@
<el-button
type="primary"
style="width: 15px; height: 15px"
v-if="form.departmentId == scope.row.id"
v-if="getParamslistData[indexdata].ids == scope.row.id"
circle
@click="nurseclick(scope.row)"
></el-button>
@ -310,7 +310,7 @@
<el-button
type="primary"
style="width: 15px; height: 15px"
v-if="form.departmentId == scope.row.id"
v-if="getParamslistData[indexdata].ids == scope.row.id"
circle
@click="nurseclick(scope.row)"
></el-button>
@ -436,7 +436,7 @@
<el-button
type="primary"
style="width: 15px; height: 15px"
v-if="form.departmentId == scope.row.id"
v-if="getParamslistData[indexdata].ids == scope.row.id"
circle
@click="nurseclick(scope.row)"
></el-button>
@ -549,7 +549,7 @@
<el-button
type="primary"
style="width: 15px; height: 15px"
v-if="form.departmentId == scope.row.id"
v-if="getParamslistData[indexdata].ids == scope.row.id"
circle
@click="nurseclick(scope.row)"
></el-button>
@ -604,10 +604,6 @@
</template>
<script>
import {
selectTaskTypeList, taskPartitionList, taskStatusDictList,
} from '@/api/system/specialDiseaseNode'
import { getAllNodeByPatient, getParams, inserList } from '@/api/manage/Datadetails'
import { listBaseDrug } from "@/api/system/baseDrug";
import { listBaseSport } from "@/api/system/baseSport";
@ -617,6 +613,7 @@ export default {
name: "Datadetails",
data() {
return {
itemid:null,
//
baseDrugList: [],
loading: true,
@ -696,7 +693,6 @@ export default {
console.log(this.$route.query, 'this.$route.query')
this.qurelist.patientId = this.$route.query.patientId
this.getAllNodeBy()
console.log(this.form, '99999')
},
beforeDestroy() { },
watch: {},
@ -744,7 +740,6 @@ export default {
}
},
handleData(list, key, keytwo) {
console.log(list, key, keytwo)
//
let keysArr = list.map((item) => {
return {
@ -863,8 +858,9 @@ export default {
},
//
nurseclick(row) {
this.getParamslistData[this.indexdata].ids=row.id
this.getParamslistData[this.indexdata].forEach(el => {
console.log(row[el.paramKey], 'row[el.paramKey]----------')
// console.log(row[el.paramKey], 'row[el.paramKey]----------')
el.paramValue = row[el.paramKey]
})
this.Drugshow = false
@ -925,7 +921,6 @@ export default {
},
//
knowledge(index, item) {
console.log(this.taskPartitionCode)
//
if (this.taskPartitionCode == 'TPC202405200003') {
this.Drugshow = true
@ -946,9 +941,7 @@ export default {
console.log(item, index)
},
additem(index) {
console.log(this.moban[0],'打印模版')
this.moban[0].forEach(e=>{
console.log(e,'099999999999')
e.paramValue=""
e.id=""
})
@ -959,7 +952,6 @@ export default {
i.sn = this.getParamslistData[this.getParamslistData.length - 1][0].sn + 1
})
this.getParamslistData.push(newVal)
console.log(this.getParamslistData, '00000000000')
},
delitem(index, item) {
this.getParamslistData.splice(index, 1)
@ -1059,14 +1051,13 @@ export default {
}
}
}
.topform {
position: relative;
padding: 15px 70px 30px 15px;
::v-deep .el-card {
width: 85%;
margin-left: 20px;
padding-top: 25px;
padding-top: 25px;
}
.icon {