mirror of
https://gitee.com/xiaonuobase/snowy.git
synced 2026-03-22 02:37:16 +08:00
【优化】优化前端打包、表格组件、按需引入、模块选中问题修复
This commit is contained in:
@@ -27,18 +27,18 @@ export default {
|
||||
},
|
||||
// 下载${functionName}导入模板
|
||||
${classNameFirstLower}DownloadTemplate(data) {
|
||||
return request('downloadImportTemplate', data, 'get', {
|
||||
responseType: 'blob'
|
||||
})
|
||||
return request('downloadImportTemplate', data, 'get', {
|
||||
responseType: 'blob'
|
||||
})
|
||||
},
|
||||
// 导入${functionName}
|
||||
${classNameFirstLower}Import(data) {
|
||||
return request('importData', data)
|
||||
},
|
||||
// 导出${functionName}
|
||||
${classNameFirstLower}Export(data) {
|
||||
return request('exportData', data, 'post', {
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
// 导入${functionName}
|
||||
${classNameFirstLower}Import(data) {
|
||||
return request('importData', data)
|
||||
},
|
||||
// 导出${functionName}
|
||||
${classNameFirstLower}Export(data) {
|
||||
return request('exportData', data, 'post', {
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<% for(var i = 0; i < configList.~size; i++) { %>
|
||||
<% if(!configList[i].needTableId && configList[i].needPage) { searchCount ++; }%>
|
||||
<% } %>
|
||||
<a-card :bordered="false" style="width: 100%">
|
||||
<xn-panel>
|
||||
<% if (searchCount > 0) { %>
|
||||
<a-form ref="searchFormRef" :model="searchFormState">
|
||||
<a-row :gutter="10">
|
||||
@@ -154,7 +154,7 @@
|
||||
</template>
|
||||
</template>
|
||||
</s-table>
|
||||
</a-card>
|
||||
</xn-panel>
|
||||
<ImportModel ref="importModelRef" />
|
||||
<Form ref="formRef" @successful="tableRef.refresh()" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user