|
@@ -110,23 +110,14 @@
|
|
|
|
|
|
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( cacheManager.get('auth')){
|
|
|
+ cacheManager.updateObject('auth', {
|
|
|
+ currentZhang: zhangList.value.findIndex(citem => citem.zhangId == item.zhangId),
|
|
|
+ zhangId: item.zhangId
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
- if (data.type == 2) {
|
|
|
- // 最后一项
|
|
|
- goKaoshi(data,index)
|
|
|
- } else {
|
|
|
- goLookShipin(data,index)
|
|
|
- }
|
|
|
+ listClick(data,item,index );
|
|
|
}
|
|
|
|
|
|
function getProjectImg(){
|