修改弹框

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