Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
23162a9a
authored
2023-07-21 10:49:28 +0800
by
yuanbo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加注释
1 parent
c814f742
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
455 additions
and
8 deletions
src/views/ywbl/ybx/ybx.vue
src/views/ywbl/ywsq/components/cfdj.vue
src/views/ywbl/ywsq/components/diyaq.vue
src/views/ywbl/ywsq/components/fwsyq.vue
src/views/ywbl/ywsq/components/mixin/djbbljump.js
src/views/ywbl/ywsq/components/mixin/jump.js
src/views/ywbl/ywsq/components/nydsyq100.vue
src/views/ywbl/ywsq/components/nydsyq200.vue
src/views/ywbl/ywsq/components/selecBdcql.vue
src/views/ywbl/ywsq/components/selectDjbbl.vue
src/views/ywbl/ywsq/components/selectFwsyq.vue
src/views/ywbl/ywsq/components/selectH.vue
src/views/ywbl/ywsq/components/selectJsydsyq.vue
src/views/ywbl/ywsq/components/selectJsydsyqSplitMerge.vue
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
src/views/ywbl/ywsq/components/selectTdsyq.vue
src/views/ywbl/ywsq/components/selectYgdj200.vue
src/views/ywbl/ywsq/components/selectYgdy.vue
src/views/ywbl/ywsq/components/selectZrzH.vue
src/views/ywbl/ybx/ybx.vue
View file @
23162a9
...
...
@@ -168,6 +168,10 @@
},
methods
:
{
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
searchForm
.
ywh
=
this
.
queryForm
.
ywh
;
...
...
@@ -191,11 +195,21 @@
}
});
},
/**
* @description: handleSort
* @param {*} val
* @author: renchao
*/
handleSort
(
val
)
{
this
.
queryForm
.
sortField
=
val
.
prop
;
this
.
queryForm
.
sortOrder
=
val
.
order
==
"ascending"
?
"asc"
:
"desc"
;
this
.
queryClick
();
},
/**
* @description: ywhClick
* @param {*} item
* @author: renchao
*/
ywhClick
(
item
)
{
//有任务权限
if
(
item
.
sjlx
==
"3"
)
{
...
...
src/views/ywbl/ywsq/components/cfdj.vue
View file @
23162a9
...
...
@@ -104,6 +104,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
selectCfdj
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -115,6 +119,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -165,9 +173,20 @@
});
}
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -178,6 +197,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/diyaq.vue
View file @
23162a9
...
...
@@ -90,6 +90,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -102,6 +106,10 @@
}
});
},
/**
* @description: submitFormClick
* @author: renchao
*/
submitFormClick
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -130,9 +138,20 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -143,6 +162,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/fwsyq.vue
View file @
23162a9
...
...
@@ -177,6 +177,10 @@
sendThis
(
this
)
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
if
(
!
this
.
isJump
)
{
...
...
@@ -217,11 +221,19 @@
})
}
},
/**
* @description: handleTabClick
* @author: renchao
*/
handleTabClick
()
{
this
.
bdcdysz
=
[],
this
.
pageData
.
currentPage
=
1
;
this
.
queryClick
();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -270,6 +282,11 @@
})
}
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
},
...
...
@@ -286,6 +303,12 @@
}
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -297,6 +320,11 @@
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/mixin/djbbljump.js
View file @
23162a9
...
...
@@ -7,9 +7,22 @@ import Router from '@/router'
export
default
{
methods
:
{
//点击行选中或取消复选框
/**
* @description: 点击行选中或取消复选框
* @param {*} row
* @param {*} column
* @param {*} event
* @author: renchao
*/
handleRowClick
(
row
,
column
,
event
)
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
)
},
/**
* @description: jump
* @param {*} data
* @param {*} type
* @author: renchao
*/
jump
(
data
,
type
)
{
const
{
href
}
=
Router
.
resolve
(
"/djbworkFrame?bsmSlsq="
+
...
...
@@ -20,6 +33,10 @@ export default {
window
.
open
(
href
,
"_blank"
);
this
.
$popupCacel
()
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
pageData
.
currentPage
=
1
// this.fetchData();
...
...
src/views/ywbl/ywsq/components/mixin/jump.js
View file @
23162a9
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-05 09:45:31
*/
...
...
@@ -7,9 +7,22 @@ import Router from '@/router'
export
default
{
methods
:
{
//点击行选中或取消复选框
/**
* @description: 点击行选中或取消复选框
* @param {*} row
* @param {*} column
* @param {*} event
* @author: renchao
*/
handleRowClick
(
row
,
column
,
event
)
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
)
},
/**
* @description: jump
* @param {*} data
* @param {*} type
* @author: renchao
*/
jump
(
data
,
type
)
{
const
{
href
}
=
Router
.
resolve
(
"/workFrame?bsmSlsq="
+
...
...
@@ -20,6 +33,10 @@ export default {
window
.
open
(
href
,
"_blank"
);
this
.
$popupCacel
()
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
pageData
.
currentPage
=
1
// this.fetchData();
...
...
src/views/ywbl/ywsq/components/nydsyq100.vue
View file @
23162a9
...
...
@@ -79,6 +79,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -91,6 +95,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -119,9 +127,20 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -132,6 +151,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/nydsyq200.vue
View file @
23162a9
...
...
@@ -76,6 +76,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -88,6 +92,10 @@
}
})
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -116,15 +124,31 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
qllx
:
row
.
qllx
,
bdcdyh
:
row
.
bdcdyh
,
bsmQlxx
:
row
.
bsmQlxx
};
this
.
$popup
(
'登记簿详情'
,
'registerBook/djbFrame'
,
{
formData
:
param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -135,6 +159,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selecBdcql.vue
View file @
23162a9
...
...
@@ -104,6 +104,10 @@
},
methods
:
{
//默认加载表格信息
/**
* @description: 默认加载表格信息
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
bsmSqyw
=
this
.
bsmSqyw
;
...
...
@@ -116,6 +120,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$alert
(
"请至少选择一条数据"
);
...
...
@@ -144,9 +152,20 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -157,6 +176,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectDjbbl.vue
View file @
23162a9
...
...
@@ -104,6 +104,10 @@
},
methods
:
{
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
()
selectRepairQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -125,6 +129,11 @@
// bsm: ''
// }, '85%')
// },
/**
* @description: ywhClick
* @param {*} item)
* @author: renchao
*/
ywhClick
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
"/djbworkFrame?bdcdyid="
+
...
...
@@ -141,6 +150,10 @@
window
.
open
(
href
,
`urlname
${
item
.
bdcdyid
}
`
);
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -171,10 +184,20 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
console
.
log
(
"val"
,
val
);
this
.
bdcdysz
=
val
;
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectFwsyq.vue
View file @
23162a9
...
...
@@ -81,6 +81,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -93,6 +97,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -121,9 +129,20 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -134,6 +153,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectH.vue
View file @
23162a9
...
...
@@ -80,6 +80,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -92,6 +96,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -120,9 +128,20 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -133,6 +152,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectJsydsyq.vue
View file @
23162a9
...
...
@@ -89,6 +89,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -101,6 +105,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -129,9 +137,19 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
...
...
@@ -143,6 +161,12 @@
formData
:
param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -153,6 +177,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectJsydsyqSplitMerge.vue
View file @
23162a9
...
...
@@ -191,6 +191,10 @@
},
methods
:
{
// 单选事件
/**
* @description: 单选事件
* @author: renchao
*/
close
()
{
this
.
tableData
.
data
.
forEach
(
item
=>
{
if
(
this
.
radioVal
==
item
.
bhqkbsm
)
{
...
...
@@ -211,6 +215,10 @@
}
})
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -221,13 +229,10 @@
}
});
},
handleRowClick
(
val
)
{
// this.radioVal = val.bhqkbsm
// let obj = val
// obj.bglx = '1';
// this.bdcdysz[0] = obj
// this.close()
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
...
...
@@ -252,6 +257,11 @@
}
})
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
...
...
@@ -263,6 +273,12 @@
formData
:
param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -273,6 +289,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
View file @
23162a9
...
...
@@ -85,6 +85,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -98,6 +102,10 @@
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$alert
(
"请至少选择一条数据"
);
...
...
@@ -126,12 +134,23 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsm
=
item
.
zdbsm
;
});
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -143,6 +162,11 @@
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectTdsyq.vue
View file @
23162a9
...
...
@@ -89,6 +89,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -101,6 +105,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -129,9 +137,19 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
...
...
@@ -143,6 +161,12 @@
formData
:
param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -153,6 +177,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectYgdj200.vue
View file @
23162a9
...
...
@@ -81,6 +81,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -93,6 +97,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -121,9 +129,20 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -134,6 +153,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectYgdy.vue
View file @
23162a9
...
...
@@ -81,6 +81,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
...
...
@@ -93,6 +97,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -121,9 +129,20 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -134,6 +153,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
src/views/ywbl/ywsq/components/selectZrzH.vue
View file @
23162a9
...
...
@@ -82,6 +82,10 @@
sendThis
(
this
);
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
zrzbsm
=
this
.
sqywInfo
.
zrzbsm
;
...
...
@@ -94,6 +98,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
...
...
@@ -122,9 +130,20 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
...
...
@@ -135,6 +154,11 @@
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
...
...
Please
register
or
sign in
to post a comment