Commit 42fab92c by 杨北旺

更换弹窗组件

1 parent b9afcac9
This diff could not be displayed because it is too large.
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.4.3", "glsx-components": "^1.4.4",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
......
...@@ -2,7 +2,7 @@ import Vue from 'vue' ...@@ -2,7 +2,7 @@ import Vue from 'vue'
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
import { message, messageBox } from '@/plugins/element.js' import { message, messageBox } from '@/plugins/element.js'
import { fetchConfig } from '@/config' import { fetchConfig } from '@/config'
import { GLButton, GLTable, GLCombiForm, GLTableButton } from 'glsx-components' //权限按钮 (根据权限动态创建) import { GLButton, GLTable, GLCombiForm, GLTableButton,GLDialog } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { getRoutes } from '@/router' import { getRoutes } from '@/router'
import render from './render' import render from './render'
import 'glsx-components/dist/glsx-components.css' import 'glsx-components/dist/glsx-components.css'
...@@ -14,6 +14,7 @@ Vue.use(GLTable) ...@@ -14,6 +14,7 @@ Vue.use(GLTable)
Vue.use(ElementUI) Vue.use(ElementUI)
Vue.use(GLCombiForm) Vue.use(GLCombiForm)
Vue.use(GLTableButton) Vue.use(GLTableButton)
Vue.use(GLDialog)
// Vue.use(Table) // Vue.use(Table)
// Vue.use(TableColumn) // Vue.use(TableColumn)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) { export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
......
...@@ -58,9 +58,7 @@ ...@@ -58,9 +58,7 @@
</div> </div>
</div> </div>
</div> </div>
<div <div class="fixed_bottom flex_cc">
class="fixed_bottom flex_cc"
>
<el-button type="primary" @click="handleConfirm">确定</el-button> <el-button type="primary" @click="handleConfirm">确定</el-button>
</div> </div>
</template> </template>
...@@ -73,7 +71,7 @@ ...@@ -73,7 +71,7 @@
</div> </div>
</div> </div>
</template> </template>
<el-dialog width="60%" height="50%" :visible.sync="dialogTableVisible"> <GLDialog mode="big" :visible.sync="dialogTableVisible">
<div slot="title" class="customTitle"> <div slot="title" class="customTitle">
<div class="title1">选择渠道活码</div> <div class="title1">选择渠道活码</div>
<span class="h9_title">仅查询自动回复中活动类型为“无忧服务”的活码</span> <span class="h9_title">仅查询自动回复中活动类型为“无忧服务”的活码</span>
...@@ -101,12 +99,12 @@ ...@@ -101,12 +99,12 @@
<div v-if="!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)">--</div> <div v-if="!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)">--</div>
</div> </div>
</GLTable> </GLTable>
<span slot="footer" class="dialog-footer flex_cc"> <span slot="footer" class="dialog-footer">
<span v-if="!tableData.length" @click="jumpToCreated" class="created_btn">创建活码</span> <span v-if="!tableData.length" @click="jumpToCreated" class="created_btn">创建活码</span>
<el-button size="mini" @click="dialogTableVisible = false">取消</el-button> <el-button plain size="small" class="btn-three" @click="dialogTableVisible = false">取消</el-button>
<el-button size="mini" type="primary" @click="toConfimActived">确定</el-button> <el-button size="small" type="primary" @click="toConfimActived">确定</el-button>
</span> </span>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -635,6 +633,13 @@ export default { ...@@ -635,6 +633,13 @@ export default {
} }
.dialog-footer { .dialog-footer {
position: relative; position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
.btn-three {
border-color: #c8c8c8;
color: #666;
}
.created_btn { .created_btn {
position: absolute; position: absolute;
left: 0px; left: 0px;
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</div> </div>
</div> </div>
</template> </template>
<el-dialog width="60%" height="50%" :visible.sync="dialogTableVisible"> <GLDialog mode="big" :visible.sync="dialogTableVisible">
<div slot="title" class="customTitle"> <div slot="title" class="customTitle">
<div class="title1">选择渠道活码</div> <div class="title1">选择渠道活码</div>
<span class="h9_title">仅查询自动回复中活动类型为“无忧服务”的活码</span> <span class="h9_title">仅查询自动回复中活动类型为“无忧服务”的活码</span>
...@@ -102,12 +102,12 @@ ...@@ -102,12 +102,12 @@
<div v-if="!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)">--</div> <div v-if="!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)">--</div>
</div> </div>
</GLTable> </GLTable>
<span slot="footer" class="dialog-footer flex_cc"> <span slot="footer" class="dialog-footer">
<span v-if="!tableData.length" @click="jumpToCreated" class="created_btn">创建活码</span> <span v-if="!tableData.length" @click="jumpToCreated" class="created_btn">创建活码</span>
<el-button size="mini" @click="dialogTableVisible = false">取消</el-button> <el-button plain size="small" class="btn-three" @click="dialogTableVisible = false">取消</el-button>
<el-button size="mini" type="primary" @click="toConfimActived">确定</el-button> <el-button size="small" type="primary" @click="toConfimActived">确定</el-button>
</span> </span>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -639,6 +639,13 @@ export default { ...@@ -639,6 +639,13 @@ export default {
} }
.dialog-footer { .dialog-footer {
position: relative; position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
.btn-three {
border-color: #c8c8c8;
color: #666;
}
.created_btn { .created_btn {
position: absolute; position: absolute;
left: 0px; left: 0px;
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</div> </div>
</div> </div>
<qrCode phone="138 2651 0577" :codeUrl="code" :bottom="182" v-if="nodata == 0 && noList == 0"></qrCode> <qrCode phone="138 2651 0577" :codeUrl="code" :bottom="182" v-if="nodata == 0 && noList == 0"></qrCode>
<el-dialog :visible.sync="computeShow" width="50%" :before-close="handleClose"> <GLDialog :visible.sync="computeShow" mode="mid" :hasFooter="false" :before-close="handleClose">
<div slot="title" class="dialogTitle">分润计算说明</div> <div slot="title" class="dialogTitle">分润计算说明</div>
<div class="dialogContent"> <div class="dialogContent">
<div class="wrap"> <div class="wrap">
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</div> </div>
</div> </div>
</div> </div>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
......
...@@ -12,8 +12,7 @@ ...@@ -12,8 +12,7 @@
<div class="table_wrap"> <div class="table_wrap">
<GLTable ref="table" :hasNum="false" :tableData="tableData" :tableTotal="tableTotal" :tableParams="tableParams" @refreshTable="toGetCouponsList"></GLTable> <GLTable ref="table" :hasNum="false" :tableData="tableData" :tableTotal="tableTotal" :tableParams="tableParams" @refreshTable="toGetCouponsList"></GLTable>
</div> </div>
<GLDialog :visible.sync="dialogTableVisible" mode="big" :hasFooter="false">
<el-dialog width="60%" :visible.sync="dialogTableVisible">
<div slot="title" class="customTitle"> <div slot="title" class="customTitle">
<div class="title1">共计{{ tabletotal1 }}条数据</div> <div class="title1">共计{{ tabletotal1 }}条数据</div>
<span class="h9_title">门店新车精品礼券由</span> <span class="h9_title">门店新车精品礼券由</span>
...@@ -21,7 +20,7 @@ ...@@ -21,7 +20,7 @@
<span class="h9_title">进行配置,如需新增详情请联系管理员。</span> <span class="h9_title">进行配置,如需新增详情请联系管理员。</span>
</div> </div>
<GLTable ref="table1" :tableTotal="tabletotal1" :hasNum="false" :tableData="tableData1" :tableParams="tableParams1" @refreshTable="toOpenCoupons"></GLTable> <GLTable ref="table1" :tableTotal="tabletotal1" :hasNum="false" :tableData="tableData1" :tableParams="tableParams1" @refreshTable="toOpenCoupons"></GLTable>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!