-
+
- {{ item.label }}
+
+
+
{{ item[displayKey] }}
+
+
+

+
+
-
-
+
-
暂无收款账号
-
暂时没有收款账号,我想稍后配置
+
暂无收款账号
+
暂时没有收款账号,我想稍后配置
-

+
@@ -39,21 +44,25 @@
\ No newline at end of file
diff --git a/src/components/Tooltip.vue b/src/components/Tooltip.vue
new file mode 100644
index 0000000..ee142c9
--- /dev/null
+++ b/src/components/Tooltip.vue
@@ -0,0 +1,221 @@
+
+
+
+
![]()
+
{{ currentMessage }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/addPay.vue b/src/components/addPay.vue
new file mode 100644
index 0000000..fce9bdc
--- /dev/null
+++ b/src/components/addPay.vue
@@ -0,0 +1,432 @@
+
+
+
+
+
+
+
+
+
+
前期准备事项
+
+ 请确保使用要添加的淘宝主账号登录并授权
+
+
+ 如未购买"快乐帮手"服务或已过期,会跳转到购买服务页面
+
+
+
+
+
+
+
+
前期准备事项
+
1.申请公司微信支付。
常见问题
+
+ 2.前往
+
微信商户平台
+
+
在产品中心开通Native支付,如需使用微信版,开通JSAPI支付。
+
+
+
+ 请输入公司简称,便于您区分账号所属公司
+
+
+
+
+ 微信支付平台>账户中心>商户信息>微信支付商户号
+
+
+
+
+ 微信支付平台>账号中心>账户设置>API安全>APIv2密钥;注意,支付密钥不能设置为纯数字
+
+
+
+
+ 公众平台>设置与开发>基本配置>公众号开发信息>开发者ID(APPID)
+
+
+
+
+
+
+
+
+
+
+
+
+ 请输入公司简称,便于您区分账号所属公司
+
+
+
+ 仅支持已签约 “当面付” 功能的公司支付宝
+
+
+
+
+
+
+
+
+
+
前期准备事项
+
主账号登录并授权。
去授权
+
如未购买"快乐帮手"服务或已过期,会跳转到购买服务页面。
+
授权成功后会进入"快乐帮手"烽火台,复制右上角名称填入下方保存。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index ea60726..6c9ef60 100755
--- a/src/main.js
+++ b/src/main.js
@@ -14,6 +14,8 @@ import LoadingService from './services/loading'
import { directive as clickaway } from 'vue-clickaway';
import GuipMessage from '@/components/GuipMessage/index';
import HeaderIcon from './utils/headerIcon'
+import PositionMessage from './utils/tooltip'
+
Vue.prototype.$loadingFn = LoadingService;
Vue.config.productionTip = false;
Vue.prototype.$http = request;
@@ -21,6 +23,8 @@ Vue.use(ElementUI);
Vue.use(GuipMessage)
Vue.directive('clickaway', clickaway);
Vue.mixin(HeaderIcon)
+Vue.use(PositionMessage)
+
new Vue({
router,
store,
diff --git a/src/store/index.js b/src/store/index.js
index c1feb2f..84116e8 100755
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -35,7 +35,25 @@ export default new Vuex.Store({
desc: 'siteMessage3'
}
]
- },{
+ },
+ {
+ name: '收款设置',
+ path: '',
+ noToPath:true,
+ img: 'menu/Totalprofit1.svg',
+ imgActive: require('@/assets/menu/Totalprofit.svg'),
+ list: [
+ {
+ name: '线上收款',
+ desc: 'siteMessage6'
+ },
+ {
+ name: '收挂号费',
+ desc: 'siteMessage7'
+ },
+ ]
+ },
+ {
name: '项目管理',
path: '',
noToPath:true,
diff --git a/src/utils/eventBus.js b/src/utils/eventBus.js
new file mode 100644
index 0000000..4dbae2c
--- /dev/null
+++ b/src/utils/eventBus.js
@@ -0,0 +1,3 @@
+// 在项目中创建 eventBus.js
+import Vue from 'vue'
+export const EventBus = new Vue()
\ No newline at end of file
diff --git a/src/utils/tooltip.js b/src/utils/tooltip.js
new file mode 100644
index 0000000..7ed58a8
--- /dev/null
+++ b/src/utils/tooltip.js
@@ -0,0 +1,58 @@
+import Vue from 'vue'
+import Tooltip from '@/components/Tooltip.vue'
+
+const PositionMessageConstructor = Vue.extend(Tooltip)
+
+// 存储实例引用,便于全局控制
+const instances = []
+
+function showMessage(options) {
+ const instance = new PositionMessageConstructor({
+ propsData: options
+ }).$mount()
+
+ document.body.appendChild(instance.$el)
+ instances.push(instance)
+
+ const showInstance = instance.show()
+
+ // 添加自动隐藏(duration为0表示一直显示)
+ if (options.duration !== 0) {
+ const duration = options.duration || 2000
+ setTimeout(() => {
+ instance.hide()
+ setTimeout(() => {
+ if (instance.$el && instance.$el.parentNode) {
+ instance.$el.parentNode.removeChild(instance.$el)
+ }
+ // 从实例数组中移除
+ const index = instances.indexOf(instance)
+ if (index > -1) {
+ instances.splice(index, 1)
+ }
+ }, 300) // 等待动画结束
+ }, duration)
+ }
+
+ return showInstance
+}
+
+// 隐藏所有tooltip
+function hideAll() {
+ instances.forEach(instance => {
+ instance.hide()
+ setTimeout(() => {
+ if (instance.$el && instance.$el.parentNode) {
+ instance.$el.parentNode.removeChild(instance.$el)
+ }
+ }, 300)
+ })
+ instances.length = 0
+}
+
+export default {
+ install(Vue) {
+ Vue.prototype.$positionMessage = showMessage
+ Vue.prototype.$hideAllPositionMessages = hideAll
+ }
+}
\ No newline at end of file
diff --git a/src/views/HosInformation.vue b/src/views/HosInformation.vue
index 9556531..d2b9173 100644
--- a/src/views/HosInformation.vue
+++ b/src/views/HosInformation.vue
@@ -9,43 +9,45 @@
-
-
+
+
-
-
+
方便患者记忆,非必填
-
+
+ prop="depart_name" :placeholder="(depart_id && doctor_id) ? '无' : '请输入'"
+ :disabled="(depart_id && doctor_id) ? true : false" />