Commit 9a947e6b by 胡悦

修改弹窗

1 parent 8acf6cb0
...@@ -71,26 +71,17 @@ ...@@ -71,26 +71,17 @@
<el-button type="primary" @click="handleSave(2)" v-show="step == 2">确定</el-button> <el-button type="primary" @click="handleSave(2)" v-show="step == 2">确定</el-button>
<el-button type="primary" @click="handleCancel">取消</el-button> <el-button type="primary" @click="handleCancel">取消</el-button>
</GLFooter> </GLFooter>
<el-dialog :visible.sync="dialogMapVisible" width="60%">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
import util from '@/utils/util' import util from '@/utils/util'
import mapView from '@/components/mapView/index'
import autoButton from '@/components/auto-button/index' import autoButton from '@/components/auto-button/index'
import selectProduct from './components/selectProduct' import selectProduct from './components/selectProduct'
import baseInfo from './components/baseInfo' import baseInfo from './components/baseInfo'
export default { export default {
name: 'index', name: 'index',
components: { components: {
mapView,
autoButton, autoButton,
selectProduct, selectProduct,
baseInfo baseInfo
...@@ -125,7 +116,6 @@ export default { ...@@ -125,7 +116,6 @@ export default {
mapHeight: 400, mapHeight: 400,
typeStatus: false, typeStatus: false,
loadingImg: false, loadingImg: false,
dialogMapVisible: false,
businessScopeCustomize: [{ name: '' }], businessScopeCustomize: [{ name: '' }],
accountAddForm: { accountAddForm: {
status: '', status: '',
...@@ -182,10 +172,6 @@ export default { ...@@ -182,10 +172,6 @@ export default {
} }
}, },
methods: { methods: {
getAddress() {
this.dialogMapVisible = false
this.accountAddForm.merchantAddress = this.$refs.mapForm.address
},
getBtnStatus(status, value) { getBtnStatus(status, value) {
this.editStatus = true this.editStatus = true
this.accountTypesRule = false this.accountTypesRule = false
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<el-form-item size="small" label="商户地址" class="form-row"> <el-form-item size="small" label="商户地址" class="form-row">
<!-- 省市 --> <!-- 省市 -->
<ProvinceCity ref="provinceForm" @selectProvince="selectProvince" @selectCity="selectCity"></ProvinceCity> <ProvinceCity ref="provinceForm" @selectProvince="selectProvince" @selectCity="selectCity"></ProvinceCity>
<el-input readonly v-model="accountAddForm.merchantAddress" placeholder="请选择商户地址"></el-input> <el-input readonly style="flex:1" v-model="accountAddForm.merchantAddress" placeholder="请选择商户地址"></el-input>
<el-button type="primary" class="form-btn" @click="hanleSelectMap">选择地址</el-button> <el-button type="primary" class="form-btn" @click="hanleSelectMap">选择地址</el-button>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -131,13 +131,13 @@ ...@@ -131,13 +131,13 @@
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<el-dialog :visible.sync="dialogMapVisible" width="60%"> <GLDialog :visible.sync="dialogMapVisible" title="选择地图">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view> <map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button> <el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button> <el-button type="primary" @click="getAddress">确 定</el-button>
</span> </span>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
......
...@@ -67,26 +67,17 @@ ...@@ -67,26 +67,17 @@
<el-button type="primary" @click="handleNext()" v-show="step == 'second'">确定</el-button> <el-button type="primary" @click="handleNext()" v-show="step == 'second'">确定</el-button>
<el-button type="primary" @click="handleCancel">取消</el-button> <el-button type="primary" @click="handleCancel">取消</el-button>
</GLFooter> </GLFooter>
<el-dialog :visible.sync="dialogMapVisible" width="60%">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
import util from '@/utils/util' import util from '@/utils/util'
import mapView from '@/components/mapView/index'
import autoButton from '@/components/auto-button/index' import autoButton from '@/components/auto-button/index'
import selectProduct from './components/selectProduct' import selectProduct from './components/selectProduct'
import baseInfo from './components/baseInfo' import baseInfo from './components/baseInfo'
export default { export default {
name: 'index', name: 'index',
components: { components: {
mapView,
autoButton, autoButton,
selectProduct, selectProduct,
baseInfo baseInfo
...@@ -116,7 +107,6 @@ export default { ...@@ -116,7 +107,6 @@ export default {
mapHeight: 400, mapHeight: 400,
typeStatus: false, typeStatus: false,
loadingImg: false, loadingImg: false,
dialogMapVisible: false,
businessScopeCustomize: [{ name: '' }], businessScopeCustomize: [{ name: '' }],
accountAddForm: { accountAddForm: {
id: null, id: null,
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-04-28 10:15:34 * @Date: 2022-04-28 10:15:34
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-05-05 18:32:18 * @LastEditTime: 2022-07-19 17:54:00
--> -->
<template> <template>
...@@ -77,6 +77,7 @@ export default { ...@@ -77,6 +77,7 @@ export default {
}) })
}, },
handleClose() { handleClose() {
console.log(11212)
this.visible = false this.visible = false
this.selectLevel = [] this.selectLevel = []
this.checkObj.first = '' this.checkObj.first = ''
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-04-28 10:15:34 * @Date: 2022-04-28 10:15:34
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-05-18 18:06:35 * @LastEditTime: 2022-07-19 17:54:58
--> -->
<template> <template>
...@@ -76,6 +76,7 @@ export default { ...@@ -76,6 +76,7 @@ export default {
}) })
}, },
handleClose() { handleClose() {
console.log(3232)
this.visible = false this.visible = false
this.selectLevel = [] this.selectLevel = []
this.checkObj.first = '' this.checkObj.first = ''
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-03-07 14:32:50 * @Date: 2022-03-07 14:32:50
* @LastEditTime: 2022-05-06 14:32:10 * @LastEditTime: 2022-07-19 17:48:23
* @LastEditors: huyue * @LastEditors: huyue
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \scrm-micro-settings\src\views\baseInfo\editInfo.vue * @FilePath: \scrm-micro-settings\src\views\baseInfo\editInfo.vue
...@@ -33,13 +33,13 @@ ...@@ -33,13 +33,13 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<el-dialog :visible.sync="dialogMapVisible" width="60%"> <GLDialog :visible.sync="dialogMapVisible" title="选择地图">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view> <map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button> <el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button> <el-button type="primary" @click="getAddress">确 定</el-button>
</span> </span>
</el-dialog> </GLDialog>
<GLFooter style="z-index: 2"> <GLFooter style="z-index: 2">
<el-button type="primary" @click="handleSave">提交</el-button> <el-button type="primary" @click="handleSave">提交</el-button>
<el-button @click="goback">取消</el-button> <el-button @click="goback">取消</el-button>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</div> </div>
<!-- 弹框信息 --> <!-- 弹框信息 -->
<el-dialog :visible.sync="showDialog" width="50%" :before-close="closeDialog" :show-close="false"> <GLDialog :visible.sync="showDialog" :before-close="closeDialog" :show-close="false">
<div slot="title" class="dialogTitle">产品升级订购联系方式</div> <div slot="title" class="dialogTitle">产品升级订购联系方式</div>
<div class="dialogMain"> <div class="dialogMain">
<div class="info_left"> <div class="info_left">
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<div style="footer" class="dialogFooter"> <div style="footer" class="dialogFooter">
<el-button size="small" class="element_btn" type="primary" @click="closeDialog">确定</el-button> <el-button size="small" class="element_btn" type="primary" @click="closeDialog">确定</el-button>
</div> </div>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
......
<template> <template>
<div> <div>
<el-dialog :visible.sync="dialogTelVisible" width="30%" top="30px"> <GLDialog :visible.sync="dialogTelVisible" :hasFooter="false" top="30px">
<div class="dialog-show"> <div class="dialog-show">
<img src="@/assets/tel-show.png" alt="" /> <img src="@/assets/tel-show.png" alt="" />
<div class="tel-plus">联系电话:{{ residentPhone }}</div> <div class="tel-plus">联系电话:{{ residentPhone }}</div>
</div> </div>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
......
...@@ -94,9 +94,9 @@ ...@@ -94,9 +94,9 @@
<slot name="footer"></slot> <slot name="footer"></slot>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-dialog :visible.sync="isImgVisible"> <GLDialog :visible.sync="isImgVisible">
<img class="dialog-img" width="100%" :src="dialogImageUrl" alt="" /> <img class="dialog-img" width="100%" :src="dialogImageUrl" alt="" />
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -248,7 +248,7 @@ export default { ...@@ -248,7 +248,7 @@ export default {
.glsx-combi-form .el-form-item--small.el-form-item { .glsx-combi-form .el-form-item--small.el-form-item {
/* margin: 0 30px 20px 0; */ /* margin: 0 30px 20px 0; */
margin: 0 0 20px 0; margin: 0 0 20px 0;
} }
.glsx-combi-form .el-form-item--small .el-form-item__label { .glsx-combi-form .el-form-item--small .el-form-item__label {
...@@ -391,7 +391,7 @@ export default { ...@@ -391,7 +391,7 @@ export default {
height: 100%; height: 100%;
} }
/* 图片上传 */ /* 图片上传 */
.footer-btns { .footer-btns {
float: right; float: right;
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!