|
@@ -26,8 +26,10 @@ export default {
|
|
|
|
|
|
//根据服务类型显示按钮类型设置按钮方法 1=查询 2=新增 3=编辑 4=删除 ...其他
|
|
|
let func = null
|
|
|
- if (servicetype == 1) {
|
|
|
+ if (servicetype == 0) {
|
|
|
func = () => context.parent.handleQuery()
|
|
|
+ } else if (servicetype == 1) {
|
|
|
+ func = () => context.parent.handleDetail()
|
|
|
} else if (servicetype == 2) {
|
|
|
func = () => context.parent.handleAdd()
|
|
|
} else if (servicetype == 3) {
|