@byteluck-fe/model-driven-controls 2.23.0-beta.25-zt → 2.23.0-beta.26-zt
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -167,7 +167,8 @@ _define_property(Employee2Control, "setting", [
|
|
|
167
167
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
168
168
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
169
169
|
COMMON_SETTING_TYPE.MULTIPLE,
|
|
170
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
170
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
171
|
+
COMMON_SETTING_TYPE.MAIN_DEPT_FLAG
|
|
171
172
|
]
|
|
172
173
|
},
|
|
173
174
|
{
|
|
@@ -126,8 +126,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
126
126
|
var _this;
|
|
127
127
|
_this = _call_super(this, Employee2Property, [
|
|
128
128
|
props
|
|
129
|
-
]), /**
|
|
130
|
-
* 展示类型: 默认形式 / 树状人员
|
|
129
|
+
]), /**
|
|
130
|
+
* 展示类型: 默认形式 / 树状人员
|
|
131
131
|
* */ _define_property(_this, "showType", void 0), _define_property(_this, "range", void 0 // 人员范围: 公司全员 / 指定人员
|
|
132
132
|
), // 选择指定人员时的范围
|
|
133
133
|
_define_property(_this, "rangeOptions", void 0), _define_property(_this, "multiple", void 0 // 是否多选
|
|
@@ -137,6 +137,7 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
137
137
|
), _define_property(_this, "externalType", void 0 // 外部组织:全部 'all' | 指定 'assign'
|
|
138
138
|
), _define_property(_this, "externalScope", void 0 //指定外部组织
|
|
139
139
|
), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
|
|
140
|
+
), _define_property(_this, "mainDeptFlag", void 0 //开启查询非主部门人员
|
|
140
141
|
);
|
|
141
142
|
var _props_showType;
|
|
142
143
|
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
|
|
@@ -169,6 +170,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
169
170
|
_this.externalScope = (_props_externalScope = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
|
|
170
171
|
var _props_openMultistageFilling;
|
|
171
172
|
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
173
|
+
var _props_mainDeptFlag;
|
|
174
|
+
_this.mainDeptFlag = (_props_mainDeptFlag = props === null || props === void 0 ? void 0 : props.mainDeptFlag) !== null && _props_mainDeptFlag !== void 0 ? _props_mainDeptFlag : false;
|
|
172
175
|
_this.multistageFilling = [];
|
|
173
176
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
174
177
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|