kz-ui-base 1.0.140 → 1.0.142
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/api/system/dept.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import request from '@utils/request'
|
|
2
2
|
|
|
3
|
-
// 查询部门列表(
|
|
3
|
+
// 查询部门列表(可用状态&PageSize=10条)
|
|
4
4
|
export function listDept(query) {
|
|
5
5
|
return request({
|
|
6
6
|
url: '/system/dept/listAvailDept',
|
|
@@ -9,6 +9,15 @@ export function listDept(query) {
|
|
|
9
9
|
})
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
// 查询部门列表(可用状态&PageSize=999条)
|
|
13
|
+
export function listDeptAll(query) {
|
|
14
|
+
return request({
|
|
15
|
+
url: '/system/dept/listAvailDeptAll',
|
|
16
|
+
method: 'get',
|
|
17
|
+
params: query
|
|
18
|
+
})
|
|
19
|
+
}
|
|
20
|
+
|
|
12
21
|
// 查询部门列表(全部状态)
|
|
13
22
|
export function listDeptAllStatus(query) {
|
|
14
23
|
return request({
|
|
@@ -163,7 +163,7 @@ export default class SmOrderSelectModal extends Vue {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
|
-
{text: "
|
|
166
|
+
{text: "合同下发数量", property: "currentQuantity", width: 100, align: "right",
|
|
167
167
|
formatter: (row: any, column: any, cellValue: any) => {
|
|
168
168
|
if (cellValue == null || isNaN(cellValue)) return '0.00';
|
|
169
169
|
return parseFloat(cellValue).toLocaleString('en-US', {
|
package/package.json
CHANGED
|
@@ -305,6 +305,8 @@ export default class StandardList extends ListBasePage {
|
|
|
305
305
|
technicalStandardName: "",
|
|
306
306
|
prodCategoryCode: this.prodCategoryCode ? this.prodCategoryCode : "",
|
|
307
307
|
technicalStandardType: this.technicalStandardType ? this.technicalStandardType : "",
|
|
308
|
+
isExecutionStandard: undefined,
|
|
309
|
+
isInspectionStandard: undefined
|
|
308
310
|
};
|
|
309
311
|
// 列表分页参数
|
|
310
312
|
listQueryParams = {
|
|
@@ -376,8 +378,14 @@ export default class StandardList extends ListBasePage {
|
|
|
376
378
|
})
|
|
377
379
|
})
|
|
378
380
|
})
|
|
381
|
+
if (this.setting?.data?.searchObj?.isExecutionStandard) {
|
|
382
|
+
this.searchParams.isExecutionStandard = this.setting.data.searchObj.isExecutionStandard
|
|
383
|
+
}
|
|
384
|
+
if (this.setting?.data?.searchObj?.isInspectionStandard) {
|
|
385
|
+
this.searchParams.isInspectionStandard = this.setting.data.searchObj.isInspectionStandard
|
|
386
|
+
}
|
|
379
387
|
if(this.setting?.data?.technicalStandardName){
|
|
380
|
-
this.searchParams.technicalStandardName=this.setting.data.technicalStandardName
|
|
388
|
+
this.searchParams.technicalStandardName = this.setting.data.technicalStandardName
|
|
381
389
|
}
|
|
382
390
|
}
|
|
383
391
|
//树设定
|
|
@@ -457,7 +465,6 @@ export default class StandardList extends ListBasePage {
|
|
|
457
465
|
queryTableData(data) {
|
|
458
466
|
// this.$set()
|
|
459
467
|
let searchParams = {op: 'AND', rules: []};
|
|
460
|
-
|
|
461
468
|
if (data && data.hasOwnProperty("parentTechnicalStandardClassId")) {
|
|
462
469
|
this.selectedTreeNodeId = data.parentTechnicalStandardClassId === "0" ? null : data.id;
|
|
463
470
|
for (let key in this.searchParams) {
|