Browse Source

ok镜患者删除

360view
bianyaqi 2 years ago
parent
commit
d3168fde34
  1. 4
      public/index.html
  2. 15
      src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue

4
public/index.html

@ -39,8 +39,8 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script>
//http://121.36.16.195:9002/huimu-admin/swagger-ui/index.html
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.0.168:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.168:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.4.174:8036/xiangan-crf';
</script>
<% } %>

15
src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue

@ -105,6 +105,11 @@
class="operation-details"
@click="browseClick(scope.row)"
>OK镜</span>
<span
style="color: #F56C6C; padding-right: 8px"
class="operation-details"
@click="deleteClick(scope.row)"
>删除</span>
</template>
</el-table-column>
</el-table>
@ -192,6 +197,16 @@ export default {
}
})
},
deleteClick(scopeRow) {
this.$confirmFun('确定要删除吗?').then(() => {
this.$http.post('/lenses/delPatientInfo', {
id: scopeRow.id
}).then(() => {
this.$message.success('删除成功!')
this.getDataList()
})
}).catch(() => {})
},
handleType(value, index) {
this.curIndex = index
this.dataForm.nextCheckFlag = value

Loading…
Cancel
Save