1、完善客商模块
2、完善基础数据模块 3、完善规范
This commit is contained in:
@@ -148,7 +148,6 @@
|
||||
<el-button
|
||||
type="primary"
|
||||
text
|
||||
icon="el-icon-view"
|
||||
v-if="hasPermission('common_cargo_view')"
|
||||
@click="$refs.crud.rowView(row, index)"
|
||||
>
|
||||
@@ -157,7 +156,6 @@
|
||||
<el-button
|
||||
type="primary"
|
||||
text
|
||||
icon="el-icon-edit"
|
||||
v-if="hasPermission('common_cargo_edit') && !row.readonly"
|
||||
@click="$refs.crud.rowEdit(row, index)"
|
||||
>
|
||||
@@ -166,7 +164,6 @@
|
||||
<el-button
|
||||
type="primary"
|
||||
text
|
||||
icon="el-icon-delete"
|
||||
v-if="hasPermission('common_cargo_delete') && !row.readonly"
|
||||
@click="rowDel(row)"
|
||||
>
|
||||
@@ -585,7 +582,7 @@ export default {
|
||||
type: 'warning',
|
||||
}).then(() => {
|
||||
NProgress.start();
|
||||
exportBlob(config.exportUrl, this.buildExportParams())
|
||||
exportBlob(config.exportUrl, this.buildExportParams(), { feedback: true })
|
||||
.then(res => {
|
||||
downloadXls(
|
||||
res.data,
|
||||
@@ -599,9 +596,13 @@ export default {
|
||||
},
|
||||
handleTemplate() {
|
||||
NProgress.start();
|
||||
exportBlob(config.templateUrl, {
|
||||
[this.website.tokenHeader]: getToken(),
|
||||
})
|
||||
exportBlob(
|
||||
config.templateUrl,
|
||||
{
|
||||
[this.website.tokenHeader]: getToken(),
|
||||
},
|
||||
{ feedback: true }
|
||||
)
|
||||
.then(res => {
|
||||
downloadXls(res.data, `${config.title}模板.xlsx`);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user