瀏覽代碼

Merge branch 'develop' of http://git.chelingzhu.com/chelingzhu-web/storeCheck-admin-html into develop

lilei 4 年之前
父節點
當前提交
907f092299

+ 2 - 0
src/views/BasicSettings/Organization.vue

@@ -47,6 +47,7 @@
     <!-- 新增子级 -->
     <a-modal
       class="organization-modal"
+      centered
       :title="title"
       :visible="visible"
       :footer="null"
@@ -157,6 +158,7 @@ export default {
       _this.nowId = item.id
       _this.$confirm({
         title: '提示',
+        centered: true,
         content: '删除后原数据不可恢复,是否删除?',
         onOk () {
           delAtorg({ id: _this.nowId }).then(res => {

+ 6 - 0
src/views/BasicSettings/StoreAssociatedEquipmentModal.vue

@@ -1,6 +1,7 @@
 <template>
   <a-modal
     class="StoreAssociatedEquipmentModal-wrap"
+    centered
     title="关联摄像设备"
     :width="1000"
     :footer="null"
@@ -79,6 +80,7 @@
     <a-modal
       class="passagewayModal"
       title="编辑"
+      centered
       :visible="visible"
       :footer="null"
       :closable="true"
@@ -163,10 +165,12 @@ export default {
               this.resultData = res.data
             } else {
               this.noData = 1
+              this.resultData = null
             }
           }
         })
       } else {
+        this.noData = 0
         this.resultData = null
         this.isFocus = false
       }
@@ -187,6 +191,7 @@ export default {
       const _this = this
       _this.$confirm({
         title: '提示',
+        centered: true,
         content: '确定解绑该设备吗?',
         onOk () {
           unbindVsDevice({ id: item.id }).then(res => {
@@ -203,6 +208,7 @@ export default {
       const _this = this
       _this.$confirm({
         title: '提示',
+        centered: true,
         content: '确定要绑定该设备吗?',
         onOk () {
           bindVsDevice({ storeCode: _this.storeCode, vsDeviceId: item.id }).then(res => {

+ 1 - 0
src/views/BasicSettings/StoreModal.vue

@@ -1,6 +1,7 @@
 <template>
   <a-modal
     class="StoreModal"
+    centered
     title="编辑"
     :width="1000"
     :footer="null"