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

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

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

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

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

Loading…
Cancel
Save