Browse Source

预约订单跳转修改

360view
bianyaqi 2 years ago
parent
commit
7ccbc1f91d
  1. 9
      public/index.html
  2. 35
      src/mixins/printModel.js
  3. 3
      src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue

9
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>
<% } %>
@ -53,10 +53,11 @@
<!-- 生产环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod') { %>
<script>
// window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://10.80.5.32:8031/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://10.80.5.32:8031/xiangan-crf';
</script>
<% } %>
</head>
<body style="line-height: 1.5;">
<div id="app"></div>

35
src/mixins/printModel.js

@ -0,0 +1,35 @@
export default {
data() {
return {
printHidden: true,
printIndex: 0,
printType: '',
print: {
id: '',
closeCallback: () => {
console.log('关闭')
this.$nextTick(() => {
this.printHidden = true
})
},
clickMounted: () => {
console.log('触发点击打印回调')
},
openCallback: () => {
console.log('执行打印')
this.printIndex += 1
}
}
}
},
watch: {
printIndex(val) {
if (val) {
this.printType = 'warning'
}
}
},
created() {
this.print.id = this.printId
}
}

3
src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue

@ -476,7 +476,7 @@ export default {
})
},
goFormList(scopeRow) {
const { href } = this.$router.resolve({
this.$router.push({
path: '/360view',
query: {
onlyRead: false,
@ -485,7 +485,6 @@ export default {
jzNumber: scopeRow.jzNumber
}
})
window.open(href, '_blank')
},
//
cancelClick(scopeRow) {

Loading…
Cancel
Save