|
@@ -382,7 +382,7 @@ $(function () {
|
|
|
$("#conditionform select").val("");
|
|
|
|
|
|
let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
|
|
|
- if (userType == 1 || userType == 2|| userType == 6) {
|
|
|
+ if (userType == -1||userType == 1 || userType == 2|| userType == 6) {
|
|
|
$("#conditionform input").val("");
|
|
|
$('#comdId').val(companyArr[0].label).attr('comd__id', companyArr[0].value).attr('meetCode', companyArr[0].meetCode);
|
|
|
companyId = $("#conditionform #comdId").attr('comd__id');
|
|
@@ -394,7 +394,7 @@ $(function () {
|
|
|
}
|
|
|
})
|
|
|
let contextPathURL = window.location.hostname === 'localhost' ? '//wx.palmnest.com/super_cloud' : "/super_cloud"
|
|
|
- if (userType == 1 || userType == 2|| userType == 6) {
|
|
|
+ if (userType == -1 || userType == 1 || userType == 2|| userType == 6) {
|
|
|
_this.getCompanyList({}, contextPathURL)
|
|
|
$('body').on("focus", '#comdId', function (event) {
|
|
|
_this.setOrgCompanyData($('#comdId'), 'comd__id', 'comd__span' , companyArr);
|
|
@@ -923,7 +923,7 @@ $(function () {
|
|
|
//查询
|
|
|
$('#conditionform .search-btn').on('click', function () {
|
|
|
var org_Id = $("#conditionform #orgId").attr('org__id');
|
|
|
- if (!org_Id&&userType!=1&&userType!=2) {
|
|
|
+ if (!org_Id&&userType!=1&&userType!=2&&userType != -1) {
|
|
|
layer.msg('请选择项目')
|
|
|
return;
|
|
|
}
|