Browse Source

修改结构

power_master
herenshan112 2 weeks ago
parent
commit
710115eafa
  1. 2
      src/components/DesignForm/app/calendar/calendar1/calendarItem.vue
  2. 12
      src/components/DesignForm/app/calendar/calendar1/calendarPage.vue
  3. 4
      src/components/DesignForm/app/calendar/calendar1/dayPage.vue
  4. 6
      src/components/DesignForm/app/calendar/calendar1/monthPage.vue
  5. 6
      src/components/DesignForm/app/calendar/calendar1/weekPage.vue
  6. 4
      src/components/DesignForm/app/calendar/selectSearch.vue
  7. 4
      src/components/DesignForm/app/cardPage.vue
  8. 6
      src/components/DesignForm/app/formPage.vue
  9. 38
      src/components/DesignForm/app/index.vue
  10. 2
      src/components/DesignForm/app/mapPage.vue
  11. 15
      src/components/DesignForm/app/timeAxis.vue
  12. 4
      src/components/DesignForm/dragControlApp.vue
  13. 2
      src/components/DesignForm/dragControlNew.vue
  14. 18
      src/components/DesignForm/formControlAttr.vue
  15. 6
      src/components/DesignForm/formControlAttr_2024024.vue
  16. 38
      src/components/DesignForm/formControlPropertiNew.vue
  17. 14
      src/components/DesignForm/formControlProperties.vue
  18. 2
      src/components/DesignForm/formVersion.vue
  19. 3
      src/components/DesignForm/importPanel.vue
  20. 21
      src/components/DesignForm/printHtmlRender.vue
  21. 6
      src/components/DesignForm/tableListPage/formPageCont.vue
  22. 4
      src/components/DesignForm/tableListPage/formPageContApp.vue
  23. 38
      src/components/DesignForm/tableListPage/index.vue
  24. 26
      src/components/DesignForm/tableListPage/index_20240919.vue
  25. 8
      src/components/dataSource/index.vue
  26. 2
      src/components/workflow/drwer/approverDrawer copy.vue
  27. 2
      src/components/workflow/drwer/copyerSend.vue
  28. 68
      src/store/modules/permission.ts
  29. 2
      src/store/modules/tagsView.ts
  30. 2
      src/views/appstore/appmarket/aqsc.vue
  31. 2
      src/views/appstore/appmarket/ccwl.vue
  32. 18
      src/views/appstore/appmarket/index.vue
  33. 6
      src/views/appstore/appmarket/yygl.vue
  34. 5
      src/views/dashboard/components/allorgyear.vue
  35. 2
      src/views/dashboard/components/hostnews.vue
  36. 5
      src/views/dashboard/components/orgeducation.vue
  37. 2
      src/views/dashboard/components/orguserage.vue
  38. 30
      src/views/dashboard/components/sanlianping.vue
  39. 4
      src/views/date/assets.vue
  40. 2
      src/views/date/editAssets.vue
  41. 9
      src/views/doc/agent.vue
  42. 3
      src/views/doc/logpanel.vue
  43. 32
      src/views/doc/manage.vue
  44. 4
      src/views/doc/onlyoffice.vue
  45. 2
      src/views/doc/preview.vue
  46. 7
      src/views/doc/share.vue
  47. 5
      src/views/doc/sharePermission.vue
  48. 28
      src/views/doc/space.vue
  49. 19
      src/views/doc/spacePermission.vue
  50. 16
      src/views/hr/archives/index.vue
  51. 2
      src/views/hr/archives/index_20251202.vue
  52. 20
      src/views/hr/archives/index_251128.vue
  53. 4
      src/views/hr/archives/unitpage/addUserPage.vue
  54. 4
      src/views/hr/archives/unitpage/batchImport.vue
  55. 2
      src/views/hr/archives/unitpage/lockInfo.vue
  56. 4
      src/views/hr/archives/unitpage/uploadTemplate.vue
  57. 4
      src/views/hr/company/companyduty copy.vue
  58. 6
      src/views/hr/company/companyduty.vue
  59. 2
      src/views/hr/company/orgPeople.vue
  60. 2
      src/views/hr/company/orgPeopleNew.vue
  61. 12
      src/views/hr/company/savePage copy.vue
  62. 22
      src/views/hr/company/savePage.vue
  63. 32
      src/views/hr/company/savePageNew.vue
  64. 2
      src/views/hr/company/uploadDownloadPage.vue
  65. 2
      src/views/hr/displayboards/dimissionrate.vue
  66. 3
      src/views/hr/displayboards/groupdimissionrate.vue
  67. 2
      src/views/hr/duties/dutiesclass.vue
  68. 25
      src/views/hr/duties/dutiescont.vue
  69. 29
      src/views/hr/organization/index.vue
  70. 32
      src/views/hr/organization/orgclass.vue
  71. 2
      src/views/hr/organization/orgtypes/editorgclasscont.vue
  72. 29
      src/views/hr/postjob/index.vue
  73. 4
      src/views/hr/teams/anchorPage.vue
  74. 4
      src/views/hr/teams/batchImportTimePeople.vue
  75. 6
      src/views/hr/teams/classTime/addClass.vue
  76. 6
      src/views/hr/teams/classTime/addNewClass.vue
  77. 2
      src/views/hr/teams/classTime/dayInfoPage.vue
  78. 4
      src/views/hr/teams/classTime/dayPage.vue
  79. 6
      src/views/hr/teams/classTime/editClass.vue
  80. 6
      src/views/hr/teams/classTime/editNewClass.vue
  81. 2
      src/views/hr/teams/classTime/monthInfoPage.vue
  82. 6
      src/views/hr/teams/classTime/monthPage.vue
  83. 2
      src/views/hr/teams/classTime/setupPollingPage.vue
  84. 2
      src/views/hr/teams/classTime/setupShiftRules.vue
  85. 4
      src/views/hr/teams/classTime/setupTimePage/workTimePage.vue
  86. 2
      src/views/hr/teams/classTime/weekInfoPage.vue
  87. 6
      src/views/hr/teams/classTime/weekPage.vue
  88. 4
      src/views/hr/teams/classes.vue
  89. 4
      src/views/hr/teams/classes_20250121black.vue
  90. 8
      src/views/hr/teams/index.vue
  91. 14
      src/views/hr/teams/scheduling.vue
  92. 12
      src/views/hr/userBox.vue
  93. 5
      src/views/knowledge/ask/cc.vue
  94. 5
      src/views/knowledge/dataupload/zypfj.vue
  95. 13
      src/views/knowledge/knowledge/index.vue
  96. 13
      src/views/knowledge/news/index.vue
  97. 2
      src/views/login/index.vue
  98. 2
      src/views/login/silentlogin.vue
  99. 27
      src/views/matrix/index.vue
  100. 2
      src/views/opk/asd/news/dialog.vue

2
src/components/DesignForm/app/calendar/calendar1/calendarItem.vue

