Commit 592c840c authored by 季圣华's avatar 季圣华
Browse files

增加新人引导按钮

parent 5beca46a
......@@ -667,7 +667,8 @@ export function handleIntroJs(module, cur_version) {
//有新版本更新时才出现一次引导页, 第二次进入进不再出现, 这里有缓存来判断
let introJsObj = introJs()
if(module !== 'indexChart') {
introJsObj = introJs('.ant-modal-cust-warp')
let idElement = '#' + module
introJsObj = introJs(idElement)
}
if (Vue.ls.get('intro_cache_' + module) === cur_version) {
return;
......
......@@ -13,6 +13,7 @@
@ok="handleOk"
@cancel="handleCancel"
wrapClassName="ant-modal-cust-warp"
:id="prefixNo"
style="top:5%;height: 100%;overflow-y: hidden">
<a-spin :spinning="confirmLoading">
<a-form :form="form">
......
......@@ -13,6 +13,7 @@
@ok="handleOk"
@cancel="handleCancel"
wrapClassName="ant-modal-cust-warp"
:id="prefixNo"
style="top:5%;height: 100%;overflow-y: hidden">
<a-spin :spinning="confirmLoading">
<a-form :form="form">
......
......@@ -7,10 +7,13 @@
:maskClosable="false"
:keyboard="false"
:forceRender="true"
v-bind:prefixNo="prefixNo"
switchHelp
switchFullscreen
@ok="handleOk"
@cancel="handleCancel"
wrapClassName="ant-modal-cust-warp"
:id="prefixNo"
style="top:5%;height: 100%;overflow-y: hidden">
<a-spin :spinning="confirmLoading">
<a-form :form="form">
......
......@@ -13,6 +13,7 @@
@ok="handleOk"
@cancel="handleCancel"
wrapClassName="ant-modal-cust-warp"
:id="prefixNo"
style="top:5%;height: 100%;overflow-y: hidden">
<a-spin :spinning="confirmLoading">
<a-form :form="form">
......
......@@ -13,6 +13,7 @@
@ok="handleOk"
@cancel="handleCancel"
wrapClassName="ant-modal-cust-warp"
:id="prefixNo"
style="top:5%;height: 100%;overflow-y: hidden">
<a-spin :spinning="confirmLoading">
<a-form :form="form">
......
<template>
<a-modal
<j-modal
:title="title"
:width="1300"
:visible="visible"
:confirmLoading="confirmLoading"
v-bind:prefixNo="prefixNo"
switchHelp
switchFullscreen
@ok="handleOk"
@cancel="handleCancel"
cancelText="关闭"
wrapClassName="ant-modal-cust-warp"
:id="prefixNo"
style="top:5%;height: 100%;overflow-y: hidden">
<template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel">
......@@ -261,7 +265,7 @@
</a-form>
</a-spin>
<unit-modal ref="unitModalForm" @ok="unitModalFormOk"></unit-modal>
</a-modal>
</j-modal>
</template>
<script>
import pick from 'lodash.pick'
......@@ -305,6 +309,7 @@
switchDisabled: false, //开关的启用状态
barCodeSwitch: false, //生成条码开关
maxBarCodeInfo: '', //最大条码
prefixNo: 'material',
sku: {
manyColor: '多颜色',
manySize: '多尺寸',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment