Commit bc4a4b0d authored by 李苏's avatar 李苏 💬

excel/import

parent 1158af1b
...@@ -316,7 +316,7 @@ export const powerRoutes = [{ ...@@ -316,7 +316,7 @@ export const powerRoutes = [{
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 'test', "mkid": '901030540',
}, },
name: 'yszxfxzh', name: 'yszxfxzh',
path: "yszxfxzh" path: "yszxfxzh"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<!-- right--> <!-- right-->
<el-row class="tool-bar"> <el-row class="tool-bar">
<!-- <ToolButton :app='app'></ToolButton> --> <!-- <ToolButton :app='app'></ToolButton> -->
<ImportTempButton @success='success' url="hafms/yszhcxzb/import" :params="{ <ImportTempButton @success='success' url="hafms/yszhcxzb/excel/import" :params="{
lx:'C' lx:'C'
}" /> }" />
<!-- 导入--> <!-- 导入-->
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
}, },
{ {
title: "国网项目编码", title: "国网项目编码",
field: "gwxmbm", field: "gwxmmc",
fieldType: "ftString", fieldType: "ftString",
width: 160 width: 160
}, },
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
title: "项目包名称", title: "项目包名称",
field: "xmbmc", field: "xmbmc",
fieldType: "ftString", fieldType: "ftString",
width: 160 width: 230
}, },
{ {
title: "一级单位", title: "一级单位",
...@@ -118,13 +118,25 @@ ...@@ -118,13 +118,25 @@
{ {
title: "是否预安排项目", title: "是否预安排项目",
field: "yapxm", field: "yapxm",
fieldType: "ftString", formatter(a,b,v){
let map={
Y:'是',
N:'否'
}
return map[v]
},
width: 160 width: 160
}, },
{ {
title: "是否安全生产", title: "是否安全生产",
field: "aqsc", field: "aqsc",
fieldType: "ftString", formatter(a,b,v){
let map={
Y:'是',
N:'否'
}
return map[v]
},
width: 160 width: 160
} }
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment