MrShi
2024-04-07 9a819fa35464df79a1a8a56e132b3463fac520a7
wx/unpackage/dist/dev/mp-weixin/pages/addPersonnel/addPersonnel.js
@@ -108,6 +108,9 @@
    uPopup: function () {
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 485))
    },
    uToast: function () {
      return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-toast/u-toast */ "node-modules/uview-ui/components/u-toast/u-toast").then(__webpack_require__.bind(null, /*! uview-ui/components/u-toast/u-toast.vue */ 698))
    },
  }
} catch (e) {
  if (
@@ -333,6 +336,13 @@
//
//
//
//
//
//
//
//
//
//
var _default = {
  data: function data() {
    return {
@@ -360,7 +370,14 @@
      this.getDetails();
    }
    uni.$on('add', function (data) {
      _this.list.unshift(data.model);
      if (JSON.stringify(_this.list).indexOf(data.model.idCard) !== -1) {
        _this.$refs.uToast.show({
          type: 'default',
          message: "[".concat(data.model.name, "]\u4EBA\u5458\u8EAB\u4EFD\u8BC1\u91CD\u590D")
        });
      } else {
        _this.list.unshift(data.model);
      }
    });
  },
  methods: {