增加下载操作
This commit is contained in:
parent
28415fe9e9
commit
46eab42ac1
|
|
@ -1110,6 +1110,7 @@ export default {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
.title-box {
|
.title-box {
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
|
|
|
||||||
|
|
@ -175,7 +175,15 @@ export default {
|
||||||
this.dialogConfig.outerVisible = true
|
this.dialogConfig.outerVisible = true
|
||||||
},
|
},
|
||||||
// 下载
|
// 下载
|
||||||
onHandleDownload(row) {},
|
onHandleDownload(row) {
|
||||||
|
this.downloadNew(
|
||||||
|
'/stateGrid/downloadEpcTemp',
|
||||||
|
{
|
||||||
|
id: row.id,
|
||||||
|
},
|
||||||
|
`国网模板_${row.name}.doc`,
|
||||||
|
)
|
||||||
|
},
|
||||||
|
|
||||||
// 获取EPC模板列表列表
|
// 获取EPC模板列表列表
|
||||||
async getEpcTemplateList() {
|
async getEpcTemplateList() {
|
||||||
|
|
|
||||||
|
|
@ -1697,6 +1697,7 @@ export default {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
.title-box {
|
.title-box {
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
|
|
|
||||||
|
|
@ -1110,6 +1110,7 @@ export default {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
.title-box {
|
.title-box {
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
|
|
|
||||||
|
|
@ -175,7 +175,15 @@ export default {
|
||||||
this.dialogConfig.outerVisible = true
|
this.dialogConfig.outerVisible = true
|
||||||
},
|
},
|
||||||
// 下载
|
// 下载
|
||||||
onHandleDownload(row) {},
|
onHandleDownload(row) {
|
||||||
|
this.downloadNew(
|
||||||
|
'/stateGrid/downloadSouthTemp',
|
||||||
|
{
|
||||||
|
id: row.id,
|
||||||
|
},
|
||||||
|
`国网模板_${row.name}.doc`,
|
||||||
|
)
|
||||||
|
},
|
||||||
|
|
||||||
// 获取NW模板列表列表
|
// 获取NW模板列表列表
|
||||||
async getNwTemplateList() {
|
async getNwTemplateList() {
|
||||||
|
|
|
||||||
|
|
@ -458,6 +458,7 @@ export default {
|
||||||
if (newVal && Object.keys(newVal).length > 0) {
|
if (newVal && Object.keys(newVal).length > 0) {
|
||||||
const newValueObj = JSON.parse(JSON.stringify(newVal))
|
const newValueObj = JSON.parse(JSON.stringify(newVal))
|
||||||
Object.assign(this.addAndEditForm, { ...newValueObj })
|
Object.assign(this.addAndEditForm, { ...newValueObj })
|
||||||
|
this.getSubKeyPersonList(newValueObj.subId)
|
||||||
this.addAndEditForm.startAndEndTime = [newValueObj.startTime, newValueObj.endTime]
|
this.addAndEditForm.startAndEndTime = [newValueObj.startTime, newValueObj.endTime]
|
||||||
this.addTableList = []
|
this.addTableList = []
|
||||||
this.addTableList = newValueObj.tbCompanyPerfRelList
|
this.addTableList = newValueObj.tbCompanyPerfRelList
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue