lex-xin 4 år sedan
förälder
incheckning
7e5fb5460f

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/index.html


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/css/chunk-43ce5058.5d84c1ec.css


+ 1 - 1
dist/static/css/chunk-commons.0b463f5d.css → dist/static/css/chunk-commons.f101b5cf.css

@@ -1 +1 @@
-.pagination-container[data-v-7e7c864b]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-7e7c864b]{display:none}.left-code .code-url{margin-top:10px;margin-bottom:10px}.left-code .code-url .link-btn{margin-top:0;margin-bottom:0;font-size:12px}.content-tooltip[data-v-a6001ff4]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;display:inline-block}
+.pagination-container[data-v-5d1dc94e]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-5d1dc94e]{display:none}.left-code .code-url{margin-top:10px;margin-bottom:10px}.left-code .code-url .link-btn{margin-top:0;margin-bottom:0;font-size:12px}.content-tooltip[data-v-a6001ff4]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;display:inline-block}

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/app.4e7362b5.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/chunk-43ce5058.c08e2606.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/chunk-8e23b150.5a938b3a.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/chunk-b7fa7158.63d4ec89.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/chunk-b7fa7158.be57a0fe.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/chunk-commons.4e1927ba.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/chunk-commons.aa2e4393.js


+ 6 - 2
src/components/Pagination/index.vue

@@ -56,6 +56,10 @@ export default {
     sync: {
       type: Boolean,
       default: false
+    },
+    saveKey: {
+      type: String,
+      default: ''
     }
   },
   computed: {
@@ -86,7 +90,7 @@ export default {
   },
   mounted() {
     if (this.sync) {
-      const searchs = new Searchs(this.$route.path)
+      const searchs = new Searchs(this.saveKey || this.$route.path)
       const active = searchs.get()
       if (active && active.page) {
         for (const key in active.page) {
@@ -101,7 +105,7 @@ export default {
   methods: {
     syncStore() {
       if (this.sync) {
-        const searchs = new Searchs(this.$route.path)
+        const searchs = new Searchs(this.saveKey || this.$route.path)
         searchs.update(this._props, undefined, 'page')
       }
     },

+ 1 - 0
src/views/chargeManager/one.vue

@@ -37,6 +37,7 @@
         </el-table>
         <pagination
           sync
+          save-key="chargeManager-one"
           :total.sync="pageInfo.total"
           :page.sync="pageInfo.page"
           :limit.sync="pageInfo.limit"

+ 1 - 0
src/views/chargeManager/three.vue

@@ -33,6 +33,7 @@
         </el-table>
         <pagination
           sync
+          save-key="chargeManager-three"
           :total.sync="pageInfo.total"
           :page.sync="pageInfo.page"
           :limit.sync="pageInfo.limit"

+ 7 - 4
src/views/editionManager/editionList.vue

@@ -85,7 +85,7 @@
       </div>
     </div>
     <!-- v-if="sectionVisible" -->
-    <el-dialog title="版本修改"
+    <el-dialog :title="isNew ? '版本添加' : '版本修改'"
                width="400px"
                :visible.sync="sectionVisible"
                :before-close="resetForm">
@@ -148,7 +148,7 @@
       </el-form>
       <div slot="footer"
            class="dialog-footer">
-        <el-button @click="sectionVisible = false">取 消</el-button>
+        <el-button @click="resetForm">取 消</el-button>
         <el-button v-if="isNew"
                    type="primary"
                    @click="createEdition">确 定</el-button>
@@ -243,6 +243,8 @@ export default {
     createEdition () {
       this.$refs.sectionForm.validate(v => {
         if (v) {
+          console.log(this.sectionForm)
+          return
           addAppVersionInfo(this.sectionForm).then(res => {
             if (res.code == 200) {
               this.$message.success('新增成功')
@@ -257,7 +259,9 @@ export default {
     },
     resetEdit (row) {
       this.isNew = false;
-      this.sectionForm = row;
+      this.$nextTick(() => {
+        this.sectionForm = row;
+      })
       this.sectionVisible = true;
     },
     resetEdition () {
@@ -280,7 +284,6 @@ export default {
         status: '',
         id: ''
       }
-      // console.log(this.sectionForm.status)
       this.$refs.sectionForm.resetFields();
       this.sectionVisible = false;
     }

Vissa filer visades inte eftersom för många filer har ändrats