diff --git a/src/views/data-create/epc-template/index.vue b/src/views/data-create/epc-template/index.vue index 90a55cb..bbe08cf 100644 --- a/src/views/data-create/epc-template/index.vue +++ b/src/views/data-create/epc-template/index.vue @@ -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`, + ) }) }, diff --git a/src/views/data-create/gw-template/index.vue b/src/views/data-create/gw-template/index.vue index 6a196a8..3f4bcdd 100644 --- a/src/views/data-create/gw-template/index.vue +++ b/src/views/data-create/gw-template/index.vue @@ -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`, + ) }) }, diff --git a/src/views/data-create/nw-template/index.vue b/src/views/data-create/nw-template/index.vue index 7613ff6..e39308d 100644 --- a/src/views/data-create/nw-template/index.vue +++ b/src/views/data-create/nw-template/index.vue @@ -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`, + ) }) },