Commit 3ff12a8b authored by wangdanlei's avatar wangdanlei

同步产品3.2.1(8.17)代码

parent 78a7cdf4
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp-dee-workflow"]=window["webpackJsonp-dee-workflow"]||[]).push([["chunk-12d55490"],{"13d6":function(e,a,t){var n={"./":"7ca9","./DeeSelectRule":"7e69","./DeeSelectRule.vue":"7e69","./basicInfo":"9891","./basicInfo.vue":"9891","./current-task-owner":"5894","./current-task-owner.vue":"5894","./help-setting":"f006","./help-setting.vue":"f006","./index":"7ca9","./index.js":"7ca9","./moveAndZoom":"750a","./moveAndZoom.js":"750a","./participant-authOrg":"ba31","./participant-authOrg.vue":"ba31","./participant-creator":"7677","./participant-creator.vue":"7677","./participant-group":"c096","./participant-group.vue":"c096","./participant-org":"90ee","./participant-org.vue":"90ee","./participant-pboVar":"11e9","./participant-pboVar.vue":"11e9","./participant-rule":"9ea8","./participant-rule.vue":"9ea8","./participant-starter":"e09c","./participant-starter.vue":"e09c","./participant-team":"c26c","./participant-team.vue":"c26c","./participant-user":"b170","./participant-user.vue":"b170","./participant-var":"8275","./participant-var.vue":"8275","./process-owner":"07eb","./process-owner.vue":"07eb"};function r(e){var a=c(e);return t(a)}function c(e){if(!t.o(n,e)){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=c,e.exports=r,r.id="13d6"},"7e69":function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e._self._c;return a("div",{staticClass:"-page"},[a("el-cascader",{attrs:{props:{expandTrigger:"click",lazy:!0,lazyLoad:e.lazyLoad,checkStrictly:!0},options:e.options},on:{change:e.handleChange},model:{value:e.cascaderData,callback:function(a){e.cascaderData=a},expression:"cascaderData"}})],1)},r=[],c=(t("a7e1"),t("a74e")),o=(t("e285"),t("9ebb"),t("df26"),t("42c2")),i=(t("c880"),t("ce9c"),t("8f6b")),p={components:{},props:{value:{type:[Object,Array,String,Number],default:null},itemObj:{type:Object,default:function(){}}},data:function(){return{showCascader:!1,hasObjOptions:!1,cascaderData:"",options:[],hasGetConfigData:!1}},computed:{},watch:{},mounted:function(){this.options.length||this.getFirstOptions()},methods:{getFirstOptions:function(){var e=this;Object(i["c"])({}).then((function(a){e.options=a.items.content?a.items.content.map((function(e){return{label:e.name,value:e.innerName,data:e,leaf:""}})):[]}))},lazyLoad:function(){var e=Object(o["a"])(Object(c["a"])().mark((function e(a,t){var n;return Object(c["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a&&a.data&&(a.data.children?setTimeout((function(){var e=Array.from(a.data);t(e)})):1===a.level?Object(i["findModelDefByServer"])({modelType:"BASE",serverName:a.value}).then((function(e){var a=e.items.map((function(e){return{value:e.name,label:e.displayName,leaf:"",data:e}}));t(a)})):2===a.level&&(n={indices:["DxDynamicCodeScope"],pageFrom:1,pageSize:10,openProps:[{name:"dynamicCode",pageFrom:1,pageSize:9999,items:[{fieldName:"serverName",operator:"EQ",value:a.parent.value},{fieldName:"modelName",operator:"EQ",value:a.value}]}],searchItems:{operator:"AND",children:[{operator:"AND",items:[{fieldName:"displayName",operator:"EQ",value:"pbo通用作用域"}]}]}},Object(i["getRules"])(n).then((function(e){var a=e.items.content.map((function(e){return{value:e.name,label:e.displayName,leaf:"leaf",data:e}}));t(a)}))));case 1:case"end":return e.stop()}}),e)})));function a(a,t){return e.apply(this,arguments)}return a}(),handleChange:function(e){console.log("vai=======",e)},isObj:function(e){return"[object Object]"===Object.prototype.toString.call(e)}}},u=p,s=t("2be6"),l=Object(s["a"])(u,n,r,!1,null,null,null);a["default"]=l.exports},9891:function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e._self._c;return a("div",{staticClass:"basicInfo-com"},[a("dee-readable-form",{attrs:{"form-data":e.basicInfo}})],1)},r=[],c={name:"BasicInfo",components:{},props:{basicInfo:{type:Array,default:function(){return[]}}},data:function(){return{}},watch:{basicInfo:{handler:function(e,a){this.basicInfo=e}}},mounted:function(){},methods:{}},o=c,i=t("2be6"),p=Object(i["a"])(o,n,r,!1,null,null,null);a["default"]=p.exports}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
:basic-data="{id: editId}" :basic-data="{id: editId}"
/> />
</div> </div>
<div v-show="showRight" :style="{height: searchBoxHeight}"> <div v-show="showRight" :style="{height: tableHeight}">
<dee-as-com <dee-as-com
ref="DxGroupMemberLinkTable" ref="DxGroupMemberLinkTable"
:lay-config="{ :lay-config="{
...@@ -69,6 +69,7 @@ ...@@ -69,6 +69,7 @@
import GroupTree from './components/groupTree' import GroupTree from './components/groupTree'
import EditGroup from './components/editGroup' import EditGroup from './components/editGroup'
import CopyGroup from './components/copy-group' import CopyGroup from './components/copy-group'
import elementResizeDetectorMaker from 'element-resize-detector'
export default { export default {
name: 'Gruop', name: 'Gruop',
components: { GroupTree, EditGroup, CopyGroup }, components: { GroupTree, EditGroup, CopyGroup },
...@@ -86,23 +87,36 @@ export default { ...@@ -86,23 +87,36 @@ export default {
editGroupId: '', editGroupId: '',
model: 0, model: 0,
copyGroupItem: null, copyGroupItem: null,
showRight: false showRight: false,
tableHeight: '100%'
} }
}, },
computed: { computed: {
parentObject: function() { parentObject: function() {
return { parentNames: this.selectedGroup && this.selectedGroup.orgNames ? this.selectedGroup.orgNames.join('/') : '' } return { parentNames: this.selectedGroup && this.selectedGroup.orgNames ? this.selectedGroup.orgNames.join('/') : '' }
},
searchBoxHeight: function() {
return this.$refs.searchBox ? this.$refs.searchBox.offsetHeight + 'px' : 'calc(100% - 78px)'
} }
// searchBoxHeight: function() {
// return this.$refs.searchBox ? this.$refs.searchBox.offsetHeight + 'px' : 'calc(100% - 78px)'
// }
}, },
created() { created() {
}, },
mounted() { mounted() {
this.getGroups() this.getGroups()
if (this.$refs.searchBox) {
this.watchSize()
}
}, },
methods: { methods: {
watchSize() {
const _this = this
var erd = elementResizeDetectorMaker()
erd.listenTo(this.$refs.searchBox, (element) => { // 这里的this.$refs.fan指定要监听的元素对象,对应的是<div ref="fan"></div>
_this.$nextTick(() => { // 这里填写监听改变后的操作
_this.tableHeight = `calc(100% - ${element.offsetHeight + 12}px)`
})
})
},
editSubmit() { editSubmit() {
this.getGroups() this.getGroups()
this.handleClose() this.handleClose()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment