|
@@ -11985,7 +11985,84 @@ module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exp
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 433:
|
|
|
+/***/ 44:
|
|
|
+/*!*************************************************************************!*\
|
|
|
+ !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/timeFormat.js ***!
|
|
|
+ \*************************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+
|
|
|
+
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.default = void 0;
|
|
|
+// padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
|
|
|
+// 所以这里做一个兼容polyfill的兼容处理
|
|
|
+if (!String.prototype.padStart) {
|
|
|
+ // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
|
|
|
+ String.prototype.padStart = function (maxLength) {
|
|
|
+ var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
|
|
|
+ if (Object.prototype.toString.call(fillString) !== "[object String]") throw new TypeError('fillString must be String');
|
|
|
+ var str = this;
|
|
|
+ // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
|
|
|
+ if (str.length >= maxLength) return String(str);
|
|
|
+ var fillLength = maxLength - str.length,
|
|
|
+ times = Math.ceil(fillLength / fillString.length);
|
|
|
+ while (times >>= 1) {
|
|
|
+ fillString += fillString;
|
|
|
+ if (times === 1) {
|
|
|
+ fillString += fillString;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return fillString.slice(0, fillLength) + str;
|
|
|
+ };
|
|
|
+}
|
|
|
+
|
|
|
+// 其他更多是格式化有如下:
|
|
|
+// yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合
|
|
|
+function timeFormat() {
|
|
|
+ var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
|
+ var fmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
|
|
|
+ // 如果为null,则格式化当前时间
|
|
|
+ if (!dateTime) dateTime = Number(new Date());
|
|
|
+ // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
|
|
|
+ if (dateTime.toString().length == 10) dateTime *= 1000;
|
|
|
+ var date = new Date(dateTime);
|
|
|
+ var ret;
|
|
|
+ var opt = {
|
|
|
+ "y+": date.getFullYear().toString(),
|
|
|
+ // 年
|
|
|
+ "m+": (date.getMonth() + 1).toString(),
|
|
|
+ // 月
|
|
|
+ "d+": date.getDate().toString(),
|
|
|
+ // 日
|
|
|
+ "h+": date.getHours().toString(),
|
|
|
+ // 时
|
|
|
+ "M+": date.getMinutes().toString(),
|
|
|
+ // 分
|
|
|
+ "s+": date.getSeconds().toString() // 秒
|
|
|
+ // 有其他格式化字符需求可以继续添加,必须转化成字符串
|
|
|
+ };
|
|
|
+
|
|
|
+ for (var k in opt) {
|
|
|
+ ret = new RegExp("(" + k + ")").exec(fmt);
|
|
|
+ if (ret) {
|
|
|
+ fmt = fmt.replace(ret[1], ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, "0"));
|
|
|
+ }
|
|
|
+ ;
|
|
|
+ }
|
|
|
+ ;
|
|
|
+ return fmt;
|
|
|
+}
|
|
|
+var _default = timeFormat;
|
|
|
+exports.default = _default;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 441:
|
|
|
/*!*************************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/MpHtmlParser.js ***!
|
|
|
\*************************************************************************************/
|
|
@@ -12000,8 +12077,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports.default = void 0;
|
|
|
-var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 434));
|
|
|
-var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 435));
|
|
|
+var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 442));
|
|
|
+var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 443));
|
|
|
/**
|
|
|
* html 解析器
|
|
|
* @tutorial https://github.com/jin-yufeng/Parser
|
|
@@ -12575,7 +12652,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 434:
|
|
|
+/***/ 442:
|
|
|
/*!*******************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/config.js ***!
|
|
|
\*******************************************************************************/
|
|
@@ -12665,7 +12742,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 435:
|
|
|
+/***/ 443:
|
|
|
/*!***********************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/CssHandler.js ***!
|
|
|
\***********************************************************************************/
|
|
@@ -12680,7 +12757,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports.default = void 0;
|
|
|
-var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 434));
|
|
|
+var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 442));
|
|
|
var isLetter = function isLetter(c) {
|
|
|
return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';
|
|
|
};
|
|
@@ -12780,83 +12857,6 @@ parser.prototype.Content = function () {
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 44:
|
|
|
-/*!*************************************************************************!*\
|
|
|
- !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/timeFormat.js ***!
|
|
|
- \*************************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-"use strict";
|
|
|
-
|
|
|
-
|
|
|
-Object.defineProperty(exports, "__esModule", {
|
|
|
- value: true
|
|
|
-});
|
|
|
-exports.default = void 0;
|
|
|
-// padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
|
|
|
-// 所以这里做一个兼容polyfill的兼容处理
|
|
|
-if (!String.prototype.padStart) {
|
|
|
- // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
|
|
|
- String.prototype.padStart = function (maxLength) {
|
|
|
- var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
|
|
|
- if (Object.prototype.toString.call(fillString) !== "[object String]") throw new TypeError('fillString must be String');
|
|
|
- var str = this;
|
|
|
- // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
|
|
|
- if (str.length >= maxLength) return String(str);
|
|
|
- var fillLength = maxLength - str.length,
|
|
|
- times = Math.ceil(fillLength / fillString.length);
|
|
|
- while (times >>= 1) {
|
|
|
- fillString += fillString;
|
|
|
- if (times === 1) {
|
|
|
- fillString += fillString;
|
|
|
- }
|
|
|
- }
|
|
|
- return fillString.slice(0, fillLength) + str;
|
|
|
- };
|
|
|
-}
|
|
|
-
|
|
|
-// 其他更多是格式化有如下:
|
|
|
-// yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合
|
|
|
-function timeFormat() {
|
|
|
- var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
|
- var fmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
|
|
|
- // 如果为null,则格式化当前时间
|
|
|
- if (!dateTime) dateTime = Number(new Date());
|
|
|
- // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
|
|
|
- if (dateTime.toString().length == 10) dateTime *= 1000;
|
|
|
- var date = new Date(dateTime);
|
|
|
- var ret;
|
|
|
- var opt = {
|
|
|
- "y+": date.getFullYear().toString(),
|
|
|
- // 年
|
|
|
- "m+": (date.getMonth() + 1).toString(),
|
|
|
- // 月
|
|
|
- "d+": date.getDate().toString(),
|
|
|
- // 日
|
|
|
- "h+": date.getHours().toString(),
|
|
|
- // 时
|
|
|
- "M+": date.getMinutes().toString(),
|
|
|
- // 分
|
|
|
- "s+": date.getSeconds().toString() // 秒
|
|
|
- // 有其他格式化字符需求可以继续添加,必须转化成字符串
|
|
|
- };
|
|
|
-
|
|
|
- for (var k in opt) {
|
|
|
- ret = new RegExp("(" + k + ")").exec(fmt);
|
|
|
- if (ret) {
|
|
|
- fmt = fmt.replace(ret[1], ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, "0"));
|
|
|
- }
|
|
|
- ;
|
|
|
- }
|
|
|
- ;
|
|
|
- return fmt;
|
|
|
-}
|
|
|
-var _default = timeFormat;
|
|
|
-exports.default = _default;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
/***/ 45:
|
|
|
/*!***********************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/timeFrom.js ***!
|
|
@@ -13137,7 +13137,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 471:
|
|
|
+/***/ 479:
|
|
|
/*!******************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/util/emitter.js ***!
|
|
|
\******************************************************************/
|
|
@@ -13208,7 +13208,56 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 472:
|
|
|
+/***/ 48:
|
|
|
+/*!********************************************************************!*\
|
|
|
+ !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/color.js ***!
|
|
|
+ \********************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+
|
|
|
+
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.default = void 0;
|
|
|
+// 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
|
|
|
+// 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
|
|
|
+var color = {
|
|
|
+ primary: "#2979ff",
|
|
|
+ primaryDark: "#2b85e4",
|
|
|
+ primaryDisabled: "#a0cfff",
|
|
|
+ primaryLight: "#ecf5ff",
|
|
|
+ bgColor: "#f3f4f6",
|
|
|
+ info: "#909399",
|
|
|
+ infoDark: "#82848a",
|
|
|
+ infoDisabled: "#c8c9cc",
|
|
|
+ infoLight: "#f4f4f5",
|
|
|
+ warning: "#ff9900",
|
|
|
+ warningDark: "#f29100",
|
|
|
+ warningDisabled: "#fcbd71",
|
|
|
+ warningLight: "#fdf6ec",
|
|
|
+ error: "#fa3534",
|
|
|
+ errorDark: "#dd6161",
|
|
|
+ errorDisabled: "#fab6b6",
|
|
|
+ errorLight: "#fef0f0",
|
|
|
+ success: "#19be6b",
|
|
|
+ successDark: "#18b566",
|
|
|
+ successDisabled: "#71d5a1",
|
|
|
+ successLight: "#dbf1e1",
|
|
|
+ mainColor: "#303133",
|
|
|
+ contentColor: "#606266",
|
|
|
+ tipsColor: "#909399",
|
|
|
+ lightColor: "#c0c4cc",
|
|
|
+ borderColor: "#e4e7ed"
|
|
|
+};
|
|
|
+var _default = color;
|
|
|
+exports.default = _default;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 480:
|
|
|
/*!**************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/util/async-validator.js ***!
|
|
|
\**************************************************************************/
|
|
@@ -14386,11 +14435,11 @@ Schema.warning = warning;
|
|
|
Schema.messages = messages;
|
|
|
var _default = Schema;
|
|
|
exports.default = _default;
|
|
|
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 473)))
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 481)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 473:
|
|
|
+/***/ 481:
|
|
|
/*!********************************************************!*\
|
|
|
!*** ./node_modules/node-libs-browser/mock/process.js ***!
|
|
|
\********************************************************/
|
|
@@ -14421,7 +14470,7 @@ exports.binding = function (name) {
|
|
|
var path;
|
|
|
exports.cwd = function () { return cwd };
|
|
|
exports.chdir = function (dir) {
|
|
|
- if (!path) path = __webpack_require__(/*! path */ 474);
|
|
|
+ if (!path) path = __webpack_require__(/*! path */ 482);
|
|
|
cwd = path.resolve(dir, cwd);
|
|
|
};
|
|
|
})();
|
|
@@ -14435,7 +14484,7 @@ exports.features = {};
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 474:
|
|
|
+/***/ 482:
|
|
|
/*!***********************************************!*\
|
|
|
!*** ./node_modules/path-browserify/index.js ***!
|
|
|
\***********************************************/
|
|
@@ -14745,56 +14794,7 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
|
}
|
|
|
;
|
|
|
|
|
|
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 473)))
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 48:
|
|
|
-/*!********************************************************************!*\
|
|
|
- !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/color.js ***!
|
|
|
- \********************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-"use strict";
|
|
|
-
|
|
|
-
|
|
|
-Object.defineProperty(exports, "__esModule", {
|
|
|
- value: true
|
|
|
-});
|
|
|
-exports.default = void 0;
|
|
|
-// 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
|
|
|
-// 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
|
|
|
-var color = {
|
|
|
- primary: "#2979ff",
|
|
|
- primaryDark: "#2b85e4",
|
|
|
- primaryDisabled: "#a0cfff",
|
|
|
- primaryLight: "#ecf5ff",
|
|
|
- bgColor: "#f3f4f6",
|
|
|
- info: "#909399",
|
|
|
- infoDark: "#82848a",
|
|
|
- infoDisabled: "#c8c9cc",
|
|
|
- infoLight: "#f4f4f5",
|
|
|
- warning: "#ff9900",
|
|
|
- warningDark: "#f29100",
|
|
|
- warningDisabled: "#fcbd71",
|
|
|
- warningLight: "#fdf6ec",
|
|
|
- error: "#fa3534",
|
|
|
- errorDark: "#dd6161",
|
|
|
- errorDisabled: "#fab6b6",
|
|
|
- errorLight: "#fef0f0",
|
|
|
- success: "#19be6b",
|
|
|
- successDark: "#18b566",
|
|
|
- successDisabled: "#71d5a1",
|
|
|
- successLight: "#dbf1e1",
|
|
|
- mainColor: "#303133",
|
|
|
- contentColor: "#606266",
|
|
|
- tipsColor: "#909399",
|
|
|
- lightColor: "#c0c4cc",
|
|
|
- borderColor: "#e4e7ed"
|
|
|
-};
|
|
|
-var _default = color;
|
|
|
-exports.default = _default;
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 481)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
@@ -16014,6 +16014,18 @@ var _default = {
|
|
|
apitraderecorddel: function apitraderecorddel(params) {
|
|
|
// 成交 更新记录 - 删除
|
|
|
return (0, _http.request)('api/trade/record/del', params, 'loading');
|
|
|
+ },
|
|
|
+ apitradesubmit: function apitradesubmit(params) {
|
|
|
+ // 成交审核 - 提交审核
|
|
|
+ return (0, _http.request)('api/trade/submit', params, 'loading');
|
|
|
+ },
|
|
|
+ apitradereview: function apitradereview(params) {
|
|
|
+ // 成交审核 - 一二三审 审核
|
|
|
+ return (0, _http.request)('api/trade/review', params, 'loading');
|
|
|
+ },
|
|
|
+ apitradesubtotal: function apitradesubtotal(params) {
|
|
|
+ // 成交审核 - 成交月度小计
|
|
|
+ return (0, _http.request)('api/trade/subtotal', params, 'loading');
|
|
|
}
|
|
|
};
|
|
|
exports.default = _default;
|