Przeglądaj źródła

修改弹窗以及提示框样式

zhangdan 4 lat temu
rodzic
commit
5ffa0aebfa

+ 1 - 1
src/views/SupervisionAuth/role/menuModal.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <a-modal class="modalBox" :title="roleName" v-model="isshow" @cancle="cancel">
+    <a-modal class="modalBox" :title="roleName" v-model="isshow" @cancle="cancel" :centered="true">
       <a-form class="form-box" style="max-height: 600px;" :form="form" @submit="handleSubmit">
         <a-tree
           checkable

+ 1 - 0
src/views/SupervisionAuth/role/roleList.vue

@@ -189,6 +189,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '警告',
+		centered: true,
         content: '删除后无法恢复,确认删除?',
         okText: '确定',
         cancelText: '取消',

+ 7 - 1
src/views/SupervisionAuth/role/roleModal.vue

@@ -1,6 +1,12 @@
 <template>
   <div>
-    <a-modal class="modalBox" :title="titleText" v-model="isshow" @cancle="cancel" width="45%">
+    <a-modal
+      class="modalBox"
+      :title="titleText"
+      v-model="isshow"
+      @cancle="cancel"
+      width="45%"
+      :centered="true">
       <a-form :form="form" @submit="handleSubmit">
         <!-- 用户名称 -->
         <a-form-item label="角色名称" :label-col="{ span: 5 }" :wrapper-col="{ span: 14 }">

+ 3 - 0
src/views/SupervisionAuth/user/newStoreModal.vue

@@ -5,6 +5,7 @@
     @cancel="cancel"
     title="选择关联门店"
     width="60%"
+    :centered="true"
     :footer="null">
     <a-row :gutter="24">
       <a-form class="form-box" :form="form" @submit="handleSubmit">
@@ -158,6 +159,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '提示',
+        centered: true,
         content: '确认给该督导绑定该门店?',
         okText: '确定',
         cancelText: '取消',
@@ -181,6 +183,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '提示',
+        centered: true,
         content: '解绑后数据无法恢复,确认解绑?',
         okText: '确定',
         cancelText: '取消',

+ 9 - 2
src/views/SupervisionAuth/user/usedStoreModal.vue

@@ -1,6 +1,12 @@
 <template>
   <div>
-    <a-modal v-model="isShow" @cancel="cancel" title="点检关联门店" width="45%" :footer="null">
+    <a-modal
+      v-model="isShow"
+      @cancel="cancel"
+      title="点检关联门店"
+      width="45%"
+      :footer="null"
+      :centered="true">
       <!-- 新增点检门店按钮 -->
       <a-button type="primary" icon="plus" @click="openModal" style="margin-bottom: 20px;" id="usedStoreModal-openModal">新增门店</a-button>
       <!-- 列表 -->
@@ -53,7 +59,7 @@ export default {
       columns: [{
         title: '序号',
         dataIndex: 'no',
-         width: 60,
+        width: 60,
         align: 'center'
       },
       {
@@ -107,6 +113,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '提示',
+        centered: true,
         content: '删除后无法恢复,确认删除?',
         okText: '确定',
         cancelText: '取消',

+ 1 - 0
src/views/SupervisionAuth/user/userList.vue

@@ -224,6 +224,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '提示',
+        centered: true,
         content: '删除后数据无法恢复,确认删除?',
         okText: '确定',
         cancelText: '取消',

+ 2 - 1
src/views/SupervisionAuth/user/userModal.vue

@@ -6,6 +6,7 @@
       v-model="isshow"
       @cancle="cancel"
       width="45%"
+      :centered="true"
       :footer="null">
       <a-form :form="form" @submit="handleSubmit">
         <a-row :gutter="24">
@@ -115,7 +116,7 @@
             </a-form-item>
           </a-col>
         </a-row>
-        <a-form-item :wrapper-col="{  span: 24, offset: 10 }">
+        <a-form-item :wrapper-col="{ span: 24, offset: 10 }">
           <a-button type="primary" @click="handleSubmit()" :style="{ marginRight: '15px' }" id="userModal-handleSubmit">
             保存
           </a-button>

+ 1 - 1
src/views/power/role/menuModal.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <a-modal class="modalBox" :title="roleName" v-model="isshow" @cancle="cancel">
+    <a-modal class="modalBox" :title="roleName" v-model="isshow" @cancle="cancel" :centered="true">
       <a-form class="form-box" style="max-height: 600px;" :form="form" @submit="handleSubmit">
         <a-tree
           checkable

+ 1 - 0
src/views/power/role/roleList.vue

@@ -206,6 +206,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '警告',
+        centered: true,
         content: '删除后无法恢复,确认删除?',
         okText: '确定',
         cancelText: '取消',

+ 7 - 1
src/views/power/role/roleModal.vue

@@ -1,6 +1,12 @@
 <template>
   <div>
-    <a-modal class="modalBox" :title="titleText" v-model="isshow" @cancle="cancel" width="45%">
+    <a-modal
+      class="modalBox"
+      :title="titleText"
+      v-model="isshow"
+      @cancle="cancel"
+      width="45%"
+      :centered="true">
       <a-form :form="form" @submit="handleSubmit">
         <!-- 用户名称 -->
         <a-form-item label="角色名称" :label-col="{ span: 5 }" :wrapper-col="{ span: 14 }">

+ 1 - 0
src/views/power/user/userList.vue

@@ -207,6 +207,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '警告',
+        centered: true,
         content: '删除后无法恢复,确认删除?',
         okText: '确定',
         cancelText: '取消',

+ 3 - 2
src/views/power/user/userModal.vue

@@ -6,7 +6,8 @@
       :footer="null"
       v-model="isshow"
       @cancle="cancel"
-      width="45%">
+      width="45%"
+      :centered="true">
       <a-form :form="form" @submit="handleSubmit">
         <a-row :gutter="24">
           <a-col :span="12">
@@ -111,7 +112,7 @@
             </a-form-item>
           </a-col>
         </a-row>
-        <a-form-item :wrapper-col="{  span: 24, offset: 10 }">
+        <a-form-item :wrapper-col="{ span: 24, offset: 10 }">
           <a-button type="primary" @click="handleSubmit()" id="userModal-handleSubmit">
             保存
           </a-button>