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') { %> <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script> <script>
//http://121.36.16.195:9002/huimu-admin/swagger-ui/index.html //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'; // window.SITE_CONFIG['apiURL'] = 'http://192.168.4.174:8036/xiangan-crf';
</script> </script>
<% } %> <% } %>

16
src/components/360View/collection.vue

@ -253,12 +253,16 @@ export default {
jzNumber: this.jzNumber jzNumber: this.jzNumber
} }
this.editMessage = '收藏成功!' 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" ref="leftFormList"
:patient-id="patientId" :patient-id="patientId"
:is-search="isSearch" :is-search="isSearch"
:only-read="onlyRead||!isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:form-list="formList" :form-list="formList"
:cur-index="curIndex" :cur-index="curIndex"

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

@ -9,7 +9,7 @@
{{ item.name }} {{ item.name }}
</p> </p>
</div> </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> </div>
<img v-if="!formList.length" src="@/assets/img/nodata.png" alt="" class="nodata"> <img v-if="!formList.length" src="@/assets/img/nodata.png" alt="" class="nodata">
</div> </div>
@ -54,6 +54,7 @@ export default {
return { return {
formType: '治疗', formType: '治疗',
defaultChecked: true, defaultChecked: true,
isCreator: true,
formTypeList: [ formTypeList: [
{ {
type: '治疗', type: '治疗',

Loading…
Cancel
Save