@indfnd/common 0.0.84 → 0.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/ind-common.es.js +47 -89
- package/dist/ind-common.umd.cjs +35 -35
- package/dist/styles/index.css +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.0.85](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.0.84...v0.0.85) (2024-03-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 表格输入框小数位n个0问题修复 ([0962bcb](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/0962bcbd4fc76a740247b8c52d37d4e154ffc360))
|
|
11
|
+
* 增加卷烟筛选条件接口 ([9b22d51](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/9b22d51b4bb55dbb1e0e0067492a63dd3223ba6a))
|
|
12
|
+
* fix下拉内容过多样式问题 ([3453ca5](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/3453ca5270c83bdc2ff0c30d05c57d858ad441db))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 不知道为什么总报找不到panel,先使用全局的 ([994a9df](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/994a9dfa35bfc5d85d2bf0af74364227ecb23524))
|
|
18
|
+
* 更新依赖 ([43894c4](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/43894c4e4aeaefd8391ffac4d05fbae976e0181e))
|
|
19
|
+
* 更新依赖 ([1302f43](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/1302f434c058d278bf4e45dbd6d083a79fe904e1))
|
|
20
|
+
* **table:** 列定义支持设置cellDataType ([ed0ceb7](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/ed0ceb73ecc5f45fc230797861fe021e396c7c03))
|
|
21
|
+
|
|
5
22
|
### [0.0.84](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.0.83...v0.0.84) (2024-03-03)
|
|
6
23
|
|
|
7
24
|
|
package/dist/ind-common.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Button as Button$1, ButtonGroup as ButtonGroup$1, Input, Drawer as Drawer$1, Dropdown as Dropdown$1, Modal as Modal$1, Form, FormItem, Select, Option, Row, Col, Switch, Menu, MenuItem, Badge, DropdownMenu, DropdownItem, Submenu, Tag, Header, Layout, Content, Spin, Poptip as Poptip$1, Checkbox, Card, RadioGroup, Radio, Message, LoadingBar } from "view-design";
|
|
2
|
-
import { isNil, formatDate as formatDate$1, useConfig, getLocalStorage, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on as on$1, off as off$1, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, MIME_TYPE, base64ToBlob, putOssFileApi,
|
|
2
|
+
import { isNil, formatDate as formatDate$1, useConfig, getLocalStorage, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on as on$1, off as off$1, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, MIME_TYPE, base64ToBlob, putOssFileApi, getPriceInfo, getItem, getCaptchaURL, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, getSessionStorage, setSessionStorage, getAppListApi, getPermissionCache, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, getIndexDescCache, listIndexDescApi, setIndexDescCache } from "@indfnd/utils";
|
|
3
3
|
import Vue$1 from "vue";
|
|
4
4
|
const name$1 = "@indfnd/common";
|
|
5
|
-
const version$1 = "0.0.
|
|
5
|
+
const version$1 = "0.0.84";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -53,7 +53,7 @@ const dependencies = {
|
|
|
53
53
|
"xlsx-populate": "^1.11.0"
|
|
54
54
|
};
|
|
55
55
|
const devDependencies = {
|
|
56
|
-
"@indfnd/utils": "^0.0.
|
|
56
|
+
"@indfnd/utils": "^0.0.39",
|
|
57
57
|
"ag-grid-community": "^30.1.0",
|
|
58
58
|
"ag-grid-enterprise": "^30.1.0",
|
|
59
59
|
"ag-grid-vue": "^30.1.0",
|
|
@@ -55377,7 +55377,7 @@ const __vue2_script$X = {
|
|
|
55377
55377
|
if (scale === 0) {
|
|
55378
55378
|
renderVal = value ? parseInt(value) : value;
|
|
55379
55379
|
} else if (scale) {
|
|
55380
|
-
let cellV = parseFloat(value);
|
|
55380
|
+
let cellV = _.round(parseFloat(value), 6);
|
|
55381
55381
|
if (!isNaN(cellV)) {
|
|
55382
55382
|
renderVal = cellV.toFixed(scale);
|
|
55383
55383
|
}
|
|
@@ -55401,7 +55401,7 @@ const __vue2_script$X = {
|
|
|
55401
55401
|
v = ((props == null ? void 0 : props.enableNegative) ? formatRlt[1] : "") + formatRlt[2] + (formatRlt[4] || "");
|
|
55402
55402
|
}
|
|
55403
55403
|
if (type == "number") {
|
|
55404
|
-
this.params.setValue(parseFloat(v));
|
|
55404
|
+
this.params.setValue(_.round(parseFloat(v), 6));
|
|
55405
55405
|
this.$refs.input && this.$refs.input.setCurrentValue(v);
|
|
55406
55406
|
} else {
|
|
55407
55407
|
this.params.setValue(v);
|
|
@@ -56616,14 +56616,14 @@ const __vue2_script$P = {
|
|
|
56616
56616
|
if (val == "X") {
|
|
56617
56617
|
datasTmp.forEach((d) => {
|
|
56618
56618
|
this.switchCols.forEach((dd) => {
|
|
56619
|
-
let t2 = parseFloat(d[dd]);
|
|
56619
|
+
let t2 = _.round(parseFloat(d[dd]), 6);
|
|
56620
56620
|
d[dd] = isNaN(t2) ? null : t2 / 5;
|
|
56621
56621
|
});
|
|
56622
56622
|
});
|
|
56623
56623
|
} else if (val == "WZ") {
|
|
56624
56624
|
datasTmp.forEach((d) => {
|
|
56625
56625
|
this.switchCols.forEach((dd) => {
|
|
56626
|
-
let t2 = parseFloat(d[dd]);
|
|
56626
|
+
let t2 = _.round(parseFloat(d[dd]), 6);
|
|
56627
56627
|
d[dd] = isNaN(t2) ? null : t2 * 5;
|
|
56628
56628
|
});
|
|
56629
56629
|
});
|
|
@@ -56904,7 +56904,7 @@ const __vue2_script$P = {
|
|
|
56904
56904
|
minWidth: column.minWidth,
|
|
56905
56905
|
maxWidth: column.maxWidth,
|
|
56906
56906
|
pinned: column.fixed || column.pinned,
|
|
56907
|
-
cellDataType: "text",
|
|
56907
|
+
cellDataType: column.cellDataType || "text",
|
|
56908
56908
|
headerTooltip: (_b = (_a = this.$store) == null ? void 0 : _a.getters) == null ? void 0 : _b.getIndexDesc[column.standardField || column.key || column.field]
|
|
56909
56909
|
};
|
|
56910
56910
|
if (column.flex) {
|
|
@@ -57326,7 +57326,7 @@ const __vue2_script$P = {
|
|
|
57326
57326
|
mergedRows.push(...rows2.slice(1));
|
|
57327
57327
|
});
|
|
57328
57328
|
if (!mergedRows.includes(idx)) {
|
|
57329
|
-
sumData[field] = sumData[field] + (!d[field] || isNaN(d[field]) ? 0 : parseFloat(d[field]));
|
|
57329
|
+
sumData[field] = sumData[field] + (!d[field] || isNaN(d[field]) ? 0 : _.round(parseFloat(d[field]), 6));
|
|
57330
57330
|
}
|
|
57331
57331
|
});
|
|
57332
57332
|
return s;
|
|
@@ -57395,14 +57395,14 @@ const __vue2_script$P = {
|
|
|
57395
57395
|
if (this.unitType == "WZ") {
|
|
57396
57396
|
data.forEach((d) => {
|
|
57397
57397
|
this.switchCols.forEach((dd) => {
|
|
57398
|
-
let t2 = parseFloat(d[dd]);
|
|
57398
|
+
let t2 = _.round(parseFloat(d[dd]), 6);
|
|
57399
57399
|
d[dd] = isNaN(t2) ? null : t2 * 5;
|
|
57400
57400
|
});
|
|
57401
57401
|
});
|
|
57402
57402
|
} else {
|
|
57403
57403
|
data.forEach((d) => {
|
|
57404
57404
|
this.switchCols.forEach((dd) => {
|
|
57405
|
-
let t2 = parseFloat(d[dd]);
|
|
57405
|
+
let t2 = _.round(parseFloat(d[dd]), 6);
|
|
57406
57406
|
d[dd] = isNaN(t2) ? null : t2 / 5;
|
|
57407
57407
|
});
|
|
57408
57408
|
});
|
|
@@ -57433,14 +57433,14 @@ const __vue2_script$P = {
|
|
|
57433
57433
|
if (this.unitType == "WZ") {
|
|
57434
57434
|
datasTmp.forEach((d) => {
|
|
57435
57435
|
this.switchCols.forEach((dd) => {
|
|
57436
|
-
let t2 = parseFloat(d[dd]);
|
|
57436
|
+
let t2 = _.round(parseFloat(d[dd]));
|
|
57437
57437
|
d[dd] = isNaN(t2) ? null : t2 * 5;
|
|
57438
57438
|
});
|
|
57439
57439
|
});
|
|
57440
57440
|
} else {
|
|
57441
57441
|
datasTmp.forEach((d) => {
|
|
57442
57442
|
this.switchCols.forEach((dd) => {
|
|
57443
|
-
let t2 = parseFloat(d[dd]);
|
|
57443
|
+
let t2 = _.round(parseFloat(d[dd]));
|
|
57444
57444
|
d[dd] = isNaN(t2) ? null : t2 / 5;
|
|
57445
57445
|
});
|
|
57446
57446
|
});
|
|
@@ -57474,7 +57474,7 @@ const __vue2_script$P = {
|
|
|
57474
57474
|
let datasTmp = _.cloneDeep(this.tableData);
|
|
57475
57475
|
datasTmp.forEach((d) => {
|
|
57476
57476
|
this.switchCols.forEach((dd) => {
|
|
57477
|
-
let t2 = parseFloat(d[dd]);
|
|
57477
|
+
let t2 = _.round(parseFloat(d[dd]));
|
|
57478
57478
|
d[dd] = isNaN(t2) ? null : t2 / 5;
|
|
57479
57479
|
});
|
|
57480
57480
|
});
|
|
@@ -57488,7 +57488,7 @@ const __vue2_script$P = {
|
|
|
57488
57488
|
let datasTmp = _.cloneDeep(this.tableData);
|
|
57489
57489
|
datasTmp.forEach((d) => {
|
|
57490
57490
|
this.switchCols.forEach((dd) => {
|
|
57491
|
-
let t2 = parseFloat(d[dd]);
|
|
57491
|
+
let t2 = _.round(parseFloat(d[dd]));
|
|
57492
57492
|
d[dd] = isNaN(t2) ? null : t2 * 5;
|
|
57493
57493
|
});
|
|
57494
57494
|
});
|
|
@@ -57502,7 +57502,7 @@ const __vue2_script$P = {
|
|
|
57502
57502
|
let datasTmp = _.cloneDeep(this.topRows);
|
|
57503
57503
|
datasTmp.forEach((d) => {
|
|
57504
57504
|
this.switchCols.forEach((dd) => {
|
|
57505
|
-
let t2 = parseFloat(d[dd]);
|
|
57505
|
+
let t2 = _.round(parseFloat(d[dd]));
|
|
57506
57506
|
d[dd] = isNaN(t2) ? null : t2 / 5;
|
|
57507
57507
|
});
|
|
57508
57508
|
});
|
|
@@ -57516,7 +57516,7 @@ const __vue2_script$P = {
|
|
|
57516
57516
|
let datasTmp = _.cloneDeep(this.topRows);
|
|
57517
57517
|
datasTmp.forEach((d) => {
|
|
57518
57518
|
this.switchCols.forEach((dd) => {
|
|
57519
|
-
let t2 = parseFloat(d[dd]);
|
|
57519
|
+
let t2 = _.round(parseFloat(d[dd]));
|
|
57520
57520
|
d[dd] = isNaN(t2) ? null : t2 * 5;
|
|
57521
57521
|
});
|
|
57522
57522
|
});
|
|
@@ -61247,12 +61247,12 @@ var render$q = function() {
|
|
|
61247
61247
|
var _c = _vm._self._c || _h;
|
|
61248
61248
|
return _c("div", { ref: "detailView", staticClass: "ind-detail-view ind-flex-column" }, [_vm.isShowHeader ? _c("div", { staticClass: "ind-flex-no-shrink header" }, [_vm.isShowBackBtn ? _c("Button", { staticClass: "back-btn", attrs: { "bizType": "back" }, on: { "click": function($event) {
|
|
61249
61249
|
_vm.useGoBack ? _vm.goBack() : _vm.$backToMenu();
|
|
61250
|
-
} } }, [_vm._v("\u8FD4\u56DE")]) : _vm._e(), _c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.customTitle || _vm.title))]), _c("div", { staticClass: "header-buttons" }, [_vm._t("headerButton")], 2)], 1) : _vm._e(), _c("
|
|
61250
|
+
} } }, [_vm._v("\u8FD4\u56DE")]) : _vm._e(), _c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.customTitle || _vm.title))]), _c("div", { staticClass: "header-buttons" }, [_vm._t("headerButton")], 2)], 1) : _vm._e(), _c("IndBackTopPanel", { staticClass: "ind-flex-column ind-flex-grow content" }, [_vm._t("default")], 2), _c("div", { staticClass: "ind-flex-no-shrink function-wrapper" }, [_vm._t("footer")], 2)], 1);
|
|
61251
61251
|
};
|
|
61252
61252
|
var staticRenderFns$q = [];
|
|
61253
61253
|
const __vue2_script$r = {
|
|
61254
61254
|
name: "IndDetailView",
|
|
61255
|
-
components: { Button
|
|
61255
|
+
components: { Button },
|
|
61256
61256
|
props: {
|
|
61257
61257
|
isShowHeader: { type: Boolean, default: true },
|
|
61258
61258
|
isShowBackBtn: { type: Boolean, default: true },
|
|
@@ -61303,12 +61303,12 @@ var render$p = function() {
|
|
|
61303
61303
|
var _vm = this;
|
|
61304
61304
|
var _h = _vm.$createElement;
|
|
61305
61305
|
var _c = _vm._self._c || _h;
|
|
61306
|
-
return _c("div", { staticClass: "ind-page-view ind-flex-column" }, [_vm.isShowHeader ? _c("div", { staticClass: "ind-flex-no-shrink header" }, [_vm.isShowBackBtn ? _c("Button", { staticClass: "back-btn", attrs: { "bizType": "back" }, on: { "click": _vm.$backToMenu } }, [_vm._v("\u8FD4\u56DE")]) : _vm._e(), _c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.customTitle || _vm.title))]), _c("div", { staticClass: "function-wrapper" }, [_vm._t("headerButton")], 2)], 1) : _vm._e(), _c("
|
|
61306
|
+
return _c("div", { staticClass: "ind-page-view ind-flex-column" }, [_vm.isShowHeader ? _c("div", { staticClass: "ind-flex-no-shrink header" }, [_vm.isShowBackBtn ? _c("Button", { staticClass: "back-btn", attrs: { "bizType": "back" }, on: { "click": _vm.$backToMenu } }, [_vm._v("\u8FD4\u56DE")]) : _vm._e(), _c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.customTitle || _vm.title))]), _c("div", { staticClass: "function-wrapper" }, [_vm._t("headerButton")], 2)], 1) : _vm._e(), _c("IndLoadingPanel", { staticClass: "ind-flex-column ind-flex-grow content", attrs: { "loading": _vm.loading } }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.topSearch, expression: "$slots.topSearch" }], staticClass: "ind-flex-no-shrink ind-panel top-search-content search" }, [_vm._t("topSearch")], 2), _c("div", { staticClass: "ind-flex-grow body-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.leftContent, expression: "$slots.leftContent" }], staticClass: "ind-panel body-left-content" }, [_vm._t("leftContent")], 2), _c("div", { staticClass: "ind-panel ind-flex-column body-right-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.search, expression: "$slots.search" }], staticClass: "ind-flex-no-shrink search" }, [_vm._t("search")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.tip, expression: "$slots.tip" }], staticClass: "tip" }, [_vm._t("tip")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots["important-tip"], expression: "$slots['important-tip']" }], staticClass: "important-tip" }, [_c("Icons", { attrs: { "type": "md-information-circle" } }), _vm._t("important-tip")], 2), _c("div", { staticClass: "ind-flex-grow main-content" }, [_vm._t("default")], 2), _c("div", { staticClass: "ind-flex-no-shrink body-right-content-footer" }, [_vm._t("footer")], 2)])]), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.bottom, expression: "$slots.bottom" }], staticClass: "ind-flex-no-shrink ind-panel bottom" }, [_vm._t("bottom")], 2)])], 1);
|
|
61307
61307
|
};
|
|
61308
61308
|
var staticRenderFns$p = [];
|
|
61309
61309
|
const __vue2_script$q = {
|
|
61310
61310
|
name: "IndPageView",
|
|
61311
|
-
components: {
|
|
61311
|
+
components: { ButtonGroup, Button, Icons, Col, Row },
|
|
61312
61312
|
props: {
|
|
61313
61313
|
customTitle: String,
|
|
61314
61314
|
loading: Boolean,
|
|
@@ -61375,7 +61375,7 @@ function __vue2_injectStyles$p(context) {
|
|
|
61375
61375
|
this[o] = __cssModules$p[o];
|
|
61376
61376
|
}
|
|
61377
61377
|
}
|
|
61378
|
-
var
|
|
61378
|
+
var backTopPanel = /* @__PURE__ */ function() {
|
|
61379
61379
|
return __component__$p.exports;
|
|
61380
61380
|
}();
|
|
61381
61381
|
var render$n = function() {
|
|
@@ -64125,18 +64125,22 @@ var render$c = function() {
|
|
|
64125
64125
|
var _vm = this;
|
|
64126
64126
|
var _h = _vm.$createElement;
|
|
64127
64127
|
var _c = _vm._self._c || _h;
|
|
64128
|
-
return _c("Modal", { attrs: { "value": _vm.show, "title": "\u5377\u70DF\u9009\u62E9", "mask-closable": false, "width": _vm.width }, on: { "on-cancel": _vm.onCancel } }, [_vm.loading ? _c("Spin", { attrs: { "fix": "" } }) : _vm._e(), _c("Form", { staticClass: "item-comp-panel-form", attrs: { "label-width": 120 } }, [_c("FormItem", { attrs: { "label": "\
|
|
64128
|
+
return _c("Modal", { attrs: { "value": _vm.show, "title": "\u5377\u70DF\u9009\u62E9", "mask-closable": false, "width": _vm.width }, on: { "on-cancel": _vm.onCancel } }, [_vm.loading ? _c("Spin", { attrs: { "fix": "" } }) : _vm._e(), _c("Form", { staticClass: "item-comp-panel-form", attrs: { "label-width": 120 } }, [_c("FormItem", { attrs: { "label": "\u54C1\u724C" } }, [_c("IndTreeSelect", { ref: "brandSelect", attrs: { "data-url": _vm.dataUrl, "show-checkbox": "" } })], 1), _c("FormItem", { attrs: { "label": "\u89C4\u683C" } }, [_c("IndTreeSelect", _vm._b({ ref: "itemSelect" }, "IndTreeSelect", _vm.$attrs, false))], 1), _c("FormItem", { attrs: { "label": "\u5927\u7C7B" } }, [_c("Select", { attrs: { "multiple": "", "max-tag-count": 2 }, model: { value: _vm.conditions.kind, callback: function($$v) {
|
|
64129
64129
|
_vm.$set(_vm.conditions, "kind", $$v);
|
|
64130
64130
|
}, expression: "conditions.kind" } }, _vm._l(_vm.kinds, function(item2) {
|
|
64131
|
-
return _c("Option", { key: item2.
|
|
64132
|
-
}), 1)], 1), _c("FormItem", { attrs: { "label": "\
|
|
64131
|
+
return _c("Option", { key: item2.kindCode, attrs: { "value": item2.kindCode } }, [_vm._v(_vm._s(item2.kindName))]);
|
|
64132
|
+
}), 1)], 1), _c("FormItem", { attrs: { "label": "\u4EF7\u7C7B" } }, [_c("Select", { attrs: { "multiple": "", "max-tag-count": 1 }, model: { value: _vm.conditions.priceCode, callback: function($$v) {
|
|
64133
64133
|
_vm.$set(_vm.conditions, "priceCode", $$v);
|
|
64134
64134
|
}, expression: "conditions.priceCode" } }, _vm._l(_vm.priceCodes, function(item2) {
|
|
64135
|
-
return _c("Option", { key: item2.priceCode, attrs: { "value": item2.priceCode } }, [_vm._v(_vm._s(item2.
|
|
64136
|
-
}), 1)], 1), _c("FormItem", { attrs: { "label": "\
|
|
64135
|
+
return _c("Option", { key: item2.priceCode, attrs: { "value": item2.priceCode } }, [_vm._v(_vm._s(item2.priceName))]);
|
|
64136
|
+
}), 1)], 1), _c("FormItem", { attrs: { "label": "\u6863\u4F4D" } }, [_c("Select", { attrs: { "multiple": "", "max-tag-count": 2 }, model: { value: _vm.conditions.gearCode, callback: function($$v) {
|
|
64137
64137
|
_vm.$set(_vm.conditions, "gearCode", $$v);
|
|
64138
64138
|
}, expression: "conditions.gearCode" } }, _vm._l(_vm.gears, function(item2) {
|
|
64139
64139
|
return _c("Option", { key: item2.gearCode, attrs: { "value": item2.gearCode } }, [_vm._v(_vm._s(item2.gearName))]);
|
|
64140
|
+
}), 1)], 1), _c("FormItem", { attrs: { "label": "\u4EF7\u4F4D\u6BB5" } }, [_c("Select", { attrs: { "multiple": "" }, model: { value: _vm.conditions.priceSeg, callback: function($$v) {
|
|
64141
|
+
_vm.$set(_vm.conditions, "priceSeg", $$v);
|
|
64142
|
+
}, expression: "conditions.priceSeg" } }, _vm._l(_vm.priceSegs, function(item2) {
|
|
64143
|
+
return _c("Option", { key: item2.priceSegCode, attrs: { "value": item2.priceSegCode } }, [_vm._v(" " + _vm._s(item2.priceSegName) + " ")]);
|
|
64140
64144
|
}), 1)], 1), _c("FormItem", { attrs: { "label": "\u7EC6\u5206\u54C1\u7C7B" } }, [_c("RadioGroup", { model: { value: _vm.conditions.categoryCode, callback: function($$v) {
|
|
64141
64145
|
_vm.$set(_vm.conditions, "categoryCode", $$v);
|
|
64142
64146
|
}, expression: "conditions.categoryCode" } }, [_c("Radio", { attrs: { "label": "" } }, [_vm._v("\u5168\u90E8")]), _vm._l(_vm.CATEGORY, function(item2) {
|
|
@@ -64149,13 +64153,9 @@ var render$c = function() {
|
|
|
64149
64153
|
_vm.$set(_vm.conditions, "brandType", $$v);
|
|
64150
64154
|
}, expression: "conditions.brandType" } }, [_c("Radio", { attrs: { "label": "" } }, [_vm._v("\u5168\u90E8")]), _vm._l(_vm.BRAND_TYPE, function(item2) {
|
|
64151
64155
|
return _c("Radio", { key: item2.value, attrs: { "label": item2.value } }, [_vm._v(_vm._s(item2.label))]);
|
|
64152
|
-
})], 2)], 1), _c("FormItem", { attrs: { "label": "\
|
|
64153
|
-
_vm.$set(_vm.conditions, "
|
|
64154
|
-
}, expression: "conditions.
|
|
64155
|
-
return _c("Option", { key: item2.priceSegId, attrs: { "value": item2.priceSegId } }, [_vm._v(" " + _vm._s(item2.priceSegName) + " ")]);
|
|
64156
|
-
}), 1)], 1), _vm._l(_vm.numConditions, function(item2) {
|
|
64157
|
-
return _c("FormItem", { key: item2.value, attrs: { "label": "" + item2.label } }, [_c("NumCondition", { ref: item2.value, refInFor: true })], 1);
|
|
64158
|
-
})], 2), _c("div", { attrs: { "slot": "footer" }, slot: "footer" }, [_c("Button", { on: { "click": _vm.clear } }, [_vm._v("\u6E05\u9664")]), _c("Button", { attrs: { "type": "primary" }, on: { "click": _vm.onConfirm } }, [_vm._v("\u786E\u5B9A")])], 1)], 1);
|
|
64156
|
+
})], 2)], 1), _c("FormItem", { attrs: { "label": "\u662F\u5426\u4F4E\u4EF7\u4F4D" } }, [_c("RadioGroup", { model: { value: _vm.conditions.brandType, callback: function($$v) {
|
|
64157
|
+
_vm.$set(_vm.conditions, "brandType", $$v);
|
|
64158
|
+
}, expression: "conditions.brandType" } }, [_c("Radio", { attrs: { "label": "" } }, [_vm._v("\u5168\u90E8")]), _c("Radio", { attrs: { "label": "1" } }, [_vm._v("\u662F")]), _c("Radio", { attrs: { "label": "0" } }, [_vm._v("\u5426")])], 1)], 1)], 1), _c("div", { attrs: { "slot": "footer" }, slot: "footer" }, [_c("Button", { on: { "click": _vm.clear } }, [_vm._v("\u6E05\u9664")]), _c("Button", { attrs: { "type": "primary" }, on: { "click": _vm.onConfirm } }, [_vm._v("\u786E\u5B9A")])], 1)], 1);
|
|
64159
64159
|
};
|
|
64160
64160
|
var staticRenderFns$c = [];
|
|
64161
64161
|
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -64203,66 +64203,24 @@ const __vue2_script$d = {
|
|
|
64203
64203
|
kinds: [],
|
|
64204
64204
|
priceCodes: [],
|
|
64205
64205
|
priceSegs: [],
|
|
64206
|
-
gears: [
|
|
64207
|
-
{
|
|
64208
|
-
gearCode: "1",
|
|
64209
|
-
gearName: "\u4E00\u6863"
|
|
64210
|
-
},
|
|
64211
|
-
{
|
|
64212
|
-
gearCode: "2",
|
|
64213
|
-
gearName: "\u4E8C\u6863"
|
|
64214
|
-
},
|
|
64215
|
-
{
|
|
64216
|
-
gearCode: "3",
|
|
64217
|
-
gearName: "\u4E09\u6863"
|
|
64218
|
-
},
|
|
64219
|
-
{
|
|
64220
|
-
gearCode: "4",
|
|
64221
|
-
gearName: "\u56DB\u6863"
|
|
64222
|
-
},
|
|
64223
|
-
{
|
|
64224
|
-
gearCode: "5",
|
|
64225
|
-
gearName: "\u4E94\u6863"
|
|
64226
|
-
},
|
|
64227
|
-
{
|
|
64228
|
-
gearCode: "6",
|
|
64229
|
-
gearName: "\u516D\u6863"
|
|
64230
|
-
},
|
|
64231
|
-
{
|
|
64232
|
-
gearCode: "7",
|
|
64233
|
-
gearName: "\u4E03\u6863"
|
|
64234
|
-
},
|
|
64235
|
-
{
|
|
64236
|
-
gearCode: "8",
|
|
64237
|
-
gearName: "\u516B\u6863"
|
|
64238
|
-
}
|
|
64239
|
-
],
|
|
64206
|
+
gears: [],
|
|
64240
64207
|
loading: false,
|
|
64241
64208
|
conditions: { ...defaultConditions }
|
|
64242
64209
|
};
|
|
64243
64210
|
},
|
|
64244
64211
|
created() {
|
|
64245
|
-
this.
|
|
64246
|
-
this.
|
|
64247
|
-
|
|
64248
|
-
this.dataUrl = (url.indexOf("?") > -1 ? url + "&" : url + "?") + "selType=1";
|
|
64212
|
+
this.getPriceInfo();
|
|
64213
|
+
let url = this.$attrs["data-url"] || config.ismAmServerContext + "/tree/item/listItemTree";
|
|
64214
|
+
this.dataUrl = (url.indexOf("?") > -1 ? url + "&" : url + "?") + "showType=31";
|
|
64249
64215
|
},
|
|
64250
64216
|
methods: {
|
|
64251
|
-
async
|
|
64252
|
-
try {
|
|
64253
|
-
const { data = [] } = await getPriceCode();
|
|
64254
|
-
this.kinds = data.filter((item2) => item2.kind === item2.priceCode && item2.priceCode !== "6");
|
|
64255
|
-
this.priceCodes = data.filter(
|
|
64256
|
-
(item2) => item2.priceCode !== "1" && item2.priceCode !== "3" && item2.priceCode !== "6"
|
|
64257
|
-
);
|
|
64258
|
-
} catch (error) {
|
|
64259
|
-
console.log(error);
|
|
64260
|
-
}
|
|
64261
|
-
},
|
|
64262
|
-
async getPriceSeg() {
|
|
64217
|
+
async getPriceInfo() {
|
|
64263
64218
|
try {
|
|
64264
|
-
const { data } = await
|
|
64265
|
-
this.
|
|
64219
|
+
const { data } = await getPriceInfo();
|
|
64220
|
+
this.kinds = data.kinds || [];
|
|
64221
|
+
this.priceCodes = data.priceCodes || [];
|
|
64222
|
+
this.gears = data.gears || [];
|
|
64223
|
+
this.priceSegs = data.priceSegs || [];
|
|
64266
64224
|
} catch (error) {
|
|
64267
64225
|
console.log(error);
|
|
64268
64226
|
}
|
|
@@ -64396,7 +64354,7 @@ var __component__$d = /* @__PURE__ */ normalizeComponent(
|
|
|
64396
64354
|
staticRenderFns$c,
|
|
64397
64355
|
false,
|
|
64398
64356
|
__vue2_injectStyles$d,
|
|
64399
|
-
"
|
|
64357
|
+
"1ab53156",
|
|
64400
64358
|
null,
|
|
64401
64359
|
null
|
|
64402
64360
|
);
|
|
@@ -66840,7 +66798,7 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
66840
66798
|
HelpTreeModal,
|
|
66841
66799
|
MaterialItemModal: materialItemModal,
|
|
66842
66800
|
SignModal: signModal,
|
|
66843
|
-
BackTopPanel,
|
|
66801
|
+
BackTopPanel: backTopPanel,
|
|
66844
66802
|
LoadingPanel,
|
|
66845
66803
|
Poptip,
|
|
66846
66804
|
UnitRadio: unitRadio,
|
|
@@ -67582,4 +67540,4 @@ const API = {
|
|
|
67582
67540
|
getDefaultTheme,
|
|
67583
67541
|
doChangeTheme
|
|
67584
67542
|
};
|
|
67585
|
-
export { AppMenu, auditLogModal as AuditLogModal, auditModal as AuditModal, BackTop, BackTopPanel, BasicLayout, brandInputModal as BrandInputModal, Button, ButtonGroup, Collect, comInputModal as ComInputModal, datePicker as DatePicker, detailView as DetailView, Drawer, Dropdown, EmptyLayout, ErrorContent, errorStore as ErrorStore, index$3 as ExcelFlowModal, FormWrap, Fullscreen as FullScreen, helpTableModal as HelpTableModal, HelpTreeModal, Icons, configPlugin as IndConfigPlugin, routerPlugin as IndRouterPlugin, index$1 as ItemCompModal, itemInputModal as ItemInputModal, itemTypeCombineSelect as ItemTypeCombineSelect, language as Language, LoadingPanel, Login, materialItemModal as MaterialItemModal, Modal, NotFound, option2 as Option, optionGroup as OptionGroup, OtherMenu, pageView as PageView, Poptip, select as Select, SideMenu, SideMenuItem, SiderTrigger, Sign, signModal as SignModal, index as StepTrack, Table, TagsNav, Tooltip, Tree, index$2 as TreeModal, ImpTreeSelect as TreeSelect, unitRadio as UnitRadio, uploadFile as UploadFile, uploadImg as UploadImg, User, addRouterGuards, clickOutside, createMacroBasicRoutes, createMicroBasicRoutes, API as default, permission, print, routerOptions, store, transferDom };
|
|
67543
|
+
export { AppMenu, auditLogModal as AuditLogModal, auditModal as AuditModal, BackTop, backTopPanel as BackTopPanel, BasicLayout, brandInputModal as BrandInputModal, Button, ButtonGroup, Collect, comInputModal as ComInputModal, datePicker as DatePicker, detailView as DetailView, Drawer, Dropdown, EmptyLayout, ErrorContent, errorStore as ErrorStore, index$3 as ExcelFlowModal, FormWrap, Fullscreen as FullScreen, helpTableModal as HelpTableModal, HelpTreeModal, Icons, configPlugin as IndConfigPlugin, routerPlugin as IndRouterPlugin, index$1 as ItemCompModal, itemInputModal as ItemInputModal, itemTypeCombineSelect as ItemTypeCombineSelect, language as Language, LoadingPanel, Login, materialItemModal as MaterialItemModal, Modal, NotFound, option2 as Option, optionGroup as OptionGroup, OtherMenu, pageView as PageView, Poptip, select as Select, SideMenu, SideMenuItem, SiderTrigger, Sign, signModal as SignModal, index as StepTrack, Table, TagsNav, Tooltip, Tree, index$2 as TreeModal, ImpTreeSelect as TreeSelect, unitRadio as UnitRadio, uploadFile as UploadFile, uploadImg as UploadImg, User, addRouterGuards, clickOutside, createMacroBasicRoutes, createMicroBasicRoutes, API as default, permission, print, routerOptions, store, transferDom };
|