@ -130,7 +130,7 @@ const writeListTitle = (val:any) => {
{{ writeListTitle(lt) }}
</div>
</div>
<FormPageCont v-model:is-show="lookPageInfoIsShow" :drawer-with="props.drawerWith" :page-info="pageInfoCont" :table-page-class="tablePageClass" :oper-state="operState" @getPageData="getPageData" />
<FormPageCont v-model:is-show="lookPageInfoIsShow" :drawer-with="props.drawerWith" :page-info="pageInfoCont" :table-page-class="tablePageClass" :oper-state="operState" @get-page-data="getPageData" />
</div>
</template>

12
src/components/DesignForm/app/calendar/calendar1/calendarPage.vue

@ -226,20 +226,20 @@ defineExpose({
<el-button size="small" @click="goTady()">今天</el-button>
<el-button
:color="curtteDayType == 1 ? '#a0cfff' : ''"
@click="pickTime(1)"
size="small"
@click="pickTime(1)"
></el-button
>
<el-button
:color="curtteDayType == 2 ? '#a0cfff' : ''"
@click="pickTime(2)"
size="small"
@click="pickTime(2)"
></el-button
>
<el-button
:color="curtteDayType == 3 ? '#a0cfff' : ''"
@click="pickTime(3)"
size="small"
@click="pickTime(3)"
></el-button
>
<el-button
@ -257,8 +257,8 @@ defineExpose({
</div>
<div class="weekNumber">
<MonthPage
ref="monthPageRef"
v-if="curtteDayType == 1"
ref="monthPageRef"
:body-hight="props.bodyHight"
:ta-day="taday"
:search-send="props.searchSend"
@ -266,8 +266,8 @@ defineExpose({
:view-setup="props.viewSetup"
/>
<WeekPage
ref="weekPageRef"
v-if="curtteDayType == 2"
ref="weekPageRef"
:body-hight="props.bodyHight"
:ta-day="taday"
:search-send="props.searchSend"
@ -275,8 +275,8 @@ defineExpose({
:view-setup="props.viewSetup"
/>
<DayPage
ref="dayPageRef"
v-if="curtteDayType == 3"
ref="dayPageRef"
:body-hight="props.bodyHight"
:ta-day="taday"
:search-send="props.searchSend"

4
src/components/DesignForm/app/calendar/calendar1/dayPage.vue

@ -115,7 +115,7 @@ const searchatDayList = (val:any) => {
{{ curttWeek }}
</li>
</ul>
<div class="t-calendar-day" v-loading="loadDay">
<div v-loading="loadDay" class="t-calendar-day">
<template v-if="dayInfo">
<div
class="t-calendar-row"
@ -125,7 +125,7 @@ const searchatDayList = (val:any) => {
:time="selectedTime"
:view-setup="props.viewSetup"
:drawer-with="props.drawerWith"
@changeTargetDate="changeDate"
@change-target-date="changeDate"
></CalendarItem>
</div>
</template>

6
src/components/DesignForm/app/calendar/calendar1/monthPage.vue

@ -130,14 +130,14 @@ const searchatMonthList = (val: any) => {
</ul>
<div v-loading="loadMonth" class="t-calendar-day">
<template v-if="TBody.length">
<div class="t-calendar-row" v-for="(item, index) in TBody" :key="index">
<div class="t-calendar-col" v-for="(col, colIdx) in item" :key="colIdx">
<div v-for="(item, index) in TBody" :key="index" class="t-calendar-row">
<div v-for="(col, colIdx) in item" :key="colIdx" class="t-calendar-col">
<CalendarItem
:col="col"
:time="selectedTime"
:drawer-with="props.drawerWith"
:view-setup="props.viewSetup"
@changeTargetDate="changeDate"
@change-target-date="changeDate"
></CalendarItem>
</div>
</div>

6
src/components/DesignForm/app/calendar/calendar1/weekPage.vue

@ -116,19 +116,19 @@ watch(()=>props.taDay,(val:any)=>{
{{ item }}
</li>
</ul>
<div class="t-calendar-day" v-loading="loadWeek">
<div v-loading="loadWeek" class="t-calendar-day">
<template v-if="WeekBody.length">
<div
class="t-calendar-row"
v-for="(item, index) in WeekBody"
:key="index"
class="t-calendar-row"
>
<CalendarItem
:col="item"
:time="selectedTime"
:view-setup="props.viewSetup"
:drawer-with="props.drawerWith"
@changeTargetDate="changeDate"
@change-target-date="changeDate"
></CalendarItem>
</div>
</template>

4
src/components/DesignForm/app/calendar/selectSearch.vue

@ -114,12 +114,12 @@ const remoteMethod = (name: string) => {
<template>
<el-select
v-bind="data.control"
:disabled="disabled"
v-model="value"
:disabled="disabled"
clearable
:multiple ="props.isCheckbox"
:loading="state.loading"
:remoteMethod="remoteMethod"
:remote-method="remoteMethod"
class="selectWidth"
>
<el-option v-if="data.config?.addAll" value="" label="全部" />

4
src/components/DesignForm/app/cardPage.vue

@ -331,12 +331,12 @@ const lookPageInfo = (val:any) => {
:background="true"
layout="total, sizes, prev, pager, next, jumper"
:total="totalNum"
class="page"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
class="page"
/>
</div>
<FormPageCont v-model:is-show="lookPageInfoIsShow" :drawer-with="props.drawerWith" :page-info="pageInfoCont" :table-page-class="tablePageClass" :oper-state="operState" @getPageData="getPageData" />
<FormPageCont v-model:is-show="lookPageInfoIsShow" :drawer-with="props.drawerWith" :page-info="pageInfoCont" :table-page-class="tablePageClass" :oper-state="operState" @get-page-data="getPageData" />
</div>
</template>

6
src/components/DesignForm/app/formPage.vue

@ -1225,8 +1225,8 @@ watch(
<el-main class="formMainBox">
<el-form
v-bind="formData.form"
v-loading="formLoading"
ref="ruleForm"
v-loading="formLoading"
:model="model as any"
:disabled="disabled || type === 3"
class="add-form"
@ -1249,8 +1249,8 @@ watch(
<el-aside class="flowBox">
<el-text size="large">审批流程</el-text>
<FlowStep
v-loading="flowLoading"
v-model:flow-map="flowMap"
v-loading="flowLoading"
:next-step="nextStep"
:current-progress="currentProgress"
:node-key="nodeKey"
@ -1260,8 +1260,8 @@ watch(
<div v-else>
<el-form
v-bind="formData.form"
v-loading="formLoading"
ref="ruleForm"
v-loading="formLoading"
:model="model as any"
:disabled="disabled || type === 3"
class="add-form"

38
src/components/DesignForm/app/index.vue

@ -2004,30 +2004,30 @@ const isObject = (obj: any) => {
<div class="group group-input">
<el-form-item :label="item.label" class="form_cont">
<el-input
v-if="unitIsShow(item, 'input')"
v-model="item.value"
:placeholder="'请输入' + item.label"
clearable
v-if="unitIsShow(item, 'input')"
/>
<el-date-picker
v-if="unitIsShow(item, 'time')"
v-model="item.value"
type="datetime"
:placeholder="'请选择' + item.label"
:shortcuts="shortcuts"
v-if="unitIsShow(item, 'time')"
/>
<SearchSelect
v-if="unitIsShow(item, 'radio')"
v-model:model-value="item.value"
:data="item"
:disabled="false"
:transform-option="transformOption"
v-model:model-value="item.value"
/>
<el-select
v-if="unitIsShow(item, 'switch')"
v-model="item.value"
clearable
:placeholder="'请选择' + item.label"
v-if="unitIsShow(item, 'switch')"
>
<el-option
:key="item.activeValue"
@ -2042,11 +2042,11 @@ const isObject = (obj: any) => {
</el-select>
<SearchSelect
v-if="unitIsShow(item, 'checkbox')"
v-model:model-value="item.value"
:data="item"
:disabled="false"
:is-checkbox="true"
:transform-option="transformOption"
v-model:model-value="item.value"
/>
<el-date-picker
v-if="item.fieldClass == 'datePicker'"
@ -2063,10 +2063,10 @@ const isObject = (obj: any) => {
value-format="x"
/>
<DeptOrgSearch
v-if="unitIsShow(item, 'org')"
v-model="item.value"
clearable
:placeholder="'请选择' + item.label"
v-if="unitIsShow(item, 'org')"
>
</DeptOrgSearch>
<DeptOrgSearch
@ -2083,7 +2083,7 @@ const isObject = (obj: any) => {
/> -->
</div>
</template>
<div class="group group-btn" v-if="searchData.length">
<div v-if="searchData.length" class="group group-btn">
<el-button type="primary" @click="getPageData"
><el-icon><Search /></el-icon></el-button
>
@ -2101,8 +2101,8 @@ const isObject = (obj: any) => {
>
<template v-for="item in data.controlBtn" :key="item.type">
<el-button
v-bind="item"
v-if="formHasPower(props.pickAppMenu.appkey,props.signCode,item.key,0)"
v-bind="item"
@click="setUpClick(item)"
>
@ -2122,8 +2122,8 @@ const isObject = (obj: any) => {
>
<el-button
size="small"
@click="config.searchIsShow = !config.searchIsShow"
class="fa fa-search"
@click="config.searchIsShow = !config.searchIsShow"
/>
</el-tooltip>
<el-tooltip
@ -2235,11 +2235,11 @@ const isObject = (obj: any) => {
<el-table
v-bind="data.tableProps"
ref="table"
v-loading="state.loading"
:data="tableDataList"
@selection-change="selectionChange"
table-layout="fixed"
v-loading="state.loading"
border
@selection-change="selectionChange"
>
<template v-for="item in columnsFilter" :key="item.id || item.label">
@ -2307,10 +2307,10 @@ const isObject = (obj: any) => {
placement="top-end"
>
<el-button
@click="lookPageInfo(scope.row)"
type="primary"
size="small"
class="fa fa-eye"
@click="lookPageInfo(scope.row)"
/>
</el-tooltip>
<el-popconfirm
@ -2353,11 +2353,11 @@ const isObject = (obj: any) => {
placement="top-end"
>
<el-button
@click="editInfo(scope.row)"
v-if="formHasPower(props.pickAppMenu.appkey,props.signCode,'bj',0)"
type="info"
size="small"
class="fa fa-edit"
v-if="formHasPower(props.pickAppMenu.appkey,props.signCode,'bj',0)"
@click="editInfo(scope.row)"
/>
</el-tooltip>
@ -2368,10 +2368,10 @@ const isObject = (obj: any) => {
placement="top-end"
>
<el-button
@click="printPage(scope.row)"
type="primary"
size="small"
class="fa fa-print"
@click="printPage(scope.row)"
/>
</el-tooltip>
@ -2386,7 +2386,7 @@ const isObject = (obj: any) => {
@cancel="cancelEvent(scope.row)"
>
<template #reference>
<el-button type="danger" size="small" class="fa fa-trash-o" v-if="formHasPower(props.pickAppMenu.appkey,props.signCode,'sc',0)" />
<el-button v-if="formHasPower(props.pickAppMenu.appkey,props.signCode,'sc',0)" type="danger" size="small" class="fa fa-trash-o" />
</template>
</el-popconfirm>
@ -2430,7 +2430,7 @@ const isObject = (obj: any) => {
>
<template #default="scope">
<template v-if="item.pattern == 'table'" v-for="sunItem in item.children">
<template v-for="sunItem in item.children" v-if="item.pattern == 'table'">
<el-table-column v-if="sunItem.fieldClass == ''" :prop="sunItem.field" :label="sunItem.label" header-align="center" align="center" :min-width="readerColumnSun(sunItem)">
<template #default="scopeChilder">
@ -2630,7 +2630,7 @@ const isObject = (obj: any) => {
:table-page-class="tablePageClass"
:oper-state="operState"
:dprt="rangedDatePickerInTables1"
@getPageData="getPageData"
@get-page-data="getPageData"
/>
<FormPageCont
v-model:is-show="asflookPageInfoIsShow"
@ -2639,7 +2639,7 @@ const isObject = (obj: any) => {
:table-page-class="tablePageClass"
:oper-state="operState"
:dprt="rangedDatePickerInTables1"
@getPageData="getPageData"
@get-page-data="getPageData"
/>
<TableFlow
v-model:isopen="openTaskDrawer"

2
src/components/DesignForm/app/mapPage.vue

@ -178,7 +178,7 @@ const currentChange = (current: number) => {
<div class="mapPage">
<el-pagination layout="prev, pager, next" :total="totalNum" @current-change="currentChange" />
</div>
<FormPageCont v-model:is-show="lookPageInfoIsShow" :drawer-with="props.drawerWith" :page-info="pageInfoCont" :table-page-class="tablePageClass" :oper-state="operState" @getPageData="gainMapLog(props.searchSend)" />
<FormPageCont v-model:is-show="lookPageInfoIsShow" :drawer-with="props.drawerWith" :page-info="pageInfoCont" :table-page-class="tablePageClass" :oper-state="operState" @get-page-data="gainMapLog(props.searchSend)" />
</div>
</template>
<style lang='scss' scoped>

15
src/components/DesignForm/app/timeAxis.vue

@ -223,8 +223,8 @@ const writeListTitle = (val:any) => {
<el-timeline :reverse="true" class="timeLineStyle" >
<el-timeline-item center v-for="(item,sunIndex) in timeInfoList" :key="index" :hollow="item.class_type$unit==1" :type="item.class_type$unit==1?'primary':''" :icon="item.class_type$unit==1?'':'MoreFilled'" :size="item.class_type$unit==1?'large':''">
<div class="timeLeft" v-if="item.class_type$unit==1">
<el-timeline-item v-for="(item,sunIndex) in timeInfoList" :key="index" center :hollow="item.class_type$unit==1" :type="item.class_type$unit==1?'primary':''" :icon="item.class_type$unit==1?'':'MoreFilled'" :size="item.class_type$unit==1?'large':''">
<div v-if="item.class_type$unit==1" class="timeLeft">
<table>
<tr>
<td rowspan="2">
@ -241,7 +241,7 @@ const writeListTitle = (val:any) => {
</tr>
</table>
</div>
<div class="leftCont" v-if="item.class_type$unit==1">
<div v-if="item.class_type$unit==1" class="leftCont">
</div>
<el-card v-if="item.class_type$unit!=1" @click="lookPageInfo(item)">
@ -297,14 +297,15 @@ const writeListTitle = (val:any) => {
</el-card>
</el-timeline-item> -->
</el-timeline>
<p class="jichuClass"
v-loading="loadTimePage"
<p
v-loading="loadTimePage"
class="jichuClass"
element-loading-text="Loading..."
:element-loading-spinner="svg"
element-loading-svg-view-box="-10, -10, 50, 50"
></p>
<p class="jichuClass sizeMove" v-if="noMore">数据已全部展示</p>
<FormPageCont v-model:is-show="lookPageInfoIsShow" :drawer-with="props.drawerWith" :page-info="pageInfoCont" :table-page-class="tablePageClass" :oper-state="operState" @getPageData="getPageData" />
<p v-if="noMore" class="jichuClass sizeMove">数据已全部展示</p>
<FormPageCont v-model:is-show="lookPageInfoIsShow" :drawer-with="props.drawerWith" :page-info="pageInfoCont" :table-page-class="tablePageClass" :oper-state="operState" @get-page-data="getPageData" />
</ul>
</template>
<style lang='scss' scoped>

4
src/components/DesignForm/dragControlApp.vue

@ -147,8 +147,8 @@ const clone = (origin: any) => {
ref="tableVersion"
:table-key="props.tableKey"
:sign-code="props.signCode"
@enableOrDisable="enableOrDisable"
@previewPage="previewPage"
@enable-or-disable="enableOrDisable"
@preview-page="previewPage"
/>
</template>
<style lang="scss" scoped>

2
src/components/DesignForm/dragControlNew.vue

@ -139,7 +139,7 @@ const clone = (origin: any) => {
ref="tableVersion"
:table-key="props.tableKey"
:sign-code="props.signCode"
@enableOrDisable="enableOrDisable"
@enable-or-disable="enableOrDisable"
/>
</template>
<style lang="scss" scoped>

18
src/components/DesignForm/formControlAttr.vue

@ -2733,8 +2733,8 @@ const disabledIstrue = (val: string) => {
<el-form-item :label="item.label" class="form_cont">
<el-select
v-if="item.type === 'select'"
:placeholder="item.placeholder"
v-model="item.value"
:placeholder="item.placeholder"
:filterable="item.path === 'name'"
:allow-create="item.path === 'name'"
:clearable="item.clearable"
@ -3233,8 +3233,8 @@ const disabledIstrue = (val: string) => {
<el-input
v-else
:type="item.inputStyle"
v-model="item.value"
:type="item.inputStyle"
:disabled="disabledIstrue(item.value)"
:placeholder="item.placeholder"
@input="controlChange(item, $event)"
@ -3255,7 +3255,6 @@ const disabledIstrue = (val: string) => {
/>
</el-form-item>
<el-form-item
class="form_cont"
v-if="
showHide(
[
@ -3279,6 +3278,7 @@ const disabledIstrue = (val: string) => {
true
)
"
class="form_cont"
label="联动结果"
>
<el-radio-group
@ -3295,9 +3295,9 @@ const disabledIstrue = (val: string) => {
<!-- <div class="h3"><h3>标签配置项</h3></div> -->
<el-divider content-position="left">标签配置项</el-divider>
<el-form-item
class="form_cont"
v-for="(item, index) in controlData.columns"
:key="index"
class="form_cont"
>
<el-col :span="12">
<el-input v-model="item.label" placeholder="标签配置项" />
@ -3602,7 +3602,7 @@ const disabledIstrue = (val: string) => {
</el-button>
</el-form-item>
</div>
<el-form-item class="form_cont" v-else>
<el-form-item v-else class="form_cont">
<el-checkbox :model-value="checkboxRequired" @change="requiredChange"
>必填
</el-checkbox>
@ -3645,9 +3645,9 @@ const disabledIstrue = (val: string) => {
<el-select
id="groupForm"
ref="groupForm"
v-model="formConfig.groupKey"
placeholder="Select"
ref="groupForm"
>
<el-option
v-for="item in formGroup.list"
@ -3661,8 +3661,8 @@ const disabledIstrue = (val: string) => {
</el-form-item>
<el-form-item
v-for="(item, index) in formAttr.filter((item) => !item.hide)"
:label="item.label"
:key="index"
:label="item.label"
class="form_cont"
>
<el-select
@ -4431,7 +4431,7 @@ const disabledIstrue = (val: string) => {
:left-tree-source="asfasfFieldTree"
:right-tree-source="associatedFormsCurrentFormFieldTree"
:current-key="controlData.control.fillRoles[index].id"
@del-Role="delRole"
@del-role="delRole"
></AssociatedFormsFillRole>
</template>
</div>
@ -4654,12 +4654,12 @@ const disabledIstrue = (val: string) => {
/>
</div>
<div
style="display: flex"
v-if="
typeof controlData.control.optionsValue3Formid != 'undefined' &&
typeof asfasfFieldTreeOptionsValue3 != 'undefined' &&
controlData.control.optionsValue3Formid != ''
"
style="display: flex"
>
<span style="font-size: larger; margin-left: 35px; margin-right: 15px"
>请选择字段</span

6
src/components/DesignForm/formControlAttr_2024024.vue

@ -1525,8 +1525,8 @@ const changeCurrentUploadImgid = (clickedRow:any) => {
<el-form-item :label="item.label">
<el-select
v-if="item.type === 'select'"
:placeholder="item.placeholder"
v-model="item.value"
:placeholder="item.placeholder"
:filterable="item.path === 'name'"
:allow-create="item.path === 'name'"
:clearable="item.clearable"
@ -1641,8 +1641,8 @@ const changeCurrentUploadImgid = (clickedRow:any) => {
<el-input
v-else
:type="item.inputStyle"
v-model="item.value"
:type="item.inputStyle"
:placeholder="item.placeholder"
@input="controlChange(item, $event)"
/>
@ -1992,8 +1992,8 @@ const changeCurrentUploadImgid = (clickedRow:any) => {
<el-form size="small" class="form">
<el-form-item
v-for="(item, index) in formAttr.filter(item => !item.hide)"
:label="item.label"
:key="index"
:label="item.label"
>
<el-select
v-if="item.type === 'select'"

38
src/components/DesignForm/formControlPropertiNew.vue

@ -4689,8 +4689,8 @@ const formatTooltip = (val: number) => {
<template>
<DataSourcePage
v-model:isShow="openDataSourceBox"
@closeDataSource="closeDataSource"
@updataBase="updataBase"
@close-data-source="closeDataSource"
@updata-base="updataBase"
/>
<div class="sidebar-tools">
@ -4712,7 +4712,7 @@ const formatTooltip = (val: number) => {
</template> -->
<template v-if="item.label == '必须现场拍照'">
<el-form-item :label="item.label" v-if="controlData.control.useDefaultImg==false" class="form_cont">
<el-form-item v-if="controlData.control.useDefaultImg==false" :label="item.label" class="form_cont">
<el-radio-group v-model="controlData.control.onSiteShot">
<el-radio value="1"></el-radio>
<el-radio value=""></el-radio>
@ -4737,8 +4737,8 @@ const formatTooltip = (val: number) => {
<el-form-item v-else :label="item.label" class="form_cont">
<el-select
v-if="item.type === 'select'"
:placeholder="item.placeholder"
v-model="item.value"
:placeholder="item.placeholder"
:filterable="item.path === 'name'"
:allow-create="item.path === 'name'"
:clearable="item.clearable"
@ -4754,8 +4754,8 @@ const formatTooltip = (val: number) => {
<el-select
v-if="item.type === 'selectDataSoure'"
:placeholder="item.placeholder"
v-model="item.value"
:placeholder="item.placeholder"
:filterable="item.path === 'name'"
:allow-create="item.path === 'name'"
:clearable="item.clearable"
@ -5364,8 +5364,8 @@ const formatTooltip = (val: number) => {
<el-row v-else-if="item.path === 'unitName'">
<el-input
:type="item.inputStyle"
v-model="item.value"
:type="item.inputStyle"
:placeholder="item.placeholder"
disabled
/>
@ -5373,8 +5373,8 @@ const formatTooltip = (val: number) => {
<el-input
v-else
:type="item.inputStyle"
v-model="item.value"
:type="item.inputStyle"
:placeholder="item.placeholder"
:disabled="isNotWriteWord(item)"
@input="controlChange(item, $event)"
@ -5395,7 +5395,6 @@ const formatTooltip = (val: number) => {
/>
</el-form-item>
<el-form-item
class="form_cont"
v-if="
showHide(
[
@ -5419,6 +5418,7 @@ const formatTooltip = (val: number) => {
true
)
"
class="form_cont"
label="联动结果"
>
<el-radio-group
@ -5748,8 +5748,8 @@ const formatTooltip = (val: number) => {
<el-form-item class="form_cont">
<el-input
v-model="ValidateText.message"
@input="requiredText"
:placeholder="ValidateText.message"
@input="requiredText"
>
<template #prepend> 必填 </template>
<template #append>
@ -5768,9 +5768,9 @@ const formatTooltip = (val: number) => {
<el-input
v-for="item in textUinrVerfy"
v-model="item.message"
@input="requiredTextRadio(item)"
:placeholder="item.message"
class="radioInput"
@input="requiredTextRadio(item)"
>
<template #prepend>
{{ item.label }}
@ -5786,9 +5786,9 @@ const formatTooltip = (val: number) => {
<el-input
v-for="item in numberUinrVerfy"
v-model="item.message"
@input="requiredTextRadio(item)"
:placeholder="item.message"
class="radioInput"
@input="requiredTextRadio(item)"
>
<template #prepend>
{{ item.label }}
@ -5855,7 +5855,7 @@ const formatTooltip = (val: number) => {
</el-button>
</el-form-item> -->
</div>
<el-form-item class="form_cont" v-else>
<el-form-item v-else class="form_cont">
<el-checkbox :model-value="checkboxRequired" @change="requiredChange"
>必填
</el-checkbox>
@ -5899,9 +5899,9 @@ const formatTooltip = (val: number) => {
<el-select
id="groupForm"
ref="groupForm"
v-model="formConfig.groupKey"
placeholder="Select"
ref="groupForm"
>
<el-option
v-for="item in formGroup.list"
@ -5915,8 +5915,8 @@ const formatTooltip = (val: number) => {
</el-form-item>
<el-form-item
v-for="(item, index) in formAttr.filter((item) => !item.hide)"
:label="item.label"
:key="index"
:label="item.label"
class="form_cont"
>
<el-select
@ -6328,9 +6328,9 @@ const formatTooltip = (val: number) => {
:name="tab.id"
>
<div>
<el-input placeholder="请输入用户名" v-model="expandQueryParam" clearable style="width: 50%; margin-bottom: 10px;margin-left: 3px;"/>
<el-button type="primary" @click="searchClick" style="margin-left: 10px; margin-bottom: 10px;">查询</el-button>
<el-button @click="resetClick" style="margin-bottom: 10px;">重置</el-button>
<el-input v-model="expandQueryParam" placeholder="请输入用户名" clearable style="width: 50%; margin-bottom: 10px;margin-left: 3px;"/>
<el-button type="primary" style="margin-left: 10px; margin-bottom: 10px;" @click="searchClick">查询</el-button>
<el-button style="margin-bottom: 10px;" @click="resetClick">重置</el-button>
</div>
<div class="expandTable">
<el-table ref="multipleTableRef" :data="expandTableData" style="width: 100%; height: 440px" :row-style="{ height: '39.8px' }" :cell-style="{ padding: '1.5px 0' }" @selection-change="handleSelectionChange">
@ -6378,7 +6378,7 @@ const formatTooltip = (val: number) => {
<div >
<div style="display: flex; align-items: center; padding-bottom: 18px;">
<div>已选择{{ controlData.control.roleCheckDataList.length }}</div>
<el-button type="danger" @click="delAllClick" size="small" style="margin-left: auto"
<el-button type="danger" size="small" style="margin-left: auto" @click="delAllClick"
>全部移除</el-button
>
</div>
@ -7407,12 +7407,12 @@ const formatTooltip = (val: number) => {
/>
</div>
<div
style="display: flex"
v-if="
typeof controlData.control.optionsValue3Formid != 'undefined' &&
typeof asfasfFieldTreeOptionsValue3 != 'undefined' &&
controlData.control.optionsValue3Formid != ''
"
style="display: flex"
>
<span style="font-size: larger; margin-left: 35px; margin-right: 15px"
>请选择字段</span

14
src/components/DesignForm/formControlProperties.vue

@ -1535,8 +1535,8 @@ const disabledIstrue = (val: string) => {
<el-form-item :label="item.label" class="form_cont">
<el-select
v-if="item.type === 'select'"
:placeholder="item.placeholder"
v-model="item.value"
:placeholder="item.placeholder"
:filterable="item.path === 'name'"
:allow-create="item.path === 'name'"
:clearable="item.clearable"
@ -2007,8 +2007,8 @@ const disabledIstrue = (val: string) => {
</el-row>
<el-input
v-else
:type="item.inputStyle"
v-model="item.value"
:type="item.inputStyle"
:placeholder="item.placeholder"
:disabled="isNotWriteWord(item)"
@input="controlChange(item, $event)"
@ -2028,7 +2028,6 @@ const disabledIstrue = (val: string) => {
/>
</el-form-item>
<el-form-item
class="form_cont"
v-if="
showHide(
[
@ -2052,6 +2051,7 @@ const disabledIstrue = (val: string) => {
true
)
"
class="form_cont"
label="联动结果"
>
<el-radio-group
@ -2068,9 +2068,9 @@ const disabledIstrue = (val: string) => {
<!-- <div class="h3"><h3>标签配置项</h3></div> -->
<el-divider content-position="left">标签配置项</el-divider>
<el-form-item
class="form_cont"
v-for="(item, index) in controlData.columns"
:key="index"
class="form_cont"
>
<el-col :span="12">
<el-input v-model="item.label" placeholder="标签配置项" />
@ -2320,7 +2320,7 @@ const disabledIstrue = (val: string) => {
</el-button>
</el-form-item>
</div>
<el-form-item class="form_cont" v-else>
<el-form-item v-else class="form_cont">
<el-checkbox :model-value="checkboxRequired" @change="requiredChange"
>必填
</el-checkbox>
@ -2364,9 +2364,9 @@ const disabledIstrue = (val: string) => {
<template #label> 归属分组 </template>
<el-select
id="groupForm"
ref="groupForm"
v-model="formConfig.groupKey"
placeholder="Select"
ref="groupForm"
>
<el-option
v-for="item in formGroup.list"
@ -2380,8 +2380,8 @@ const disabledIstrue = (val: string) => {
</el-form-item>
<el-form-item
v-for="(item, index) in formControlProject.filter((item) => !item.hide)"
:label="item.label"
:key="index"
:label="item.label"
class="form_cont"
>
<el-select

2
src/components/DesignForm/formVersion.vue

@ -95,8 +95,8 @@ const setColor = (val:number) => {
<template>
<div
v-if="isOpen"
class="use-template active"
v-loading="loading"
class="use-template active"
>
<span class="close icon-close" @click="isOpen = false"></span>

3
src/components/DesignForm/importPanel.vue

@ -71,7 +71,8 @@ function onDownloadTemplate(){
<div style="width: 80%;margin: 20px;">
* 请下载<a @click="onDownloadTemplate"> 导入模板</a>不要修改模板的首行标题行
</div>
<el-upload class="el-button el-button--default"
<el-upload
class="el-button el-button--default"
:data="uploadFormData"
accept=".csv,.xls,.xlsx,.XLS,.XLSX"
:on-error="handleSigLoadErr"

21
src/components/DesignForm/printHtmlRender.vue

@ -87,22 +87,22 @@ const generateQrCode= ()=>{
</div>
</template>
</div>
<div v-else-if="group.type=='divider'" class="title" v-if="group.checked!=2">{{ group.name }}</div>
<div v-else-if="group.type=='textarea'" class="section" v-if="group.checked!=2">
<div v-else-if="group.type=='divider'" v-if="group.checked!=2" class="title">{{ group.name }}</div>
<div v-else-if="group.type=='textarea'" v-if="group.checked!=2" class="section">
<h5>{{ group.name }}</h5>
<div class="text_area">{{ group.field }}</div>
</div>
<div v-else-if="group.type=='table'" class="section_table" v-if="group.checked!=2">
<div v-else-if="group.type=='table'" v-if="group.checked!=2" class="section_table">
<h5>{{ group.name }}</h5>
<div class="bder_table" >
<el-table class="table" :data="group.data" border >
<template v-for="child in group.child">
<el-table-column :prop="child.field" :label="child.name" v-if="child.checked!=2" />
<el-table-column v-if="child.checked!=2" :prop="child.field" :label="child.name" />
</template>
</el-table>
</div>
</div>
<div v-else-if="group.type=='tabs'" class="section_tabs" v-if="group.checked!=2">
<div v-else-if="group.type=='tabs'" v-if="group.checked!=2" class="section_tabs">
<h5>{{ group.name }}</h5>
<div v-for="tabs in group.child" class="tabs_item">
<div v-if="Array.isArray(tabs)" class="auto_table">
@ -116,23 +116,24 @@ const generateQrCode= ()=>{
</div>
</template>
</div>
<div v-else-if="tabs.type=='divider'" class="title" v-if="tabs.checked!=2"
<div
v-else-if="tabs.type=='divider'" v-if="tabs.checked!=2" class="title"
style="font-size: 12px; margin-top: 20px;">{{ tabs.name }}</div>
<div v-else-if="tabs.type=='textarea'" class="section" v-if="tabs.checked!=2">
<div v-else-if="tabs.type=='textarea'" v-if="tabs.checked!=2" class="section">
<h5>{{ tabs.name }}</h5>
<div class="text_area">{{ tabs.field }}</div>
</div>
<div v-else-if="tabs.type=='table'" class="section" v-if="tabs.checked!=2">
<div v-else-if="tabs.type=='table'" v-if="tabs.checked!=2" class="section">
<h5>{{ tabs.name }}</h5>
<div class="bder_table" >
<el-table class="table" border >
<template v-for="child in tabs.child">
<el-table-column :prop="child.field" :label="child.name" v-if="child.checked!=2" />
<el-table-column v-if="child.checked!=2" :prop="child.field" :label="child.name" />
</template>
</el-table>
</div>
</div>
<div v-else class="tabs_cell_box" v-if="tabs.checked!=2">
<div v-else v-if="tabs.checked!=2" class="tabs_cell_box">
<span class="box_name">
{{tabs.name}}
</span>

6
src/components/DesignForm/tableListPage/formPageCont.vue

@ -520,8 +520,8 @@ provide('currentNodeKey', nodeKey)
<el-tabs v-if="item.sunList" type="border-card" style="margin-top: 20px">
<el-tab-pane
v-for="(sonItem, sonIndex) in item.sunList"
:label="sonIndex"
:key="sonIndex"
:label="sonIndex"
>
<el-descriptions
v-for="(sonVal, sonIndex) in sonItem"
@ -591,7 +591,7 @@ provide('currentNodeKey', nodeKey)
:send-draft-submit="sendDraftSubmit"
:submit-edit="submitEdit"
@optionsValue3Get3="optionsValue3Get3"
@options-value3-get3="optionsValue3Get3"
/>
<el-divider v-if="pageLog && pageLog.length > 0" content-position="left"
>历史记录</el-divider
@ -709,8 +709,8 @@ provide('currentNodeKey', nodeKey)
<el-tabs v-if="item.sunData" type="border-card" style="margin-top: 20px">
<el-tab-pane
v-for="(sonItem, sonIndex) in item.sunData"
:label="sonIndex"
:key="sonIndex"
:label="sonIndex"
>
<el-descriptions
v-for="(sonVal, sonIndex) in sonItem"

4
src/components/DesignForm/tableListPage/formPageContApp.vue

@ -269,7 +269,7 @@ const submitEdit = (type: string,val?:any) => {
</el-descriptions-item>
</el-descriptions>
<el-tabs v-if="item.sunList" type="border-card" style="margin-top:20px;">
<el-tab-pane v-for="(sonItem,sonIndex) in item.sunList" :label="sonIndex" :key="sonIndex">
<el-tab-pane v-for="(sonItem,sonIndex) in item.sunList" :key="sonIndex" :label="sonIndex">
<el-descriptions v-for="(sonVal,sonIndex) in sonItem" :key="sonIndex" border>
<el-descriptions-item v-for="(sonCentor,sonKey) in sonVal" :key="sonKey" :label="sonKey"> {{sonCentor}}
</el-descriptions-item>
@ -332,7 +332,7 @@ const submitEdit = (type: string,val?:any) => {
</el-descriptions-item>
</el-descriptions>
<el-tabs v-if="item.sunList" type="border-card" style="margin-top:20px;">
<el-tab-pane v-for="(sonItem,sonIndex) in item.sunList" :label="sonIndex" :key="sonIndex">
<el-tab-pane v-for="(sonItem,sonIndex) in item.sunList" :key="sonIndex" :label="sonIndex">
<el-descriptions v-for="(sonVal,sonIndex) in sonItem" :key="sonIndex" border>
<el-descriptions-item v-for="(sonCentor,sonKey) in sonVal" :key="sonKey" :label="sonKey"> {{sonCentor}}
</el-descriptions-item>

38
src/components/DesignForm/tableListPage/index.vue

@ -1804,30 +1804,30 @@ const isObject = (obj: any) => {
<div class="group group-input">
<el-form-item :label="item.label" class="form_cont">
<el-input
v-if="unitIsShow(item, 'input')"
v-model="item.value"
:placeholder="'请输入' + item.label"
clearable
v-if="unitIsShow(item, 'input')"
/>
<el-date-picker
v-if="unitIsShow(item, 'time')"
v-model="item.value"
type="datetime"
:placeholder="'请选择' + item.label"
:shortcuts="shortcuts"
v-if="unitIsShow(item, 'time')"
/>
<SearchSelect
v-if="unitIsShow(item, 'radio')"
v-model:model-value="item.value"
:data="item"
:disabled="false"
:transform-option="transformOption"
v-model:model-value="item.value"
/>
<el-select
v-if="unitIsShow(item, 'switch')"
v-model="item.value"
clearable
:placeholder="'请选择' + item.label"
v-if="unitIsShow(item, 'switch')"
>
<el-option
:key="item.activeValue"
@ -1842,11 +1842,11 @@ const isObject = (obj: any) => {
</el-select>
<SearchSelect
v-if="unitIsShow(item, 'checkbox')"
v-model:model-value="item.value"
:data="item"
:disabled="false"
:is-checkbox="true"
:transform-option="transformOption"
v-model:model-value="item.value"
/>
<el-date-picker
v-if="item.fieldClass == 'datePicker'"
@ -1863,10 +1863,10 @@ const isObject = (obj: any) => {
value-format="x"
/>
<DeptOrgSearch
v-if="unitIsShow(item, 'org')"
v-model="item.value"
clearable
:placeholder="'请选择' + item.label"
v-if="unitIsShow(item, 'org')"
>
</DeptOrgSearch>
<DeptOrgSearch
@ -1876,7 +1876,7 @@ const isObject = (obj: any) => {
</el-form-item>
</div>
</template>
<div class="group group-btn" v-if="searchData.length">
<div v-if="searchData.length" class="group group-btn">
<el-button type="primary" @click="getPageData"
><el-icon><Search /></el-icon></el-button
>
@ -1894,8 +1894,8 @@ const isObject = (obj: any) => {
>
<template v-for="item in data.controlBtn" :key="item.type">
<el-button
v-bind="item"
v-if="formHasPower(props.appKey,props.signCode,item.key,0)"
v-bind="item"
@click="setUpClick(item)"
>
@ -1914,8 +1914,8 @@ const isObject = (obj: any) => {
>
<el-button
size="small"
@click="config.searchIsShow = !config.searchIsShow"
class="fa fa-search"
@click="config.searchIsShow = !config.searchIsShow"
/>
</el-tooltip>
<el-tooltip
@ -2027,9 +2027,9 @@ const isObject = (obj: any) => {
v-bind="data.tableProps"
ref="table"
:data="tableDataList"
@selection-change="selectionChange"
table-layout="fixed"
border
@selection-change="selectionChange"
>
<template v-for="item in columnsFilter" :key="item.id || item.label">
<el-table-column
@ -2095,10 +2095,10 @@ const isObject = (obj: any) => {
placement="top-end"
>
<el-button
@click="lookPageInfo(scope.row)"
type="primary"
size="small"
class="fa fa-eye"
@click="lookPageInfo(scope.row)"
/>
</el-tooltip>
@ -2109,10 +2109,10 @@ const isObject = (obj: any) => {
placement="top-end"
>
<el-button
@click="printPage(scope.row)"
type="primary"
size="small"
class="fa fa-print"
@click="printPage(scope.row)"
/>
</el-tooltip>
@ -2158,11 +2158,11 @@ const isObject = (obj: any) => {
placement="top-end"
>
<el-button
@click="editInfo(scope.row)"
v-if="formHasPower(props.appKey,props.signCode,'bj',0)"
type="info"
size="small"
class="fa fa-edit"
v-if="formHasPower(props.appKey,props.signCode,'bj',0)"
@click="editInfo(scope.row)"
/>
</el-tooltip>
<el-popconfirm
@ -2218,7 +2218,7 @@ const isObject = (obj: any) => {
align="center"
>
<template #default="scope">
<template v-if="item.pattern == 'table'" v-for="sunItem in item.children">
<template v-for="sunItem in item.children" v-if="item.pattern == 'table'">
<el-table-column v-if="sunItem.fieldClass == ''" :prop="sunItem.field" :label="sunItem.label" header-align="center" align="center" :min-width="readerColumnSun(sunItem)">
<template #default="scopeChilder">
<div v-html="tableChildren(sunItem.field,scopeChilder.row[item.field])"></div>
@ -2443,8 +2443,8 @@ const isObject = (obj: any) => {
:page-info="pageInfoCont"
:table-page-class="tablePageClass"
:oper-state="operState"
@getPageData="getPageData"
@optionsValue4Get4="optionsValue4Get4"
@get-page-data="getPageData"
@options-value4-get4="optionsValue4Get4"
/>
<FormPageCont
v-model:is-show="asflookPageInfoIsShow"
@ -2452,8 +2452,8 @@ const isObject = (obj: any) => {
:page-info="currentAsfTableDataList[0]"
:table-page-class="tablePageClass"
:oper-state="operState"
@getPageData="getPageData"
@optionsValue4Get4="optionsValue4Get4"
@get-page-data="getPageData"
@options-value4-get4="optionsValue4Get4"
/>
<TableFlow

26
src/components/DesignForm/tableListPage/index_20240919.vue

@ -865,30 +865,30 @@ const transformOption = (val: string | number, type?: string) => {
<div class="group group-input">
<el-form-item :label="item.label" class="form_cont">
<el-input
v-if="unitIsShow(item, 'input')"
v-model="item.value"
:placeholder="'请输入' + item.label"
clearable
v-if="unitIsShow(item, 'input')"
/>
<el-date-picker
v-if="unitIsShow(item, 'time')"
v-model="item.value"
type="datetime"
:placeholder="'请选择' + item.label"
:shortcuts="shortcuts"
v-if="unitIsShow(item, 'time')"
/>
<SearchSelect
v-if="unitIsShow(item, 'radio')"
v-model:model-value="item.value"
:data="item"
:disabled="false"
:transform-option="transformOption"
v-model:model-value="item.value"
/>
<el-select
v-if="unitIsShow(item, 'switch')"
v-model="item.value"
clearable
:placeholder="'请选择' + item.label"
v-if="unitIsShow(item, 'switch')"
>
<el-option
:key="item.activeValue"
@ -903,11 +903,11 @@ const transformOption = (val: string | number, type?: string) => {
</el-select>
<SearchSelect
v-if="unitIsShow(item, 'checkbox')"
v-model:model-value="item.value"
:data="item"
:disabled="false"
:is-checkbox="true"
:transform-option="transformOption"
v-model:model-value="item.value"
/>
<el-date-picker
v-if="item.fieldClass == 'datePicker'"
@ -924,16 +924,16 @@ const transformOption = (val: string | number, type?: string) => {
value-format="x"
/>
<el-select
v-if="unitIsShow(item, 'org')"
v-model="item.value"
clearable
:placeholder="'请选择' + item.label"
v-if="unitIsShow(item, 'org')"
>
</el-select>
</el-form-item>
</div>
</template>
<div class="group group-btn" v-if="searchData.length">
<div v-if="searchData.length" class="group group-btn">
<el-button type="primary" @click="getPageData"
><el-icon><Search /></el-icon></el-button
>
@ -968,8 +968,8 @@ const transformOption = (val: string | number, type?: string) => {
>
<el-button
size="small"
@click="config.searchIsShow = !config.searchIsShow"
class="fa fa-search"
@click="config.searchIsShow = !config.searchIsShow"
/>
</el-tooltip>
<el-tooltip
@ -1067,8 +1067,8 @@ const transformOption = (val: string | number, type?: string) => {
v-bind="data.tableProps"
ref="table"
:data="tableDataList"
@selection-change="selectionChange"
table-layout="fixed"
@selection-change="selectionChange"
>
<template v-for="item in columnsFilter" :key="item.id || item.label">
<el-table-column
@ -1132,10 +1132,10 @@ const transformOption = (val: string | number, type?: string) => {
placement="top-end"
>
<el-button
@click="lookPageInfo(scope.row)"
type="primary"
size="small"
class="fa fa-eye"
@click="lookPageInfo(scope.row)"
/>
</el-tooltip>
<el-popconfirm
@ -1160,10 +1160,10 @@ const transformOption = (val: string | number, type?: string) => {
placement="top-end"
>
<el-button
@click="editInfo(scope.row)"
type="info"
size="small"
class="fa fa-edit"
@click="editInfo(scope.row)"
/>
</el-tooltip>
<el-popconfirm
@ -1417,7 +1417,7 @@ const transformOption = (val: string | number, type?: string) => {
:page-info="pageInfoCont"
:table-page-class="tablePageClass"
:oper-state="operState"
@getPageData="getPageData"
@get-page-data="getPageData"
/>
<FormPageCont
v-model:is-show="asflookPageInfoIsShow"
@ -1425,7 +1425,7 @@ const transformOption = (val: string | number, type?: string) => {
:page-info="currentAsfTableDataList[0]"
:table-page-class="tablePageClass"
:oper-state="operState"
@getPageData="getPageData"
@get-page-data="getPageData"
/>
<TableFlow
v-model:isopen="openTaskDrawer"

8
src/components/dataSource/index.vue

@ -231,33 +231,33 @@ const pickData = () => {
:data="dataList"
highlight-current-row
style="width: 100%; height: 400px"
@row-click="handleCurrentChange"
small
border
@row-click="handleCurrentChange"
>
<el-table-column property="databaseName" label="数据源" />
<el-table-column property="dataSourceDes" label="描述" />
</el-table>
<el-pagination
v-model:current-page="searchData.pageNum"
prev-text="上一页"
next-text="下一页"
layout="prev, next"
:total="searchData.total"
v-model:current-page="searchData.pageNum"
size="small"
/>
</el-col>
<el-col :span="14">
<el-table
ref="singleTableRef"
v-loading="tableLoading"
:data="tableListField"
highlight-current-row
style="width: 100%; height: 400px"
@row-click="handleChangeTable"
small
border
v-loading="tableLoading"
@row-click="handleChangeTable"
>
<el-table-column property="tableKey" label="数据表" />
<el-table-column property="tableName" label="描述" />

2
src/components/workflow/drwer/approverDrawer copy.vue

@ -1065,8 +1065,8 @@ const libraryList = ref([
</el-table-column>
</el-table>
<el-row
v-if="powerUnitAry.recUnitAry.sunUnitList"
v-for="(item, index) in powerUnitAry.recUnitAry.sunUnitList"
v-if="powerUnitAry.recUnitAry.sunUnitList"
:key="index"
>
<el-col :span="24" class="table_name"

2
src/components/workflow/drwer/copyerSend.vue

@ -151,7 +151,7 @@ watch(
);
onMounted(() => {
// console.log("--------", copyerConfig1.value);
if (copyerConfig1.settype == 0) {
if (copyerConfig1.value.settype == 0) {
copyerConfig.value.settype = 1;
}
});

68
src/store/modules/permission.ts

@ -8,63 +8,43 @@ const modules = import.meta.glob("../../views/**/*.vue");
const Layout = () => import("@/layout/index.vue");
/**
* Use meta.role to determine if the current user has permission
* Use menu id to determine if the current user has permission
*
* @param roles
* @param menuIds ID集
* @param route
* @returns
*/
const hasPermission = (roles: string[], route: RouteRecordRaw) => {
// console.log("用户角色集合--->",roles.includes("ROOT"),roles,route)
if (route.meta && route.meta.perm) {
if (roles.includes("ROOT")) {
return true;
}
return roles.some((role) => {
if (route.meta?.perm !== undefined) {
return (route.meta.perm as string[]).includes(role);
}
});
const hasPermission = (menuIds: string[], route: RouteRecordRaw) => {
// 如果是超级管理员,则拥有所有权限
if (menuIds.includes("ROOT")) {
return true;
}
// if (route.meta && route.meta.roles) {
// // 角色【超级管理员】拥有所有权限,忽略校验
// if (roles.includes("ROOT")) {
// return true;
// }
// return roles.some((role) => {
// if (route.meta?.roles !== undefined) {
// return (route.meta.roles as string[]).includes(role);
// }
// });
// }
return false;
// 如果路由有meta.id属性,则检查用户是否拥有该菜单ID
if (route.meta && route.meta.id) {
return menuIds.includes(route.meta.id as string);
}
// 如果路由没有设置权限,则默认允许访问
return true;
};
/**
* ()
*
* @param routes ()
* @param roles
* @param menuIds ID集
* @returns ()
*/
const filterAsyncRoutes = (routes: RouteRecordRaw[], roles: string[]) => {
const filterAsyncRoutes = (routes: RouteRecordRaw[], menuIds: string[]) => {
const asyncRoutes: RouteRecordRaw[] = [];
// console.log("判断--->",routes,roles);
routes.forEach((route) => {
const tmpRoute = { ...route }; // ES6扩展运算符复制新对象
// console.log("判断-123-->",tmpRoute.name,tmpRoute.component,tmpRoute,roles);
// console.log("判断-hasPermission-->",hasPermission(roles, tmpRoute));
// 判断用户(角色)是否有该路由的访问权限
if (hasPermission(roles, tmpRoute)) {
// 判断用户是否有该路由的访问权限
if (hasPermission(menuIds, tmpRoute)) {
if (tmpRoute.component?.toString() == "Layout") {
tmpRoute.component = Layout;
// console.log();
} else {
// console.log("判断用户-251->",tmpRoute.component);
const component = modules[`../../views/${tmpRoute.component}.vue`];
// const component = modules[`${tmpRoute.component}.vue`];
// console.log("判断用户-1111111111111111->",component);
if (component) {
tmpRoute.component = component;
} else {
@ -73,9 +53,8 @@ const filterAsyncRoutes = (routes: RouteRecordRaw[], roles: string[]) => {
}
if (tmpRoute.children) {
tmpRoute.children = filterAsyncRoutes(tmpRoute.children, roles);
tmpRoute.children = filterAsyncRoutes(tmpRoute.children, menuIds);
}
// console.log("判断用户--路由--->",roles,tmpRoute);
asyncRoutes.push(tmpRoute);
}
});
@ -95,22 +74,21 @@ export const usePermissionStore = defineStore("permission", () => {
/**
*
*
* @param roles
* @param menuIds ID集
* @returns
*/
function generateRoutes(roles: string[]) {
function generateRoutes(menuIds: string[]) {
return new Promise<RouteRecordRaw[]>((resolve, reject) => {
// 接口获取所有路由
listRoutes()
.then(({ data: asyncRoutes }) => {
// 根据角色获取有访问权限的路由
// 根据菜单ID获取有访问权限的路由
console.log("获取到的路由---->",asyncRoutes);
console.log("获取到的路由--roles-->",roles);
const accessedRoutes = filterAsyncRoutes(asyncRoutes, roles);
console.log("获取到的路由--menuIds-->",menuIds);
const accessedRoutes = filterAsyncRoutes(asyncRoutes, menuIds);
console.log("获取到的路由--1-->",accessedRoutes);
console.log("获取到的路由--2-->",roles);
console.log("获取到的路由--2-->",menuIds);
setRoutes(accessedRoutes);
resolve(accessedRoutes);

2
src/store/modules/tagsView.ts

@ -208,7 +208,7 @@ export const useTagsViewStore = defineStore("tagsView", () => {
updateVisitedView,
addView,
delView,
delOtherfiews,
delOtherViews,
delLeftViews,
delRightViews,
delAllViews,

2
src/views/appstore/appmarket/aqsc.vue

@ -30,7 +30,7 @@ const handleTo = (url: string) => {
<span>安全生产信息化系统</span>
<div class="bottom">
<time class="time"></time>
<el-button text class="button" @click="handleTo('http://120.224.6.6:6005/SyncPlant/login')" target="_blank">查看详情</el-button>
<el-button text class="button" target="_blank" @click="handleTo('http://120.224.6.6:6005/SyncPlant/login')">查看详情</el-button>
</div>
</div>
</el-card>

2
src/views/appstore/appmarket/ccwl.vue

@ -57,7 +57,7 @@ const handleTo = (url: string) => {
<span>千云物流系统</span>
<div class="bottom">
<time class="time"></time>
<el-button text class="button" @click="handleTo('http://36.133.126.177:8081/#/login')" target="_blank">查看详情</el-button>
<el-button text class="button" target="_blank" @click="handleTo('http://36.133.126.177:8081/#/login')">查看详情</el-button>
</div>
</div>
</el-card>

18
src/views/appstore/appmarket/index.vue

@ -30,31 +30,31 @@ function restPsgeCont(){
<el-aside width="209px" style="border-right: solid 1px #f0f0f0;">
<el-card shoadow="never" :body-style="{ height: '100%',padding:'5px 10px' }">
<ul>
<li @click="qieHuanSystem(1)" :class="tablesId === 1 ? 'activeColor' : ''">
<li :class="tablesId === 1 ? 'activeColor' : ''" @click="qieHuanSystem(1)">
<span>安全生产</span>
</li>
<li @click="qieHuanSystem(2)" :class="tablesId === 2 ? 'activeColor' : ''">
<li :class="tablesId === 2 ? 'activeColor' : ''" @click="qieHuanSystem(2)">
<span>节能降耗</span>
</li>
<li @click="qieHuanSystem(3)" :class="tablesId === 3 ? 'activeColor' : ''">
<li :class="tablesId === 3 ? 'activeColor' : ''" @click="qieHuanSystem(3)">
<span>质量管控</span>
</li>
<li @click="qieHuanSystem(4)" :class="tablesId === 4 ? 'activeColor' : ''">
<li :class="tablesId === 4 ? 'activeColor' : ''" @click="qieHuanSystem(4)">
<span>供应链管理</span>
</li>
<li @click="qieHuanSystem(5)" :class="tablesId === 5 ? 'activeColor' : ''">
<li :class="tablesId === 5 ? 'activeColor' : ''" @click="qieHuanSystem(5)">
<span>研发设计</span>
</li>
<li @click="qieHuanSystem(6)" :class="tablesId === 6 ? 'activeColor' : ''">
<li :class="tablesId === 6 ? 'activeColor' : ''" @click="qieHuanSystem(6)">
<span>生产制造</span>
</li>
<li @click="qieHuanSystem(7)" :class="tablesId === 7 ? 'activeColor' : ''">
<li :class="tablesId === 7 ? 'activeColor' : ''" @click="qieHuanSystem(7)">
<span>运营管理</span>
</li>
<li @click="qieHuanSystem(8)" :class="tablesId === 8 ? 'activeColor' : ''">
<li :class="tablesId === 8 ? 'activeColor' : ''" @click="qieHuanSystem(8)">
<span>仓储物流</span>
</li>
<li @click="qieHuanSystem(9)" :class="tablesId === 9 ? 'activeColor' : ''">
<li :class="tablesId === 9 ? 'activeColor' : ''" @click="qieHuanSystem(9)">
<span>运维服务</span>
</li>
</ul>

6
src/views/appstore/appmarket/yygl.vue

@ -33,7 +33,7 @@ const handleTo = (url: string) => {
<span>知识管理知行学院</span>
<div class="bottom">
<time class="time"></time>
<el-button text class="button" @click="handleTo('http://www.hxgk.group')" target="_blank">查看详情</el-button>
<el-button text class="button" target="_blank" @click="handleTo('http://www.hxgk.group')">查看详情</el-button>
</div>
</div>
</el-card>
@ -48,7 +48,7 @@ const handleTo = (url: string) => {
<span>绩效管理绩效考核系统</span>
<div class="bottom">
<time class="time"></time>
<el-button text class="button" @click="handleTo('http://ginadmin.hxgk.group')" target="_blank">查看详情</el-button>
<el-button text class="button" target="_blank" @click="handleTo('http://ginadmin.hxgk.group')">查看详情</el-button>
</div>
</div>
</el-card>
@ -63,7 +63,7 @@ const handleTo = (url: string) => {
<span>协同办公OA系统</span>
<div class="bottom">
<time class="time"></time>
<el-button text class="button" @click="handleTo('http://36.134.44.246:8088/')" target="_blank">查看详情</el-button>
<el-button text class="button" target="_blank" @click="handleTo('http://36.134.44.246:8088/')">查看详情</el-button>
</div>
</div>
</el-card>

5
src/views/dashboard/components/allorgyear.vue

@ -158,7 +158,7 @@ onMounted(() => {
<span>年绩效成绩</span>
</div>
<div class="year-right">
<el-select v-model="curreorgId" placeholder="请选择公司" @change="orgChartDrowData" class="year-select-mr10">
<el-select v-model="curreorgId" placeholder="请选择公司" class="year-select-mr10" @change="orgChartDrowData">
<el-option v-for="item in props.orgListCont" :key="item.id" :label="item.name" :value="item.id">
</el-option>
</el-select>
@ -166,7 +166,8 @@ onMounted(() => {
</div>
</div>
<div ref="departmentYears" v-loading="orgAllYearLoading" element-loading-text="Loading..."
<div
ref="departmentYears" v-loading="orgAllYearLoading" element-loading-text="Loading..."
class="allOrgAxisCares">
</div>

2
src/views/dashboard/components/hostnews.vue

@ -54,7 +54,7 @@ onMounted(() => {
</ul>
</div>
</el-card>
<PageInfo v-model:look-page-is-show="lookPageIsShow" :look-page-info="lookPageInfo" :drawerWidht="drawerWidhtCart" />
<PageInfo v-model:look-page-is-show="lookPageIsShow" :look-page-info="lookPageInfo" :drawer-widht="drawerWidhtCart" />
</template>
<style lang='scss' scoped>
.allOrgAxisCares{

5
src/views/dashboard/components/orgeducation.vue

@ -203,12 +203,13 @@ onMounted(() => {
})
</script>
<template>
<el-card shadow="always" :body-style="{ padding: '10px' }"
<el-card
shadow="always" :body-style="{ padding: '10px' }"
style="border-radius: 12px;margin-top: 10px;position: relative;height: 100%;">
<!--单一行政组织全年统计-->
<div class="orgAllMothsTitle">
<el-text class="titleInfo">学历占比</el-text>
<el-select v-model="orgId" placeholder="请选择公司" @change="giveXueLi" style="width: 230px;">
<el-select v-model="orgId" placeholder="请选择公司" style="width: 230px;" @change="giveXueLi">
<el-option v-for="item in props.orgListCont" :key="item.id" :label="item.name" :value="item.id">
</el-option>
</el-select>

2
src/views/dashboard/components/orguserage.vue

@ -124,8 +124,8 @@ onMounted(() => {
<el-select
v-model="orgAgeId"
placeholder="请选择公司"
@change="gainOrgAgeRatio"
style="width: 240px"
@change="gainOrgAgeRatio"
>
<el-option
v-for="item in props.orgListCont"

30
src/views/dashboard/components/sanlianping.vue

@ -445,27 +445,33 @@ const dxOrgGaibian = (id: any) => {
</div>
<el-row class="kpi-box" :gutter="10">
<el-col :span="8">
<el-date-picker v-model="dingLiangDaChengYear" type="year" placeholder="请选择时间"
<el-date-picker
v-model="dingLiangDaChengYear" type="year" placeholder="请选择时间"
style="width:100%" />
</el-col>
<el-col :span="8">
<el-select v-model="dingLiangDaChengOrg" placeholder="" style="width:100%"
<el-select
v-model="dingLiangDaChengOrg" placeholder="" style="width:100%"
@change="dlMuBiaoOrg">
<el-option v-for="item in mainOrgList" :key="item.id" :label="item.name"
<el-option
v-for="item in mainOrgList" :key="item.id" :label="item.name"
:value="item.id">
</el-option>
</el-select>
</el-col>
<el-col :span="8">
<el-select v-model="dingLiangDaChengTarget" placeholder="" style="width:100%"
<el-select
v-model="dingLiangDaChengTarget" placeholder="" style="width:100%"
@change="dlMuBiaoZhiBiao">
<el-option v-for="item in targetListAry" :key="item.id" :label="item.name"
<el-option
v-for="item in targetListAry" :key="item.id" :label="item.name"
:value="item.id">
</el-option>
</el-select>
</el-col>
</el-row>
<div ref="dlTargetThChartMubiao" v-loading="dlhbLoadingMb" element-loading-text="Loading..."
<div
ref="dlTargetThChartMubiao" v-loading="dlhbLoadingMb" element-loading-text="Loading..."
class="allOrgAxisCares">
</div>
</el-card>
@ -487,14 +493,16 @@ const dxOrgGaibian = (id: any) => {
</el-col>
<el-col :span="8">
<el-select v-model="dingXingTarget" placeholder="" style="width:100%" @change="dxTargetGaibian">
<el-option v-for="item in targetXingListAry" :key="item.id" :label="item.name"
<el-option
v-for="item in targetXingListAry" :key="item.id" :label="item.name"
:value="item.id">
</el-option>
</el-select>
</el-col>
</el-row>
<div ref="dxTargetChart" v-loading="dxTargetLoad" element-loading-text="Loading..."
<div
ref="dxTargetChart" v-loading="dxTargetLoad" element-loading-text="Loading..."
class="allOrgAxisCares"></div>
<!-- <div ref="dlTargetThChartMubiao" v-loading="dlhbLoadingMb" element-loading-text="Loading..."
class="allOrgAxisCares">
@ -519,13 +527,15 @@ const dxOrgGaibian = (id: any) => {
</el-col>
<el-col :span="8">
<el-select v-model="dingLiangTarget" placeholder="" style="width:100%" @change="alterDlTbhb">
<el-option v-for="item in targetListAryes" :key="item.id" :label="item.name"
<el-option
v-for="item in targetListAryes" :key="item.id" :label="item.name"
:value="item.id">
</el-option>
</el-select>
</el-col>
</el-row>
<div ref="dlTargetThChart" v-loading="dlhbLoading" element-loading-text="Loading..."
<div
ref="dlTargetThChart" v-loading="dlhbLoading" element-loading-text="Loading..."
class="allOrgAxisCares">
</div>

4
src/views/date/assets.vue

@ -261,7 +261,7 @@ const delDataBase = (val: dataBaseStruct) => {
<EditAssets
v-model:is-show="editAssetsOpen"
:data-info="editAssetsInfo"
@setResetting="resettingHandel"
@set-resetting="resettingHandel"
/>
<el-card style="width: 100%">
<template #header>
@ -309,8 +309,8 @@ const delDataBase = (val: dataBaseStruct) => {
</el-col>
</el-row>
<el-table
:data="dataList"
v-loading="dataLoading"
:data="dataList"
stripe
:header-cell-style="{ background: '#f5f8fd' }"
style="width: 100%"

2
src/views/date/editAssets.vue

@ -270,9 +270,9 @@ const dataFormRules = reactive({
<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
<el-form-item label="密码:" prop="password">
<el-input
v-model="formData.password"
type="new-password"
show-password
v-model="formData.password"
placeholder="请输入密码"
clearable
autocomplete="off"

9
src/views/doc/agent.vue

@ -281,15 +281,15 @@ onMounted(() => {
:title="currentAgent.name+' : 知识库'"
direction="rtl"
size="80%"
@close="resetContext"
:style="{padding:'17px',backgroundColor:'#f3f3f3'}">
:style="{padding:'17px',backgroundColor:'#f3f3f3'}"
@close="resetContext">
<div style="display:grid;grid-template-columns:1fr 4fr; width: 100%;height: 100%;">
<div style="overflow-y: auto;">
<ul>
<li class="action_menu" @click="newContext">
新建会话
</li>
<li class="list_item" v-for="item in conversations" @mouseover="handleMouseEnter(item)" @mouseleave="handleMouseLeave()" @click="showChat(item.uuid)">
<li v-for="item in conversations" class="list_item" @mouseover="handleMouseEnter(item)" @mouseleave="handleMouseLeave()" @click="showChat(item.uuid)">
<span>{{ item.brief }}</span>
<el-button v-show="centHoverItem == item.uuid" icon="Delete" size="small" circle @click="(e)=>{e.stopPropagation();onDelChat(item.uuid)}"></el-button>
</li>
@ -329,7 +329,8 @@ onMounted(() => {
</el-checkbox-button>
</el-checkbox-group>
<el-input placeholder="问灵犀..." v-model="myquestion" input-style="border-radius: 20px;"
<el-input
v-model="myquestion" placeholder="问灵犀..." input-style="border-radius: 20px;"
resize="none" :autosize="{minRows: 4}" type="textarea" />
<el-button :style="{display :inputState ? '':'none'}" type="primary" :icon="Promotion" circle @click="onSendTextToAI"/>
<el-button :style="{display :inputState ? 'none':''}" type="primary" :icon="Remove" circle @click="abortFetch"/>

3
src/views/doc/logpanel.vue

@ -35,7 +35,8 @@ defineExpose({loadLogList})
<template>
<div class="app_container">
<el-row><span style="margin: 12px 0px;font-weight: bold;font-size: 20px;"> 上传日志 </span> </el-row>
<el-table :data="tableList"
<el-table
:data="tableList"
stripe
row-key="uuid"
@row-click="showLogDetail"

32
src/views/doc/manage.vue

@ -1010,7 +1010,7 @@ const handleSelectionChange = (val:matterInfo[]) => {
<span style="font-weight: bold;margin:0 5px;align-content:center;">{{ currentNode.name }}</span>
<el-col :span="6" class="search">
<el-input placeholder="搜索文件" v-model="searchname" @blur="searchname===''?onLoadMatterList():''"/>
<el-input v-model="searchname" placeholder="搜索文件" @blur="searchname===''?onLoadMatterList():''"/>
<el-button :icon="Search" @click="onSearchFile(searchname)"></el-button>
</el-col>
</el-row>
@ -1018,16 +1018,18 @@ const handleSelectionChange = (val:matterInfo[]) => {
<el-row v-if="!modRecycling" :gutter="24">
<el-col :span="14">
<div class="el-button el-button--default" style="position: relative;">
<input type="file" style="position: absolute;opacity: 0;width: 50px;"
@change="onCustomUpload" multiple />
<input
type="file" style="position: absolute;opacity: 0;width: 50px;"
multiple @change="onCustomUpload" />
文件上传
</div>
<div class="el-button el-button--default" style="position: relative;">
<input type="file" style="position: absolute;opacity: 0;width: 50px;"
@change="uploadFolder"
<input
type="file" style="position: absolute;opacity: 0;width: 50px;"
webkitdirectory
multiple
@change="uploadFolder"
/>
文件夹上传
</div>
@ -1044,10 +1046,11 @@ const handleSelectionChange = (val:matterInfo[]) => {
</el-row>
<el-row :gutter="24" style="overflow-y: auto; height: 90%;">
<el-table v-if="modListOrGrild"
<el-table
v-if="modListOrGrild"
ref="multipleTableRef"
stripe
:data="matterList"
ref="multipleTableRef"
:header-cell-style="{ background: '#f5f8fd' }"
style="width: 100%"
row-key="uuid"
@ -1092,8 +1095,8 @@ const handleSelectionChange = (val:matterInfo[]) => {
</template>
</el-table-column>
</el-table>
<div class="table-grid" v-else>
<div class="grid-item" v-for="row in matterList">
<div v-else class="table-grid">
<div v-for="row in matterList" class="grid-item">
<div class="grid">
<div v-if="row.name===''">
<svg-icon icon-class="folder-icon" size="80px"/>
@ -1107,7 +1110,7 @@ const handleSelectionChange = (val:matterInfo[]) => {
<span style="margin: 5px 0;text-wrap-mode:nowrap;">{{ row.name }}</span>
</div>
</div>
<ul v-if="row.name!=''" class="grid-menus" v-show="currentHoverRow === row.uuid" @mouseleave="currentHoverRow=''">
<ul v-if="row.name!=''" v-show="currentHoverRow === row.uuid" class="grid-menus" @mouseleave="currentHoverRow=''">
<span v-if="row.deleted">
<li @click="restoreMatter(row)">恢复</li>
</span>
@ -1125,15 +1128,16 @@ const handleSelectionChange = (val:matterInfo[]) => {
</el-row>
<el-row v-if="paginInfo.total>1" style="justify-content: center;">
<el-pagination size="small" background layout="prev, pager, next" :current-page="paginInfo.page+1" @current-change="(value:number)=>{paginInfo.page=value-1;onLoadMatterList();}" :page-count="paginInfo.total" class="mt-4"/>
<el-pagination size="small" background layout="prev, pager, next" :current-page="paginInfo.page+1" :page-count="paginInfo.total" class="mt-4" @current-change="(value:number)=>{paginInfo.page=value-1;onLoadMatterList();}"/>
</el-row>
</div>
<div v-else class="app_container">
<space ref="spaceEleRef" :uid="uid" :raw-uid="rawUid" :listOrGrid="modListOrGrild"
<space
ref="spaceEleRef" :uid="uid" :raw-uid="rawUid" :list-or-grid="modListOrGrild"
:spaceid="SpaceID.uuid" :roles="Departs" :spacename="SpaceID.name" :space-permit="SpaceID.permits"
:owner="SpaceID.userUuid" :ismanager="SpaceID.manager"
:officeHost="officeHost" :site-host="siteHost" :api-u-r-l="apiURL"
:flushSpaceTree="flushSpaceTree"></space>
:office-host="officeHost" :site-host="siteHost" :api-u-r-l="apiURL"
:flush-space-tree="flushSpaceTree"></space>
</div>
</el-tab-pane>
<el-tab-pane name="logs">

4
src/views/doc/onlyoffice.vue

@ -78,9 +78,9 @@ onMounted(()=>{
<DocumentEditor
id="docEditor"
style="height: inherit;"
:documentServerUrl="onlyOfficeHost"
:document-server-url="onlyOfficeHost"
:config="config"
:onLoadComponentError="onLoadComponentError"
:on-load-component-error="onLoadComponentError"
/>
</template>
<style>

2
src/views/doc/preview.vue

@ -12,7 +12,7 @@ onMounted(()=>{})
</script>
<template>
<el-dialog :model-value="true" :style="{height: '90%',width:'90%'}" v-on:close="closeFunc()">
<el-dialog :model-value="true" :style="{height: '90%',width:'90%'}" @close="closeFunc()">
<template #default>
<iframe id="preivew" width="100%" height="100%" :src="props.url"></iframe>
</template>

7
src/views/doc/share.vue

@ -219,7 +219,7 @@ onMounted(() => {
<template>
<div class="app_container">
<el-row :gutter="24" v-if="!browerMode">
<el-row v-if="!browerMode" :gutter="24">
<recentVisited :uid="uid" :udprt="udprt" style="margin-left:0;width: 100%;margin-bottom: 10px;"></recentVisited>
<el-table
stripe
@ -266,14 +266,15 @@ onMounted(() => {
:style="{padding:'17px'}">
<template #header>
<span>文档成员列表</span>
<el-button style="width:30px;margin-right:20px;"
<el-button
style="width:30px;margin-right:20px;"
:icon=Avatar
@click="()=>onShareMember({uuid:currentHoverRow})">
</el-button>
</template>
<ul v-if="drawerModel &&permitListRef!=''" style="line-height: 26px;">
<li class="el-text" v-for="item in permitListRef.split('|')" :style="item.includes(':')?getItemSpan(item):''" >
<li v-for="item in permitListRef.split('|')" class="el-text" :style="item.includes(':')?getItemSpan(item):''" >
{{ item.replace(/\d:/,'- ') }}
</li>
</ul>

5
src/views/doc/sharePermission.vue

@ -153,7 +153,7 @@ onMounted(()=>{
</script>
<template>
<el-dialog :model-value="true" :style="{'max-height': '650px'}" v-on:close="closeFunc()">
<el-dialog :model-value="true" :style="{'max-height': '650px'}" @close="closeFunc()">
<template #header>
<span>成员管理</span>
</template>
@ -179,7 +179,8 @@ onMounted(()=>{
/>
</div>
<div class="tablelist">
<el-table ref="tableMembersRef"
<el-table
ref="tableMembersRef"
:data="members"
:row-key="row => row.keystr"
style="overflow-y: auto;height: 500px;"

28
src/views/doc/space.vue

@ -623,7 +623,8 @@ function isOwner(){
<el-row :gutter="24" style="margin: 12px 0px;">
<span class="el-breadcrumb" style="font-weight: bold; align-content: center;">[ {{ props.spacename }} ] : </span>
<el-breadcrumb separator="/" style="align-content: center;">
<el-breadcrumb-item v-for="(item,index) in breadcrumbList"
<el-breadcrumb-item
v-for="(item,index) in breadcrumbList"
:key="index" @click="handleDoubleClick(item,index)">
<span style="font-weight: bold;cursor: pointer;">{{ item.name }}</span>
</el-breadcrumb-item>
@ -631,24 +632,26 @@ function isOwner(){
<span v-if="currentNode.uuid!='root'" style="font-weight: bold;margin:0 5px;align-content:center;">/ {{ currentNode.name }}</span>
<el-col :span="6" class="search">
<el-input placeholder="搜索文件" v-model="searchname" @blur="searchname===''?onLoadMatterList():''"/>
<el-input v-model="searchname" placeholder="搜索文件" @blur="searchname===''?onLoadMatterList():''"/>
<el-button :icon="Search" @click="onLoadMatterList(searchname)"></el-button>
</el-col>
</el-row>
<el-row :gutter="24">
<el-col :span="14" v-if="CutLevelPermit>=PERMITS.UPLOAD">
<el-col v-if="CutLevelPermit>=PERMITS.UPLOAD" :span="14">
<div class="el-button el-button--default" style="position: relative;">
<input type="file" style="position: absolute;opacity: 0;width: 50px;"
@change="onCustomUpload" multiple />
<input
type="file" style="position: absolute;opacity: 0;width: 50px;"
multiple @change="onCustomUpload" />
文件上传
</div>
<div class="el-button el-button--default" style="position: relative;">
<input type="file" style="position: absolute;opacity: 0;width: 50px;"
@change="uploadFolder"
<input
type="file" style="position: absolute;opacity: 0;width: 50px;"
webkitdirectory
multiple
@change="uploadFolder"
/>
文件夹上传
</div>
@ -671,7 +674,8 @@ function isOwner(){
</el-dialog>
<el-row :gutter="24" style="overflow-y: auto;height: 90%;">
<el-table v-if="modListOrGrild"
<el-table
v-if="modListOrGrild"
stripe
:data="matterList"
:header-cell-style="{ background: '#f5f8fd' }"
@ -719,8 +723,8 @@ function isOwner(){
</el-table-column>
</el-table>
<div class="table-grid" v-else>
<div class="grid-item" v-for="row in matterList">
<div v-else class="table-grid">
<div v-for="row in matterList" class="grid-item">
<div class="grid">
<div v-if="row.name===''">
<svg-icon icon-class="folder-icon" size="80px"/>
@ -735,7 +739,7 @@ function isOwner(){
<el-tag v-if="row.agent" effect="dark" size="small" type="success" round >智能体</el-tag>
</div>
</div>
<ul v-if="row.name!=''" class="grid-menus" v-show="currentHoverRow === row.name" @mouseleave="currentHoverRow=''">
<ul v-if="row.name!=''" v-show="currentHoverRow === row.name" class="grid-menus" @mouseleave="currentHoverRow=''">
<li v-if="getFileIcon(row.name)!='img'" @click="onPrivateView(row)">预览</li>
<li v-if="row.permitVal! >= PERMITS.DOWNLOAD" @click="onDownload(row)">下载</li>
<span v-if="row.permitVal! >= PERMITS.EDIT" >
@ -752,7 +756,7 @@ function isOwner(){
</el-row>
<el-row v-if="paginInfo.total>1" style="justify-content: center;">
<el-pagination size="small" background layout="prev, pager, next" :current-page="paginInfo.page+1" @current-change="(value:number)=>{paginInfo.page=value-1;onLoadMatterList();}" :page-count="paginInfo.total" class="mt-4"/>
<el-pagination size="small" background layout="prev, pager, next" :current-page="paginInfo.page+1" :page-count="paginInfo.total" class="mt-4" @current-change="(value:number)=>{paginInfo.page=value-1;onLoadMatterList();}"/>
</el-row>
<aiagent :agent="currentAgent" :userid="uid" :closefunc="()=>{currentAgent.model=false}"></aiagent>

19
src/views/doc/spacePermission.vue

@ -277,7 +277,7 @@ onMounted(()=>{
</script>
<template>
<el-dialog :model-value="true" :style="{'max-height': '750px'}" v-on:close="closeFunc()">
<el-dialog :model-value="true" :style="{'max-height': '750px'}" @close="closeFunc()">
<template #header>
<el-button link :class="managerMode ? '' :'moveon'" @click="managerMode=false;" >文档权限管理</el-button>
<el-button v-if="spacePermit.matterUid==spaceid&&uid==suid" :class="managerMode ? 'moveon' :''" link @click="managerMode=true; onShowManagers()">管理员管理</el-button>
@ -290,23 +290,28 @@ onMounted(()=>{
<span>管理员</span>
</div>
<div v-else class="buttons">
<el-tooltip placement="top" effect="dark"
<el-tooltip
placement="top" effect="dark"
content="禁止访问">
<span>不可见</span>
</el-tooltip>
<el-tooltip placement="top" effect="dark"
<el-tooltip
placement="top" effect="dark"
content="仅可预览,不可下载">
<span>仅预览</span>
</el-tooltip>
<el-tooltip placement="top" effect="dark"
<el-tooltip
placement="top" effect="dark"
content="可下载可见文件,不可上传文件">
<span>可下载</span>
</el-tooltip>
<el-tooltip placement="top" effect="dark"
<el-tooltip
placement="top" effect="dark"
content="可上传和下载可见文件">
<span>上传下载</span>
</el-tooltip>
<el-tooltip placement="top" effect="dark"
<el-tooltip
placement="top" effect="dark"
content="可上传、下载、编辑文档">
<span>编辑</span>
</el-tooltip>
@ -330,7 +335,7 @@ onMounted(()=>{
<el-checkbox v-model="data.ismanager" :indeterminate="data.indeterminate2" />
</div>
<div v-else class="buttons">
<el-checkbox-group :min="0" :max="1" v-model="data.radio" @change="(val)=>onGroupValueChange(data,val)">
<el-checkbox-group v-model="data.radio" :min="0" :max="1" @change="(val)=>onGroupValueChange(data,val)">
<el-checkbox key="forbid" :indeterminate="data.indeterminate" :value="0" />
<el-checkbox key="view" :indeterminate="data.indeterminate" :value="1" />
<el-checkbox key="download" :indeterminate="data.indeterminate" :value="2" />

16
src/views/hr/archives/index.vue

@ -448,10 +448,10 @@ onMounted(() => {
</el-button>
<el-tree-v2
ref="orgTreeRef"
v-loading="orgTreeLoading"
style="max-width: 100%"
:data="orgTreeList"
:props="orgTreeProps"
v-loading="orgTreeLoading"
node-key="id"
:expand-on-click-node="false"
:check-on-click-node="true"
@ -604,11 +604,11 @@ onMounted(() => {
<el-table-column fixed="right" align="center" label="操作" width="120">
<template #default="scope">
<el-button
v-if="scope.row.isShowTrue == 1"
v-hasButton="['275256219474604032']"
type="primary"
link
size="small"
v-if="scope.row.isShowTrue == 1"
@click.stop="unLockUSer(scope.row)"
>
<!-- <i-ep-view /> -->
@ -650,9 +650,9 @@ onMounted(() => {
</el-container>
<!-- 批量解锁 -->
<lockInfo ref="lockInfoRef" v-model:show="ubLockPage" @updateInfo="getArchivesPage" />
<lockInfo ref="lockInfoRef" v-model:show="ubLockPage" @update-info="getArchivesPage" />
<!-- 批量导入 -->
<BatchImport ref="batchImportRef" v-model:show="piLiangBox" :org-tree="orgTreeList" @updateInfo="getArchivesPage" />
<BatchImport ref="batchImportRef" v-model:show="piLiangBox" :org-tree="orgTreeList" @update-info="getArchivesPage" />
<!--设置-->
<el-drawer
v-model="openSetup"
@ -722,9 +722,9 @@ onMounted(() => {
<div>团队角色九型人格测试</div>
<div>
<el-button
v-hasButton="['287868103478489088']"
type="danger"
text
v-hasButton="['287868103478489088']"
@click="selectDownTiaojian('10000003')"
>
下载
@ -784,8 +784,8 @@ onMounted(() => {
</el-form>
</el-col>
<el-col
:span="24"
v-loading="excelJiexi"
:span="24"
element-loading-text="文档解析中,请稍候..."
>
<el-upload
@ -818,7 +818,7 @@ onMounted(() => {
</el-progress>
</el-col>
</el-row>
<el-scrollbar height="300px" ref="scrollbarRef" always>
<el-scrollbar ref="scrollbarRef" height="300px" always>
<div ref="innerRef">
<p
v-for="(item, index) in peopleMsg"
@ -856,7 +856,7 @@ onMounted(() => {
<AddUserPage
v-model:show="addUserBox"
:org-tree="orgTreeList"
@updateInfo="getArchivesPage"
@update-info="getArchivesPage"
/>

2
src/views/hr/archives/index_20251202.vue

@ -85,10 +85,10 @@ onMounted(() => {
查看全部
</el-button>
<el-tree-v2
v-loading="orgTreeLoading"
style="max-width: 100%"
:data="orgTreeList"
:props="orgTreeProps"
v-loading="orgTreeLoading"
node-key="id"
:expand-on-click-node="false"
:check-on-click-node="true"

20
src/views/hr/archives/index_251128.vue

@ -877,8 +877,8 @@ const systemMenuTreeProps = {
</el-button>
<el-link
type="primary"
v-if="false"
type="primary"
:underline="false"
:href="
downloadUrl +
@ -971,11 +971,11 @@ const systemMenuTreeProps = {
<el-table-column fixed="right" align="center" label="操作" width="120">
<template #default="scope">
<el-button
v-if="scope.row.isShowTrue == 1"
v-hasPerm="['275256219474604032']"
type="primary"
link
size="small"
v-if="scope.row.isShowTrue == 1"
@click.stop="unLockUSer(scope.row)"
>
<!-- <i-ep-view /> -->
@ -1035,8 +1035,8 @@ const systemMenuTreeProps = {
</el-form>
</el-col>
<el-col
:span="24"
v-loading="excelJiexi"
:span="24"
element-loading-text="文档解析中,请稍候..."
>
<el-upload
@ -1067,7 +1067,7 @@ const systemMenuTreeProps = {
</el-progress>
</el-col>
</el-row>
<el-scrollbar height="300px" ref="scrollbarRef" always>
<el-scrollbar ref="scrollbarRef" height="300px" always>
<div ref="innerRef">
<p
v-for="(item, index) in peopleMsg"
@ -1165,9 +1165,9 @@ const systemMenuTreeProps = {
<el-input v-model="ruleForm.fileName" />
<el-upload
ref="excelUploadUs"
v-loading="excelLoading"
class="upload-demo"
drag
v-loading="excelLoading"
:action="uploadUrl"
:limit="1"
:before-upload="handleExcelChange"
@ -1180,7 +1180,7 @@ const systemMenuTreeProps = {
</el-upload>
</el-form-item>
<el-form-item>
<el-button type="primary" v-loading="addTemLoading" @click="saveTemp()">
<el-button v-loading="addTemLoading" type="primary" @click="saveTemp()">
确定上传
</el-button>
<el-button @click="tempOpenClose()">取消</el-button>
@ -1260,9 +1260,9 @@ const systemMenuTreeProps = {
<div>团队角色九型人格测试</div>
<div>
<el-button
v-hasPerm="['287868103478489088']"
type="danger"
text
v-hasPerm="['287868103478489088']"
@click="selectDownTiaojian('10000003')"
>
下载
@ -1330,8 +1330,8 @@ const systemMenuTreeProps = {
</el-form>
</el-col>
<el-col
:span="24"
v-loading="excelJiexi"
:span="24"
element-loading-text="文档解析中,请稍候..."
>
<el-upload
@ -1364,7 +1364,7 @@ const systemMenuTreeProps = {
</el-progress>
</el-col>
</el-row>
<el-scrollbar height="300px" ref="scrollbarRef" always>
<el-scrollbar ref="scrollbarRef" height="300px" always>
<div ref="innerRef">
<p
v-for="(item, index) in peopleMsg"
@ -1412,7 +1412,7 @@ const systemMenuTreeProps = {
/>
</el-form-item>
<el-form-item>
<el-button type="primary" v-loading="butLoad" @click="picksubus">
<el-button v-loading="butLoad" type="primary" @click="picksubus">
确定
</el-button>
<el-button @click="resetForm(ruleFormRef)">取消</el-button>

4
src/views/hr/archives/unitpage/addUserPage.vue

@ -124,7 +124,7 @@ const handleAvatarSuccess: UploadProps["onSuccess"] = (
:destroy-on-close="true"
:before-close="closeLock"
>
<el-form :model="userInfo" :rules="rules" ref="formRef" label-width="80px">
<el-form ref="formRef" :model="userInfo" :rules="rules" label-width="80px">
<table>
<tr>
<td>
@ -146,12 +146,12 @@ const handleAvatarSuccess: UploadProps["onSuccess"] = (
</td>
<td rowspan="3" align="center">
<el-upload
v-loading="fileUploadIng"
class="avatar-uploader"
:action="imgUploadApiUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess"
:before-upload="beforeAvatarUpload"
v-loading="fileUploadIng"
>
<el-avatar shape="square" :size="180" :src="userInfo.icon" class="bianKuang" />
</el-upload>

4
src/views/hr/archives/unitpage/batchImport.vue

@ -183,8 +183,8 @@ const handleClick = () => {
</el-form>
</el-col>
<el-col
:span="24"
v-loading="excelJiexi"
:span="24"
element-loading-text="文档解析中,请稍候..."
>
<el-upload
@ -215,7 +215,7 @@ const handleClick = () => {
</el-progress>
</el-col>
</el-row>
<el-scrollbar height="300px" ref="scrollbarRef" always style="padding:10px 20px;">
<el-scrollbar ref="scrollbarRef" height="300px" always style="padding:10px 20px;">
<div ref="innerRef">
<p
v-for="(item, index) in peopleMsg"

2
src/views/hr/archives/unitpage/lockInfo.vue

@ -81,7 +81,7 @@ const resetForm = () => {
/>
</el-form-item>
<el-form-item>
<el-button type="primary" v-loading="butLoad" @click="picksubus">
<el-button v-loading="butLoad" type="primary" @click="picksubus">
确定
</el-button>
<el-button @click="resetForm(ruleFormRef)">取消</el-button>

4
src/views/hr/archives/unitpage/uploadTemplate.vue

@ -192,9 +192,9 @@ const saveTemp = () => {
<el-input v-model="ruleFormIng.fileName" />
<el-upload
ref="excelUploadUs"
v-loading="excelLoading"
class="upload-demo"
drag
v-loading="excelLoading"
:action="uploadUrl"
:limit="1"
:before-upload="handleExcelChange"
@ -207,7 +207,7 @@ const saveTemp = () => {
</el-upload>
</el-form-item>
<el-form-item>
<el-button type="primary" v-loading="addTemLoading" @click="saveTemp()">
<el-button v-loading="addTemLoading" type="primary" @click="saveTemp()">
确定上传
</el-button>
<el-button @click="tempOpenClose()">取消</el-button>

4
src/views/hr/company/companyduty copy.vue

@ -160,9 +160,9 @@ watch(
<tr class="tabelFirst">
<td></td>
<td
align="center"
v-for="(item, index) in initConter.monthAllDay"
:key="index"
align="center"
style="width: 300px"
>
{{ item }}
@ -244,7 +244,7 @@ watch(
v-model:is-open="saveOpen"
:duty-cont="saveInfo"
:cumpany-id="initConter.currentOrg"
@pickRefresh="pickRefresh"
@pick-refresh="pickRefresh"
/>
</div>
</template>

6
src/views/hr/company/companyduty.vue

@ -307,9 +307,9 @@ const upLoadOrDowan = () => {
<tr class="sticky-row">
<th class="lie_row"></th>
<th
align="center"
v-for="(item, index) in initConter.monthAllDay"
:key="index"
align="center"
style="width: 300px"
>
{{ item }}
@ -416,7 +416,7 @@ const upLoadOrDowan = () => {
:cumpany-id="initConter.currentOrg"
:curr-org-cont="currOrgCont"
:curr-org-cont-name="currOrgContName"
@pickRefresh="pickRefresh"
@pick-refresh="pickRefresh"
/>
<UploadDownloadPage
v-if="upDwOpen"
@ -425,7 +425,7 @@ const upLoadOrDowan = () => {
:curr-org-cont-name="currOrgContName"
:current-time="currentTime"
:org-list="initConter.orgList"
@pickRefresh="pickRefresh"
@pick-refresh="pickRefresh"
/>
</div>
</template>

2
src/views/hr/company/orgPeople.vue

@ -241,8 +241,8 @@ onMounted(() => {
<el-row
v-for="item in peopleAry"
:key="item.userKey"
@click="handleCurrentChange(item)"
:class="'rowInfo ' + rowClass(item)"
@click="handleCurrentChange(item)"
>
<el-col :span="4" class="imgBoxCol">
<img class="imgBox" :src="item.userAvatar ? item.userAvatar : UserIcon" />

2
src/views/hr/company/orgPeopleNew.vue

@ -246,8 +246,8 @@ onMounted(() => {
<el-row
v-for="item in peopleAry"
:key="item.userKey"
@click="handleCurrentChange(item)"
:class="'rowInfo ' + rowClass(item)"
@click="handleCurrentChange(item)"
>
<el-col :span="4" class="imgBoxCol">
<img class="imgBox" :src="item.userAvatar ? item.userAvatar : UserIcon" />

12
src/views/hr/company/savePage copy.vue

@ -140,6 +140,7 @@ const orgTreeProps = {
<el-tree-select
v-if="saveInfo.isCompany == 1"
v-model="saveInfo.baiTian"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -148,11 +149,11 @@ const orgTreeProps = {
node-key="id"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
<el-tree-select
v-else
v-model="saveInfo.baiTian"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -161,13 +162,13 @@ const orgTreeProps = {
node-key="userKey"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
</el-form-item>
<el-form-item v-if="saveInfo.holiday == 1" label="夜晚" prop="night">
<el-tree-select
v-if="saveInfo.isCompany == 1"
v-model="saveInfo.night"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -176,11 +177,11 @@ const orgTreeProps = {
node-key="id"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
<el-tree-select
v-else
v-model="saveInfo.night"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -189,13 +190,13 @@ const orgTreeProps = {
node-key="userKey"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
</el-form-item>
<el-form-item v-else label="值班" prop="allDay">
<el-tree-select
v-if="saveInfo.isCompany == 1"
v-model="saveInfo.allDay"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -204,11 +205,11 @@ const orgTreeProps = {
node-key="id"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
<el-tree-select
v-else
v-model="saveInfo.allDay"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -217,7 +218,6 @@ const orgTreeProps = {
node-key="userKey"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
</el-form-item>
</el-form>

22
src/views/hr/company/savePage.vue

@ -156,18 +156,19 @@ onMounted(() => {
<el-form-item label="节假日" prop="holiday">
<el-switch
v-model="saveInfo.holiday"
v-loading="loading"
active-value="1"
inline-prompt
inactive-value="2"
active-text="是"
inactive-text="否"
v-loading="loading"
/>
</el-form-item>
<el-form-item v-show="saveInfo.holiday == 1" label="长白" prop="baiTian">
<el-tree-select
v-if="saveInfo.isCompany == 1"
v-model="saveInfo.baiTian"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -176,11 +177,11 @@ onMounted(() => {
node-key="id"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
<el-tree-select
v-else
v-model="saveInfo.baiTian"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -189,13 +190,13 @@ onMounted(() => {
node-key="userKey"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
</el-form-item>
<el-form-item v-show="saveInfo.holiday == 1" label="夜晚" prop="night">
<el-tree-select
v-if="saveInfo.isCompany == 1"
v-model="saveInfo.night"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -204,11 +205,11 @@ onMounted(() => {
node-key="id"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
<el-tree-select
v-else
v-model="saveInfo.night"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -217,13 +218,13 @@ onMounted(() => {
node-key="userKey"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
</el-form-item>
<el-form-item v-show="saveInfo.holiday != 1" label="值班" prop="allDay">
<el-tree-select
v-if="saveInfo.isCompany == 1"
v-model="saveInfo.allDay"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -232,11 +233,11 @@ onMounted(() => {
node-key="id"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
<el-tree-select
v-else
v-model="saveInfo.allDay"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -245,7 +246,6 @@ onMounted(() => {
node-key="userKey"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
</el-form-item>
@ -253,6 +253,7 @@ onMounted(() => {
<el-tree-select
v-if="saveInfo.isCompany == 1"
v-model="saveInfo.morning"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -261,11 +262,11 @@ onMounted(() => {
node-key="id"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
<el-tree-select
v-else
v-model="saveInfo.morning"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -274,13 +275,13 @@ onMounted(() => {
node-key="userKey"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
</el-form-item>
<el-form-item label="下午" prop="afternoon">
<el-tree-select
v-if="saveInfo.isCompany == 1"
v-model="saveInfo.afternoon"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -289,11 +290,11 @@ onMounted(() => {
node-key="id"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
<el-tree-select
v-else
v-model="saveInfo.afternoon"
v-loading="loading"
:data="orgPeopleList"
multiple
clearable
@ -302,7 +303,6 @@ onMounted(() => {
node-key="userKey"
:render-after-expand="false"
style="width: 300px"
v-loading="loading"
/>
</el-form-item>
</el-form>

32
src/views/hr/company/savePageNew.vue

@ -339,29 +339,29 @@ const openPickUserPage = (val: number) => {
<el-form-item label="节假日" prop="holiday">
<el-switch
v-model="saveInfo.holiday"
v-loading="loading"
:active-value="1"
inline-prompt
:inactive-value="2"
active-text="是"
inactive-text="否"
v-loading="loading"
/>
</el-form-item>
<el-form-item v-if="saveInfo.holiday == 1" label="长白" prop="baiTian">
<el-space wrap class="eidtPickUs" v-loading="loading">
<el-space v-loading="loading" wrap class="eidtPickUs">
<el-tag
v-for="(item, index) in saveInfo.baiTianAll"
:key="item.userKey"
closable
:disable-transitions="false"
@close="delCloseTag(item.userKey, saveInfo.baiTianAll, saveInfo.baiTian)"
:key="item.userKey"
>{{ item.userName }}{{ item.userNumber }}</el-tag
>
</el-space>
<el-button
type="info"
v-loading="loading"
type="info"
round
size="small"
@click="openPickUserPage(1)"
@ -369,85 +369,85 @@ const openPickUserPage = (val: number) => {
>
</el-form-item>
<el-form-item v-if="saveInfo.holiday == 1" label="夜晚" prop="night">
<el-space wrap class="eidtPickUs" v-loading="loading">
<el-space v-loading="loading" wrap class="eidtPickUs">
<el-tag
v-for="(item, index) in saveInfo.nightAll"
:key="item.userKey"
closable
:disable-transitions="false"
@close="delCloseTag(item.userKey, saveInfo.nightAll, saveInfo.night)"
:key="item.userKey"
>{{ item.userName }}{{ item.userNumber }}</el-tag
>
</el-space>
<el-button
v-loading="loading"
type="danger"
round
size="small"
v-loading="loading"
@click="openPickUserPage(2)"
>编辑</el-button
>
</el-form-item>
<el-form-item v-if="saveInfo.holiday != 1" label="值班" prop="allDay">
<el-space wrap class="eidtPickUs" v-loading="loading">
<el-space v-loading="loading" wrap class="eidtPickUs">
<el-tag
v-for="(item, index) in saveInfo.allDayAll"
:key="item.userKey"
closable
:disable-transitions="false"
@close="delCloseTag(item.userKey, saveInfo.allDayAll, saveInfo.allDay)"
:key="item.userKey"
>{{ item.userName }}{{ item.userNumber }}</el-tag
>
</el-space>
<el-button
v-loading="loading"
type="primary"
round
size="small"
v-loading="loading"
@click="openPickUserPage(3)"
>编辑</el-button
>
</el-form-item>
<el-form-item label="上午" prop="morning">
<el-space wrap class="eidtPickUs" v-loading="loading">
<el-space v-loading="loading" wrap class="eidtPickUs">
<el-tag
v-for="(item, index) in saveInfo.morningAll"
:key="item.userKey"
closable
:disable-transitions="false"
@close="delCloseTag(item.userKey, saveInfo.morningAll, saveInfo.morning)"
:key="item.userKey"
>{{ item.userName }}{{ item.userNumber }}</el-tag
>
</el-space>
<el-button
v-loading="loading"
type="success"
round
size="small"
v-loading="loading"
@click="openPickUserPage(4)"
>编辑</el-button
>
</el-form-item>
<el-form-item label="下午" prop="afternoon">
<el-space wrap class="eidtPickUs" v-loading="loading">
<el-space v-loading="loading" wrap class="eidtPickUs">
<el-tag
v-for="(item, index) in saveInfo.afternoonAll"
:key="item.userKey"
closable
:disable-transitions="false"
@close="delCloseTag(item.userKey, saveInfo.afternoonAll, saveInfo.afternoon)"
:key="item.userKey"
>{{ item.userName }}{{ item.userNumber }}</el-tag
>
</el-space>
<el-button
v-loading="loading"
type="warning"
round
size="small"
v-loading="loading"
@click="openPickUserPage(5)"
>编辑</el-button
>

2
src/views/hr/company/uploadDownloadPage.vue

@ -326,7 +326,7 @@ watch(
<span>已完成{{ progressSize }}%</span>
</el-progress>
</div>
<el-scrollbar height="400px" class="endMsg" ref="scrollbarRef" always>
<el-scrollbar ref="scrollbarRef" height="400px" class="endMsg" always>
<div ref="innerRef">
<p v-for="(item, index) in callBackMsg" :key="index" class="endMsg lineBox">
<el-text v-if="item.attr == 1" class="endMsg mx-1" type="primary">{{

2
src/views/hr/displayboards/dimissionrate.vue

@ -136,7 +136,7 @@ onMounted(() => {
</script>
<template>
<el-card shadow="never" class="w-full">
<div class="glm-title" v-if="!!title">
<div v-if="!!title" class="glm-title">
<span class="bt">{{ title }}</span>
</div>
<div :id="id" :class="className" :style="{ height, width }" />

3
src/views/hr/displayboards/groupdimissionrate.vue

@ -141,7 +141,8 @@ onMounted(() => {
<el-select v-model="searchQuery.id" clearable placeholder="Select" @change="huatu">
<el-option v-for="item in orgListCont?.list" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
<el-date-picker v-model="searchQuery.time" type="year" format="YYYY" value-format="YYYY" placeholder="请选择时间"
<el-date-picker
v-model="searchQuery.time" type="year" format="YYYY" value-format="YYYY" placeholder="请选择时间"
@change="huatu" />
</div>

2
src/views/hr/duties/dutiesclass.vue

@ -167,7 +167,7 @@ onMounted(() => {
highlight-current-row
:data="dutiesClassInfoList"
stripe
@selection-change="handleSelectionChange" :header-cell-style="{background: '#F4F5F9'}">
:header-cell-style="{background: '#F4F5F9'}" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="名称" prop="name" />
<el-table-column label="金蝶对照码" prop="kingdeeid" width="300" />

25
src/views/hr/duties/dutiescont.vue

@ -130,7 +130,8 @@ onMounted(() => {
<el-form-item label="所属职务分类" prop="class">
<el-select v-model="searchDutiesForm.jobid" clearable placeholder="请选择所属职务分类" class="select-width180">
<el-option v-for="item in dutiesClassInfoList" :key="item.id" :label="item.name"
<el-option
v-for="item in dutiesClassInfoList" :key="item.id" :label="item.name"
:value="item.id" :v-loading="dutiesSelectLoading" />
</el-select>
@ -171,28 +172,32 @@ onMounted(() => {
<span class="select-text">已选 {{ selectTableLength }} </span>
</div>
<el-table v-loading="dutiesTableLoading" highlight-current-row :data="dutiesInfo" stripe
@selection-change="handleSelectDuitesChange
" :header-cell-style="{background: '#F4F5F9'}">
<el-table
v-loading="dutiesTableLoading" highlight-current-row :data="dutiesInfo" stripe
:header-cell-style="{background: '#F4F5F9'}" @selection-change="handleSelectDuitesChange
">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="职务编号" prop="number" width="200" />
<el-table-column label="名称" prop="name" />
<el-table-column label="所属分类" prop="dutiesclassname" width="160" align="center" />
<el-table-column v-hasPerm="['127330670157508608']" label="状态" prop="state" width="100" align="center">
<template #default="scope">
<el-switch v-model="scope.row.status" class="ml-2" inline-prompt
<el-switch
v-model="scope.row.status" class="ml-2" inline-prompt
style="--el-switch-on-color: #1E5EFF" @change="editDuitesState(scope.row.id, scope.row.status)" />
</template>
</el-table-column>
<el-table-column label="权重" prop="weight" width="80" align="center" />
<el-table-column fixed="right" align="center" label="操作" width="180">
<template #default="scope">
<el-button v-hasPerm="['126692035448025088']" type="primary" link size="small"
<el-button
v-hasPerm="['126692035448025088']" type="primary" link size="small"
@click.stop="openEditDutiesDialog(scope.row)">
<!-- <i-ep-edit /> -->
编辑
</el-button>
<el-button v-hasPerm="['126692156957011968']" type="primary" link size="small"
<el-button
v-hasPerm="['126692156957011968']" type="primary" link size="small"
@click.stop="handleDelDutiesCont(scope.row)">
<!-- <i-ep-delete /> -->
删除
@ -200,11 +205,13 @@ onMounted(() => {
</template>
</el-table-column>
</el-table>
<pagination v-if="total > 0" v-model:total="total" v-model:page="searchDutiesForm.page"
<pagination
v-if="total > 0" v-model:total="total" v-model:page="searchDutiesForm.page"
v-model:limit="searchDutiesForm.pagesize" @pagination="getDutiesList" />
</el-card>
<AddDuites v-model:addShow="addDutiesBox" :dituestypelist="dutiesClassInfoList" @restdatalist="getDutiesList" />
<EditDuites v-model:editShow="editDutiesBox" :dutiescontpage="dutiesInfoCont"
<EditDuites
v-model:editShow="editDutiesBox" :dutiescontpage="dutiesInfoCont"
:dituestypelist="dutiesClassInfoList" @restdatalist="getDutiesList" />
</div>
</template>

29
src/views/hr/organization/index.vue

@ -144,12 +144,14 @@ onMounted(() => {
<el-row style="padding-left: 20px;">
<el-col :span="19">
<el-form-item label="关键字" prop="keywords">
<el-input v-model="searchOrgContFrom.keywords" placeholder="行政组织名称/编号" clearable
<el-input
v-model="searchOrgContFrom.keywords" placeholder="行政组织名称/编号" clearable
@keyup.enter="searchOrgContFrom" />
</el-form-item>
<el-form-item label="行政组织类别" prop="class">
<el-select v-model="searchOrgContFrom.class" clearable placeholder="请选择行政组织类别" style="width: 180px;">
<el-option v-for="item in orgClassList" :key="item.id" :label="item.name"
<el-option
v-for="item in orgClassList" :key="item.id" :label="item.name"
:value="item.id" />
</el-select>
</el-form-item>
@ -178,9 +180,10 @@ onMounted(() => {
</el-button>
</div>
<el-table v-loading="tableLoading" :data="orgTableList" highlight-current-row
<el-table
v-loading="tableLoading" :data="orgTableList" highlight-current-row
:tree-props="{ children: 'child', hasChildren: 'haschild' }" row-key="id" stripe
@row-click="onOrgRowClick" :header-cell-style="{background: '#F4F5F9'}">
:header-cell-style="{background: '#F4F5F9'}" @row-click="onOrgRowClick">
<el-table-column fixed label="编号" prop="number" width="120" align="left" />
<el-table-column fixed label="行政组织名称" prop="name" min-width="130" show-overflow-tooltip />
<el-table-column label="行政组织简称" prop="abbreviation" min-width="110" />
@ -197,22 +200,26 @@ onMounted(() => {
<template #default="scope">
<!-- active-text="启用"
inactive-text="禁用" -->
<el-switch v-model="scope.row.status" class="ml-2" inline-prompt
<el-switch
v-model="scope.row.status" class="ml-2" inline-prompt
style="--el-switch-on-color: #1E5EFF;"
@change="editOrgContState(scope.row.id, scope.row.status)" />
</template>
</el-table-column>
<el-table-column fixed="right" align="center" label="操作" width="220">
<template #default="scope">
<el-button v-hasPerm="['125601218356588544']" type="primary" link size="small"
<el-button
v-hasPerm="['125601218356588544']" type="primary" link size="small"
@click.stop="openAddOrgDialog(scope.row)">
新增
</el-button>
<el-button v-hasPerm="['125601298207748096']" type="primary" link size="small"
<el-button
v-hasPerm="['125601298207748096']" type="primary" link size="small"
@click.stop="openEditOrgDialog(scope.row)">
编辑
</el-button>
<el-button v-hasPerm="['125601398141235200']" type="primary" link size="small"
<el-button
v-hasPerm="['125601398141235200']" type="primary" link size="small"
@click.stop="handleDeleteOrgCont(scope.row)">
删除
</el-button>
@ -222,9 +229,11 @@ onMounted(() => {
</el-card>
<AddOrgCont v-model:addOrgIsShow="addOrgBoxIsShow" :addorginfocont="orgInfoCont" :orgclasslistary="orgClassList"
<AddOrgCont
v-model:addOrgIsShow="addOrgBoxIsShow" :addorginfocont="orgInfoCont" :orgclasslistary="orgClassList"
@refreshorgtree="haveOrgTreeInfo" />
<EditOrgCont v-model:editOrgIsShow="editOrgBoxIsShow" :editorginfocont="orgInfoCont"
<EditOrgCont
v-model:editOrgIsShow="editOrgBoxIsShow" :editorginfocont="orgInfoCont"
:orgclasslistary="orgClassList" @refreshorgtree="haveOrgTreeInfo" />
</div>
</template>

32
src/views/hr/organization/orgclass.vue

@ -124,7 +124,8 @@ onMounted(() => {
<el-row style="padding-left: 20px;">
<el-col :span="19">
<el-form-item label="关键字" prop="keywords">
<el-input v-model="searchParams.name" placeholder="组织分类名称" clearable
<el-input
v-model="searchParams.name" placeholder="组织分类名称" clearable
@keyup.enter="getOrgClassList" />
</el-form-item>
</el-col>
@ -145,25 +146,28 @@ onMounted(() => {
</template>
<div style="margin-bottom: 15px;height: 32px;display: flex;">
<el-button type="primary" @click="addOrgClassDialog()" v-hasPerm="['125600836821725184']">
<el-button v-hasPerm="['125600836821725184']" type="primary" @click="addOrgClassDialog()">
<i-ep-plus />
新增
</el-button>
<el-button v-hasPerm="['125601028748881920']" plain type="primary" :disabled="tableIds.length === 0"
<el-button
v-hasPerm="['125601028748881920']" plain type="primary" :disabled="tableIds.length === 0"
@click="handleDeleteOrgClass()">
<i-ep-delete />删除
</el-button>
<span class="select-text">已选 {{ selectTableLength }} </span>
</div>
<el-table v-loading="tableLoading" highlight-current-row :data="orgClassList" stripe
@selection-change="handleClassIdChange" :header-cell-style="{ background: '#F4F5F9' }">
<el-table
v-loading="tableLoading" highlight-current-row :data="orgClassList" stripe
:header-cell-style="{ background: '#F4F5F9' }" @selection-change="handleClassIdChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="名称" prop="name" width="200" />
<el-table-column label="等级" prop="level" width="80" align="center" />
<el-table-column v-hasPerm="['125600973455372288']" label="状态" prop="state" width="100" align="center">
<template #default="scope">
<el-switch v-model="scope.row.status" class="ml-2" inline-prompt
<el-switch
v-model="scope.row.status" class="ml-2" inline-prompt
style="--el-switch-on-color: #1E5EFF" @change="editOrgClassState(scope.row.id, scope.row.status)" />
</template>
</el-table-column>
@ -171,21 +175,25 @@ onMounted(() => {
<el-table-column fixed="right" label="操作" align="center" width="220">
<template #default="scope">
<el-button v-hasPerm="['125600893021204480']" type="primary" link size="small"
<el-button
v-hasPerm="['125600893021204480']" type="primary" link size="small"
@click.stop="editOrgTypeDialog(scope.row)">编辑</el-button>
<el-button v-hasPerm="['125601028748881920']" type="primary" link size="small"
<el-button
v-hasPerm="['125601028748881920']" type="primary" link size="small"
@click.stop="handleDeleteOrgClass(scope.row.id)">删除</el-button>
</template>
</el-table-column>
</el-table>
<pagination v-if="total > 0" v-model:total="total" v-model:page="searchParams.page"
<pagination
v-if="total > 0" v-model:total="total" v-model:page="searchParams.page"
v-model:limit="searchParams.pagesize" @pagination="getOrgClassList" />
</el-card>
<AddOrgClassCont v-model:addIsSow="addOrgCalssBox" @closeAddOrgTypesBoxFn="closeAddOrgTypesBox" />
<EditOrgClassCont v-model:editIsSow="editOrgCalssBox" :orgtypeinfo="orgClassInco"
@closeAddOrgTypesBoxFn="closeAddOrgTypesBox" />
<AddOrgClassCont v-model:addIsSow="addOrgCalssBox" @close-add-org-types-box-fn="closeAddOrgTypesBox" />
<EditOrgClassCont
v-model:editIsSow="editOrgCalssBox" :orgtypeinfo="orgClassInco"
@close-add-org-types-box-fn="closeAddOrgTypesBox" />
</div>
</template>
<style lang='scss' scoped>

2
src/views/hr/organization/orgtypes/editorgclasscont.vue

@ -93,8 +93,8 @@ function submiteditOrgCalssForm(){
<template>
<el-dialog v-model="editOrgClassLoading" custom-class="dialog_box" :title="titlename" :before-close="closeeditOrgTypes" width="400">
<el-form
v-loading="editFromLoading"
ref="editOrgClassFormRef"
v-loading="editFromLoading"
:model="editOrgClassCont"
:rules="editOrgClassRules"
label-width="100px"

29
src/views/hr/postjob/index.vue

@ -192,7 +192,8 @@ onMounted(() => {
<el-container class="app-container">
<el-aside width="200px" style="background-color: #fff;">
<el-button type="primary" style="width: 100%; margin: 10px 0;" @click="resetChecked">查看全部</el-button>
<el-tree ref="orgTreeRef" v-loading="orgTreeLoading" node-key="id" class="orgTree" :data="orgTreeList"
<el-tree
ref="orgTreeRef" v-loading="orgTreeLoading" node-key="id" class="orgTree" :data="orgTreeList"
:props="orgTreeProps" :expand-on-click-node="false" :check-on-click-node="true"
:check-strictly="true" :default-expand-all="true" @node-click="handleOrgTreeNodeClick" />
@ -274,8 +275,9 @@ onMounted(() => {
<span class="select-text">已选 {{ selectTableLength }} </span>
</div>
<el-table v-loading="postTableLoading" highlight-current-row :data="postList" stripe
@selection-change="handleSelectionChange" :header-cell-style="{background: '#F4F5F9'}">
<el-table
v-loading="postTableLoading" highlight-current-row :data="postList" stripe
:header-cell-style="{background: '#F4F5F9'}" @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="55" align="center" />
<el-table-column fixed label="名称" prop="name" show-overflow-tooltip />
<el-table-column label="职位编号" prop="number" show-overflow-tooltip/>
@ -286,22 +288,26 @@ onMounted(() => {
</el-table-column>
<el-table-column label="相关职务" prop="dutiesname" width="150" align="center" />
<el-table-column label="归属分类" prop="jobname" width="150" align="center" />
<el-table-column v-hasPerm="['127711054456172544']" label="状态" prop="status" width="100"
<el-table-column
v-hasPerm="['127711054456172544']" label="状态" prop="status" width="100"
align="center">
<template #default="scope">
<el-switch v-model="scope.row.status" class="ml-2" inline-prompt
<el-switch
v-model="scope.row.status" class="ml-2" inline-prompt
style="--el-switch-on-color: #1E5EFF"
@change="editPostState(scope.row.id, scope.row.state)" />
</template>
</el-table-column>
<el-table-column fixed="right" align="center" label="操作" width="150">
<template #default="scope">
<el-button v-hasPerm="['127710903461228544']" type="primary" link size="small"
<el-button
v-hasPerm="['127710903461228544']" type="primary" link size="small"
@click.stop="openEditPostDialog(scope.row)">
<!-- <i-ep-edit /> -->
编辑
</el-button>
<el-button v-hasPerm="['127711207552462848']" type="primary" link size="small"
<el-button
v-hasPerm="['127711207552462848']" type="primary" link size="small"
@click.stop="handleDeletePost(scope.row)">
<!-- <i-ep-delete /> -->
删除
@ -310,14 +316,17 @@ onMounted(() => {
</el-table-column>
</el-table>
<pagination v-if="total > 0" v-model:total="total" v-model:page="searchPostFrom.page"
<pagination
v-if="total > 0" v-model:total="total" v-model:page="searchPostFrom.page"
v-model:limit="searchPostFrom.pagesize" @pagination="searchPostQuery" />
</el-card>
</div>
<AddPostPage v-model:addShow="addPostBox" :dutieslist="dutiesInfo" :orgtreelistary="orgTreeList"
<AddPostPage
v-model:addShow="addPostBox" :dutieslist="dutiesInfo" :orgtreelistary="orgTreeList"
@restdatalist="searchPostQuery" />
<EditPostPage v-model:editShow="editPostBox" :dutieslist="dutiesInfo" :postdatacont="postData"
<EditPostPage
v-model:editShow="editPostBox" :dutieslist="dutiesInfo" :postdatacont="postData"
:orgtreelistary="orgTreeList" @restdatalist="searchPostQuery" />
</el-main>
</el-container>

4
src/views/hr/teams/anchorPage.vue

@ -79,7 +79,7 @@ const gaveAllAppList = () => {
watch(
() => formContent.appKey,
(val: any) => {
if (appList && appList.value.length > 0) {
if (appList.value && appList.value.length > 0) {
appList.value.forEach((iten: any) => {
if (iten.app_id == val) {
tableList.value = iten.list;
@ -98,7 +98,7 @@ watch(
@ 功能: 提交调班配置表
*/
const onSubmitPick = () => {
if (appList && appList.value.length > 0) {
if (appList.value && appList.value.length > 0) {
appList.value.forEach((iten: any) => {
if (iten.app_id == formContent.appKey) {
sendData.appid = iten.app_id;

4
src/views/hr/teams/batchImportTimePeople.vue

@ -115,8 +115,8 @@ const inintTimeDatas = () => {
<template>
<el-row>
<el-col
:span="24"
v-loading="excelLoading"
:span="24"
element-loading-text="文档解析中,请稍候..."
>
<el-upload
@ -141,7 +141,7 @@ const inintTimeDatas = () => {
</el-progress>
</el-col>
</el-row>
<el-scrollbar height="300px" ref="scrollbarRef" always>
<el-scrollbar ref="scrollbarRef" height="300px" always>
<div ref="innerRef">
<p v-for="(item, index) in peopleMsg" :key="index" class="scrollbar-demo-item">
{{ item }}

6
src/views/hr/teams/classTime/addClass.vue

@ -299,9 +299,9 @@ const addContsubmit = () => {
<el-table-column align="center" label="开始与结束时间">
<template #default="scope">
<el-time-select
v-model="scope.row.startTime"
style="width: 120px"
placeholder="起始时间"
v-model="scope.row.startTime"
start="00:00"
step="00:01"
end="23:59"
@ -309,9 +309,9 @@ const addContsubmit = () => {
</el-time-select>
<el-time-select
v-model="scope.row.endTime"
style="width: 120px"
placeholder="结束时间"
v-model="scope.row.endTime"
:min-time="scope.row.startTime"
start="00:00"
step="00:01"
@ -383,7 +383,7 @@ const addContsubmit = () => {
</el-form>
<template #footer class="el_dialog__footer">
<div class="dialog-footer">
<el-button size="small" type="primary" @click="addContsubmit" :loading="sunmitBut"
<el-button size="small" type="primary" :loading="sunmitBut" @click="addContsubmit"
> </el-button
>
<el-button size="small" @click="closeDialog"> </el-button>

6
src/views/hr/teams/classTime/addNewClass.vue

@ -170,9 +170,9 @@ const addContsubmit = () => {
<el-table-column align="center" label="开始与结束时间">
<template #default="scope">
<el-time-select
v-model="scope.row.startTime"
style="width: 120px"
placeholder="起始时间"
v-model="scope.row.startTime"
start="00:00"
step="00:01"
end="23:59"
@ -180,9 +180,9 @@ const addContsubmit = () => {
</el-time-select>
<el-time-select
v-model="scope.row.endTime"
style="width: 120px"
placeholder="结束时间"
v-model="scope.row.endTime"
:min-time="scope.row.startTime"
start="00:00"
step="00:01"
@ -212,7 +212,7 @@ const addContsubmit = () => {
</el-form>
<template #footer class="el_dialog__footer">
<div class="dialog-footer">
<el-button size="small" type="primary" @click="addContsubmit" :loading="sunmitBut"
<el-button size="small" type="primary" :loading="sunmitBut" @click="addContsubmit"
> </el-button
>
<el-button size="small" @click="closeDialog"> </el-button>

2
src/views/hr/teams/classTime/dayInfoPage.vue

@ -60,7 +60,7 @@ const searchtData = (val: any, time?: any) => {
</div>
<div class="dayList">
<div v-if="false" class="dayLogCont" @click="lookPageInfo">白班</div>
<div v-if="col.list != bull" v-for="itemCol in col.list" @click="lookPageInfo">
<div v-for="itemCol in col.list" v-if="col.list != bull" @click="lookPageInfo">
{{ itemCol.rankName }}---{{ itemCol.rulesName }}
</div>
</div>

4
src/views/hr/teams/classTime/dayPage.vue

@ -98,13 +98,13 @@ defineExpose({
{{ curttWeek }}
</li>
</ul>
<div class="t-calendar-day" v-loading="loadDay">
<div v-loading="loadDay" class="t-calendar-day">
<template v-if="dayInfo">
<div class="t-calendar-row">
<DayInfoPage
:col="dayInfo"
:time="selectedTime"
@changeTargetDate="changeDate"
@change-target-date="changeDate"
></DayInfoPage>
</div>
</template>

6
src/views/hr/teams/classTime/editClass.vue

@ -272,9 +272,9 @@ const editContsubmit = () => {
<el-table-column align="center" label="开始与结束时间">
<template #default="scope">
<el-time-select
v-model="scope.row.startTime"
style="width: 120px"
placeholder="起始时间"
v-model="scope.row.startTime"
start="00:00"
step="00:01"
end="23:59"
@ -282,9 +282,9 @@ const editContsubmit = () => {
</el-time-select>
<el-time-select
v-model="scope.row.endTime"
style="width: 120px"
placeholder="结束时间"
v-model="scope.row.endTime"
:min-time="scope.row.startTime"
start="00:00"
step="00:01"
@ -356,7 +356,7 @@ const editContsubmit = () => {
</el-form>
<template #footer class="el_dialog__footer">
<div class="dialog-footer">
<el-button size="small" type="primary" @click="editContsubmit" :loading="editBut"
<el-button size="small" type="primary" :loading="editBut" @click="editContsubmit"
> </el-button
>
<el-button size="small" @click="closeEditDialog"> </el-button>

6
src/views/hr/teams/classTime/editNewClass.vue

@ -181,9 +181,9 @@ const editContsubmit = () => {
<el-table-column align="center" label="开始与结束时间">
<template #default="scope">
<el-time-select
v-model="scope.row.startTime"
style="width: 120px"
placeholder="起始时间"
v-model="scope.row.startTime"
start="00:00"
step="00:01"
end="23:59"
@ -191,9 +191,9 @@ const editContsubmit = () => {
</el-time-select>
<el-time-select
v-model="scope.row.endTime"
style="width: 120px"
placeholder="结束时间"
v-model="scope.row.endTime"
:min-time="scope.row.startTime"
start="00:00"
step="00:01"
@ -223,7 +223,7 @@ const editContsubmit = () => {
</el-form>
<template #footer class="el_dialog__footer">
<div class="dialog-footer">
<el-button size="small" type="primary" @click="editContsubmit" :loading="editBut"
<el-button size="small" type="primary" :loading="editBut" @click="editContsubmit"
> </el-button
>
<el-button size="small" @click="closeEditDialog"> </el-button>

2
src/views/hr/teams/classTime/monthInfoPage.vue

@ -60,7 +60,7 @@ const searchtData = (val: any, time?: any) => {
</div>
<div class="dayList">
<div v-if="false" class="dayLogCont" @click="lookPageInfo">白班</div>
<div v-if="col.list != bull" v-for="itemCol in col.list" @click="lookPageInfo">
<div v-for="itemCol in col.list" v-if="col.list != bull" @click="lookPageInfo">
{{ itemCol.rankName }}---{{ itemCol.rulesName }}
</div>
</div>

6
src/views/hr/teams/classTime/monthPage.vue

@ -110,12 +110,12 @@ const THeader = Calendar.title();
</ul>
<div v-loading="loadMonth" class="t-calendar-day">
<template v-if="TBody && TBody.length">
<div class="t-calendar-row" v-for="(item, index) in TBody" :key="index">
<div class="t-calendar-col" v-for="(col, colIdx) in item" :key="colIdx">
<div v-for="(item, index) in TBody" :key="index" class="t-calendar-row">
<div v-for="(col, colIdx) in item" :key="colIdx" class="t-calendar-col">
<MonthInfoPage
:col="col"
:time="selectedTime"
@changeTargetDate="changeDate"
@change-target-date="changeDate"
></MonthInfoPage>
</div>
</div>

2
src/views/hr/teams/classTime/setupPollingPage.vue

@ -223,7 +223,7 @@ const setupContsubmit = () => {
</el-form>
<template #footer class="el_dialog__footer">
<div class="dialog-footer">
<el-button size="small" type="primary" @click="setupContsubmit" :loading="editBut"
<el-button size="small" type="primary" :loading="editBut" @click="setupContsubmit"
> </el-button
>
<el-button size="small" @click="closeSetupDialog"> </el-button>

2
src/views/hr/teams/classTime/setupShiftRules.vue

@ -237,8 +237,8 @@ const setOrgRulessubmit = () => {
<el-button
size="small"
type="primary"
@click="setOrgRulessubmit"
:loading="loadRules"
@click="setOrgRulessubmit"
> </el-button
>
<el-button size="small" @click="closeRulesDialog"> </el-button>

4
src/views/hr/teams/classTime/setupTimePage/workTimePage.vue

@ -618,10 +618,10 @@ defineExpose({
</div>
<div class="selectBox">
<el-select
:key="index + '_' + itemDay.id + '_' + indexDay"
v-model="itemDay.value"
placeholder="请选择工作时间段"
clearable
:key="index + '_' + itemDay.id + '_' + indexDay"
>
<el-option
v-for="itemGroup in props.teamInfo.list"
@ -656,7 +656,7 @@ defineExpose({
</tr>
<tr>
<td :colspan="props.pickCycle == 1 ? 3 : 2">
<el-button @click="addTeamsInfo" type="success" style="margin-bottom: 5px"
<el-button type="success" style="margin-bottom: 5px" @click="addTeamsInfo"
>添加参数班次</el-button
>
</td>

2
src/views/hr/teams/classTime/weekInfoPage.vue

@ -60,7 +60,7 @@ const searchtData = (val: any, time?: any) => {
</div>
<div class="dayList">
<div v-if="false" class="dayLogCont" @click="lookPageInfo">白班</div>
<div v-if="col.list != bull" v-for="itemCol in col.list" @click="lookPageInfo">
<div v-for="itemCol in col.list" v-if="col.list != bull" @click="lookPageInfo">
{{ itemCol.rankName }}---{{ itemCol.rulesName }}
</div>
</div>

6
src/views/hr/teams/classTime/weekPage.vue

@ -100,13 +100,13 @@ defineExpose({
{{ item }}
</li>
</ul>
<div class="t-calendar-day" v-loading="loadWeek">
<div v-loading="loadWeek" class="t-calendar-day">
<template v-if="WeekBody && WeekBody.length">
<div class="t-calendar-row" v-for="(item, index) in WeekBody" :key="index">
<div v-for="(item, index) in WeekBody" :key="index" class="t-calendar-row">
<WeekInfoPage
:col="item"
:time="selectedTime"
@changeTargetDate="changeDate"
@change-target-date="changeDate"
></WeekInfoPage>
</div>
</template>

4
src/views/hr/teams/classes.vue

@ -173,14 +173,14 @@ const quoteAnchor = () => {
<el-table-column label="状态" width="100">
<template #default="scope">
<el-switch
@change="switchChange(scope.row)"
style="display: block"
v-model="scope.row.states"
style="display: block"
active-color="#13ce66"
inactive-color="#ff4949"
active-text="启用"
inactive-text="禁用"
inline-prompt
@change="switchChange(scope.row)"
>
</el-switch>
</template>

4
src/views/hr/teams/classes_20250121black.vue

@ -145,14 +145,14 @@ onMounted(() => {
<el-table-column label="状态" width="100">
<template #default="scope">
<el-switch
@change="switchChange(scope.row)"
style="display: block"
v-model="scope.row.states"
style="display: block"
active-color="#13ce66"
inactive-color="#ff4949"
active-text="启用"
inactive-text="禁用"
inline-prompt
@change="switchChange(scope.row)"
>
</el-switch>
</template>

8
src/views/hr/teams/index.vue

@ -318,9 +318,9 @@ const downloadPage = () => {};
<div style="margin-bottom: 15px; height: 32px; display: flex">
<el-button
v-hasPerm="['339372544081539072']"
type="primary"
@click="addOrgClassDialog()"
v-hasPerm="['339372544081539072']"
>
<i-ep-plus />
新增
@ -342,8 +342,8 @@ const downloadPage = () => {};
highlight-current-row
:data="tiemList"
stripe
@selection-change="handleClassIdChange"
:header-cell-style="{ background: '#F4F5F9' }"
@selection-change="handleClassIdChange"
>
<!-- <el-table-column type="selection" width="55" align="center" /> -->
<el-table-column label="班组名称" prop="name" />
@ -456,9 +456,9 @@ const downloadPage = () => {};
:before-close="closeBatchImport"
>
<BatchImportTimePeople
v-model:is-show="setupOpen"
:id="setupTeimId"
@closeOpen="closeBatchImport"
v-model:is-show="setupOpen"
@close-open="closeBatchImport"
/>
</el-dialog>

14
src/views/hr/teams/scheduling.vue

@ -411,20 +411,20 @@ const setupOrgRules = () => {
<el-button size="small" @click="goTady()">今天</el-button>
<el-button
:color="curtteDayType == 1 ? '#a0cfff' : ''"
@click="pickTime(1)"
size="small"
@click="pickTime(1)"
></el-button
>
<el-button
:color="curtteDayType == 2 ? '#a0cfff' : ''"
@click="pickTime(2)"
size="small"
@click="pickTime(2)"
></el-button
>
<el-button
:color="curtteDayType == 3 ? '#a0cfff' : ''"
@click="pickTime(3)"
size="small"
@click="pickTime(3)"
></el-button
>
<el-button
@ -442,20 +442,20 @@ const setupOrgRules = () => {
</div>
<div class="weekNumber">
<MonthPage
ref="monthPageRef"
v-if="curtteDayType == 1"
ref="monthPageRef"
:ta-day="taday"
:org-id="cureeOrgId"
/>
<WeekPage
ref="weekPageRef"
v-if="curtteDayType == 2"
ref="weekPageRef"
:ta-day="taday"
:org-id="cureeOrgId"
/>
<DayPage
ref="dayPageRef"
v-if="curtteDayType == 3"
ref="dayPageRef"
:ta-day="taday"
:org-id="cureeOrgId"
/>
@ -467,7 +467,7 @@ const setupOrgRules = () => {
:org-id="cureeOrgId"
:org-name="cureeOrgName"
:ruler-info="teamRulerIsm"
@updateShiftRules="updateShiftRules"
@update-shift-rules="updateShiftRules"
/>
</el-main>
</el-container>

12
src/views/hr/userBox.vue

@ -169,25 +169,25 @@ onMounted(() => {
@input="searchData"
/>
<OrgPage
ref="orgUs"
v-if="userTypes == 1"
ref="orgUs"
:org-true="orgTrue"
:pick-list="pickListAry"
@updataPickLog="updataPickLog"
@updata-pick-log="updataPickLog"
/>
<OrgRolePage
ref="orgUsRole"
v-if="userTypes == 2"
ref="orgUsRole"
:org-true="orgTrue"
:pick-list="pickListAry"
@updataPickLog="updataPickLog"
@updata-pick-log="updataPickLog"
/>
<RolePageIng
ref="rolePage"
v-if="userTypes == 3"
ref="rolePage"
:org-true="orgTrue"
:pick-list="pickListAry"
@updataPickLog="updataPickLog"
@updata-pick-log="updataPickLog"
/>
</el-col>

5
src/views/knowledge/ask/cc.vue

@ -9,7 +9,7 @@
<el-col :span="12">
<el-form>
<el-form-item label="问题">
<el-input placeholder="请输入要查询的问题" v-model="searchName" style="width: 350px;"></el-input>
<el-input v-model="searchName" placeholder="请输入要查询的问题" style="width: 350px;"></el-input>
</el-form-item>
</el-form>
@ -25,7 +25,8 @@
</el-icon></el-button>
</div>
<div style="margin: 20px;">
<el-table ref="multipleTableRef" :data="tableData" stripe style="width: 100%;"
<el-table
ref="multipleTableRef" :data="tableData" stripe style="width: 100%;"
:header-cell-style="{'background': '#F4F5F9', 'text-align': 'center' }">
<el-table-column type="selection" />
<el-table-column prop="name" show-overflow-tooltip label="问题" :resizable="false" />

5
src/views/knowledge/dataupload/zypfj.vue

@ -7,7 +7,7 @@
ID:<el-input v-model="id" placeholder="请输入ID" clearable></el-input>
</div>
<div class="grid-item" style="--span: 4">
<el-button type="primary" @click="getTicketNumber" :loading="loading">获取作业票编号</el-button>
<el-button type="primary" :loading="loading" @click="getTicketNumber">获取作业票编号</el-button>
</div>
</div>
@ -22,7 +22,8 @@
<!-- 第三行选择文件 -->
<div class="grid-row">
<div class="grid-item" style="--span: 12">
<el-upload class="upload-demo" :action="downloadUrl" :data="{
<el-upload
class="upload-demo" :action="downloadUrl" :data="{
id: id,
ticketNumber: ticketNumber,
zypTypeId: zypTypeId

13
src/views/knowledge/knowledge/index.vue

@ -160,10 +160,12 @@ onMounted(() => {
<div class="content1">
<!-- <div class="model-title">{{ activeTitle }}</div> -->
<div class="grid-tuijian">
<el-carousel indicator-position="outside" class="mycarousel" arrow="always" v-if="active === 'tuijian'">
<el-carousel-item v-for="(item, index) in carousel" :key="index"
<el-carousel v-if="active === 'tuijian'" indicator-position="outside" class="mycarousel" arrow="always">
<el-carousel-item
v-for="(item, index) in carousel" :key="index"
@click="showContentDialog(item)">
<img style="width: 100%; height: 256px;border-radius:8px;"
<img
style="width: 100%; height: 256px;border-radius:8px;"
referrerpolicy="no-referrer" :src="item.gThumbnail" fit="fill" loading="lazy"
@error="errorImg($event)" />
</el-carousel-item>
@ -179,8 +181,9 @@ onMounted(() => {
</div>
</div>
<div class="pagination-box">
<el-pagination background v-if="pageParamTuijian.total > 0" v-model:current-page="pageParamTuijian.page"
v-model:page-size="pageParamTuijian.pagesize"
<el-pagination
v-if="pageParamTuijian.total > 0" v-model:current-page="pageParamTuijian.page" v-model:page-size="pageParamTuijian.pagesize"
background
:total="pageParamTuijian.total" @current-change="handleCurrentChange" />
</div>
</div>

13
src/views/knowledge/news/index.vue

@ -159,10 +159,12 @@ onMounted(() => {
<div class="content1">
<!-- <div class="model-title">{{ activeTitle }}</div> -->
<div class="grid-tuijian">
<el-carousel indicator-position="outside" class="mycarousel" arrow="always" v-if="active === 'tuijian'">
<el-carousel-item v-for="(item, index) in carousel" :key="index"
<el-carousel v-if="active === 'tuijian'" indicator-position="outside" class="mycarousel" arrow="always">
<el-carousel-item
v-for="(item, index) in carousel" :key="index"
@click="showContentDialog(item)">
<img style="width: 100%; height: 256px;border-radius:8px;"
<img
style="width: 100%; height: 256px;border-radius:8px;"
referrerpolicy="no-referrer" :src="item.gThumbnail" fit="fill" loading="lazy"
@error="errorImg($event)" />
</el-carousel-item>
@ -178,8 +180,9 @@ onMounted(() => {
</div>
</div>
<div class="pagination-box">
<el-pagination background v-if="pageParamTuijian.total > 0" v-model:current-page="pageParamTuijian.page"
v-model:page-size="pageParamTuijian.pagesize"
<el-pagination
v-if="pageParamTuijian.total > 0" v-model:current-page="pageParamTuijian.page" v-model:page-size="pageParamTuijian.pagesize"
background
:total="pageParamTuijian.total" @current-change="handleCurrentChange" />
</div>
</div>

2
src/views/login/index.vue

@ -70,8 +70,8 @@
</el-form-item>
<el-button
size="default"
v-loading="loading"
size="default"
type="primary"
class="w-full"
@click.prevent="handleLogin"

2
src/views/login/silentlogin.vue

@ -72,7 +72,7 @@ const startCountdown = () => {
} else {
clearInterval(timer); //
countdown.value = '0秒'; //
if(yesOrNo){
if(yesOrNo.value){
goSuccess()
}else{
goError()

27
src/views/matrix/index.vue

@ -161,7 +161,8 @@ onMounted(() => {
<el-aside width="340px" style="padding: 10px 10px;">
<el-card :body-style="{ height: '100%', padding: '0px 5px' }">
<el-button type="primary" style="width: 100%; margin: 10px 0;" @click="resetChecked">查看全部</el-button>
<el-tree ref="orgTreeRef" v-loading="orgTreeLoading" node-key="id" class="orgTree" :data="orgTreeList"
<el-tree
ref="orgTreeRef" v-loading="orgTreeLoading" node-key="id" class="orgTree" :data="orgTreeList"
:props="orgTreeProps" :expand-on-click-node="false" :check-on-click-node="true"
:check-strictly="true" :default-expand-all="false" @node-click="handleOrgTreeNodeClick" />
</el-card>
@ -194,7 +195,8 @@ onMounted(() => {
<i-ep-delete />删除</el-button>
<span class="select-text">已选 {{ selectTableLength }} </span>
</div>
<el-table v-loading="loading" :data="matrixContList" stripe
<el-table
v-loading="loading" :data="matrixContList" stripe
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="矩阵名称" prop="name" width="150" />
@ -202,30 +204,37 @@ onMounted(() => {
<el-table-column label="归属行政组织" width="300" prop="orgname" show-overflow-tooltip/>
<el-table-column fixed="right" label="操作" align="center" width="320">
<template #default="scope">
<el-button v-hasPerm="['124067026950959104']" type="primary" link size="small"
<el-button
v-hasPerm="['124067026950959104']" type="primary" link size="small"
@click.stop="openSetupFrameDialog(scope.row)">配置字段
</el-button>
<el-button v-hasPerm="['124067108593086464']" type="primary" link size="small"
<el-button
v-hasPerm="['124067108593086464']" type="primary" link size="small"
@click.stop="openSetupUsersDialog(scope.row)">配置矩阵关系
</el-button>
<el-button v-hasPerm="['124066883237326848']" type="primary" link size="small"
<el-button
v-hasPerm="['124066883237326848']" type="primary" link size="small"
@click.stop="openEditMatriexDialog(scope.row)">编辑
</el-button>
<el-button v-hasPerm="['124066956029472768']" type="primary" link size="small"
<el-button
v-hasPerm="['124066956029472768']" type="primary" link size="small"
@click.stop="handleDelete(scope.row.id)">删除
</el-button>
</template>
</el-table-column>
</el-table>
<pagination v-if="total > 0" v-model:total="total" v-model:page="searchArchiveQuery.page"
<pagination
v-if="total > 0" v-model:total="total" v-model:page="searchArchiveQuery.page"
v-model:limit="searchArchiveQuery.pagesize" @pagination="searchMatrixList" />
</el-card>
<!--添加矩阵-->
<MatrixContAdd v-model:addShow="matrixAddBox" :orgid="searchArchiveQuery.adminorg" :orgtree="orgTreeList"
<MatrixContAdd
v-model:addShow="matrixAddBox" :orgid="searchArchiveQuery.adminorg" :orgtree="orgTreeList"
@restlist="searchMatrixList" />
<!--编辑矩阵-->
<MatrixContEdit v-model:editShow="matrixEditBox" :matrixcont="editCont" :orgtree="orgTreeList"
<MatrixContEdit
v-model:editShow="matrixEditBox" :matrixcont="editCont" :orgtree="orgTreeList"
@restlist="searchMatrixList" />
<!--设置矩阵字段-->
<SetupMatrixField v-model:fieldShow="matrixSetFieldBox" :matrixcont="editCont" />

2
src/views/opk/asd/news/dialog.vue

@ -244,7 +244,7 @@ const submitForm = () => {
emit("editRow", formData);
} else {
//
create_scheme({ orgid: add, year: see, child: tablea._value }).then(
create_scheme({ orgid: add, year: see, child: tablea.value._value }).then(
(response: any) => {
if (response.code === 200) {
ElMessage.success("新增成功");

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save