This commit is contained in:
曹辉 2023-04-12 16:21:24 +08:00
parent edf79911ef
commit efbe30bf57
2 changed files with 5 additions and 3 deletions

View File

@ -154,8 +154,9 @@
delimg(item) { delimg(item) {
this.certificateimg = this.certificateimg.filter(e => e != item) this.certificateimg = this.certificateimg.filter(e => e != item)
this.uploadcertificateimg = this.uploadcertificateimg.filter(e => e != item) this.uploadcertificateimg = this.uploadcertificateimg.filter(e => e != item)
this.appPersonallist.nurseStationPersonCertificateList = this.appPersonallist.nurseStationPersonCheckList this.appPersonallist.nurseStationPersonCertificateList = this.appPersonallist
.filter(e => e != item) .nurseStationPersonCertificateList
.filter(e => (this.baseurl + e.certificateUrl) != item)
}, },
// //
uploadcertificate() { uploadcertificate() {
@ -200,6 +201,7 @@
}) })
res.data.nurseStationPersonCheckList = [] res.data.nurseStationPersonCheckList = []
this.appPersonallist = res.data this.appPersonallist = res.data
console.log(this.appPersonallist)
}) })
}, },
// //
@ -262,6 +264,7 @@
} }
this.appPersonallist.nurseStationPersonCheckList.push(img) this.appPersonallist.nurseStationPersonCheckList.push(img)
}) })
console.log(this.appPersonallist)
var that = this var that = this
var obj = { var obj = {
avatar: that.appPersonallist.avatar, avatar: that.appPersonallist.avatar,

View File

@ -8,7 +8,6 @@
</view> </view>
</view> </view>
</template> </template>
<script> <script>
import Signature from '../v-sign/components/v-sign/v-sign.vue' import Signature from '../v-sign/components/v-sign/v-sign.vue'
export default { export default {