Commit dce89249 authored by 向偲彪's avatar 向偲彪
Browse files

fix

parent 561c6c88
Loading
Loading
Loading
Loading
+26 −26
Original line number Diff line number Diff line
@@ -92,32 +92,32 @@
      _onEdit (item) {
        this._create(item)
      },
      _create (item) {
        let self = this
        let modal = this.$modal.dialog({
          closable: false,
          showMask: true,
          escClose: true,
          className: 'v-modal-custom',
          transitionName: 'opacityp',
          render (h) {
            return h(mCreateWorker, {
              on: {
                onUpdate () {
                  self._debounceGET('false')
                  modal.remove()
                },
                close () {
                  modal.remove()
                }
              },
              props: {
                item: item
              }
            })
          }
        })
      },
      // _create (item) {
      //   let self = this
      //   let modal = this.$modal.dialog({
      //     closable: false,
      //     showMask: true,
      //     escClose: true,
      //     className: 'v-modal-custom',
      //     transitionName: 'opacityp',
      //     render (h) {
      //       return h(mCreateWorker, {
      //         on: {
      //           onUpdate () {
      //             self._debounceGET('false')
      //             modal.remove()
      //           },
      //           close () {
      //             modal.remove()
      //           }
      //         },
      //         props: {
      //           item: item
      //         }
      //       })
      //     }
      //   })
      // },
      _getList (flag) {
        this.isLoading = !flag
        this.getWorkerGroups(this.searchParams).then(res => {