first commit
This commit is contained in:
1
moehu/moehu-backend/static/admin/js/.pydio
Normal file
1
moehu/moehu-backend/static/admin/js/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
d243b5d1-3ceb-4cee-8b3f-f5382643818b
|
||||
2090
moehu/moehu-backend/static/admin/js/app.e1dcc110.js
Normal file
2090
moehu/moehu-backend/static/admin/js/app.e1dcc110.js
Normal file
File diff suppressed because it is too large
Load Diff
BIN
moehu/moehu-backend/static/admin/js/app.e1dcc110.js.gz
Normal file
BIN
moehu/moehu-backend/static/admin/js/app.e1dcc110.js.gz
Normal file
Binary file not shown.
93242
moehu/moehu-backend/static/admin/js/chunk-vendors.d329e69b.js
Normal file
93242
moehu/moehu-backend/static/admin/js/chunk-vendors.d329e69b.js
Normal file
File diff suppressed because it is too large
Load Diff
BIN
moehu/moehu-backend/static/admin/js/chunk-vendors.d329e69b.js.gz
Normal file
BIN
moehu/moehu-backend/static/admin/js/chunk-vendors.d329e69b.js.gz
Normal file
Binary file not shown.
1126
moehu/moehu-backend/static/admin/js/index.11cdff42.js
Normal file
1126
moehu/moehu-backend/static/admin/js/index.11cdff42.js
Normal file
File diff suppressed because it is too large
Load Diff
BIN
moehu/moehu-backend/static/admin/js/index.11cdff42.js.gz
Normal file
BIN
moehu/moehu-backend/static/admin/js/index.11cdff42.js.gz
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,98 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["indexOpusManageReportAudit"],{
|
||||
|
||||
/***/ "1500":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _layout_base_layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("cb9f");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
// import "@pageLess/OpusAudit.less";
|
||||
|
||||
|
||||
|
||||
|
||||
var ReportAudit = /*#__PURE__*/function (_VueType) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(ReportAudit, _VueType);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(ReportAudit);
|
||||
|
||||
function ReportAudit() {
|
||||
var _this;
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, ReportAudit);
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.RouterMeta = {
|
||||
title: '作品举报审核',
|
||||
isLogin: false
|
||||
};
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(ReportAudit, [{
|
||||
key: "created",
|
||||
value: function () {
|
||||
var _created = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
|
||||
function created() {
|
||||
return _created.apply(this, arguments);
|
||||
}
|
||||
|
||||
return created;
|
||||
}()
|
||||
}, {
|
||||
key: "beforeRouteEnter",
|
||||
// 路由拦截器
|
||||
value: function beforeRouteEnter(to, from, next) {
|
||||
next();
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "ReportAudit"
|
||||
}, ["\u4F5C\u54C1\u4E3E\u62A5\u5BA1\u6838"]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return ReportAudit;
|
||||
}(_layout_base_layout__WEBPACK_IMPORTED_MODULE_8__[/* VueType */ "a"]);
|
||||
|
||||
ReportAudit = Object(tslib__WEBPACK_IMPORTED_MODULE_6__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_7__[/* Component */ "a"]], ReportAudit);
|
||||
/* harmony default export */ __webpack_exports__["default"] = (ReportAudit);
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -0,0 +1,821 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["indexOtherManageAppVsersion"],{
|
||||
|
||||
/***/ "2638":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
function _extends(){return _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(this,arguments)}var normalMerge=["attrs","props","domProps"],toArrayMerge=["class","style","directives"],functionalMerge=["on","nativeOn"],mergeJsxProps=function(a){return a.reduce(function(c,a){for(var b in a)if(!c[b])c[b]=a[b];else if(-1!==normalMerge.indexOf(b))c[b]=_extends({},c[b],a[b]);else if(-1!==toArrayMerge.indexOf(b)){var d=c[b]instanceof Array?c[b]:[c[b]],e=a[b]instanceof Array?a[b]:[a[b]];c[b]=d.concat(e)}else if(-1!==functionalMerge.indexOf(b)){for(var f in a[b])if(c[b][f]){var g=c[b][f]instanceof Array?c[b][f]:[c[b][f]],h=a[b][f]instanceof Array?a[b][f]:[a[b][f]];c[b][f]=g.concat(h)}else c[b][f]=a[b][f];}else if("hook"==b)for(var i in a[b])c[b][i]=c[b][i]?mergeFn(c[b][i],a[b][i]):a[b][i];else c[b]=a[b];return c},{})},mergeFn=function(a,b){return function(){a&&a.apply(this,arguments),b&&b.apply(this,arguments)}};module.exports=mergeJsxProps;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "27b4":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "463b":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BaseLogic; });
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var _ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("4771");
|
||||
/* harmony import */ var _impl_User_service_impl__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("32f6");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2020. bmy
|
||||
*/
|
||||
var _a;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* logic 层的父类
|
||||
* 主要实现 页面公共参数和ajax方法的地方
|
||||
*/
|
||||
|
||||
var BaseLogic = /*#__PURE__*/function () {
|
||||
function BaseLogic() {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, BaseLogic);
|
||||
|
||||
this.page = 1;
|
||||
this.total_page = 1;
|
||||
this.count = 10; // 请求参数
|
||||
|
||||
this.PageParams = {
|
||||
limit: 10,
|
||||
page: 1
|
||||
};
|
||||
}
|
||||
/**
|
||||
* 【页面中公共的多次被用到的接口】可以在这个父类中定义,
|
||||
* 子类logic中直接使用,避免方法的冗余
|
||||
* @constructor
|
||||
*/
|
||||
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(BaseLogic, [{
|
||||
key: "DepartmentListRequest",
|
||||
value: function () {
|
||||
var _DepartmentListRequest = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
|
||||
function DepartmentListRequest() {
|
||||
return _DepartmentListRequest.apply(this, arguments);
|
||||
}
|
||||
|
||||
return DepartmentListRequest;
|
||||
}()
|
||||
}]);
|
||||
|
||||
return BaseLogic;
|
||||
}();
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(_ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_5__[/* Inject */ "a"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", typeof (_a = typeof _impl_User_service_impl__WEBPACK_IMPORTED_MODULE_6__["UserServiceImpl"] !== "undefined" && _impl_User_service_impl__WEBPACK_IMPORTED_MODULE_6__["UserServiceImpl"]) === "function" ? _a : Object)], BaseLogic.prototype, "UserServiceImpl", void 0);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "8eef":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
// ESM COMPAT FLAG
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js
|
||||
var helper = __webpack_require__("2638");
|
||||
var helper_default = /*#__PURE__*/__webpack_require__.n(helper);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
||||
var runtime = __webpack_require__("96cf");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__("1da1");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
||||
var classCallCheck = __webpack_require__("d4ec");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
||||
var createClass = __webpack_require__("bee2");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
||||
var assertThisInitialized = __webpack_require__("257e");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
var inherits = __webpack_require__("262e");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 4 modules
|
||||
var createSuper = __webpack_require__("2caf");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
|
||||
var tslib_es6 = __webpack_require__("9ab4");
|
||||
|
||||
// EXTERNAL MODULE: ./src/application/assets/less/page/Login.less
|
||||
var Login = __webpack_require__("ce7c");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/vue-property-decorator/lib/vue-property-decorator.js
|
||||
var vue_property_decorator = __webpack_require__("60a3");
|
||||
|
||||
// EXTERNAL MODULE: ./src/application/layout/base.layout.ts
|
||||
var base_layout = __webpack_require__("cb9f");
|
||||
|
||||
// EXTERNAL MODULE: ./src/application/logic/Base.logic.ts
|
||||
var Base_logic = __webpack_require__("463b");
|
||||
|
||||
// EXTERNAL MODULE: ./src/core/annotation/Ioc.annotation.ts + 1 modules
|
||||
var Ioc_annotation = __webpack_require__("4771");
|
||||
|
||||
// EXTERNAL MODULE: ./src/core/service/impl/Tool.service.impl.ts
|
||||
var Tool_service_impl = __webpack_require__("e98d");
|
||||
|
||||
// CONCATENATED MODULE: ./src/application/logic/page/AppVsersionLogic.ts
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var _a;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var AppVsersionLogic_AppVsersionLogic = /*#__PURE__*/function (_BaseLogic) {
|
||||
Object(inherits["a" /* default */])(AppVsersionLogic, _BaseLogic);
|
||||
|
||||
var _super = Object(createSuper["a" /* default */])(AppVsersionLogic);
|
||||
|
||||
function AppVsersionLogic(point) {
|
||||
var _this;
|
||||
|
||||
Object(classCallCheck["a" /* default */])(this, AppVsersionLogic);
|
||||
|
||||
_this = _super.call(this);
|
||||
_this.params = {
|
||||
count: _this.count,
|
||||
page: _this.page,
|
||||
update_version: '',
|
||||
update_force: ''
|
||||
};
|
||||
_this.updateList = [];
|
||||
_this.isShowAddNewUpdate = false;
|
||||
_this.updateForce = false;
|
||||
_this.addNewsuUpdate = {
|
||||
update_version: "",
|
||||
update_version_code: null,
|
||||
update_down_url: "",
|
||||
update_content: "",
|
||||
update_force: 0
|
||||
};
|
||||
_this._ = point;
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(createClass["a" /* default */])(AppVsersionLogic, [{
|
||||
key: "StartUp",
|
||||
value: function () {
|
||||
var _StartUp = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return this.GetUpdateList();
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function StartUp() {
|
||||
return _StartUp.apply(this, arguments);
|
||||
}
|
||||
|
||||
return StartUp;
|
||||
}() // apk上传接口
|
||||
|
||||
}, {
|
||||
key: "UploadFile",
|
||||
value: function () {
|
||||
var _UploadFile = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(file) {
|
||||
var formdata, res;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
formdata = new FormData();
|
||||
formdata.append("file", file);
|
||||
_context2.next = 4;
|
||||
return this.toolServiceImpl.UploadFile(formdata);
|
||||
|
||||
case 4:
|
||||
res = _context2.sent;
|
||||
console.log("====== res: ", res);
|
||||
this.addNewsuUpdate.update_down_url = res.img_url;
|
||||
|
||||
case 7:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this);
|
||||
}));
|
||||
|
||||
function UploadFile(_x) {
|
||||
return _UploadFile.apply(this, arguments);
|
||||
}
|
||||
|
||||
return UploadFile;
|
||||
}()
|
||||
}, {
|
||||
key: "SetaddNewsuUpdate",
|
||||
value: function () {
|
||||
var _SetaddNewsuUpdate = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||
var res;
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
while (1) {
|
||||
switch (_context3.prev = _context3.next) {
|
||||
case 0:
|
||||
_context3.next = 2;
|
||||
return this.toolServiceImpl.addNewUpdate(this.addNewsuUpdate);
|
||||
|
||||
case 2:
|
||||
res = _context3.sent;
|
||||
_context3.next = 5;
|
||||
return this.GetUpdateList();
|
||||
|
||||
case 5:
|
||||
this.isShowAddNewUpdate = false;
|
||||
|
||||
case 6:
|
||||
case "end":
|
||||
return _context3.stop();
|
||||
}
|
||||
}
|
||||
}, _callee3, this);
|
||||
}));
|
||||
|
||||
function SetaddNewsuUpdate() {
|
||||
return _SetaddNewsuUpdate.apply(this, arguments);
|
||||
}
|
||||
|
||||
return SetaddNewsuUpdate;
|
||||
}()
|
||||
}, {
|
||||
key: "GetUpdateList",
|
||||
value: function () {
|
||||
var _GetUpdateList = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
||||
var res;
|
||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||
while (1) {
|
||||
switch (_context4.prev = _context4.next) {
|
||||
case 0:
|
||||
_context4.next = 2;
|
||||
return this.toolServiceImpl.UpdateList(this.params);
|
||||
|
||||
case 2:
|
||||
res = _context4.sent;
|
||||
this.updateList = res.result;
|
||||
console.log(res);
|
||||
|
||||
case 5:
|
||||
case "end":
|
||||
return _context4.stop();
|
||||
}
|
||||
}
|
||||
}, _callee4, this);
|
||||
}));
|
||||
|
||||
function GetUpdateList() {
|
||||
return _GetUpdateList.apply(this, arguments);
|
||||
}
|
||||
|
||||
return GetUpdateList;
|
||||
}()
|
||||
}]);
|
||||
|
||||
return AppVsersionLogic;
|
||||
}(Base_logic["a" /* BaseLogic */]);
|
||||
|
||||
Object(tslib_es6["a" /* __decorate */])([Object(Ioc_annotation["a" /* Inject */])(), Object(tslib_es6["b" /* __metadata */])("design:type", typeof (_a = typeof Tool_service_impl["ToolServiceImpl"] !== "undefined" && Tool_service_impl["ToolServiceImpl"]) === "function" ? _a : Object)], AppVsersionLogic_AppVsersionLogic.prototype, "toolServiceImpl", void 0);
|
||||
// EXTERNAL MODULE: ./src/application/components/PageHeader.tsx
|
||||
var PageHeader = __webpack_require__("e294");
|
||||
|
||||
// CONCATENATED MODULE: ./src/application/page/index/OtherManage/AppVsersion.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var AppVsersion_AppVsersion = /*#__PURE__*/function (_VueType) {
|
||||
Object(inherits["a" /* default */])(AppVsersion, _VueType);
|
||||
|
||||
var _super = Object(createSuper["a" /* default */])(AppVsersion);
|
||||
|
||||
function AppVsersion() {
|
||||
var _this;
|
||||
|
||||
Object(classCallCheck["a" /* default */])(this, AppVsersion);
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.service = new AppVsersionLogic_AppVsersionLogic(Object(assertThisInitialized["a" /* default */])(_this));
|
||||
_this.RouterMeta = {
|
||||
title: 'App版本管理',
|
||||
isLogin: true
|
||||
};
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(createClass["a" /* default */])(AppVsersion, [{
|
||||
key: "created",
|
||||
value: function () {
|
||||
var _created = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return this.service.StartUp();
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function created() {
|
||||
return _created.apply(this, arguments);
|
||||
}
|
||||
|
||||
return created;
|
||||
}()
|
||||
}, {
|
||||
key: "beforeRouteEnter",
|
||||
// 路由拦截器
|
||||
value: function beforeRouteEnter(to, from, next) {
|
||||
next();
|
||||
}
|
||||
}, {
|
||||
key: "AddNewUpdate",
|
||||
value: function AddNewUpdate() {
|
||||
var _this2 = this;
|
||||
|
||||
var h = this.$createElement;
|
||||
return h("el-dialog", {
|
||||
"attrs": {
|
||||
"title": "发布新版本",
|
||||
"destroy-on-close": true,
|
||||
"show-close": false,
|
||||
"visible": this.service.isShowAddNewUpdate,
|
||||
"width": "40%"
|
||||
}
|
||||
}, [h("el-form", {
|
||||
"ref": "form",
|
||||
"attrs": {
|
||||
"label-width": "100px"
|
||||
}
|
||||
}, [h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "App版本号"
|
||||
}
|
||||
}, [h("el-input", {
|
||||
"attrs": {
|
||||
"placeholder": "请输入App版本号,例如:1.0.2"
|
||||
},
|
||||
"model": {
|
||||
value: _this2.service.addNewsuUpdate.update_version,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.service.addNewsuUpdate, "update_version", $$v);
|
||||
}
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "版本号整型"
|
||||
}
|
||||
}, [h("el-input", {
|
||||
"attrs": {
|
||||
"placeholder": "请输入版本号整型,例如:102"
|
||||
},
|
||||
"model": {
|
||||
value: _this2.service.addNewsuUpdate.update_version_code,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.service.addNewsuUpdate, "update_version_code", $$v);
|
||||
}
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "App安装地址"
|
||||
}
|
||||
}, [h("el-upload", {
|
||||
"class": "upload-demo",
|
||||
"attrs": {
|
||||
"action": "/",
|
||||
"multiple": false,
|
||||
"accept": ".apk",
|
||||
"http-request": function httpRequest(param) {
|
||||
_this2.service.UploadFile(param.file);
|
||||
},
|
||||
"limit": 1,
|
||||
"file-list": []
|
||||
},
|
||||
"on": {
|
||||
"preview": "handlePreview"
|
||||
}
|
||||
}, [h("el-button", {
|
||||
"attrs": {
|
||||
"type": "primary"
|
||||
}
|
||||
}, ["\u8BF7\u9009\u62E9Apk\u5B89\u88C5\u5305", h("i", {
|
||||
"class": "el-icon-upload el-icon--right"
|
||||
})]), h("div", {
|
||||
"slot": "tip",
|
||||
"class": "el-upload__tip"
|
||||
}, ["\u53EA\u80FD\u4E0A\u4F20apk\u6587\u4EF6\uFF0C\u4E14\u4E0D\u8D85\u8FC7500MB"])])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "App更新介绍"
|
||||
}
|
||||
}, [h("el-input", {
|
||||
"attrs": {
|
||||
"type": "textarea",
|
||||
"rows": 5,
|
||||
"placeholder": "请输入App更新介绍,多行请换行。例如:\n1:完善XXX功能\n2: 实现xxx功能"
|
||||
},
|
||||
"model": {
|
||||
value: _this2.service.addNewsuUpdate.update_content,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.service.addNewsuUpdate, "update_content", $$v);
|
||||
}
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "是否强制更新"
|
||||
}
|
||||
}, [h("el-switch", {
|
||||
"on": {
|
||||
"change": function change(e) {
|
||||
e ? _this2.service.addNewsuUpdate.update_force = 1 : _this2.service.addNewsuUpdate.update_force = 0;
|
||||
console.log(_this2.service.addNewsuUpdate.update_force);
|
||||
}
|
||||
},
|
||||
"model": {
|
||||
value: _this2.service.updateForce,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.service, "updateForce", $$v);
|
||||
}
|
||||
}
|
||||
})])]), h("span", {
|
||||
"slot": "footer",
|
||||
"class": "dialog-footer"
|
||||
}, [h("el-button", {
|
||||
"on": {
|
||||
"click": function click() {
|
||||
_this2.service.isShowAddNewUpdate = false;
|
||||
}
|
||||
}
|
||||
}, ["\u53D6 \u6D88"]), h("el-button", {
|
||||
"attrs": {
|
||||
"type": "primary"
|
||||
},
|
||||
"on": {
|
||||
"click": function click() {
|
||||
return _this2.service.SetaddNewsuUpdate();
|
||||
}
|
||||
}
|
||||
}, ["\u786E \u5B9A"])])]);
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this3 = this;
|
||||
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "AppVsersion"
|
||||
}, [this.AddNewUpdate(), h(PageHeader["a" /* default */], {
|
||||
"attrs": {
|
||||
"title": "App版本管理",
|
||||
"subtitle": "发布,删除,查看App版本"
|
||||
}
|
||||
}), h("el-form", {
|
||||
"attrs": {
|
||||
"inline": true
|
||||
},
|
||||
"on": {
|
||||
"input": function input() {}
|
||||
},
|
||||
"class": "demo-form-inline"
|
||||
}, [h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "版本号"
|
||||
}
|
||||
}, [h("el-input", {
|
||||
"attrs": {
|
||||
"clearable": true,
|
||||
"placeholder": "请输入App版本号"
|
||||
},
|
||||
"model": {
|
||||
value: _this3.service.params.update_version,
|
||||
callback: function callback($$v) {
|
||||
_this3.$set(_this3.service.params, "update_version", $$v);
|
||||
}
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "是否强制更新"
|
||||
}
|
||||
}, [h("el-select", {
|
||||
"attrs": {
|
||||
"clearable": true,
|
||||
"placeholder": "请选择类型"
|
||||
},
|
||||
"on": {
|
||||
"change": function change() {
|
||||
return _this3.service.params.page = 1;
|
||||
}
|
||||
},
|
||||
"model": {
|
||||
value: _this3.service.params.update_force,
|
||||
callback: function callback($$v) {
|
||||
_this3.$set(_this3.service.params, "update_force", $$v);
|
||||
}
|
||||
}
|
||||
}, [h("el-option", {
|
||||
"attrs": {
|
||||
"label": "强制",
|
||||
"value": "1"
|
||||
}
|
||||
}), h("el-option", {
|
||||
"attrs": {
|
||||
"label": "不强制",
|
||||
"value": "0"
|
||||
}
|
||||
})])]), h("el-form-item", [h("el-button", {
|
||||
"attrs": {
|
||||
"type": "primary"
|
||||
},
|
||||
"on": {
|
||||
"click": /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return _this3.service.GetUpdateList();
|
||||
|
||||
case 2:
|
||||
return _context2.abrupt("return", _context2.sent);
|
||||
|
||||
case 3:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2);
|
||||
}))
|
||||
}
|
||||
}, ["\u67E5\u8BE2"]), h("el-button", {
|
||||
"attrs": {
|
||||
"type": "success"
|
||||
},
|
||||
"on": {
|
||||
"click": function click() {
|
||||
_this3.service.isShowAddNewUpdate = true;
|
||||
}
|
||||
}
|
||||
}, ["\u53D1\u5E03\u65B0\u7248\u672C"])])]), h("el-table", {
|
||||
"attrs": {
|
||||
"data": this.service.updateList,
|
||||
"border": true,
|
||||
"stripe": true,
|
||||
"default-sort": {
|
||||
prop: 'opus_id',
|
||||
order: 'ascending'
|
||||
}
|
||||
},
|
||||
"style": "width: 100%"
|
||||
}, [h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "update_id",
|
||||
"sortable": true,
|
||||
"label": "版本编号"
|
||||
}
|
||||
}), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "update_version",
|
||||
"sortable": true,
|
||||
"label": "版本号"
|
||||
}
|
||||
}), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "update_version_code",
|
||||
"sortable": true,
|
||||
"label": "版本号整型"
|
||||
}
|
||||
}), h("el-table-column", helper_default()([{
|
||||
"attrs": {
|
||||
"prop": "update_size"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("span", [data.row.update_size / 1000000, "MB"]);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"sortable": true,
|
||||
"label": "App大小"
|
||||
}
|
||||
}])), h("el-table-column", helper_default()([{}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("el-link", {
|
||||
"attrs": {
|
||||
"type": "info",
|
||||
"icon": "el-icon-download",
|
||||
"href": data.row.update_down_url,
|
||||
"target": "_blank"
|
||||
}
|
||||
}, ["\u70B9\u51FB\u4E0B\u8F7D"]);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "App下载地址"
|
||||
}
|
||||
}])), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "update_content",
|
||||
"label": "更新的功能介绍"
|
||||
}
|
||||
}), h("el-table-column", helper_default()([{
|
||||
"attrs": {
|
||||
"prop": "update_force"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return data.row.update_force == 1 ? h("el-link", {
|
||||
"attrs": {
|
||||
"type": "danger",
|
||||
"underline": false
|
||||
}
|
||||
}, ["\u5F3A\u5236"]) : h("el-link", {
|
||||
"attrs": {
|
||||
"type": "warning",
|
||||
"underline": false
|
||||
}
|
||||
}, ["\u4E0D\u5F3A\u5236"]);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "是否强制更新"
|
||||
}
|
||||
}])), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "update_down_count",
|
||||
"sortable": true,
|
||||
"label": "下次次数"
|
||||
}
|
||||
}), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "update_time",
|
||||
"sortable": true,
|
||||
"label": "发布时间"
|
||||
}
|
||||
})])]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return AppVsersion;
|
||||
}(base_layout["a" /* VueType */]);
|
||||
|
||||
AppVsersion_AppVsersion = Object(tslib_es6["a" /* __decorate */])([vue_property_decorator["a" /* Component */]], AppVsersion_AppVsersion);
|
||||
/* harmony default export */ var OtherManage_AppVsersion = __webpack_exports__["default"] = (AppVsersion_AppVsersion);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "ce7c":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e294":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("27b4");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
var PageHeader = /*#__PURE__*/function (_Vue) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(PageHeader, _Vue);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(PageHeader);
|
||||
|
||||
function PageHeader() {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, PageHeader);
|
||||
|
||||
return _super.apply(this, arguments);
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(PageHeader, [{
|
||||
key: "mounted",
|
||||
value: function mounted() {}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "page_header"
|
||||
}, [h("i", {
|
||||
"class": "el-icon-back"
|
||||
}), h("h1", [this.title]), h("span", [this.subtitle])]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return PageHeader;
|
||||
}(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Vue */ "c"]);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", String)], PageHeader.prototype, "title", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", String)], PageHeader.prototype, "subtitle", void 0);
|
||||
|
||||
PageHeader = Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Component */ "a"]], PageHeader);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (PageHeader);
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
Binary file not shown.
@@ -0,0 +1,827 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["indexUserManageAvatarAudit"],{
|
||||
|
||||
/***/ "2638":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
function _extends(){return _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(this,arguments)}var normalMerge=["attrs","props","domProps"],toArrayMerge=["class","style","directives"],functionalMerge=["on","nativeOn"],mergeJsxProps=function(a){return a.reduce(function(c,a){for(var b in a)if(!c[b])c[b]=a[b];else if(-1!==normalMerge.indexOf(b))c[b]=_extends({},c[b],a[b]);else if(-1!==toArrayMerge.indexOf(b)){var d=c[b]instanceof Array?c[b]:[c[b]],e=a[b]instanceof Array?a[b]:[a[b]];c[b]=d.concat(e)}else if(-1!==functionalMerge.indexOf(b)){for(var f in a[b])if(c[b][f]){var g=c[b][f]instanceof Array?c[b][f]:[c[b][f]],h=a[b][f]instanceof Array?a[b][f]:[a[b][f]];c[b][f]=g.concat(h)}else c[b][f]=a[b][f];}else if("hook"==b)for(var i in a[b])c[b][i]=c[b][i]?mergeFn(c[b][i],a[b][i]):a[b][i];else c[b]=a[b];return c},{})},mergeFn=function(a,b){return function(){a&&a.apply(this,arguments),b&&b.apply(this,arguments)}};module.exports=mergeJsxProps;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "27b4":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "3c96":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4de4");
|
||||
/* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("2638");
|
||||
/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_2__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("27b4");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_10__);
|
||||
/* harmony import */ var _componentsLess_UserVerifyList_less__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("8458");
|
||||
/* harmony import */ var _componentsLess_UserVerifyList_less__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_UserVerifyList_less__WEBPACK_IMPORTED_MODULE_11__);
|
||||
/* harmony import */ var _PageHeader__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("e294");
|
||||
/* harmony import */ var _ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("4771");
|
||||
/* harmony import */ var _core_service_impl_User_service_impl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("32f6");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
var _a;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var UserVerifyList = /*#__PURE__*/function (_Vue) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(UserVerifyList, _Vue);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(UserVerifyList);
|
||||
|
||||
function UserVerifyList() {
|
||||
var _this;
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(this, UserVerifyList);
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.filter = {
|
||||
user_id: null,
|
||||
user_verify_status: null,
|
||||
type: _this.type,
|
||||
page: 1,
|
||||
count: 10
|
||||
};
|
||||
_this.total_page = 0;
|
||||
_this.VerifyList = [];
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(UserVerifyList, [{
|
||||
key: "created",
|
||||
value: function created() {
|
||||
this.GetVerifyList();
|
||||
}
|
||||
}, {
|
||||
key: "GetVerifyList",
|
||||
value: function () {
|
||||
var _GetVerifyList = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var res;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return this.UserServiceImpl.UserVerifyList(this.filter);
|
||||
|
||||
case 2:
|
||||
res = _context.sent;
|
||||
this.VerifyList = res.result;
|
||||
this.total_page = res.total_page;
|
||||
|
||||
case 5:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function GetVerifyList() {
|
||||
return _GetVerifyList.apply(this, arguments);
|
||||
}
|
||||
|
||||
return GetVerifyList;
|
||||
}()
|
||||
}, {
|
||||
key: "SetUserReview",
|
||||
value: function () {
|
||||
var _SetUserReview = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(user_verify_status, row) {
|
||||
var res;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return this.UserServiceImpl.UserReview({
|
||||
user_verify_status: user_verify_status,
|
||||
user_verify_id: row.user_verify_id
|
||||
});
|
||||
|
||||
case 2:
|
||||
res = _context2.sent;
|
||||
_context2.next = 5;
|
||||
return this.GetVerifyList();
|
||||
|
||||
case 5:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this);
|
||||
}));
|
||||
|
||||
function SetUserReview(_x, _x2) {
|
||||
return _SetUserReview.apply(this, arguments);
|
||||
}
|
||||
|
||||
return SetUserReview;
|
||||
}()
|
||||
}, {
|
||||
key: "GetUserItemInfo",
|
||||
value: function () {
|
||||
var _GetUserItemInfo = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(row) {
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
while (1) {
|
||||
switch (_context3.prev = _context3.next) {
|
||||
case 0:
|
||||
_context3.next = 2;
|
||||
return this.UserServiceImpl.UserItemInfo({
|
||||
user_verify_id: row.user_verify_id
|
||||
});
|
||||
|
||||
case 2:
|
||||
this.userItemInfo = _context3.sent;
|
||||
this.$forceUpdate();
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context3.stop();
|
||||
}
|
||||
}
|
||||
}, _callee3, this);
|
||||
}));
|
||||
|
||||
function GetUserItemInfo(_x3) {
|
||||
return _GetUserItemInfo.apply(this, arguments);
|
||||
}
|
||||
|
||||
return GetUserItemInfo;
|
||||
}()
|
||||
}, {
|
||||
key: "ShowColumn",
|
||||
value: function ShowColumn() {
|
||||
var h = this.$createElement;
|
||||
|
||||
switch (this.type) {
|
||||
case "avatar":
|
||||
return h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"prop": "user_head_img"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("el-image", {
|
||||
"attrs": {
|
||||
"width": "100%",
|
||||
"preview-src-list": [data.row.user_head_img],
|
||||
"src": data.row.user_head_img,
|
||||
"alt": ""
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "头像"
|
||||
}
|
||||
}]));
|
||||
break;
|
||||
|
||||
case "nickname":
|
||||
return h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"prop": "user_nickname"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("span", [data.row.user_nickname]);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "昵称"
|
||||
}
|
||||
}]));
|
||||
break;
|
||||
|
||||
case "signature":
|
||||
return h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"prop": "user_autograph"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("span", [data.row.user_autograph]);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "签名"
|
||||
}
|
||||
}]));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this2 = this;
|
||||
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "UserVerifyList"
|
||||
}, [h(_PageHeader__WEBPACK_IMPORTED_MODULE_12__[/* default */ "a"], {
|
||||
"attrs": {
|
||||
"title": this.title,
|
||||
"subtitle": this.subtitle
|
||||
}
|
||||
}), h("el-form", {
|
||||
"attrs": {
|
||||
"inline": true
|
||||
},
|
||||
"on": {
|
||||
"input": function input() {}
|
||||
},
|
||||
"model": this.filter,
|
||||
"class": "demo-form-inline"
|
||||
}, [h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户id"
|
||||
}
|
||||
}, [h("el-input", {
|
||||
"attrs": {
|
||||
"clearable": true,
|
||||
"placeholder": "请输入用户id"
|
||||
},
|
||||
"model": {
|
||||
value: _this2.filter.user_id,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.filter, "user_id", $$v);
|
||||
}
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "审核状态"
|
||||
}
|
||||
}, [h("el-select", {
|
||||
"attrs": {
|
||||
"clearable": true,
|
||||
"placeholder": "请选择审核状态"
|
||||
},
|
||||
"on": {
|
||||
"change": function change() {
|
||||
return _this2.filter.page = 1;
|
||||
}
|
||||
},
|
||||
"model": {
|
||||
value: _this2.filter.user_verify_status,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.filter, "user_verify_status", $$v);
|
||||
}
|
||||
}
|
||||
}, [h("el-option", {
|
||||
"attrs": {
|
||||
"label": "等待审核",
|
||||
"value": "0"
|
||||
}
|
||||
}), h("el-option", {
|
||||
"attrs": {
|
||||
"label": "审核驳回",
|
||||
"value": "-1"
|
||||
}
|
||||
}), h("el-option", {
|
||||
"attrs": {
|
||||
"label": "审核通过",
|
||||
"value": "1"
|
||||
}
|
||||
})])]), h("el-form-item", [h("el-button", {
|
||||
"attrs": {
|
||||
"type": "primary"
|
||||
},
|
||||
"on": {
|
||||
"click": function click() {
|
||||
return _this2.GetVerifyList();
|
||||
}
|
||||
}
|
||||
}, ["\u67E5\u8BE2"])])]), h("el-table", {
|
||||
"attrs": {
|
||||
"data": this.VerifyList,
|
||||
"border": true,
|
||||
"stripe": true,
|
||||
"row-key": function rowKey(row) {
|
||||
return row.user_verify_id;
|
||||
},
|
||||
"default-sort": {
|
||||
prop: 'user_id',
|
||||
order: 'ascending'
|
||||
}
|
||||
},
|
||||
"on": {
|
||||
"expand-change": /*#__PURE__*/function () {
|
||||
var _ref = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(expandedRows, expanded) {
|
||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||
while (1) {
|
||||
switch (_context4.prev = _context4.next) {
|
||||
case 0:
|
||||
if (!(expanded.length != 0)) {
|
||||
_context4.next = 3;
|
||||
break;
|
||||
}
|
||||
|
||||
_context4.next = 3;
|
||||
return _this2.GetUserItemInfo(expandedRows);
|
||||
|
||||
case 3:
|
||||
case "end":
|
||||
return _context4.stop();
|
||||
}
|
||||
}
|
||||
}, _callee4);
|
||||
}));
|
||||
|
||||
return function (_x4, _x5) {
|
||||
return _ref.apply(this, arguments);
|
||||
};
|
||||
}()
|
||||
},
|
||||
"style": "width: 100%"
|
||||
}, [h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"type": "expand"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
var _this2$userItemInfo, _this2$userItemInfo2, _this2$userItemInfo3, _this2$userItemInfo4, _this2$userItemInfo5, _this2$userItemInfo6, _this2$userItemInfo7, _this2$userItemInfo8, _this2$userItemInfo9, _this2$userItemInfo10, _this2$userItemInfo11, _this2$userItemInfo12, _this2$userItemInfo13, _this2$userItemInfo14, _this2$userItemInfo15, _this2$userItemInfo16;
|
||||
|
||||
return h("el-form", {
|
||||
"attrs": {
|
||||
"label-position": "left",
|
||||
"inline": true
|
||||
},
|
||||
"class": "demo-table-expand"
|
||||
}, [h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户编号"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo = _this2.userItemInfo) === null || _this2$userItemInfo === void 0 ? void 0 : _this2$userItemInfo.user_id])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户手机"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo2 = _this2.userItemInfo) === null || _this2$userItemInfo2 === void 0 ? void 0 : _this2$userItemInfo2.user_phone])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "真实姓名"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo3 = _this2.userItemInfo) === null || _this2$userItemInfo3 === void 0 ? void 0 : _this2$userItemInfo3.user_real_name])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户头像"
|
||||
}
|
||||
}, [h("el-image", {
|
||||
"style": "width: 50px; height: 50px",
|
||||
"attrs": {
|
||||
"src": (_this2$userItemInfo4 = _this2.userItemInfo) === null || _this2$userItemInfo4 === void 0 ? void 0 : _this2$userItemInfo4.user_head_img,
|
||||
"preview-src-list": [(_this2$userItemInfo5 = _this2.userItemInfo) === null || _this2$userItemInfo5 === void 0 ? void 0 : _this2$userItemInfo5.user_head_img]
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户昵称"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo6 = _this2.userItemInfo) === null || _this2$userItemInfo6 === void 0 ? void 0 : _this2$userItemInfo6.user_nickname])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户性别"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo7 = _this2.userItemInfo) === null || _this2$userItemInfo7 === void 0 ? void 0 : _this2$userItemInfo7.user_sex])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "身份证号"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo8 = _this2.userItemInfo) === null || _this2$userItemInfo8 === void 0 ? void 0 : _this2$userItemInfo8.user_id_card])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "个性签名"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo9 = _this2.userItemInfo) === null || _this2$userItemInfo9 === void 0 ? void 0 : _this2$userItemInfo9.user_autograph])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "电子邮箱"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo10 = _this2.userItemInfo) === null || _this2$userItemInfo10 === void 0 ? void 0 : _this2$userItemInfo10.user_email])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "银行卡号"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo11 = _this2.userItemInfo) === null || _this2$userItemInfo11 === void 0 ? void 0 : _this2$userItemInfo11.user_bank_card])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "兴趣爱好"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo12 = _this2.userItemInfo) === null || _this2$userItemInfo12 === void 0 ? void 0 : _this2$userItemInfo12.user_work])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "uid"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo13 = _this2.userItemInfo) === null || _this2$userItemInfo13 === void 0 ? void 0 : _this2$userItemInfo13.user_uid])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "注册时间"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo14 = _this2.userItemInfo) === null || _this2$userItemInfo14 === void 0 ? void 0 : _this2$userItemInfo14.user_reg_time])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "出生日期"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo15 = _this2.userItemInfo) === null || _this2$userItemInfo15 === void 0 ? void 0 : _this2$userItemInfo15.user_birthday])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户星座"
|
||||
}
|
||||
}, [h("span", [((_this2$userItemInfo16 = _this2.userItemInfo) === null || _this2$userItemInfo16 === void 0 ? void 0 : _this2$userItemInfo16.user_constellation) || '无'])])]);
|
||||
}
|
||||
}
|
||||
}])), h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"label": "操作",
|
||||
"width": "280"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
switch (data.row.user_verify_status) {
|
||||
case 0:
|
||||
return h("span", [h("el-tag", {
|
||||
"style": {
|
||||
marginRight: '5px'
|
||||
},
|
||||
"attrs": {
|
||||
"effect": "dark",
|
||||
"type": "success"
|
||||
},
|
||||
"on": {
|
||||
"click": /*#__PURE__*/Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
||||
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
||||
while (1) {
|
||||
switch (_context5.prev = _context5.next) {
|
||||
case 0:
|
||||
_context5.next = 2;
|
||||
return _this2.SetUserReview(1, data.row);
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context5.stop();
|
||||
}
|
||||
}
|
||||
}, _callee5);
|
||||
}))
|
||||
}
|
||||
}, ["\u901A\u8FC7\u5BA1\u6838"]), h("el-tag", {
|
||||
"attrs": {
|
||||
"effect": "dark",
|
||||
"type": "danger"
|
||||
},
|
||||
"on": {
|
||||
"click": /*#__PURE__*/Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
||||
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
||||
while (1) {
|
||||
switch (_context6.prev = _context6.next) {
|
||||
case 0:
|
||||
_context6.next = 2;
|
||||
return _this2.SetUserReview(-1, data.row);
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context6.stop();
|
||||
}
|
||||
}
|
||||
}, _callee6);
|
||||
}))
|
||||
}
|
||||
}, ["\u62D2\u7EDD\u901A\u8FC7"])]);
|
||||
break;
|
||||
|
||||
case -1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "danger"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-close",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u5BA1\u6838\u9A73\u56DE \u65E0\u9700\u64CD\u4F5C"]);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "success"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-check",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u901A\u8FC7\u5BA1\u6838 \u65E0\u9700\u64CD\u4F5C"]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}])), h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"width": "140"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
switch (data.row.user_verify_status) {
|
||||
case 0:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "info"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-time",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u7B49\u5F85\u5BA1\u6838"]);
|
||||
break;
|
||||
|
||||
case -1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "danger"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-close",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u5BA1\u6838\u9A73\u56DE"]);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "success"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-check",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u901A\u8FC7\u5BA1\u6838"]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "审核状态"
|
||||
}
|
||||
}])), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "user_verify_id",
|
||||
"sortable": true,
|
||||
"width": "140",
|
||||
"label": "编号"
|
||||
}
|
||||
}), this.ShowColumn(), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "user_verify_time",
|
||||
"label": "修改时间"
|
||||
}
|
||||
})]), h("br"), h("el-pagination", {
|
||||
"attrs": {
|
||||
"background": true,
|
||||
"layout": "prev, pager, next",
|
||||
"page-size": this.filter.count,
|
||||
"current-page": this.filter.page,
|
||||
"page-count": this.total_page
|
||||
},
|
||||
"on": {
|
||||
"current-change": function currentChange(page) {
|
||||
_this2.filter.page = page;
|
||||
|
||||
_this2.GetVerifyList();
|
||||
}
|
||||
}
|
||||
})]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return UserVerifyList;
|
||||
}(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Vue */ "c"]);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(_ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_13__[/* Inject */ "a"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", typeof (_a = typeof _core_service_impl_User_service_impl__WEBPACK_IMPORTED_MODULE_14__["UserServiceImpl"] !== "undefined" && _core_service_impl_User_service_impl__WEBPACK_IMPORTED_MODULE_14__["UserServiceImpl"]) === "function" ? _a : Object)], UserVerifyList.prototype, "UserServiceImpl", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", String)], UserVerifyList.prototype, "title", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", String)], UserVerifyList.prototype, "subtitle", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", String)], UserVerifyList.prototype, "type", void 0);
|
||||
|
||||
UserVerifyList = Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Component */ "a"]], UserVerifyList);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (UserVerifyList);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "666e":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _layout_base_layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("cb9f");
|
||||
/* harmony import */ var _components_UserVerifyList__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("3c96");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// import "@pageLess/OpusAudit.less";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var AvatarAudit = /*#__PURE__*/function (_VueType) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(AvatarAudit, _VueType);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(AvatarAudit);
|
||||
|
||||
function AvatarAudit() {
|
||||
var _this;
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, AvatarAudit);
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.RouterMeta = {
|
||||
title: '头像审核',
|
||||
isLogin: false
|
||||
};
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(AvatarAudit, [{
|
||||
key: "created",
|
||||
value: function () {
|
||||
var _created = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
|
||||
function created() {
|
||||
return _created.apply(this, arguments);
|
||||
}
|
||||
|
||||
return created;
|
||||
}()
|
||||
}, {
|
||||
key: "beforeRouteEnter",
|
||||
// 路由拦截器
|
||||
value: function beforeRouteEnter(to, from, next) {
|
||||
next();
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "AvatarAudit"
|
||||
}, [h(_components_UserVerifyList__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
|
||||
"attrs": {
|
||||
"type": "avatar",
|
||||
"title": "头像审核",
|
||||
"subtitle": "对用户发布的头像进行审核"
|
||||
}
|
||||
})]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return AvatarAudit;
|
||||
}(_layout_base_layout__WEBPACK_IMPORTED_MODULE_8__[/* VueType */ "a"]);
|
||||
|
||||
AvatarAudit = Object(tslib__WEBPACK_IMPORTED_MODULE_6__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_7__[/* Component */ "a"]], AvatarAudit);
|
||||
/* harmony default export */ __webpack_exports__["default"] = (AvatarAudit);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "8458":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e294":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("27b4");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
var PageHeader = /*#__PURE__*/function (_Vue) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(PageHeader, _Vue);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(PageHeader);
|
||||
|
||||
function PageHeader() {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, PageHeader);
|
||||
|
||||
return _super.apply(this, arguments);
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(PageHeader, [{
|
||||
key: "mounted",
|
||||
value: function mounted() {}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "page_header"
|
||||
}, [h("i", {
|
||||
"class": "el-icon-back"
|
||||
}), h("h1", [this.title]), h("span", [this.subtitle])]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return PageHeader;
|
||||
}(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Vue */ "c"]);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", String)], PageHeader.prototype, "title", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", String)], PageHeader.prototype, "subtitle", void 0);
|
||||
|
||||
PageHeader = Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Component */ "a"]], PageHeader);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (PageHeader);
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
Binary file not shown.
@@ -0,0 +1,833 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["indexUserManageNicknameAudit"],{
|
||||
|
||||
/***/ "2638":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
function _extends(){return _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(this,arguments)}var normalMerge=["attrs","props","domProps"],toArrayMerge=["class","style","directives"],functionalMerge=["on","nativeOn"],mergeJsxProps=function(a){return a.reduce(function(c,a){for(var b in a)if(!c[b])c[b]=a[b];else if(-1!==normalMerge.indexOf(b))c[b]=_extends({},c[b],a[b]);else if(-1!==toArrayMerge.indexOf(b)){var d=c[b]instanceof Array?c[b]:[c[b]],e=a[b]instanceof Array?a[b]:[a[b]];c[b]=d.concat(e)}else if(-1!==functionalMerge.indexOf(b)){for(var f in a[b])if(c[b][f]){var g=c[b][f]instanceof Array?c[b][f]:[c[b][f]],h=a[b][f]instanceof Array?a[b][f]:[a[b][f]];c[b][f]=g.concat(h)}else c[b][f]=a[b][f];}else if("hook"==b)for(var i in a[b])c[b][i]=c[b][i]?mergeFn(c[b][i],a[b][i]):a[b][i];else c[b]=a[b];return c},{})},mergeFn=function(a,b){return function(){a&&a.apply(this,arguments),b&&b.apply(this,arguments)}};module.exports=mergeJsxProps;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "27b4":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "3c96":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4de4");
|
||||
/* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("2638");
|
||||
/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_2__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("27b4");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_10__);
|
||||
/* harmony import */ var _componentsLess_UserVerifyList_less__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("8458");
|
||||
/* harmony import */ var _componentsLess_UserVerifyList_less__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_UserVerifyList_less__WEBPACK_IMPORTED_MODULE_11__);
|
||||
/* harmony import */ var _PageHeader__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("e294");
|
||||
/* harmony import */ var _ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("4771");
|
||||
/* harmony import */ var _core_service_impl_User_service_impl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("32f6");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
var _a;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var UserVerifyList = /*#__PURE__*/function (_Vue) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(UserVerifyList, _Vue);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(UserVerifyList);
|
||||
|
||||
function UserVerifyList() {
|
||||
var _this;
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(this, UserVerifyList);
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.filter = {
|
||||
user_id: null,
|
||||
user_verify_status: null,
|
||||
type: _this.type,
|
||||
page: 1,
|
||||
count: 10
|
||||
};
|
||||
_this.total_page = 0;
|
||||
_this.VerifyList = [];
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(UserVerifyList, [{
|
||||
key: "created",
|
||||
value: function created() {
|
||||
this.GetVerifyList();
|
||||
}
|
||||
}, {
|
||||
key: "GetVerifyList",
|
||||
value: function () {
|
||||
var _GetVerifyList = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var res;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return this.UserServiceImpl.UserVerifyList(this.filter);
|
||||
|
||||
case 2:
|
||||
res = _context.sent;
|
||||
this.VerifyList = res.result;
|
||||
this.total_page = res.total_page;
|
||||
|
||||
case 5:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function GetVerifyList() {
|
||||
return _GetVerifyList.apply(this, arguments);
|
||||
}
|
||||
|
||||
return GetVerifyList;
|
||||
}()
|
||||
}, {
|
||||
key: "SetUserReview",
|
||||
value: function () {
|
||||
var _SetUserReview = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(user_verify_status, row) {
|
||||
var res;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return this.UserServiceImpl.UserReview({
|
||||
user_verify_status: user_verify_status,
|
||||
user_verify_id: row.user_verify_id
|
||||
});
|
||||
|
||||
case 2:
|
||||
res = _context2.sent;
|
||||
_context2.next = 5;
|
||||
return this.GetVerifyList();
|
||||
|
||||
case 5:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this);
|
||||
}));
|
||||
|
||||
function SetUserReview(_x, _x2) {
|
||||
return _SetUserReview.apply(this, arguments);
|
||||
}
|
||||
|
||||
return SetUserReview;
|
||||
}()
|
||||
}, {
|
||||
key: "GetUserItemInfo",
|
||||
value: function () {
|
||||
var _GetUserItemInfo = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(row) {
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
while (1) {
|
||||
switch (_context3.prev = _context3.next) {
|
||||
case 0:
|
||||
_context3.next = 2;
|
||||
return this.UserServiceImpl.UserItemInfo({
|
||||
user_verify_id: row.user_verify_id
|
||||
});
|
||||
|
||||
case 2:
|
||||
this.userItemInfo = _context3.sent;
|
||||
this.$forceUpdate();
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context3.stop();
|
||||
}
|
||||
}
|
||||
}, _callee3, this);
|
||||
}));
|
||||
|
||||
function GetUserItemInfo(_x3) {
|
||||
return _GetUserItemInfo.apply(this, arguments);
|
||||
}
|
||||
|
||||
return GetUserItemInfo;
|
||||
}()
|
||||
}, {
|
||||
key: "ShowColumn",
|
||||
value: function ShowColumn() {
|
||||
var h = this.$createElement;
|
||||
|
||||
switch (this.type) {
|
||||
case "avatar":
|
||||
return h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"prop": "user_head_img"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("el-image", {
|
||||
"attrs": {
|
||||
"width": "100%",
|
||||
"preview-src-list": [data.row.user_head_img],
|
||||
"src": data.row.user_head_img,
|
||||
"alt": ""
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "头像"
|
||||
}
|
||||
}]));
|
||||
break;
|
||||
|
||||
case "nickname":
|
||||
return h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"prop": "user_nickname"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("span", [data.row.user_nickname]);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "昵称"
|
||||
}
|
||||
}]));
|
||||
break;
|
||||
|
||||
case "signature":
|
||||
return h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"prop": "user_autograph"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("span", [data.row.user_autograph]);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "签名"
|
||||
}
|
||||
}]));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this2 = this;
|
||||
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "UserVerifyList"
|
||||
}, [h(_PageHeader__WEBPACK_IMPORTED_MODULE_12__[/* default */ "a"], {
|
||||
"attrs": {
|
||||
"title": this.title,
|
||||
"subtitle": this.subtitle
|
||||
}
|
||||
}), h("el-form", {
|
||||
"attrs": {
|
||||
"inline": true
|
||||
},
|
||||
"on": {
|
||||
"input": function input() {}
|
||||
},
|
||||
"model": this.filter,
|
||||
"class": "demo-form-inline"
|
||||
}, [h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户id"
|
||||
}
|
||||
}, [h("el-input", {
|
||||
"attrs": {
|
||||
"clearable": true,
|
||||
"placeholder": "请输入用户id"
|
||||
},
|
||||
"model": {
|
||||
value: _this2.filter.user_id,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.filter, "user_id", $$v);
|
||||
}
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "审核状态"
|
||||
}
|
||||
}, [h("el-select", {
|
||||
"attrs": {
|
||||
"clearable": true,
|
||||
"placeholder": "请选择审核状态"
|
||||
},
|
||||
"on": {
|
||||
"change": function change() {
|
||||
return _this2.filter.page = 1;
|
||||
}
|
||||
},
|
||||
"model": {
|
||||
value: _this2.filter.user_verify_status,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.filter, "user_verify_status", $$v);
|
||||
}
|
||||
}
|
||||
}, [h("el-option", {
|
||||
"attrs": {
|
||||
"label": "等待审核",
|
||||
"value": "0"
|
||||
}
|
||||
}), h("el-option", {
|
||||
"attrs": {
|
||||
"label": "审核驳回",
|
||||
"value": "-1"
|
||||
}
|
||||
}), h("el-option", {
|
||||
"attrs": {
|
||||
"label": "审核通过",
|
||||
"value": "1"
|
||||
}
|
||||
})])]), h("el-form-item", [h("el-button", {
|
||||
"attrs": {
|
||||
"type": "primary"
|
||||
},
|
||||
"on": {
|
||||
"click": function click() {
|
||||
return _this2.GetVerifyList();
|
||||
}
|
||||
}
|
||||
}, ["\u67E5\u8BE2"])])]), h("el-table", {
|
||||
"attrs": {
|
||||
"data": this.VerifyList,
|
||||
"border": true,
|
||||
"stripe": true,
|
||||
"row-key": function rowKey(row) {
|
||||
return row.user_verify_id;
|
||||
},
|
||||
"default-sort": {
|
||||
prop: 'user_id',
|
||||
order: 'ascending'
|
||||
}
|
||||
},
|
||||
"on": {
|
||||
"expand-change": /*#__PURE__*/function () {
|
||||
var _ref = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(expandedRows, expanded) {
|
||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||
while (1) {
|
||||
switch (_context4.prev = _context4.next) {
|
||||
case 0:
|
||||
if (!(expanded.length != 0)) {
|
||||
_context4.next = 3;
|
||||
break;
|
||||
}
|
||||
|
||||
_context4.next = 3;
|
||||
return _this2.GetUserItemInfo(expandedRows);
|
||||
|
||||
case 3:
|
||||
case "end":
|
||||
return _context4.stop();
|
||||
}
|
||||
}
|
||||
}, _callee4);
|
||||
}));
|
||||
|
||||
return function (_x4, _x5) {
|
||||
return _ref.apply(this, arguments);
|
||||
};
|
||||
}()
|
||||
},
|
||||
"style": "width: 100%"
|
||||
}, [h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"type": "expand"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
var _this2$userItemInfo, _this2$userItemInfo2, _this2$userItemInfo3, _this2$userItemInfo4, _this2$userItemInfo5, _this2$userItemInfo6, _this2$userItemInfo7, _this2$userItemInfo8, _this2$userItemInfo9, _this2$userItemInfo10, _this2$userItemInfo11, _this2$userItemInfo12, _this2$userItemInfo13, _this2$userItemInfo14, _this2$userItemInfo15, _this2$userItemInfo16;
|
||||
|
||||
return h("el-form", {
|
||||
"attrs": {
|
||||
"label-position": "left",
|
||||
"inline": true
|
||||
},
|
||||
"class": "demo-table-expand"
|
||||
}, [h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户编号"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo = _this2.userItemInfo) === null || _this2$userItemInfo === void 0 ? void 0 : _this2$userItemInfo.user_id])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户手机"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo2 = _this2.userItemInfo) === null || _this2$userItemInfo2 === void 0 ? void 0 : _this2$userItemInfo2.user_phone])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "真实姓名"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo3 = _this2.userItemInfo) === null || _this2$userItemInfo3 === void 0 ? void 0 : _this2$userItemInfo3.user_real_name])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户头像"
|
||||
}
|
||||
}, [h("el-image", {
|
||||
"style": "width: 50px; height: 50px",
|
||||
"attrs": {
|
||||
"src": (_this2$userItemInfo4 = _this2.userItemInfo) === null || _this2$userItemInfo4 === void 0 ? void 0 : _this2$userItemInfo4.user_head_img,
|
||||
"preview-src-list": [(_this2$userItemInfo5 = _this2.userItemInfo) === null || _this2$userItemInfo5 === void 0 ? void 0 : _this2$userItemInfo5.user_head_img]
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户昵称"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo6 = _this2.userItemInfo) === null || _this2$userItemInfo6 === void 0 ? void 0 : _this2$userItemInfo6.user_nickname])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户性别"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo7 = _this2.userItemInfo) === null || _this2$userItemInfo7 === void 0 ? void 0 : _this2$userItemInfo7.user_sex])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "身份证号"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo8 = _this2.userItemInfo) === null || _this2$userItemInfo8 === void 0 ? void 0 : _this2$userItemInfo8.user_id_card])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "个性签名"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo9 = _this2.userItemInfo) === null || _this2$userItemInfo9 === void 0 ? void 0 : _this2$userItemInfo9.user_autograph])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "电子邮箱"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo10 = _this2.userItemInfo) === null || _this2$userItemInfo10 === void 0 ? void 0 : _this2$userItemInfo10.user_email])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "银行卡号"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo11 = _this2.userItemInfo) === null || _this2$userItemInfo11 === void 0 ? void 0 : _this2$userItemInfo11.user_bank_card])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "兴趣爱好"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo12 = _this2.userItemInfo) === null || _this2$userItemInfo12 === void 0 ? void 0 : _this2$userItemInfo12.user_work])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "uid"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo13 = _this2.userItemInfo) === null || _this2$userItemInfo13 === void 0 ? void 0 : _this2$userItemInfo13.user_uid])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "注册时间"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo14 = _this2.userItemInfo) === null || _this2$userItemInfo14 === void 0 ? void 0 : _this2$userItemInfo14.user_reg_time])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "出生日期"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo15 = _this2.userItemInfo) === null || _this2$userItemInfo15 === void 0 ? void 0 : _this2$userItemInfo15.user_birthday])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户星座"
|
||||
}
|
||||
}, [h("span", [((_this2$userItemInfo16 = _this2.userItemInfo) === null || _this2$userItemInfo16 === void 0 ? void 0 : _this2$userItemInfo16.user_constellation) || '无'])])]);
|
||||
}
|
||||
}
|
||||
}])), h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"label": "操作",
|
||||
"width": "280"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
switch (data.row.user_verify_status) {
|
||||
case 0:
|
||||
return h("span", [h("el-tag", {
|
||||
"style": {
|
||||
marginRight: '5px'
|
||||
},
|
||||
"attrs": {
|
||||
"effect": "dark",
|
||||
"type": "success"
|
||||
},
|
||||
"on": {
|
||||
"click": /*#__PURE__*/Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
||||
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
||||
while (1) {
|
||||
switch (_context5.prev = _context5.next) {
|
||||
case 0:
|
||||
_context5.next = 2;
|
||||
return _this2.SetUserReview(1, data.row);
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context5.stop();
|
||||
}
|
||||
}
|
||||
}, _callee5);
|
||||
}))
|
||||
}
|
||||
}, ["\u901A\u8FC7\u5BA1\u6838"]), h("el-tag", {
|
||||
"attrs": {
|
||||
"effect": "dark",
|
||||
"type": "danger"
|
||||
},
|
||||
"on": {
|
||||
"click": /*#__PURE__*/Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
||||
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
||||
while (1) {
|
||||
switch (_context6.prev = _context6.next) {
|
||||
case 0:
|
||||
_context6.next = 2;
|
||||
return _this2.SetUserReview(-1, data.row);
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context6.stop();
|
||||
}
|
||||
}
|
||||
}, _callee6);
|
||||
}))
|
||||
}
|
||||
}, ["\u62D2\u7EDD\u901A\u8FC7"])]);
|
||||
break;
|
||||
|
||||
case -1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "danger"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-close",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u5BA1\u6838\u9A73\u56DE \u65E0\u9700\u64CD\u4F5C"]);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "success"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-check",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u901A\u8FC7\u5BA1\u6838 \u65E0\u9700\u64CD\u4F5C"]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}])), h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"width": "140"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
switch (data.row.user_verify_status) {
|
||||
case 0:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "info"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-time",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u7B49\u5F85\u5BA1\u6838"]);
|
||||
break;
|
||||
|
||||
case -1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "danger"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-close",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u5BA1\u6838\u9A73\u56DE"]);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "success"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-check",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u901A\u8FC7\u5BA1\u6838"]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "审核状态"
|
||||
}
|
||||
}])), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "user_verify_id",
|
||||
"sortable": true,
|
||||
"width": "140",
|
||||
"label": "编号"
|
||||
}
|
||||
}), this.ShowColumn(), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "user_verify_time",
|
||||
"label": "修改时间"
|
||||
}
|
||||
})]), h("br"), h("el-pagination", {
|
||||
"attrs": {
|
||||
"background": true,
|
||||
"layout": "prev, pager, next",
|
||||
"page-size": this.filter.count,
|
||||
"current-page": this.filter.page,
|
||||
"page-count": this.total_page
|
||||
},
|
||||
"on": {
|
||||
"current-change": function currentChange(page) {
|
||||
_this2.filter.page = page;
|
||||
|
||||
_this2.GetVerifyList();
|
||||
}
|
||||
}
|
||||
})]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return UserVerifyList;
|
||||
}(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Vue */ "c"]);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(_ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_13__[/* Inject */ "a"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", typeof (_a = typeof _core_service_impl_User_service_impl__WEBPACK_IMPORTED_MODULE_14__["UserServiceImpl"] !== "undefined" && _core_service_impl_User_service_impl__WEBPACK_IMPORTED_MODULE_14__["UserServiceImpl"]) === "function" ? _a : Object)], UserVerifyList.prototype, "UserServiceImpl", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", String)], UserVerifyList.prototype, "title", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", String)], UserVerifyList.prototype, "subtitle", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", String)], UserVerifyList.prototype, "type", void 0);
|
||||
|
||||
UserVerifyList = Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Component */ "a"]], UserVerifyList);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (UserVerifyList);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7ea5":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _layout_base_layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("cb9f");
|
||||
/* harmony import */ var _components_UserVerifyList__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("3c96");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
// import "@pageLess/OpusAudit.less";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var NicknameAudit = /*#__PURE__*/function (_VueType) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(NicknameAudit, _VueType);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(NicknameAudit);
|
||||
|
||||
function NicknameAudit() {
|
||||
var _this;
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, NicknameAudit);
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.RouterMeta = {
|
||||
title: '昵称审核',
|
||||
isLogin: false
|
||||
};
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(NicknameAudit, [{
|
||||
key: "created",
|
||||
value: function () {
|
||||
var _created = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
|
||||
function created() {
|
||||
return _created.apply(this, arguments);
|
||||
}
|
||||
|
||||
return created;
|
||||
}()
|
||||
}, {
|
||||
key: "beforeRouteEnter",
|
||||
// 路由拦截器
|
||||
value: function beforeRouteEnter(to, from, next) {
|
||||
next();
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "NicknameAudit"
|
||||
}, [h(_components_UserVerifyList__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
|
||||
"attrs": {
|
||||
"type": "nickname",
|
||||
"title": "昵称审核",
|
||||
"subtitle": "对用户添加的昵称进行审核"
|
||||
}
|
||||
})]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return NicknameAudit;
|
||||
}(_layout_base_layout__WEBPACK_IMPORTED_MODULE_8__[/* VueType */ "a"]);
|
||||
|
||||
NicknameAudit = Object(tslib__WEBPACK_IMPORTED_MODULE_6__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_7__[/* Component */ "a"]], NicknameAudit);
|
||||
/* harmony default export */ __webpack_exports__["default"] = (NicknameAudit);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "8458":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e294":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("27b4");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
var PageHeader = /*#__PURE__*/function (_Vue) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(PageHeader, _Vue);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(PageHeader);
|
||||
|
||||
function PageHeader() {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, PageHeader);
|
||||
|
||||
return _super.apply(this, arguments);
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(PageHeader, [{
|
||||
key: "mounted",
|
||||
value: function mounted() {}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "page_header"
|
||||
}, [h("i", {
|
||||
"class": "el-icon-back"
|
||||
}), h("h1", [this.title]), h("span", [this.subtitle])]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return PageHeader;
|
||||
}(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Vue */ "c"]);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", String)], PageHeader.prototype, "title", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", String)], PageHeader.prototype, "subtitle", void 0);
|
||||
|
||||
PageHeader = Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Component */ "a"]], PageHeader);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (PageHeader);
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
Binary file not shown.
@@ -0,0 +1,833 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["indexUserManageSignatureAudit"],{
|
||||
|
||||
/***/ "1896":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _layout_base_layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("cb9f");
|
||||
/* harmony import */ var _components_UserVerifyList__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("3c96");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
// import "@pageLess/OpusAudit.less";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var SignatureAudit = /*#__PURE__*/function (_VueType) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(SignatureAudit, _VueType);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(SignatureAudit);
|
||||
|
||||
function SignatureAudit() {
|
||||
var _this;
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, SignatureAudit);
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.RouterMeta = {
|
||||
title: '签名审核',
|
||||
isLogin: false
|
||||
};
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(SignatureAudit, [{
|
||||
key: "created",
|
||||
value: function () {
|
||||
var _created = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
|
||||
function created() {
|
||||
return _created.apply(this, arguments);
|
||||
}
|
||||
|
||||
return created;
|
||||
}()
|
||||
}, {
|
||||
key: "beforeRouteEnter",
|
||||
// 路由拦截器
|
||||
value: function beforeRouteEnter(to, from, next) {
|
||||
next();
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "SignatureAudit"
|
||||
}, [h(_components_UserVerifyList__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
|
||||
"attrs": {
|
||||
"type": "signature",
|
||||
"title": "签名审核",
|
||||
"subtitle": "对用户修改的签名进行审核"
|
||||
}
|
||||
})]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return SignatureAudit;
|
||||
}(_layout_base_layout__WEBPACK_IMPORTED_MODULE_8__[/* VueType */ "a"]);
|
||||
|
||||
SignatureAudit = Object(tslib__WEBPACK_IMPORTED_MODULE_6__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_7__[/* Component */ "a"]], SignatureAudit);
|
||||
/* harmony default export */ __webpack_exports__["default"] = (SignatureAudit);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2638":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
function _extends(){return _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(this,arguments)}var normalMerge=["attrs","props","domProps"],toArrayMerge=["class","style","directives"],functionalMerge=["on","nativeOn"],mergeJsxProps=function(a){return a.reduce(function(c,a){for(var b in a)if(!c[b])c[b]=a[b];else if(-1!==normalMerge.indexOf(b))c[b]=_extends({},c[b],a[b]);else if(-1!==toArrayMerge.indexOf(b)){var d=c[b]instanceof Array?c[b]:[c[b]],e=a[b]instanceof Array?a[b]:[a[b]];c[b]=d.concat(e)}else if(-1!==functionalMerge.indexOf(b)){for(var f in a[b])if(c[b][f]){var g=c[b][f]instanceof Array?c[b][f]:[c[b][f]],h=a[b][f]instanceof Array?a[b][f]:[a[b][f]];c[b][f]=g.concat(h)}else c[b][f]=a[b][f];}else if("hook"==b)for(var i in a[b])c[b][i]=c[b][i]?mergeFn(c[b][i],a[b][i]):a[b][i];else c[b]=a[b];return c},{})},mergeFn=function(a,b){return function(){a&&a.apply(this,arguments),b&&b.apply(this,arguments)}};module.exports=mergeJsxProps;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "27b4":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "3c96":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4de4");
|
||||
/* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("2638");
|
||||
/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_2__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("27b4");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_10__);
|
||||
/* harmony import */ var _componentsLess_UserVerifyList_less__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("8458");
|
||||
/* harmony import */ var _componentsLess_UserVerifyList_less__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_UserVerifyList_less__WEBPACK_IMPORTED_MODULE_11__);
|
||||
/* harmony import */ var _PageHeader__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("e294");
|
||||
/* harmony import */ var _ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("4771");
|
||||
/* harmony import */ var _core_service_impl_User_service_impl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("32f6");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
var _a;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var UserVerifyList = /*#__PURE__*/function (_Vue) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(UserVerifyList, _Vue);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(UserVerifyList);
|
||||
|
||||
function UserVerifyList() {
|
||||
var _this;
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(this, UserVerifyList);
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.filter = {
|
||||
user_id: null,
|
||||
user_verify_status: null,
|
||||
type: _this.type,
|
||||
page: 1,
|
||||
count: 10
|
||||
};
|
||||
_this.total_page = 0;
|
||||
_this.VerifyList = [];
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(UserVerifyList, [{
|
||||
key: "created",
|
||||
value: function created() {
|
||||
this.GetVerifyList();
|
||||
}
|
||||
}, {
|
||||
key: "GetVerifyList",
|
||||
value: function () {
|
||||
var _GetVerifyList = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var res;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return this.UserServiceImpl.UserVerifyList(this.filter);
|
||||
|
||||
case 2:
|
||||
res = _context.sent;
|
||||
this.VerifyList = res.result;
|
||||
this.total_page = res.total_page;
|
||||
|
||||
case 5:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function GetVerifyList() {
|
||||
return _GetVerifyList.apply(this, arguments);
|
||||
}
|
||||
|
||||
return GetVerifyList;
|
||||
}()
|
||||
}, {
|
||||
key: "SetUserReview",
|
||||
value: function () {
|
||||
var _SetUserReview = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(user_verify_status, row) {
|
||||
var res;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return this.UserServiceImpl.UserReview({
|
||||
user_verify_status: user_verify_status,
|
||||
user_verify_id: row.user_verify_id
|
||||
});
|
||||
|
||||
case 2:
|
||||
res = _context2.sent;
|
||||
_context2.next = 5;
|
||||
return this.GetVerifyList();
|
||||
|
||||
case 5:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this);
|
||||
}));
|
||||
|
||||
function SetUserReview(_x, _x2) {
|
||||
return _SetUserReview.apply(this, arguments);
|
||||
}
|
||||
|
||||
return SetUserReview;
|
||||
}()
|
||||
}, {
|
||||
key: "GetUserItemInfo",
|
||||
value: function () {
|
||||
var _GetUserItemInfo = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(row) {
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
while (1) {
|
||||
switch (_context3.prev = _context3.next) {
|
||||
case 0:
|
||||
_context3.next = 2;
|
||||
return this.UserServiceImpl.UserItemInfo({
|
||||
user_verify_id: row.user_verify_id
|
||||
});
|
||||
|
||||
case 2:
|
||||
this.userItemInfo = _context3.sent;
|
||||
this.$forceUpdate();
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context3.stop();
|
||||
}
|
||||
}
|
||||
}, _callee3, this);
|
||||
}));
|
||||
|
||||
function GetUserItemInfo(_x3) {
|
||||
return _GetUserItemInfo.apply(this, arguments);
|
||||
}
|
||||
|
||||
return GetUserItemInfo;
|
||||
}()
|
||||
}, {
|
||||
key: "ShowColumn",
|
||||
value: function ShowColumn() {
|
||||
var h = this.$createElement;
|
||||
|
||||
switch (this.type) {
|
||||
case "avatar":
|
||||
return h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"prop": "user_head_img"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("el-image", {
|
||||
"attrs": {
|
||||
"width": "100%",
|
||||
"preview-src-list": [data.row.user_head_img],
|
||||
"src": data.row.user_head_img,
|
||||
"alt": ""
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "头像"
|
||||
}
|
||||
}]));
|
||||
break;
|
||||
|
||||
case "nickname":
|
||||
return h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"prop": "user_nickname"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("span", [data.row.user_nickname]);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "昵称"
|
||||
}
|
||||
}]));
|
||||
break;
|
||||
|
||||
case "signature":
|
||||
return h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"prop": "user_autograph"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
return h("span", [data.row.user_autograph]);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "签名"
|
||||
}
|
||||
}]));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this2 = this;
|
||||
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "UserVerifyList"
|
||||
}, [h(_PageHeader__WEBPACK_IMPORTED_MODULE_12__[/* default */ "a"], {
|
||||
"attrs": {
|
||||
"title": this.title,
|
||||
"subtitle": this.subtitle
|
||||
}
|
||||
}), h("el-form", {
|
||||
"attrs": {
|
||||
"inline": true
|
||||
},
|
||||
"on": {
|
||||
"input": function input() {}
|
||||
},
|
||||
"model": this.filter,
|
||||
"class": "demo-form-inline"
|
||||
}, [h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户id"
|
||||
}
|
||||
}, [h("el-input", {
|
||||
"attrs": {
|
||||
"clearable": true,
|
||||
"placeholder": "请输入用户id"
|
||||
},
|
||||
"model": {
|
||||
value: _this2.filter.user_id,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.filter, "user_id", $$v);
|
||||
}
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "审核状态"
|
||||
}
|
||||
}, [h("el-select", {
|
||||
"attrs": {
|
||||
"clearable": true,
|
||||
"placeholder": "请选择审核状态"
|
||||
},
|
||||
"on": {
|
||||
"change": function change() {
|
||||
return _this2.filter.page = 1;
|
||||
}
|
||||
},
|
||||
"model": {
|
||||
value: _this2.filter.user_verify_status,
|
||||
callback: function callback($$v) {
|
||||
_this2.$set(_this2.filter, "user_verify_status", $$v);
|
||||
}
|
||||
}
|
||||
}, [h("el-option", {
|
||||
"attrs": {
|
||||
"label": "等待审核",
|
||||
"value": "0"
|
||||
}
|
||||
}), h("el-option", {
|
||||
"attrs": {
|
||||
"label": "审核驳回",
|
||||
"value": "-1"
|
||||
}
|
||||
}), h("el-option", {
|
||||
"attrs": {
|
||||
"label": "审核通过",
|
||||
"value": "1"
|
||||
}
|
||||
})])]), h("el-form-item", [h("el-button", {
|
||||
"attrs": {
|
||||
"type": "primary"
|
||||
},
|
||||
"on": {
|
||||
"click": function click() {
|
||||
return _this2.GetVerifyList();
|
||||
}
|
||||
}
|
||||
}, ["\u67E5\u8BE2"])])]), h("el-table", {
|
||||
"attrs": {
|
||||
"data": this.VerifyList,
|
||||
"border": true,
|
||||
"stripe": true,
|
||||
"row-key": function rowKey(row) {
|
||||
return row.user_verify_id;
|
||||
},
|
||||
"default-sort": {
|
||||
prop: 'user_id',
|
||||
order: 'ascending'
|
||||
}
|
||||
},
|
||||
"on": {
|
||||
"expand-change": /*#__PURE__*/function () {
|
||||
var _ref = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(expandedRows, expanded) {
|
||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||
while (1) {
|
||||
switch (_context4.prev = _context4.next) {
|
||||
case 0:
|
||||
if (!(expanded.length != 0)) {
|
||||
_context4.next = 3;
|
||||
break;
|
||||
}
|
||||
|
||||
_context4.next = 3;
|
||||
return _this2.GetUserItemInfo(expandedRows);
|
||||
|
||||
case 3:
|
||||
case "end":
|
||||
return _context4.stop();
|
||||
}
|
||||
}
|
||||
}, _callee4);
|
||||
}));
|
||||
|
||||
return function (_x4, _x5) {
|
||||
return _ref.apply(this, arguments);
|
||||
};
|
||||
}()
|
||||
},
|
||||
"style": "width: 100%"
|
||||
}, [h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"type": "expand"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
var _this2$userItemInfo, _this2$userItemInfo2, _this2$userItemInfo3, _this2$userItemInfo4, _this2$userItemInfo5, _this2$userItemInfo6, _this2$userItemInfo7, _this2$userItemInfo8, _this2$userItemInfo9, _this2$userItemInfo10, _this2$userItemInfo11, _this2$userItemInfo12, _this2$userItemInfo13, _this2$userItemInfo14, _this2$userItemInfo15, _this2$userItemInfo16;
|
||||
|
||||
return h("el-form", {
|
||||
"attrs": {
|
||||
"label-position": "left",
|
||||
"inline": true
|
||||
},
|
||||
"class": "demo-table-expand"
|
||||
}, [h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户编号"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo = _this2.userItemInfo) === null || _this2$userItemInfo === void 0 ? void 0 : _this2$userItemInfo.user_id])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户手机"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo2 = _this2.userItemInfo) === null || _this2$userItemInfo2 === void 0 ? void 0 : _this2$userItemInfo2.user_phone])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "真实姓名"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo3 = _this2.userItemInfo) === null || _this2$userItemInfo3 === void 0 ? void 0 : _this2$userItemInfo3.user_real_name])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户头像"
|
||||
}
|
||||
}, [h("el-image", {
|
||||
"style": "width: 50px; height: 50px",
|
||||
"attrs": {
|
||||
"src": (_this2$userItemInfo4 = _this2.userItemInfo) === null || _this2$userItemInfo4 === void 0 ? void 0 : _this2$userItemInfo4.user_head_img,
|
||||
"preview-src-list": [(_this2$userItemInfo5 = _this2.userItemInfo) === null || _this2$userItemInfo5 === void 0 ? void 0 : _this2$userItemInfo5.user_head_img]
|
||||
}
|
||||
})]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户昵称"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo6 = _this2.userItemInfo) === null || _this2$userItemInfo6 === void 0 ? void 0 : _this2$userItemInfo6.user_nickname])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户性别"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo7 = _this2.userItemInfo) === null || _this2$userItemInfo7 === void 0 ? void 0 : _this2$userItemInfo7.user_sex])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "身份证号"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo8 = _this2.userItemInfo) === null || _this2$userItemInfo8 === void 0 ? void 0 : _this2$userItemInfo8.user_id_card])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "个性签名"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo9 = _this2.userItemInfo) === null || _this2$userItemInfo9 === void 0 ? void 0 : _this2$userItemInfo9.user_autograph])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "电子邮箱"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo10 = _this2.userItemInfo) === null || _this2$userItemInfo10 === void 0 ? void 0 : _this2$userItemInfo10.user_email])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "银行卡号"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo11 = _this2.userItemInfo) === null || _this2$userItemInfo11 === void 0 ? void 0 : _this2$userItemInfo11.user_bank_card])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "兴趣爱好"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo12 = _this2.userItemInfo) === null || _this2$userItemInfo12 === void 0 ? void 0 : _this2$userItemInfo12.user_work])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "uid"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo13 = _this2.userItemInfo) === null || _this2$userItemInfo13 === void 0 ? void 0 : _this2$userItemInfo13.user_uid])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "注册时间"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo14 = _this2.userItemInfo) === null || _this2$userItemInfo14 === void 0 ? void 0 : _this2$userItemInfo14.user_reg_time])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "出生日期"
|
||||
}
|
||||
}, [h("span", [(_this2$userItemInfo15 = _this2.userItemInfo) === null || _this2$userItemInfo15 === void 0 ? void 0 : _this2$userItemInfo15.user_birthday])]), h("el-form-item", {
|
||||
"attrs": {
|
||||
"label": "用户星座"
|
||||
}
|
||||
}, [h("span", [((_this2$userItemInfo16 = _this2.userItemInfo) === null || _this2$userItemInfo16 === void 0 ? void 0 : _this2$userItemInfo16.user_constellation) || '无'])])]);
|
||||
}
|
||||
}
|
||||
}])), h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"label": "操作",
|
||||
"width": "280"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
switch (data.row.user_verify_status) {
|
||||
case 0:
|
||||
return h("span", [h("el-tag", {
|
||||
"style": {
|
||||
marginRight: '5px'
|
||||
},
|
||||
"attrs": {
|
||||
"effect": "dark",
|
||||
"type": "success"
|
||||
},
|
||||
"on": {
|
||||
"click": /*#__PURE__*/Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
||||
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
||||
while (1) {
|
||||
switch (_context5.prev = _context5.next) {
|
||||
case 0:
|
||||
_context5.next = 2;
|
||||
return _this2.SetUserReview(1, data.row);
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context5.stop();
|
||||
}
|
||||
}
|
||||
}, _callee5);
|
||||
}))
|
||||
}
|
||||
}, ["\u901A\u8FC7\u5BA1\u6838"]), h("el-tag", {
|
||||
"attrs": {
|
||||
"effect": "dark",
|
||||
"type": "danger"
|
||||
},
|
||||
"on": {
|
||||
"click": /*#__PURE__*/Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
||||
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
||||
while (1) {
|
||||
switch (_context6.prev = _context6.next) {
|
||||
case 0:
|
||||
_context6.next = 2;
|
||||
return _this2.SetUserReview(-1, data.row);
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context6.stop();
|
||||
}
|
||||
}
|
||||
}, _callee6);
|
||||
}))
|
||||
}
|
||||
}, ["\u62D2\u7EDD\u901A\u8FC7"])]);
|
||||
break;
|
||||
|
||||
case -1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "danger"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-close",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u5BA1\u6838\u9A73\u56DE \u65E0\u9700\u64CD\u4F5C"]);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "success"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-check",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u901A\u8FC7\u5BA1\u6838 \u65E0\u9700\u64CD\u4F5C"]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}])), h("el-table-column", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_1___default()([{
|
||||
"attrs": {
|
||||
"width": "140"
|
||||
}
|
||||
}, {
|
||||
scopedSlots: {
|
||||
default: function _default(data) {
|
||||
switch (data.row.user_verify_status) {
|
||||
case 0:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "info"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-time",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u7B49\u5F85\u5BA1\u6838"]);
|
||||
break;
|
||||
|
||||
case -1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "danger"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-close",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u5BA1\u6838\u9A73\u56DE"]);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
return h("el-tag", {
|
||||
"attrs": {
|
||||
"type": "success"
|
||||
}
|
||||
}, [h("i", {
|
||||
"class": "el-icon-circle-check",
|
||||
"style": "margin-right: 5px"
|
||||
}), "\u901A\u8FC7\u5BA1\u6838"]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"attrs": {
|
||||
"label": "审核状态"
|
||||
}
|
||||
}])), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "user_verify_id",
|
||||
"sortable": true,
|
||||
"width": "140",
|
||||
"label": "编号"
|
||||
}
|
||||
}), this.ShowColumn(), h("el-table-column", {
|
||||
"attrs": {
|
||||
"prop": "user_verify_time",
|
||||
"label": "修改时间"
|
||||
}
|
||||
})]), h("br"), h("el-pagination", {
|
||||
"attrs": {
|
||||
"background": true,
|
||||
"layout": "prev, pager, next",
|
||||
"page-size": this.filter.count,
|
||||
"current-page": this.filter.page,
|
||||
"page-count": this.total_page
|
||||
},
|
||||
"on": {
|
||||
"current-change": function currentChange(page) {
|
||||
_this2.filter.page = page;
|
||||
|
||||
_this2.GetVerifyList();
|
||||
}
|
||||
}
|
||||
})]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return UserVerifyList;
|
||||
}(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Vue */ "c"]);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(_ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_13__[/* Inject */ "a"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", typeof (_a = typeof _core_service_impl_User_service_impl__WEBPACK_IMPORTED_MODULE_14__["UserServiceImpl"] !== "undefined" && _core_service_impl_User_service_impl__WEBPACK_IMPORTED_MODULE_14__["UserServiceImpl"]) === "function" ? _a : Object)], UserVerifyList.prototype, "UserServiceImpl", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", String)], UserVerifyList.prototype, "title", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", String)], UserVerifyList.prototype, "subtitle", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __metadata */ "b"])("design:type", String)], UserVerifyList.prototype, "type", void 0);
|
||||
|
||||
UserVerifyList = Object(tslib__WEBPACK_IMPORTED_MODULE_8__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_9__[/* Component */ "a"]], UserVerifyList);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (UserVerifyList);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "8458":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e294":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("262e");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("2caf");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("60a3");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("27b4");
|
||||
/* harmony import */ var _componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_componentsLess_PageHeader_less__WEBPACK_IMPORTED_MODULE_6__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
var PageHeader = /*#__PURE__*/function (_Vue) {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(PageHeader, _Vue);
|
||||
|
||||
var _super = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(PageHeader);
|
||||
|
||||
function PageHeader() {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, PageHeader);
|
||||
|
||||
return _super.apply(this, arguments);
|
||||
}
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(PageHeader, [{
|
||||
key: "mounted",
|
||||
value: function mounted() {}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "page_header"
|
||||
}, [h("i", {
|
||||
"class": "el-icon-back"
|
||||
}), h("h1", [this.title]), h("span", [this.subtitle])]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return PageHeader;
|
||||
}(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Vue */ "c"]);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", String)], PageHeader.prototype, "title", void 0);
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Prop */ "b"])({
|
||||
default: ''
|
||||
}), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", String)], PageHeader.prototype, "subtitle", void 0);
|
||||
|
||||
PageHeader = Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([vue_property_decorator__WEBPACK_IMPORTED_MODULE_5__[/* Component */ "a"]], PageHeader);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (PageHeader);
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
Binary file not shown.
441
moehu/moehu-backend/static/admin/js/indexhome.b6971d66.js
Normal file
441
moehu/moehu-backend/static/admin/js/indexhome.b6971d66.js
Normal file
@@ -0,0 +1,441 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["indexhome"],{
|
||||
|
||||
/***/ "4448":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "463b":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BaseLogic; });
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var _ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("4771");
|
||||
/* harmony import */ var _impl_User_service_impl__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("32f6");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2020. bmy
|
||||
*/
|
||||
var _a;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* logic 层的父类
|
||||
* 主要实现 页面公共参数和ajax方法的地方
|
||||
*/
|
||||
|
||||
var BaseLogic = /*#__PURE__*/function () {
|
||||
function BaseLogic() {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, BaseLogic);
|
||||
|
||||
this.page = 1;
|
||||
this.total_page = 1;
|
||||
this.count = 10; // 请求参数
|
||||
|
||||
this.PageParams = {
|
||||
limit: 10,
|
||||
page: 1
|
||||
};
|
||||
}
|
||||
/**
|
||||
* 【页面中公共的多次被用到的接口】可以在这个父类中定义,
|
||||
* 子类logic中直接使用,避免方法的冗余
|
||||
* @constructor
|
||||
*/
|
||||
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(BaseLogic, [{
|
||||
key: "DepartmentListRequest",
|
||||
value: function () {
|
||||
var _DepartmentListRequest = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
|
||||
function DepartmentListRequest() {
|
||||
return _DepartmentListRequest.apply(this, arguments);
|
||||
}
|
||||
|
||||
return DepartmentListRequest;
|
||||
}()
|
||||
}]);
|
||||
|
||||
return BaseLogic;
|
||||
}();
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(_ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_5__[/* Inject */ "a"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", typeof (_a = typeof _impl_User_service_impl__WEBPACK_IMPORTED_MODULE_6__["UserServiceImpl"] !== "undefined" && _impl_User_service_impl__WEBPACK_IMPORTED_MODULE_6__["UserServiceImpl"]) === "function" ? _a : Object)], BaseLogic.prototype, "UserServiceImpl", void 0);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "4bb5":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ Getter; });
|
||||
__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ Mutation; });
|
||||
|
||||
// UNUSED EXPORTS: State, Action, namespace
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/vue-class-component/dist/vue-class-component.esm.js
|
||||
var vue_class_component_esm = __webpack_require__("2fe1");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/vuex/dist/vuex.esm.js
|
||||
var vuex_esm = __webpack_require__("2f62");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/vuex-class/lib/bindings.js
|
||||
|
||||
|
||||
var State = createBindingHelper('computed', vuex_esm["e" /* mapState */]);
|
||||
var Getter = createBindingHelper('computed', vuex_esm["c" /* mapGetters */]);
|
||||
var Action = createBindingHelper('methods', vuex_esm["b" /* mapActions */]);
|
||||
var Mutation = createBindingHelper('methods', vuex_esm["d" /* mapMutations */]);
|
||||
function bindings_namespace(namespace, helper) {
|
||||
function createNamespacedHelper(helper) {
|
||||
function namespacedHelper(a, b) {
|
||||
if (typeof b === 'string') {
|
||||
var key = b;
|
||||
var proto = a;
|
||||
return helper(key, { namespace: namespace })(proto, key);
|
||||
}
|
||||
var type = a;
|
||||
var options = merge(b || {}, { namespace: namespace });
|
||||
return helper(type, options);
|
||||
}
|
||||
return namespacedHelper;
|
||||
}
|
||||
if (helper) {
|
||||
console.warn('[vuex-class] passing the 2nd argument to `namespace` function is deprecated. pass only namespace string instead.');
|
||||
return createNamespacedHelper(helper);
|
||||
}
|
||||
return {
|
||||
State: createNamespacedHelper(State),
|
||||
Getter: createNamespacedHelper(Getter),
|
||||
Mutation: createNamespacedHelper(Mutation),
|
||||
Action: createNamespacedHelper(Action)
|
||||
};
|
||||
}
|
||||
function createBindingHelper(bindTo, mapFn) {
|
||||
function makeDecorator(map, namespace) {
|
||||
return Object(vue_class_component_esm["a" /* createDecorator */])(function (componentOptions, key) {
|
||||
if (!componentOptions[bindTo]) {
|
||||
componentOptions[bindTo] = {};
|
||||
}
|
||||
var mapObject = (_a = {}, _a[key] = map, _a);
|
||||
componentOptions[bindTo][key] = namespace !== undefined
|
||||
? mapFn(namespace, mapObject)[key]
|
||||
: mapFn(mapObject)[key];
|
||||
var _a;
|
||||
});
|
||||
}
|
||||
function helper(a, b) {
|
||||
if (typeof b === 'string') {
|
||||
var key = b;
|
||||
var proto = a;
|
||||
return makeDecorator(key, undefined)(proto, key);
|
||||
}
|
||||
var namespace = extractNamespace(b);
|
||||
var type = a;
|
||||
return makeDecorator(type, namespace);
|
||||
}
|
||||
return helper;
|
||||
}
|
||||
function extractNamespace(options) {
|
||||
var n = options && options.namespace;
|
||||
if (typeof n !== 'string') {
|
||||
return undefined;
|
||||
}
|
||||
if (n[n.length - 1] !== '/') {
|
||||
return n + '/';
|
||||
}
|
||||
return n;
|
||||
}
|
||||
function merge(a, b) {
|
||||
var res = {};
|
||||
[a, b].forEach(function (obj) {
|
||||
Object.keys(obj).forEach(function (key) {
|
||||
res[key] = obj[key];
|
||||
});
|
||||
});
|
||||
return res;
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/vuex-class/lib/index.js
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "cbaa":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
// ESM COMPAT FLAG
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
||||
var runtime = __webpack_require__("96cf");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__("1da1");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
||||
var classCallCheck = __webpack_require__("d4ec");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
||||
var createClass = __webpack_require__("bee2");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
||||
var assertThisInitialized = __webpack_require__("257e");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
var inherits = __webpack_require__("262e");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 4 modules
|
||||
var createSuper = __webpack_require__("2caf");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
|
||||
var tslib_es6 = __webpack_require__("9ab4");
|
||||
|
||||
// EXTERNAL MODULE: ./src/application/assets/less/page/Home.less
|
||||
var page_Home = __webpack_require__("4448");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/vue-property-decorator/lib/vue-property-decorator.js
|
||||
var vue_property_decorator = __webpack_require__("60a3");
|
||||
|
||||
// EXTERNAL MODULE: ./src/core/annotation/Ioc.annotation.ts + 1 modules
|
||||
var Ioc_annotation = __webpack_require__("4771");
|
||||
|
||||
// EXTERNAL MODULE: ./src/core/service/impl/User.service.impl.ts
|
||||
var User_service_impl = __webpack_require__("32f6");
|
||||
|
||||
// EXTERNAL MODULE: ./src/application/logic/Base.logic.ts
|
||||
var Base_logic = __webpack_require__("463b");
|
||||
|
||||
// CONCATENATED MODULE: ./src/application/logic/page/Home.logic.ts
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2020. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
var _a;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var Home_logic_HomeLogic = /*#__PURE__*/function (_BaseLogic) {
|
||||
Object(inherits["a" /* default */])(HomeLogic, _BaseLogic);
|
||||
|
||||
var _super = Object(createSuper["a" /* default */])(HomeLogic);
|
||||
|
||||
function HomeLogic(point) {
|
||||
var _this;
|
||||
|
||||
Object(classCallCheck["a" /* default */])(this, HomeLogic);
|
||||
|
||||
_this = _super.call(this);
|
||||
_this.title = "12222";
|
||||
_this.List = [{
|
||||
id: 1,
|
||||
name: '2222'
|
||||
}, {
|
||||
id: 1,
|
||||
name: '32434'
|
||||
}];
|
||||
_this._ = point;
|
||||
return _this;
|
||||
}
|
||||
/**
|
||||
* 在这里面调用需要打开页面就执行的ajax请求
|
||||
* @constructor
|
||||
*/
|
||||
|
||||
|
||||
Object(createClass["a" /* default */])(HomeLogic, [{
|
||||
key: "StartUp",
|
||||
value: function () {
|
||||
var _StartUp = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
|
||||
function StartUp() {
|
||||
return _StartUp.apply(this, arguments);
|
||||
}
|
||||
|
||||
return StartUp;
|
||||
}()
|
||||
/**
|
||||
* 请求首页数据
|
||||
*/
|
||||
|
||||
}, {
|
||||
key: "getData",
|
||||
value: function () {
|
||||
var _getData = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2);
|
||||
}));
|
||||
|
||||
function getData() {
|
||||
return _getData.apply(this, arguments);
|
||||
}
|
||||
|
||||
return getData;
|
||||
}()
|
||||
}]);
|
||||
|
||||
return HomeLogic;
|
||||
}(Base_logic["a" /* BaseLogic */]);
|
||||
|
||||
Object(tslib_es6["a" /* __decorate */])([Object(Ioc_annotation["a" /* Inject */])(), Object(tslib_es6["b" /* __metadata */])("design:type", typeof (_a = typeof User_service_impl["UserServiceImpl"] !== "undefined" && User_service_impl["UserServiceImpl"]) === "function" ? _a : Object)], Home_logic_HomeLogic.prototype, "UserServiceImpl", void 0);
|
||||
// EXTERNAL MODULE: ./node_modules/vuex-class/lib/index.js + 1 modules
|
||||
var lib = __webpack_require__("4bb5");
|
||||
|
||||
// EXTERNAL MODULE: ./src/application/layout/base.layout.ts
|
||||
var base_layout = __webpack_require__("cb9f");
|
||||
|
||||
// EXTERNAL MODULE: ./src/core/utils/index.utils.ts
|
||||
var index_utils = __webpack_require__("3aff");
|
||||
|
||||
// CONCATENATED MODULE: ./src/application/page/index/home.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2020. bmy
|
||||
* Email:2271608011@qq.com
|
||||
* Github:https://github.com/helpcode
|
||||
*/
|
||||
var home_a, _b, _c;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var home_Home = /*#__PURE__*/function (_VueType) {
|
||||
Object(inherits["a" /* default */])(Home, _VueType);
|
||||
|
||||
var _super = Object(createSuper["a" /* default */])(Home);
|
||||
|
||||
function Home() {
|
||||
var _this;
|
||||
|
||||
Object(classCallCheck["a" /* default */])(this, Home);
|
||||
|
||||
_this = _super.apply(this, arguments); // RouterMeta 是 vue-router 路由meta配置信息,会被ast提取注入到自动生成的路由配置文件中
|
||||
|
||||
_this.RouterMeta = {
|
||||
title: '首页',
|
||||
isLogin: true
|
||||
}; // 抽离组件所有逻辑到独立类,解耦页面和数据
|
||||
|
||||
_this.serve = new Home_logic_HomeLogic(Object(assertThisInitialized["a" /* default */])(_this));
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(createClass["a" /* default */])(Home, [{
|
||||
key: "created",
|
||||
value: function () {
|
||||
var _created = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return this.serve.StartUp();
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function created() {
|
||||
return _created.apply(this, arguments);
|
||||
}
|
||||
|
||||
return created;
|
||||
}()
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "home"
|
||||
}, ["\u9996\u9875"]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return Home;
|
||||
}(base_layout["a" /* VueType */]);
|
||||
|
||||
Object(tslib_es6["a" /* __decorate */])([Object(Ioc_annotation["a" /* Inject */])(), Object(tslib_es6["b" /* __metadata */])("design:type", typeof (home_a = typeof User_service_impl["UserServiceImpl"] !== "undefined" && User_service_impl["UserServiceImpl"]) === "function" ? home_a : Object)], home_Home.prototype, "UserServiceImpl", void 0);
|
||||
|
||||
Object(tslib_es6["a" /* __decorate */])([Object(Ioc_annotation["a" /* Inject */])(), Object(tslib_es6["b" /* __metadata */])("design:type", typeof (_b = typeof index_utils["IndexUtils"] !== "undefined" && index_utils["IndexUtils"]) === "function" ? _b : Object)], home_Home.prototype, "Utils", void 0);
|
||||
|
||||
Object(tslib_es6["a" /* __decorate */])([Object(lib["a" /* Getter */])('GettersTabsContentArr'), Object(tslib_es6["b" /* __metadata */])("design:type", typeof (_c = typeof Array !== "undefined" && Array) === "function" ? _c : Object)], home_Home.prototype, "getterFoo", void 0);
|
||||
|
||||
home_Home = Object(tslib_es6["a" /* __decorate */])([vue_property_decorator["a" /* Component */]], home_Home);
|
||||
/* harmony default export */ var home = __webpack_exports__["default"] = (home_Home);
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
BIN
moehu/moehu-backend/static/admin/js/indexhome.b6971d66.js.gz
Normal file
BIN
moehu/moehu-backend/static/admin/js/indexhome.b6971d66.js.gz
Normal file
Binary file not shown.
926
moehu/moehu-backend/static/admin/js/login.d9082860.js
Normal file
926
moehu/moehu-backend/static/admin/js/login.d9082860.js
Normal file
@@ -0,0 +1,926 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["login"],{
|
||||
|
||||
/***/ "14c3":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var classof = __webpack_require__("c6b6");
|
||||
var regexpExec = __webpack_require__("9263");
|
||||
|
||||
// `RegExpExec` abstract operation
|
||||
// https://tc39.github.io/ecma262/#sec-regexpexec
|
||||
module.exports = function (R, S) {
|
||||
var exec = R.exec;
|
||||
if (typeof exec === 'function') {
|
||||
var result = exec.call(R, S);
|
||||
if (typeof result !== 'object') {
|
||||
throw TypeError('RegExp exec method returned something other than an Object or null');
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
if (classof(R) !== 'RegExp') {
|
||||
throw TypeError('RegExp#exec called on incompatible receiver');
|
||||
}
|
||||
|
||||
return regexpExec.call(R, S);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2638":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
function _extends(){return _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(this,arguments)}var normalMerge=["attrs","props","domProps"],toArrayMerge=["class","style","directives"],functionalMerge=["on","nativeOn"],mergeJsxProps=function(a){return a.reduce(function(c,a){for(var b in a)if(!c[b])c[b]=a[b];else if(-1!==normalMerge.indexOf(b))c[b]=_extends({},c[b],a[b]);else if(-1!==toArrayMerge.indexOf(b)){var d=c[b]instanceof Array?c[b]:[c[b]],e=a[b]instanceof Array?a[b]:[a[b]];c[b]=d.concat(e)}else if(-1!==functionalMerge.indexOf(b)){for(var f in a[b])if(c[b][f]){var g=c[b][f]instanceof Array?c[b][f]:[c[b][f]],h=a[b][f]instanceof Array?a[b][f]:[a[b][f]];c[b][f]=g.concat(h)}else c[b][f]=a[b][f];}else if("hook"==b)for(var i in a[b])c[b][i]=c[b][i]?mergeFn(c[b][i],a[b][i]):a[b][i];else c[b]=a[b];return c},{})},mergeFn=function(a,b){return function(){a&&a.apply(this,arguments),b&&b.apply(this,arguments)}};module.exports=mergeJsxProps;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "463b":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BaseLogic; });
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("96cf");
|
||||
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d4ec");
|
||||
/* harmony import */ var _Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("bee2");
|
||||
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("9ab4");
|
||||
/* harmony import */ var _ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("4771");
|
||||
/* harmony import */ var _impl_User_service_impl__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("32f6");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Copyright (c) 2020. bmy
|
||||
*/
|
||||
var _a;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* logic 层的父类
|
||||
* 主要实现 页面公共参数和ajax方法的地方
|
||||
*/
|
||||
|
||||
var BaseLogic = /*#__PURE__*/function () {
|
||||
function BaseLogic() {
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, BaseLogic);
|
||||
|
||||
this.page = 1;
|
||||
this.total_page = 1;
|
||||
this.count = 10; // 请求参数
|
||||
|
||||
this.PageParams = {
|
||||
limit: 10,
|
||||
page: 1
|
||||
};
|
||||
}
|
||||
/**
|
||||
* 【页面中公共的多次被用到的接口】可以在这个父类中定义,
|
||||
* 子类logic中直接使用,避免方法的冗余
|
||||
* @constructor
|
||||
*/
|
||||
|
||||
|
||||
Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(BaseLogic, [{
|
||||
key: "DepartmentListRequest",
|
||||
value: function () {
|
||||
var _DepartmentListRequest = Object(_Users_bmy_Desktop_TsxVueClassApi_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
|
||||
function DepartmentListRequest() {
|
||||
return _DepartmentListRequest.apply(this, arguments);
|
||||
}
|
||||
|
||||
return DepartmentListRequest;
|
||||
}()
|
||||
}]);
|
||||
|
||||
return BaseLogic;
|
||||
}();
|
||||
|
||||
Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __decorate */ "a"])([Object(_ann_Ioc_annotation__WEBPACK_IMPORTED_MODULE_5__[/* Inject */ "a"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__[/* __metadata */ "b"])("design:type", typeof (_a = typeof _impl_User_service_impl__WEBPACK_IMPORTED_MODULE_6__["UserServiceImpl"] !== "undefined" && _impl_User_service_impl__WEBPACK_IMPORTED_MODULE_6__["UserServiceImpl"]) === "function" ? _a : Object)], BaseLogic.prototype, "UserServiceImpl", void 0);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "5319":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
|
||||
var anObject = __webpack_require__("825a");
|
||||
var toObject = __webpack_require__("7b0b");
|
||||
var toLength = __webpack_require__("50c4");
|
||||
var toInteger = __webpack_require__("a691");
|
||||
var requireObjectCoercible = __webpack_require__("1d80");
|
||||
var advanceStringIndex = __webpack_require__("8aa5");
|
||||
var regExpExec = __webpack_require__("14c3");
|
||||
|
||||
var max = Math.max;
|
||||
var min = Math.min;
|
||||
var floor = Math.floor;
|
||||
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g;
|
||||
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g;
|
||||
|
||||
var maybeToString = function (it) {
|
||||
return it === undefined ? it : String(it);
|
||||
};
|
||||
|
||||
// @@replace logic
|
||||
fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
|
||||
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
|
||||
var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
|
||||
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
||||
|
||||
return [
|
||||
// `String.prototype.replace` method
|
||||
// https://tc39.github.io/ecma262/#sec-string.prototype.replace
|
||||
function replace(searchValue, replaceValue) {
|
||||
var O = requireObjectCoercible(this);
|
||||
var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
|
||||
return replacer !== undefined
|
||||
? replacer.call(searchValue, O, replaceValue)
|
||||
: nativeReplace.call(String(O), searchValue, replaceValue);
|
||||
},
|
||||
// `RegExp.prototype[@@replace]` method
|
||||
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
|
||||
function (regexp, replaceValue) {
|
||||
if (
|
||||
(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
|
||||
(typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
|
||||
) {
|
||||
var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
|
||||
if (res.done) return res.value;
|
||||
}
|
||||
|
||||
var rx = anObject(regexp);
|
||||
var S = String(this);
|
||||
|
||||
var functionalReplace = typeof replaceValue === 'function';
|
||||
if (!functionalReplace) replaceValue = String(replaceValue);
|
||||
|
||||
var global = rx.global;
|
||||
if (global) {
|
||||
var fullUnicode = rx.unicode;
|
||||
rx.lastIndex = 0;
|
||||
}
|
||||
var results = [];
|
||||
while (true) {
|
||||
var result = regExpExec(rx, S);
|
||||
if (result === null) break;
|
||||
|
||||
results.push(result);
|
||||
if (!global) break;
|
||||
|
||||
var matchStr = String(result[0]);
|
||||
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
||||
}
|
||||
|
||||
var accumulatedResult = '';
|
||||
var nextSourcePosition = 0;
|
||||
for (var i = 0; i < results.length; i++) {
|
||||
result = results[i];
|
||||
|
||||
var matched = String(result[0]);
|
||||
var position = max(min(toInteger(result.index), S.length), 0);
|
||||
var captures = [];
|
||||
// NOTE: This is equivalent to
|
||||
// captures = result.slice(1).map(maybeToString)
|
||||
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
||||
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
||||
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
||||
for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
|
||||
var namedCaptures = result.groups;
|
||||
if (functionalReplace) {
|
||||
var replacerArgs = [matched].concat(captures, position, S);
|
||||
if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
|
||||
var replacement = String(replaceValue.apply(undefined, replacerArgs));
|
||||
} else {
|
||||
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
||||
}
|
||||
if (position >= nextSourcePosition) {
|
||||
accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
|
||||
nextSourcePosition = position + matched.length;
|
||||
}
|
||||
}
|
||||
return accumulatedResult + S.slice(nextSourcePosition);
|
||||
}
|
||||
];
|
||||
|
||||
// https://tc39.github.io/ecma262/#sec-getsubstitution
|
||||
function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
|
||||
var tailPos = position + matched.length;
|
||||
var m = captures.length;
|
||||
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
||||
if (namedCaptures !== undefined) {
|
||||
namedCaptures = toObject(namedCaptures);
|
||||
symbols = SUBSTITUTION_SYMBOLS;
|
||||
}
|
||||
return nativeReplace.call(replacement, symbols, function (match, ch) {
|
||||
var capture;
|
||||
switch (ch.charAt(0)) {
|
||||
case '$': return '$';
|
||||
case '&': return matched;
|
||||
case '`': return str.slice(0, position);
|
||||
case "'": return str.slice(tailPos);
|
||||
case '<':
|
||||
capture = namedCaptures[ch.slice(1, -1)];
|
||||
break;
|
||||
default: // \d\d?
|
||||
var n = +ch;
|
||||
if (n === 0) return match;
|
||||
if (n > m) {
|
||||
var f = floor(n / 10);
|
||||
if (f === 0) return match;
|
||||
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
||||
return match;
|
||||
}
|
||||
capture = captures[n - 1];
|
||||
}
|
||||
return capture === undefined ? '' : capture;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7698":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
// ESM COMPAT FLAG
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
||||
var es_array_map = __webpack_require__("d81d");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js
|
||||
var helper = __webpack_require__("2638");
|
||||
var helper_default = /*#__PURE__*/__webpack_require__.n(helper);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
||||
var runtime = __webpack_require__("96cf");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__("1da1");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
||||
var classCallCheck = __webpack_require__("d4ec");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
||||
var createClass = __webpack_require__("bee2");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
||||
var assertThisInitialized = __webpack_require__("257e");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
var inherits = __webpack_require__("262e");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 4 modules
|
||||
var createSuper = __webpack_require__("2caf");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
|
||||
var tslib_es6 = __webpack_require__("9ab4");
|
||||
|
||||
// EXTERNAL MODULE: ./src/application/assets/less/page/Login.less
|
||||
var page_Login = __webpack_require__("ce7c");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/vue-property-decorator/lib/vue-property-decorator.js
|
||||
var vue_property_decorator = __webpack_require__("60a3");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
||||
var es_regexp_exec = __webpack_require__("ac1f");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
||||
var es_string_replace = __webpack_require__("5319");
|
||||
|
||||
// EXTERNAL MODULE: ./src/application/logic/Base.logic.ts
|
||||
var Base_logic = __webpack_require__("463b");
|
||||
|
||||
// EXTERNAL MODULE: ./src/core/annotation/Ioc.annotation.ts + 1 modules
|
||||
var Ioc_annotation = __webpack_require__("4771");
|
||||
|
||||
// EXTERNAL MODULE: ./src/core/service/impl/User.service.impl.ts
|
||||
var User_service_impl = __webpack_require__("32f6");
|
||||
|
||||
// CONCATENATED MODULE: ./src/application/logic/page/Login.logic.ts
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var _a;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var Login_logic_LoginLogic = /*#__PURE__*/function (_BaseLogic) {
|
||||
Object(inherits["a" /* default */])(LoginLogic, _BaseLogic);
|
||||
|
||||
var _super = Object(createSuper["a" /* default */])(LoginLogic);
|
||||
|
||||
function LoginLogic(point) {
|
||||
var _this;
|
||||
|
||||
Object(classCallCheck["a" /* default */])(this, LoginLogic);
|
||||
|
||||
_this = _super.call(this);
|
||||
_this.Banner = [{
|
||||
img: './img/Main.svg',
|
||||
title: '欢迎登录,萌弧App管理后台'
|
||||
}, {
|
||||
img: './img/Normal.svg',
|
||||
title: '您可以输入账号密码进行登录'
|
||||
}, {
|
||||
img: './img/Engineer.svg',
|
||||
title: '或者注册一个新的管理员账号'
|
||||
}];
|
||||
_this.UserLoginParams = {
|
||||
admin_user_name: "moehu",
|
||||
admin_user_pwd: "111"
|
||||
};
|
||||
_this._ = point;
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(createClass["a" /* default */])(LoginLogic, [{
|
||||
key: "StartUp",
|
||||
value: function () {
|
||||
var _StartUp = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
|
||||
function StartUp() {
|
||||
return _StartUp.apply(this, arguments);
|
||||
}
|
||||
|
||||
return StartUp;
|
||||
}()
|
||||
}, {
|
||||
key: "UserLogin",
|
||||
value: function () {
|
||||
var _UserLogin = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
var res;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return this.UserServiceImpl.Login(this.UserLoginParams);
|
||||
|
||||
case 2:
|
||||
res = _context2.sent;
|
||||
|
||||
this._.$setStorage('token', res.user_token);
|
||||
|
||||
this._.$setStorage('user_info', res.user_info);
|
||||
|
||||
this._.$router.replace("/home");
|
||||
|
||||
case 6:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this);
|
||||
}));
|
||||
|
||||
function UserLogin() {
|
||||
return _UserLogin.apply(this, arguments);
|
||||
}
|
||||
|
||||
return UserLogin;
|
||||
}()
|
||||
}]);
|
||||
|
||||
return LoginLogic;
|
||||
}(Base_logic["a" /* BaseLogic */]);
|
||||
|
||||
Object(tslib_es6["a" /* __decorate */])([Object(Ioc_annotation["a" /* Inject */])(), Object(tslib_es6["b" /* __metadata */])("design:type", typeof (_a = typeof User_service_impl["UserServiceImpl"] !== "undefined" && User_service_impl["UserServiceImpl"]) === "function" ? _a : Object)], Login_logic_LoginLogic.prototype, "UserServiceImpl", void 0);
|
||||
// EXTERNAL MODULE: ./src/application/layout/base.layout.ts
|
||||
var base_layout = __webpack_require__("cb9f");
|
||||
|
||||
// CONCATENATED MODULE: ./src/application/page/login.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var login_Login = /*#__PURE__*/function (_VueType) {
|
||||
Object(inherits["a" /* default */])(Login, _VueType);
|
||||
|
||||
var _super = Object(createSuper["a" /* default */])(Login);
|
||||
|
||||
function Login() {
|
||||
var _this;
|
||||
|
||||
Object(classCallCheck["a" /* default */])(this, Login);
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.service = new Login_logic_LoginLogic(Object(assertThisInitialized["a" /* default */])(_this));
|
||||
_this.RouterMeta = {
|
||||
title: '用户登录',
|
||||
isLogin: false
|
||||
};
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(createClass["a" /* default */])(Login, [{
|
||||
key: "created",
|
||||
value: function () {
|
||||
var _created = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return this.service.StartUp();
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function created() {
|
||||
return _created.apply(this, arguments);
|
||||
}
|
||||
|
||||
return created;
|
||||
}()
|
||||
}, {
|
||||
key: "beforeRouteEnter",
|
||||
// 路由拦截器
|
||||
value: function beforeRouteEnter(to, from, next) {
|
||||
next();
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this2 = this;
|
||||
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": "login"
|
||||
}, [h("div", {
|
||||
"class": "login_img"
|
||||
}, [h("div", {
|
||||
"class": "circular"
|
||||
}), h("el-carousel", {
|
||||
"attrs": {
|
||||
"autoplay": false,
|
||||
"height": "340px"
|
||||
},
|
||||
"class": "banner"
|
||||
}, [this.service.Banner.map(function (v, i) {
|
||||
return h("el-carousel-item", [h("img", {
|
||||
"attrs": {
|
||||
"src": v.img,
|
||||
"alt": ""
|
||||
}
|
||||
}), h("div", {
|
||||
"class": "banner_title"
|
||||
}, [v.title])]);
|
||||
})])]), h("div", {
|
||||
"class": "login_input"
|
||||
}, [h("div", {
|
||||
"class": "center"
|
||||
}, [h("div", {
|
||||
"class": "login_text"
|
||||
}, ["\u767B\u5F55", h("small", ["\u6B64\u9875\u9762\u5DF2\u52A0\u5BC6"])]), h("div", {
|
||||
"class": "login_form"
|
||||
}, [h("input", helper_default()([{
|
||||
"on": {
|
||||
"input": function input($event) {
|
||||
if ($event.target.composing) return;
|
||||
|
||||
_this2.$set(_this2.service.UserLoginParams, "admin_user_name", $event.target.value);
|
||||
}
|
||||
},
|
||||
"attrs": {
|
||||
"type": "text",
|
||||
"placeholder": "账户名"
|
||||
},
|
||||
"domProps": {
|
||||
"value": _this2.service.UserLoginParams.admin_user_name
|
||||
}
|
||||
}, {
|
||||
directives: [{
|
||||
name: "model",
|
||||
value: _this2.service.UserLoginParams.admin_user_name,
|
||||
modifiers: {}
|
||||
}]
|
||||
}])), h("input", helper_default()([{
|
||||
"on": {
|
||||
"input": function input($event) {
|
||||
if ($event.target.composing) return;
|
||||
|
||||
_this2.$set(_this2.service.UserLoginParams, "admin_user_pwd", $event.target.value);
|
||||
}
|
||||
},
|
||||
"attrs": {
|
||||
"type": "password",
|
||||
"placeholder": "密码"
|
||||
},
|
||||
"domProps": {
|
||||
"value": _this2.service.UserLoginParams.admin_user_pwd
|
||||
}
|
||||
}, {
|
||||
directives: [{
|
||||
name: "model",
|
||||
value: _this2.service.UserLoginParams.admin_user_pwd,
|
||||
modifiers: {}
|
||||
}]
|
||||
}])), h("div", {
|
||||
"class": "LoginSubmit"
|
||||
}, [h("div", {
|
||||
"class": "login_button",
|
||||
"on": {
|
||||
"click": function click() {
|
||||
return _this2.service.UserLogin();
|
||||
}
|
||||
}
|
||||
}, ["\u767B \u5F55", h("i", {
|
||||
"class": "el-icon-right"
|
||||
})]), h("div", {
|
||||
"class": "reg_text"
|
||||
}, ["\u8FD8\u6CA1\u6709\u8D26\u6237\uFF1F", h("span", [" \u6CE8\u518C"])])]), h("i")])])])]);
|
||||
}
|
||||
}]);
|
||||
|
||||
return Login;
|
||||
}(base_layout["a" /* VueType */]);
|
||||
|
||||
login_Login = Object(tslib_es6["a" /* __decorate */])([vue_property_decorator["a" /* Component */]], login_Login);
|
||||
/* harmony default export */ var login = __webpack_exports__["default"] = (login_Login);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "8aa5":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var charAt = __webpack_require__("6547").charAt;
|
||||
|
||||
// `AdvanceStringIndex` abstract operation
|
||||
// https://tc39.github.io/ecma262/#sec-advancestringindex
|
||||
module.exports = function (S, index, unicode) {
|
||||
return index + (unicode ? charAt(S, index).length : 1);
|
||||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "9263":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var regexpFlags = __webpack_require__("ad6d");
|
||||
var stickyHelpers = __webpack_require__("9f7f");
|
||||
|
||||
var nativeExec = RegExp.prototype.exec;
|
||||
// This always refers to the native implementation, because the
|
||||
// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
|
||||
// which loads this file before patching the method.
|
||||
var nativeReplace = String.prototype.replace;
|
||||
|
||||
var patchedExec = nativeExec;
|
||||
|
||||
var UPDATES_LAST_INDEX_WRONG = (function () {
|
||||
var re1 = /a/;
|
||||
var re2 = /b*/g;
|
||||
nativeExec.call(re1, 'a');
|
||||
nativeExec.call(re2, 'a');
|
||||
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
||||
})();
|
||||
|
||||
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;
|
||||
|
||||
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
||||
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
||||
|
||||
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
|
||||
|
||||
if (PATCH) {
|
||||
patchedExec = function exec(str) {
|
||||
var re = this;
|
||||
var lastIndex, reCopy, match, i;
|
||||
var sticky = UNSUPPORTED_Y && re.sticky;
|
||||
var flags = regexpFlags.call(re);
|
||||
var source = re.source;
|
||||
var charsAdded = 0;
|
||||
var strCopy = str;
|
||||
|
||||
if (sticky) {
|
||||
flags = flags.replace('y', '');
|
||||
if (flags.indexOf('g') === -1) {
|
||||
flags += 'g';
|
||||
}
|
||||
|
||||
strCopy = String(str).slice(re.lastIndex);
|
||||
// Support anchored sticky behavior.
|
||||
if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
|
||||
source = '(?: ' + source + ')';
|
||||
strCopy = ' ' + strCopy;
|
||||
charsAdded++;
|
||||
}
|
||||
// ^(? + rx + ) is needed, in combination with some str slicing, to
|
||||
// simulate the 'y' flag.
|
||||
reCopy = new RegExp('^(?:' + source + ')', flags);
|
||||
}
|
||||
|
||||
if (NPCG_INCLUDED) {
|
||||
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
|
||||
}
|
||||
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
||||
|
||||
match = nativeExec.call(sticky ? reCopy : re, strCopy);
|
||||
|
||||
if (sticky) {
|
||||
if (match) {
|
||||
match.input = match.input.slice(charsAdded);
|
||||
match[0] = match[0].slice(charsAdded);
|
||||
match.index = re.lastIndex;
|
||||
re.lastIndex += match[0].length;
|
||||
} else re.lastIndex = 0;
|
||||
} else if (UPDATES_LAST_INDEX_WRONG && match) {
|
||||
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
|
||||
}
|
||||
if (NPCG_INCLUDED && match && match.length > 1) {
|
||||
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
||||
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
||||
nativeReplace.call(match[0], reCopy, function () {
|
||||
for (i = 1; i < arguments.length - 2; i++) {
|
||||
if (arguments[i] === undefined) match[i] = undefined;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
return match;
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = patchedExec;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "9f7f":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
var fails = __webpack_require__("d039");
|
||||
|
||||
// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
|
||||
// so we use an intermediate function.
|
||||
function RE(s, f) {
|
||||
return RegExp(s, f);
|
||||
}
|
||||
|
||||
exports.UNSUPPORTED_Y = fails(function () {
|
||||
// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
||||
var re = RE('a', 'y');
|
||||
re.lastIndex = 2;
|
||||
return re.exec('abcd') != null;
|
||||
});
|
||||
|
||||
exports.BROKEN_CARET = fails(function () {
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
||||
var re = RE('^r', 'gy');
|
||||
re.lastIndex = 2;
|
||||
return re.exec('str') != null;
|
||||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "ac1f":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var $ = __webpack_require__("23e7");
|
||||
var exec = __webpack_require__("9263");
|
||||
|
||||
$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
||||
exec: exec
|
||||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "ce7c":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "d784":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// TODO: Remove from `core-js@4` since it's moved to entry points
|
||||
__webpack_require__("ac1f");
|
||||
var redefine = __webpack_require__("6eeb");
|
||||
var fails = __webpack_require__("d039");
|
||||
var wellKnownSymbol = __webpack_require__("b622");
|
||||
var regexpExec = __webpack_require__("9263");
|
||||
var createNonEnumerableProperty = __webpack_require__("9112");
|
||||
|
||||
var SPECIES = wellKnownSymbol('species');
|
||||
|
||||
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
||||
// #replace needs built-in support for named groups.
|
||||
// #match works fine because it just return the exec results, even if it has
|
||||
// a "grops" property.
|
||||
var re = /./;
|
||||
re.exec = function () {
|
||||
var result = [];
|
||||
result.groups = { a: '7' };
|
||||
return result;
|
||||
};
|
||||
return ''.replace(re, '$<a>') !== '7';
|
||||
});
|
||||
|
||||
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
||||
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
||||
var REPLACE_KEEPS_$0 = (function () {
|
||||
return 'a'.replace(/./, '$0') === '$0';
|
||||
})();
|
||||
|
||||
var REPLACE = wellKnownSymbol('replace');
|
||||
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
||||
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
||||
if (/./[REPLACE]) {
|
||||
return /./[REPLACE]('a', '$0') === '';
|
||||
}
|
||||
return false;
|
||||
})();
|
||||
|
||||
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
||||
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
||||
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
||||
var re = /(?:)/;
|
||||
var originalExec = re.exec;
|
||||
re.exec = function () { return originalExec.apply(this, arguments); };
|
||||
var result = 'ab'.split(re);
|
||||
return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
|
||||
});
|
||||
|
||||
module.exports = function (KEY, length, exec, sham) {
|
||||
var SYMBOL = wellKnownSymbol(KEY);
|
||||
|
||||
var DELEGATES_TO_SYMBOL = !fails(function () {
|
||||
// String methods call symbol-named RegEp methods
|
||||
var O = {};
|
||||
O[SYMBOL] = function () { return 7; };
|
||||
return ''[KEY](O) != 7;
|
||||
});
|
||||
|
||||
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
||||
// Symbol-named RegExp methods call .exec
|
||||
var execCalled = false;
|
||||
var re = /a/;
|
||||
|
||||
if (KEY === 'split') {
|
||||
// We can't use real regex here since it causes deoptimization
|
||||
// and serious performance degradation in V8
|
||||
// https://github.com/zloirock/core-js/issues/306
|
||||
re = {};
|
||||
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
||||
// a new one. We need to return the patched regex when creating the new one.
|
||||
re.constructor = {};
|
||||
re.constructor[SPECIES] = function () { return re; };
|
||||
re.flags = '';
|
||||
re[SYMBOL] = /./[SYMBOL];
|
||||
}
|
||||
|
||||
re.exec = function () { execCalled = true; return null; };
|
||||
|
||||
re[SYMBOL]('');
|
||||
return !execCalled;
|
||||
});
|
||||
|
||||
if (
|
||||
!DELEGATES_TO_SYMBOL ||
|
||||
!DELEGATES_TO_EXEC ||
|
||||
(KEY === 'replace' && !(
|
||||
REPLACE_SUPPORTS_NAMED_GROUPS &&
|
||||
REPLACE_KEEPS_$0 &&
|
||||
!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
|
||||
)) ||
|
||||
(KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
|
||||
) {
|
||||
var nativeRegExpMethod = /./[SYMBOL];
|
||||
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
||||
if (regexp.exec === regexpExec) {
|
||||
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
||||
// The native String method already delegates to @@method (this
|
||||
// polyfilled function), leasing to infinite recursion.
|
||||
// We avoid it by directly calling the native @@method method.
|
||||
return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
|
||||
}
|
||||
return { done: true, value: nativeMethod.call(str, regexp, arg2) };
|
||||
}
|
||||
return { done: false };
|
||||
}, {
|
||||
REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
|
||||
REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
|
||||
});
|
||||
var stringMethod = methods[0];
|
||||
var regexMethod = methods[1];
|
||||
|
||||
redefine(String.prototype, KEY, stringMethod);
|
||||
redefine(RegExp.prototype, SYMBOL, length == 2
|
||||
// 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
|
||||
// 21.2.5.11 RegExp.prototype[@@split](string, limit)
|
||||
? function (string, arg) { return regexMethod.call(string, this, arg); }
|
||||
// 21.2.5.6 RegExp.prototype[@@match](string)
|
||||
// 21.2.5.9 RegExp.prototype[@@search](string)
|
||||
: function (string) { return regexMethod.call(string, this); }
|
||||
);
|
||||
}
|
||||
|
||||
if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
|
||||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "d81d":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var $ = __webpack_require__("23e7");
|
||||
var $map = __webpack_require__("b727").map;
|
||||
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
|
||||
var arrayMethodUsesToLength = __webpack_require__("ae40");
|
||||
|
||||
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
|
||||
// FF49- issue
|
||||
var USES_TO_LENGTH = arrayMethodUsesToLength('map');
|
||||
|
||||
// `Array.prototype.map` method
|
||||
// https://tc39.github.io/ecma262/#sec-array.prototype.map
|
||||
// with adding support of @@species
|
||||
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
|
||||
map: function map(callbackfn /* , thisArg */) {
|
||||
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
BIN
moehu/moehu-backend/static/admin/js/login.d9082860.js.gz
Normal file
BIN
moehu/moehu-backend/static/admin/js/login.d9082860.js.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user