gds-plus-design-vue 1.2.4 → 1.2.5

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.
Files changed (89) hide show
  1. package/lib/{chartbi.5eded588.js → chartbi.b5b6fdab.js} +1 -1
  2. package/lib/{chartbi.c3bc6adb.mjs → chartbi.b6818e8e.mjs} +3 -2
  3. package/lib/gd-initial.js +14 -14
  4. package/lib/gd-initial.mjs +3614 -2814
  5. package/lib/{main.00e2ba37.mjs → main.4e325110.mjs} +3 -3
  6. package/lib/main.6713b76c.js +1 -0
  7. package/lib/{main.b4ad6d81.mjs → main.955f770e.mjs} +16 -13
  8. package/lib/main.a28f67df.js +1 -0
  9. package/lib/{main.7e1495ec.js → main.b4a303dc.js} +1 -1
  10. package/lib/{main.b25a9b4c.mjs → main.be62e9a4.mjs} +12 -34
  11. package/lib/{main.55fab1ce.mjs → main.c59fc1e8.mjs} +7 -7
  12. package/lib/{main.a27e1e54.js → main.f3ae0933.js} +1 -1
  13. package/lib/messages.1346558e.js +9 -0
  14. package/lib/{messages.bc3bc0e8.mjs → messages.7e418640.mjs} +1095 -1065
  15. package/lib/style.css +3 -3
  16. package/lib/{system.account.868f96f9.mjs → system.account.64fbdaeb.mjs} +2 -2
  17. package/lib/{system.account.e82580de.js → system.account.7c43a95e.js} +1 -1
  18. package/lib/system.config.93d6cb7d.js +1 -0
  19. package/lib/{system.config.71615d2b.mjs → system.config.f0d2d130.mjs} +7 -2
  20. package/lib/{system.datasource.523ae242.js → system.datasource.4bb39222.js} +1 -1
  21. package/lib/{system.datasource.009a1673.mjs → system.datasource.61ff56ec.mjs} +3 -3
  22. package/lib/{system.dict.0111a3bc.js → system.dict.5a2e60fe.js} +1 -1
  23. package/lib/{system.dict.8f562e89.mjs → system.dict.a817cf68.mjs} +2 -2
  24. package/lib/{system.duplicatechecking.1865e065.js → system.duplicatechecking.65b77e64.js} +1 -1
  25. package/lib/{system.duplicatechecking.f517abed.mjs → system.duplicatechecking.751664ba.mjs} +15 -11
  26. package/lib/{system.email.4c484530.mjs → system.email.2f53252e.mjs} +2 -2
  27. package/lib/{system.email.70351605.js → system.email.fec5ae26.js} +1 -1
  28. package/lib/{system.fieldsecurity.9f9f73df.mjs → system.fieldsecurity.6feb94c3.mjs} +1 -1
  29. package/lib/{system.fieldsecurity.d11088e3.js → system.fieldsecurity.920adca4.js} +1 -1
  30. package/lib/{system.file.96b3ce1e.mjs → system.file.1930d109.mjs} +11 -6
  31. package/lib/system.file.5a9a5e0e.js +1 -0
  32. package/lib/{system.log.80feb1c4.mjs → system.log.61d303bd.mjs} +64 -81
  33. package/lib/system.log.b309c0e0.js +1 -0
  34. package/lib/{system.machine.6e46b7a3.js → system.machine.9368e508.js} +1 -1
  35. package/lib/{system.machine.52e8a4f3.mjs → system.machine.ed69ec93.mjs} +1 -1
  36. package/lib/{system.notice.b4247147.mjs → system.notice.bd18554e.mjs} +13 -10
  37. package/lib/system.notice.ff62c06a.js +1 -0
  38. package/lib/{system.noticereceived.eef2cf6e.mjs → system.noticereceived.4dc360c0.mjs} +31 -29
  39. package/lib/system.noticereceived.9550818b.js +1 -0
  40. package/lib/{system.onlineuser.de5f62bf.mjs → system.onlineuser.08a15a71.mjs} +22 -15
  41. package/lib/system.onlineuser.6cf4fe24.js +1 -0
  42. package/lib/{system.org.d22168d6.js → system.org.0c67131d.js} +1 -1
  43. package/lib/{system.org.94393315.mjs → system.org.6e858bf3.mjs} +3 -3
  44. package/lib/{system.permissions.3c5c3573.js → system.permissions.af548a3b.js} +1 -1
  45. package/lib/{system.permissions.ccbe352d.mjs → system.permissions.cc5ac7ac.mjs} +3 -3
  46. package/lib/{system.plugin.5d47e679.js → system.plugin.83d03fb2.js} +1 -1
  47. package/lib/{system.plugin.8caa5d1f.mjs → system.plugin.a1f1c194.mjs} +2 -2
  48. package/lib/{system.pos.caaef4fc.js → system.pos.eae2051e.js} +1 -1
  49. package/lib/{system.pos.e4be69c4.mjs → system.pos.eb8fd7dd.mjs} +2 -2
  50. package/lib/{system.promptmanagement.e73f64a2.js → system.promptmanagement.04501417.js} +1 -1
  51. package/lib/{system.promptmanagement.1ad89863.mjs → system.promptmanagement.c84db7d5.mjs} +7 -7
  52. package/lib/{system.role.0323ddd5.mjs → system.role.d2195303.mjs} +49 -48
  53. package/lib/system.role.e623c50b.js +1 -0
  54. package/lib/{system.sumberrules.42965c1e.mjs → system.sumberrules.141dc00b.mjs} +2 -2
  55. package/lib/{system.sumberrules.2babdd81.js → system.sumberrules.a01e1805.js} +1 -1
  56. package/lib/system.team.0cebcde7.js +1 -0
  57. package/lib/{system.team.28168433.mjs → system.team.27a6d5d5.mjs} +289 -246
  58. package/lib/system.teammembers.b67f003f.js +1 -0
  59. package/lib/{system.teammembers.08f3ce38.mjs → system.teammembers.d73c659f.mjs} +78 -40
  60. package/lib/{system.timers.040b9bce.mjs → system.timers.4a3dd57d.mjs} +2 -2
  61. package/lib/{system.timers.310b3710.js → system.timers.b27fcb6d.js} +1 -1
  62. package/lib/{system.translation.a4396166.js → system.translation.d2c982ed.js} +1 -1
  63. package/lib/{system.translation.c0068d8f.mjs → system.translation.d9488c23.mjs} +7 -7
  64. package/lib/{system.user.20a5e7b4.js → system.user.0664c21c.js} +5 -5
  65. package/lib/{system.user.84e77277.mjs → system.user.6874aa87.mjs} +101 -69
  66. package/lib/{system.useraffiliation.fb961d98.mjs → system.useraffiliation.5e3e2bab.mjs} +3 -3
  67. package/lib/{system.useraffiliation.307e3cd7.js → system.useraffiliation.6b7a1612.js} +1 -1
  68. package/lib/{system.webresource.2d0ab7a6.mjs → system.webresource.204911b7.mjs} +16 -18
  69. package/lib/system.webresource.5de18052.js +1 -0
  70. package/lib/{system.welcome.aaac4a40.mjs → system.welcome.79e15015.mjs} +1 -1
  71. package/lib/{system.welcome.67d20fa4.js → system.welcome.ec7aa744.js} +1 -1
  72. package/locale/en_US.js +25 -3
  73. package/locale/id_ID.js +25 -3
  74. package/locale/vi_VN.js +1967 -1945
  75. package/locale/zh_CN.js +26 -4
  76. package/package.json +1 -1
  77. package/lib/main.9c85b10c.js +0 -1
  78. package/lib/main.a794f7cf.js +0 -1
  79. package/lib/messages.fa3d97b5.js +0 -9
  80. package/lib/system.config.6aae9ea6.js +0 -1
  81. package/lib/system.file.001a01bc.js +0 -1
  82. package/lib/system.log.f7afb251.js +0 -1
  83. package/lib/system.notice.365ddd35.js +0 -1
  84. package/lib/system.noticereceived.5545acf8.js +0 -1
  85. package/lib/system.onlineuser.fd9fdc66.js +0 -1
  86. package/lib/system.role.b5b55ddd.js +0 -1
  87. package/lib/system.team.a3527834.js +0 -1
  88. package/lib/system.teammembers.4b11e49b.js +0 -1
  89. package/lib/system.webresource.0382b6b1.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";const d=require("./chartbi.b5b6fdab.js"),n=require("./system.team.0cebcde7.js"),l=require("./messages.1346558e.js"),m={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.team.name",prop:"sys_teamid",label:"\u540D\u79F0",type:"slot",slotType:"sys_teamid",align:"left",fixed:!0,width:"220"},{transKey:"gd.team.member",prop:"sys_userid",label:"\u6210\u5458",type:"slot",slotType:"sys_userid",align:"left",width:"220"},{transKey:"gd.user.account",prop:"account",label:"\u8D26\u53F7",type:"slot",slotType:"account",align:"left",width:"200"},{transKey:"gd.user.tel",prop:"phone",label:"\u7535\u8BDD",type:"slot",slotType:"phone",align:"left",width:"180"},{transKey:"gd.user.email",prop:"email",label:"\u90AE\u7BB1",type:"slot",slotType:"email",align:"left",width:"180"},{transKey:"gd.user.employeeID",prop:"employeeid",label:"\u5DE5\u53F7",type:"slot",slotType:"employeeid",align:"left",width:"160"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysTeam:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysTeam:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysTeam:delete"}]}}};const h={props:{modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},data(){return{width:"60%",visible:!1,fullScreen:!1,sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],title:"",confirmLoading:!1,type:1,rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}]},ruleFormData:{id:"",sys_userid:"",sys_teamid:""},dataList:[],columnList:[],ownerid:"",firstLoading:!1,firstLoading1:!1}},methods:{lookupSeled(t){t.table.tablename=="sys_team"?(this.columnList=[...t.fkData],this.$set(this.ruleFormData,"sys_teamid",t.data[0])):t.table.tablename=="sys_user"&&(this.dataList=[...t.fkData],this.$set(this.ruleFormData,"sys_userid",t.data[0]))},lookup(t,e){let s={effectType:"fk",fkEntityName:e==1?"sys_user":"sys_team",val:t||[]};this.$refs.msgSearch.open(s)},open(t){this.visible=!0,this.fullScreen=!1,this.title=t?this.$i18nt("gd.https.edit"):this.$i18nt("gd.https.add"),this.type=t?2:1,t&&this.getDetail(t.id)},getDetail(t){t!=""&&(this.dataList=[],n.sysTeamMemberDetail({id:t}).then(e=>{if(e.code==200){let s=e.data;this.dataList.push({id:s.sys_userid,name:s.username}),this.columnList.push({id:s.sys_teamid,name:s.teamname});let i={id:s.id,sys_userid:s.sys_userid,sys_teamid:s.sys_teamid};this.firstLoading=!0,this.firstLoading1=!0,this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData=i},0)})}}))},searchData(t){this.dataList=[],l.baseFkList({fkEntityName:"sys_user",id:t.administratorid}).then(e=>{e.code==200&&(this.firstLoading=!0,e.data.length>0?this.dataList=e.data:this.dataList.push({id:t.administratorid,name:t.administratorname}))})},searchList(){this.firstLoading||(this.adminClick(""),this.firstLoading=!0)},adminClick(t){this.dataList=[],this.fetching=!0,l.baseFkList({fkEntityName:"sys_user",name:t}).then(e=>{e.code==200&&(this.dataList=e.data)})},searchList1(){this.firstLoading1||(this.userClick(""),this.firstLoading1=!0)},userClick(t){this.columnList=[],this.fetching=!0,l.baseFkList({fkEntityName:"sys_team",name:t}).then(e=>{e.code==200&&(this.columnList=e.data)})},handleSubmit(){this.$refs.ruleForm.validate(t=>{t&&(this.type==1?this.add(this.ruleFormData):this.edit(this.ruleFormData))})},add(t){this.confirmLoading=!0,delete t.id,n.sysTeamMemberAdd(t).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F")),this.$emit("ok"),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},edit(t){this.confirmLoading=!0,n.sysTeamMemberEdit(t).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.editSucc","\u7F16\u8F91\u6210\u529F")),this.$emit("ok"),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.editFail","\u7F16\u8F91\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.firstLoading=!1,this.firstLoading1=!1,this.$refs.ruleForm.resetFields(),this.ruleFormData={sys_userid:"",sys_teamid:""}},getDictionary(t){return this.$options.filters.dictData(t)},toggleFullscreen(){this.fullScreen=!this.fullScreen},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var f=function(){var e=this,s=e._self._c;return s("div",[s("el-dialog",{class:e.fullScreen?"gd-dialog":"gd-dialog gd-dialog-fangda",attrs:{width:e.width,visible:e.visible,fullscreen:e.fullScreen,footer:null,top:"80px","modal-append-to-body":e.modalAppendToBody,"append-to-body":e.appendToBody,"close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullScreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0,closed:"handleCancel"},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",{class:e.fullScreen?"modal-bodyq":"modal-body"},[s("el-form",{ref:"ruleForm",attrs:{rules:e.rules,model:e.ruleFormData,"label-width":"100px"},nativeOn:{submit:function(i){i.preventDefault()}}},[s("el-row",{attrs:{gutter:24}},[s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{label:e.$i18nt("gd.team.member","\u7528\u6237"),prop:"sys_userid"}},[s("div",{staticClass:"cao_about"},[s("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,"remote-method":e.adminClick},on:{focus:e.searchList},model:{value:e.ruleFormData.sys_userid,callback:function(i){e.$set(e.ruleFormData,"sys_userid",i)},expression:"ruleFormData.sys_userid"}},e._l(e.dataList,function(i,a){return s("el-option",{key:i.id+"&"+a,attrs:{label:i.name,value:i.id}})}),1),s("div",{staticClass:"cao_setting"},[s("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(i){return e.lookup(e.ruleFormData.sys_userid,1)}}})])],1)])],1),s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{label:e.$i18nt("gd.team.team","\u56E2\u961F"),prop:"sys_teamid"}},[s("div",{staticClass:"cao_about"},[s("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,"remote-method":e.userClick},on:{focus:e.searchList1},model:{value:e.ruleFormData.sys_teamid,callback:function(i){e.$set(e.ruleFormData,"sys_teamid",i)},expression:"ruleFormData.sys_teamid"}},e._l(e.columnList,function(i,a){return s("el-option",{key:i.id+"&"+a,attrs:{label:i.name,value:i.id}})}),1),s("div",{staticClass:"cao_setting"},[s("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(i){return e.lookup(e.ruleFormData.sys_teamid,2)}}})])],1)])],1)],1)],1)],1)])],1),s("gd-search",{ref:"msgSearch",attrs:{appendToBody:!0},on:{lookupSeled:e.lookupSeled}})],1)},p=[],g=d.normalizeComponent(h,f,p,!1,null,"4b8d68cf",null,null);const y=g.exports;const _={name:"GdTeamMembers",mixins:[l.tablesFilter,m],props:{height:{type:Number,default:100}},data(){return{transKey:"gd.btn.add",selectedRowKeys:[],selectedRows:[],queryParam:{},loadData:t=>this.getList(t).then(e=>e)}},computed:{getHeight(){return this.height},getQueryParam(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&(e==="msgStatus"||e==="sendType"))t.set(e,this.queryParam[e].join(","));else if(this.queryParam[e]&&(e==="actualOn"||e==="createdTime"||e==="scheduledStartedOn")){if(this.queryParam[e].length>0){let s=this.queryParam[e],i=s[0].split(" ")[0],a=s[1].split(" ")[0];t.set(`${e}Start`,`${i} 00:00:00`),t.set(`${e}End`,`${a} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)},...d.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},components:{editForm:y},methods:{getList(t){return n.sysTeamMembers(Object.assign(t,this.getQueryParam)).then(e=>{if(e.code==200)return e.data})},editForm(t){this.transKey="gd.btn.edit",this.$refs.editForm.open(t)},add(){this.$refs.editForm.open()},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[],a=n.sysTeamMemberBatchDel({memberIds:this.selectedRowKeys}).then(o=>o);i.push(a),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(o=>{const c=o.filter(u=>!u.success);c.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+c[0].message),s(),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},handleOk(){this.refresh()},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var b=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"sys_teamid",fn:function({column:i,row:a}){return[s("gd-tooltip",{attrs:{rowKey:"teamname",row:a,highlight:""},on:{click:e.editForm}})]}},{key:"sys_userid",fn:function({column:i,row:a}){return[a.sys_userid?s("span",[e._v(" "+e._s(a.username)+" ")]):e._e()]}},{key:"account",fn:function({column:i,row:a}){return[a.account?s("span",[e._v(" "+e._s(a.account)+" ")]):e._e()]}},{key:"phone",fn:function({column:i,row:a}){return[a.phone?s("span",[e._v(" "+e._s(a.phone)+" ")]):e._e()]}},{key:"email",fn:function({column:i,row:a}){return[a.email?s("span",[e._v(" "+e._s(a.email)+" ")]):e._e()]}},{key:"employeeid",fn:function({column:i,row:a}){return[a.employeeid?s("span",[e._v(" "+e._s(a.employeeid)+" ")]):e._e()]}}])})],1),s("editForm",{ref:"editForm",attrs:{openPermissions:!0},on:{ok:e.handleOk}})],1)},v=[],$=d.normalizeComponent(_,b,v,!1,null,"bffc1b29",null,null);const r=$.exports;r.install=function(t){t.component(r.name,r)};exports.GDpackage=r;
@@ -1,7 +1,7 @@
1
- import { n as d, m as c } from "./chartbi.c3bc6adb.mjs";
2
- import { s as u, a as m, b as h, c as f, d as g } from "./system.team.28168433.mjs";
3
- import { f as r, t as p } from "./messages.bc3bc0e8.mjs";
4
- const y = {
1
+ import { n as d, m as u } from "./chartbi.b6818e8e.mjs";
2
+ import { s as m, a as h, b as f, c as p, d as g } from "./system.team.27a6d5d5.mjs";
3
+ import { f as l, t as y } from "./messages.7e418640.mjs";
4
+ const _ = {
5
5
  data() {
6
6
  return {
7
7
  tableColumns: [
@@ -18,7 +18,7 @@ const y = {
18
18
  slotType: "sys_teamid",
19
19
  align: "left",
20
20
  fixed: !0,
21
- showOverflowTooltip: !0
21
+ width: "220"
22
22
  },
23
23
  {
24
24
  transKey: "gd.team.member",
@@ -26,7 +26,44 @@ const y = {
26
26
  label: "\u6210\u5458",
27
27
  type: "slot",
28
28
  slotType: "sys_userid",
29
- align: "left"
29
+ align: "left",
30
+ width: "220"
31
+ },
32
+ {
33
+ transKey: "gd.user.account",
34
+ prop: "account",
35
+ label: "\u8D26\u53F7",
36
+ type: "slot",
37
+ slotType: "account",
38
+ align: "left",
39
+ width: "200"
40
+ },
41
+ {
42
+ transKey: "gd.user.tel",
43
+ prop: "phone",
44
+ label: "\u7535\u8BDD",
45
+ type: "slot",
46
+ slotType: "phone",
47
+ align: "left",
48
+ width: "180"
49
+ },
50
+ {
51
+ transKey: "gd.user.email",
52
+ prop: "email",
53
+ label: "\u90AE\u7BB1",
54
+ type: "slot",
55
+ slotType: "email",
56
+ align: "left",
57
+ width: "180"
58
+ },
59
+ {
60
+ transKey: "gd.user.employeeID",
61
+ prop: "employeeid",
62
+ label: "\u5DE5\u53F7",
63
+ type: "slot",
64
+ slotType: "employeeid",
65
+ align: "left",
66
+ width: "160"
30
67
  }
31
68
  ],
32
69
  tableButtons: [
@@ -59,7 +96,7 @@ const y = {
59
96
  };
60
97
  }
61
98
  };
62
- const _ = {
99
+ const b = {
63
100
  props: {
64
101
  modalAppendToBody: {
65
102
  type: Boolean,
@@ -121,7 +158,7 @@ const _ = {
121
158
  this.visible = !0, this.fullScreen = !1, this.title = t ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add"), this.type = t ? 2 : 1, t && this.getDetail(t.id);
122
159
  },
123
160
  getDetail(t) {
124
- t != "" && (this.dataList = [], u({
161
+ t != "" && (this.dataList = [], m({
125
162
  id: t
126
163
  }).then((e) => {
127
164
  if (e.code == 200) {
@@ -147,7 +184,7 @@ const _ = {
147
184
  }));
148
185
  },
149
186
  searchData(t) {
150
- this.dataList = [], r({
187
+ this.dataList = [], l({
151
188
  fkEntityName: "sys_user",
152
189
  id: t.administratorid
153
190
  }).then((e) => {
@@ -161,7 +198,7 @@ const _ = {
161
198
  this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
162
199
  },
163
200
  adminClick(t) {
164
- this.dataList = [], this.fetching = !0, r({
201
+ this.dataList = [], this.fetching = !0, l({
165
202
  fkEntityName: "sys_user",
166
203
  name: t
167
204
  }).then((e) => {
@@ -172,7 +209,7 @@ const _ = {
172
209
  this.firstLoading1 || (this.userClick(""), this.firstLoading1 = !0);
173
210
  },
174
211
  userClick(t) {
175
- this.columnList = [], this.fetching = !0, r({
212
+ this.columnList = [], this.fetching = !0, l({
176
213
  fkEntityName: "sys_team",
177
214
  name: t
178
215
  }).then((e) => {
@@ -185,14 +222,14 @@ const _ = {
185
222
  });
186
223
  },
187
224
  add(t) {
188
- this.confirmLoading = !0, delete t.id, m(t).then((e) => {
225
+ this.confirmLoading = !0, delete t.id, h(t).then((e) => {
189
226
  e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + e.message);
190
227
  }).finally((e) => {
191
228
  this.confirmLoading = !1;
192
229
  });
193
230
  },
194
231
  edit(t) {
195
- this.confirmLoading = !0, h(t).then((e) => {
232
+ this.confirmLoading = !0, f(t).then((e) => {
196
233
  e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + e.message);
197
234
  }).finally((e) => {
198
235
  this.confirmLoading = !1;
@@ -216,7 +253,7 @@ const _ = {
216
253
  }
217
254
  }
218
255
  };
219
- var b = function() {
256
+ var v = function() {
220
257
  var e = this, s = e._self._c;
221
258
  return s("div", [s("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "modal-append-to-body": e.modalAppendToBody, "append-to-body": e.appendToBody, "close-on-click-modal": !1, "show-close": !1 }, on: { "update:visible": function(i) {
222
259
  e.visible = i;
@@ -235,9 +272,9 @@ var b = function() {
235
272
  }), 1), s("div", { staticClass: "cao_setting" }, [s("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(i) {
236
273
  return e.lookup(e.ruleFormData.sys_teamid, 2);
237
274
  } } })])], 1)])], 1)], 1)], 1)], 1)])], 1), s("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
238
- }, $ = [], v = /* @__PURE__ */ d(
239
- _,
275
+ }, $ = [], L = /* @__PURE__ */ d(
240
276
  b,
277
+ v,
241
278
  $,
242
279
  !1,
243
280
  null,
@@ -245,10 +282,10 @@ var b = function() {
245
282
  null,
246
283
  null
247
284
  );
248
- const L = v.exports;
285
+ const k = L.exports;
249
286
  const w = {
250
287
  name: "GdTeamMembers",
251
- mixins: [p, y],
288
+ mixins: [y, _],
252
289
  props: {
253
290
  height: {
254
291
  type: Number,
@@ -282,14 +319,14 @@ const w = {
282
319
  t.set(e, this.queryParam[e]);
283
320
  return Object.fromEntries(t);
284
321
  },
285
- ...c(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
322
+ ...u(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
286
323
  },
287
324
  components: {
288
- editForm: L
325
+ editForm: k
289
326
  },
290
327
  methods: {
291
328
  getList(t) {
292
- return f(Object.assign(t, this.getQueryParam)).then((e) => {
329
+ return p(Object.assign(t, this.getQueryParam)).then((e) => {
293
330
  if (e.code == 200)
294
331
  return e.data;
295
332
  });
@@ -316,10 +353,6 @@ const w = {
316
353
  this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
317
354
  return;
318
355
  }
319
- if (this.selectedRowKeys.length > 1) {
320
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
321
- return;
322
- }
323
356
  this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
324
357
  confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
325
358
  cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
@@ -342,13 +375,10 @@ const w = {
342
375
  s();
343
376
  return;
344
377
  }
345
- let i = [];
346
- this.selectedRows.forEach((a) => {
347
- let n = g({ id: a.id }).then((l) => l);
348
- i.push(n);
349
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((a) => {
350
- const n = a.filter((l) => !l.success);
351
- n.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n[0].message), s(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
378
+ let i = [], a = g({ memberIds: this.selectedRowKeys }).then((n) => n);
379
+ i.push(a), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
380
+ const o = n.filter((c) => !c.success);
381
+ o.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + o[0].message), s(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
352
382
  });
353
383
  },
354
384
  onSelectChange(t, e) {
@@ -370,7 +400,7 @@ const w = {
370
400
  }
371
401
  }
372
402
  };
373
- var k = function() {
403
+ var C = function() {
374
404
  var e = this, s = e._self._c;
375
405
  return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
376
406
  return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
@@ -378,21 +408,29 @@ var k = function() {
378
408
  return [s("gd-tooltip", { attrs: { rowKey: "teamname", row: a, highlight: "" }, on: { click: e.editForm } })];
379
409
  } }, { key: "sys_userid", fn: function({ column: i, row: a }) {
380
410
  return [a.sys_userid ? s("span", [e._v(" " + e._s(a.username) + " ")]) : e._e()];
411
+ } }, { key: "account", fn: function({ column: i, row: a }) {
412
+ return [a.account ? s("span", [e._v(" " + e._s(a.account) + " ")]) : e._e()];
413
+ } }, { key: "phone", fn: function({ column: i, row: a }) {
414
+ return [a.phone ? s("span", [e._v(" " + e._s(a.phone) + " ")]) : e._e()];
415
+ } }, { key: "email", fn: function({ column: i, row: a }) {
416
+ return [a.email ? s("span", [e._v(" " + e._s(a.email) + " ")]) : e._e()];
417
+ } }, { key: "employeeid", fn: function({ column: i, row: a }) {
418
+ return [a.employeeid ? s("span", [e._v(" " + e._s(a.employeeid) + " ")]) : e._e()];
381
419
  } }]) })], 1), s("editForm", { ref: "editForm", attrs: { openPermissions: !0 }, on: { ok: e.handleOk } })], 1);
382
- }, C = [], F = /* @__PURE__ */ d(
420
+ }, F = [], S = /* @__PURE__ */ d(
383
421
  w,
384
- k,
385
422
  C,
423
+ F,
386
424
  !1,
387
425
  null,
388
- "d9f498cd",
426
+ "bffc1b29",
389
427
  null,
390
428
  null
391
429
  );
392
- const o = F.exports;
393
- o.install = function(t) {
394
- t.component(o.name, o);
430
+ const r = S.exports;
431
+ r.install = function(t) {
432
+ t.component(r.name, r);
395
433
  };
396
434
  export {
397
- o as G
435
+ r as G
398
436
  };
@@ -1,5 +1,5 @@
1
- import { n as g, m as I, u as z } from "./chartbi.c3bc6adb.mjs";
2
- import { t as q } from "./messages.bc3bc0e8.mjs";
1
+ import { n as g, m as I, u as z } from "./chartbi.b6818e8e.mjs";
2
+ import { t as q } from "./messages.7e418640.mjs";
3
3
  function H(a) {
4
4
  return window.axios({
5
5
  url: "/SysJob/pageJobDetail",