|
@@ -108,14 +108,25 @@
|
|
|
init(options);
|
|
|
})
|
|
|
|
|
|
- function listSelectJieClick(item,jie) {
|
|
|
- if( cacheManager.get('auth')){
|
|
|
- cacheManager.updateObject('auth', {
|
|
|
- currentZhang: zhangList.value.findIndex(citem => citem.zhangId == item.zhangId),
|
|
|
- zhangId: item.zhangId
|
|
|
- })
|
|
|
+ function listSelectJieClick(item,data,index) {
|
|
|
+
|
|
|
+ if ((!cacheManager.get('auth') && item.number != 1)||(!cacheManager.get('auth') && data.type == 2) ) {
|
|
|
+ youkeDialogRef.value.handleShow();
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ const authCode = getUserIdentity();
|
|
|
+ if (!(authCode == 'VIP' || item.number == 1)) {
|
|
|
+ // debugger
|
|
|
+ goPayDialogRef.value.handleShow();
|
|
|
+ return false
|
|
|
+ }
|
|
|
+
|
|
|
+ if (data.type == 2) {
|
|
|
+ // 最后一项
|
|
|
+ goKaoshi(data,index)
|
|
|
+ } else {
|
|
|
+ goLookShipin(data,index)
|
|
|
}
|
|
|
- listClick(jie);
|
|
|
}
|
|
|
|
|
|
function getProjectImg(){
|