Browse Source

编辑权限修改

x-emr
bianyaqi 2 years ago
parent
commit
caf3e1310b
  1. 4
      public/index.html
  2. 16
      src/components/360View/collection.vue
  3. 2
      src/components/360View/medicalRecord/index.vue
  4. 3
      src/components/360View/medicalRecord/outPatientRecord/leftFormList.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>
<% } %>

16
src/components/360View/collection.vue

@ -253,12 +253,16 @@ export default {
jzNumber: this.jzNumber
}
this.editMessage = '收藏成功!'
this.$http.post('/tree/addPatientTree', params).then(() => {
this.$message({
message: this.editMessage,
type: 'success'
})
this.queryPatientRemarks()
this.$http.post('/tree/addPatientTree', params).then(res => {
if (res.data.code === 0) {
this.$message({
message: this.editMessage,
type: 'success'
})
this.queryPatientRemarks()
} else {
this.$message.error(res.data.msg)
}
})
},
//

2
src/components/360View/medicalRecord/index.vue

@ -9,7 +9,7 @@
ref="leftFormList"
:patient-id="patientId"
:is-search="isSearch"
:only-read="onlyRead||!isCreator"
:only-read="onlyRead"
:is-platform="isPlatform"
:form-list="formList"
:cur-index="curIndex"

3
src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue

@ -9,7 +9,7 @@
{{ item.name }}
</p>
</div>
<i v-if="index === curIndex && !onlyRead && item.name !== '门急诊电子病历'" style="margin-top: 28px;color: rgb(199,5,5)" class="el-icon-delete" @click.stop="deleteForm()" />
<i v-if="index === curIndex && !onlyRead && item.name !== '门急诊电子病历'&&isCreator" style="margin-top: 28px;color: rgb(199,5,5)" class="el-icon-delete" @click.stop="deleteForm()" />
</div>
<img v-if="!formList.length" src="@/assets/img/nodata.png" alt="" class="nodata">
</div>
@ -54,6 +54,7 @@ export default {
return {
formType: '治疗',
defaultChecked: true,
isCreator: true,
formTypeList: [
{
type: '治疗',

Loading…
Cancel
Save