模板下載分類頁面
This commit is contained in:
parent
d42c728470
commit
af655dbbc7
|
|
@ -188,22 +188,31 @@ export default {
|
|||
|
||||
this.$confirm('请选择下载的模板类型?', '温馨提示', {
|
||||
distinguishCancelAndClose: true,
|
||||
confirmButtonText: '表格下载',
|
||||
cancelButtonText: '普通下载',
|
||||
confirmButtonText: '商务标下载',
|
||||
cancelButtonText: '技术标下载',
|
||||
})
|
||||
.then(() => {
|
||||
.then(() => {
|
||||
// 表格下载
|
||||
|
||||
this.downloadNew(
|
||||
'/stateGrid/downloadStateGridTemp',
|
||||
{
|
||||
id: row.id,
|
||||
isJsb: 0,
|
||||
},
|
||||
`国网模板_${row.name}.doc`,
|
||||
`商务标_${row.name}.doc`,
|
||||
)
|
||||
})
|
||||
.catch((action) => {
|
||||
// 普通下载
|
||||
this.downloadNew(
|
||||
'/stateGrid/downloadStateGridTemp',
|
||||
{
|
||||
id: row.id,
|
||||
isJsb: 1,
|
||||
},
|
||||
`技术标_${row.name}.doc`,
|
||||
)
|
||||
})
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -188,8 +188,8 @@ export default {
|
|||
|
||||
this.$confirm('请选择下载的模板类型?', '温馨提示', {
|
||||
distinguishCancelAndClose: true,
|
||||
confirmButtonText: '表格下载',
|
||||
cancelButtonText: '普通下载',
|
||||
confirmButtonText: '商务标下载',
|
||||
cancelButtonText: '技术标下载',
|
||||
})
|
||||
.then(() => {
|
||||
// 表格下载
|
||||
|
|
@ -198,12 +198,21 @@ export default {
|
|||
'/stateGrid/downloadStateGridTemp',
|
||||
{
|
||||
id: row.id,
|
||||
isJsb: 0,
|
||||
},
|
||||
`国网模板_${row.name}.doc`,
|
||||
`商务标_${row.name}.doc`,
|
||||
)
|
||||
})
|
||||
.catch((action) => {
|
||||
// 普通下载
|
||||
this.downloadNew(
|
||||
'/stateGrid/downloadStateGridTemp',
|
||||
{
|
||||
id: row.id,
|
||||
isJsb: 1,
|
||||
},
|
||||
`技术标_${row.name}.doc`,
|
||||
)
|
||||
})
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -188,22 +188,31 @@ export default {
|
|||
|
||||
this.$confirm('请选择下载的模板类型?', '温馨提示', {
|
||||
distinguishCancelAndClose: true,
|
||||
confirmButtonText: '表格下载',
|
||||
cancelButtonText: '普通下载',
|
||||
confirmButtonText: '商务标下载',
|
||||
cancelButtonText: '技术标下载',
|
||||
})
|
||||
.then(() => {
|
||||
.then(() => {
|
||||
// 表格下载
|
||||
|
||||
this.downloadNew(
|
||||
'/stateGrid/downloadStateGridTemp',
|
||||
{
|
||||
id: row.id,
|
||||
isJsb: 0,
|
||||
},
|
||||
`国网模板_${row.name}.doc`,
|
||||
`商务标_${row.name}.doc`,
|
||||
)
|
||||
})
|
||||
.catch((action) => {
|
||||
// 普通下载
|
||||
this.downloadNew(
|
||||
'/stateGrid/downloadStateGridTemp',
|
||||
{
|
||||
id: row.id,
|
||||
isJsb: 1,
|
||||
},
|
||||
`技术标_${row.name}.doc`,
|
||||
)
|
||||
})
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue