Browse Source

弹窗修改

360view
bianyaqi 2 years ago
parent
commit
775070f13c
  1. 14
      public/index.html
  2. 6
      src/page-subspecialty/views/modules/nurseManagement/addProject.vue
  3. 4
      src/page-subspecialty/views/modules/nurseManagement/myDialog.vue

14
public/index.html

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
<script type="text/javascript" src="./static/js/js-NSV.js"></script>
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"></script>
<!-- 站点配置 -->
<script>
window.SITE_CONFIG = {};
@ -34,20 +34,19 @@
<script>
// http://192.168.0.146:9002/huimu-admin'
window.SITE_CONFIG['apiURL'] = 'http://192.168.4.24:8036/xiangan-crf';
</script>
</script>q
<% } %>
<% 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://192.168.0.167:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.2.4:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.167:8036/xiangan-crf';
</script>
<% } %>
<!-- 测试环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'staging') { %>
<script>
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8022/quguang';
</script>
<% } %>
<!-- 生产环境 -->
@ -55,8 +54,7 @@
<script>
// https://quguang.huimu.cloud/api/quguang
// http://192.168.4.109:8022/quguang---温州屈光
// 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://192.168.4.109:8022/quguang';
</script>
<% } %>
</head>

6
src/page-subspecialty/views/modules/nurseManagement/addProject.vue

@ -206,7 +206,9 @@ export default {
watch: {
isShow(val) {
this.show = val
this.getDetailData()
if (val) {
this.getDetailData()
}
}
},
created() {
@ -224,8 +226,8 @@ export default {
if (this.title === '修改项目') {
this.$nextTick(() => {
this.message = '修改成功'
this.tableData = JSON.parse(JSON.stringify(this.projectDetail.openVoList))
this.form = JSON.parse(JSON.stringify(this.projectDetail))
this.tableData = JSON.parse(JSON.stringify(this.projectDetail.openVoList)) || this.originTable
this.form.project = this.projectDetail.itemId
})
} else {

4
src/page-subspecialty/views/modules/nurseManagement/myDialog.vue

@ -2,6 +2,7 @@
<el-dialog
:title="title"
:visible.sync="dialogVisible"
destroy-on-close
width="40%"
:before-close="handleClose"
>
@ -43,9 +44,6 @@ export default {
this.dialogVisible = val
}
},
created() {
console.log('asdfasdf')
},
methods: {
handleClose() {
this.$emit('close', false)

Loading…
Cancel
Save