|
@@ -267,6 +267,8 @@ $(document).ready(function() {
|
|
|
{ title: '文件数', colSpan: '1', rowSpan: '1', field: 'file_count', hAlign: 1, width: 50, readOnly: true },
|
|
|
{ title: '授权', colSpan: '1', rowSpan: '1', field: 'permission_count', hAlign: 1, width: 50, readOnly: true },
|
|
|
{ title: '固定', colSpan: '1', rowSpan: '1', field: 'is_fixed', hAlign: 1, width: 50, cellType: 'checkbox' },
|
|
|
+ { title: '类型', colSpan: '1', rowSpan: '1', field: 'filing_type', hAlign: 1, width: 50, readOnly: true, visible: is_debug, },
|
|
|
+ { title: '新类型', colSpan: '1', rowSpan: '1', field: 'new_filing_type', hAlign: 1, width: 50, readOnly: true, visible: is_debug, },
|
|
|
{ title: '提示', colSpan: '1', rowSpan: '1', field: 'tips', hAlign: 0, width: 280, formatter: '@', wordWrap: 1 },
|
|
|
],
|
|
|
emptyRows: 0,
|
|
@@ -349,6 +351,15 @@ $(document).ready(function() {
|
|
|
toastr.error(err.stack ? '保存配置数据错误' : err);
|
|
|
}
|
|
|
});
|
|
|
+ $(`#${setting.modal}-recalc`).click(function() {
|
|
|
+ self.reCalcFilingType();
|
|
|
+ SpreadJsObj.reLoadSheetData(self.sheet);
|
|
|
+ });
|
|
|
+ if (is_debug) {
|
|
|
+ $(`#${setting.modal}-recalc`).show();
|
|
|
+ } else {
|
|
|
+ $(`#${setting.modal}-recalc`).hide();
|
|
|
+ }
|
|
|
}
|
|
|
reCalcFilingType() {
|
|
|
for (const node of this.checkTree.nodes) {
|