no message

This commit is contained in:
kuaifan 2024-10-20 02:24:43 +08:00
parent e8b03ae565
commit a3202cbead
27 changed files with 1499 additions and 535 deletions

View File

@ -1133,7 +1133,7 @@ MD 格式发送
已等待
抄送
自动抄送
(*)人
(*)人
结束
已结束
未结束
@ -1659,3 +1659,4 @@ Token
(*)将(*)移出群组
(*)退出群组
(*)已加入群组
请选择类型

File diff suppressed because it is too large Load Diff

101
public/language/iview/de.js vendored Normal file
View File

@ -0,0 +1,101 @@
if (typeof window.LANGUAGE_DATA === "undefined") window.LANGUAGE_DATA = {};
window.LANGUAGE_DATA["i_de"] = {
i: {
locale: 'de-DE',
select: {
placeholder: 'Auswählen',
noMatch: 'Keine Übereinstimmungen',
loading: 'Lädt'
},
table: {
noDataText: 'Keine Daten',
noFilteredDataText: 'Keine gefilterten Daten',
confirmFilter: 'Bestätigen',
resetFilter: 'Zurücksetzen',
clearFilter: 'Alle',
sumText: 'Summe'
},
datepicker: {
selectDate: 'Datum auswählen',
selectTime: 'Zeit auswählen',
startTime: 'Beginn',
endTime: 'Ende',
clear: 'Leeren',
ok: 'OK',
datePanelLabel: '[mmmm] [yyyy]',
month: 'Monat',
month1: 'Januar',
month2: 'Februar',
month3: 'März',
month4: 'April',
month5: 'Mai',
month6: 'Juni',
month7: 'Juli',
month8: 'August',
month9: 'September',
month10: 'Oktober',
month11: 'November',
month12: 'Dezember',
year: 'Jahr',
weekStartDay: '1',
weeks: {
sun: 'So',
mon: 'Mo',
tue: 'Di',
wed: 'Mi',
thu: 'Do',
fri: 'Fr',
sat: 'Sa'
},
months: {
m1: 'Jan',
m2: 'Feb',
m3: 'Mär',
m4: 'Apr',
m5: 'Mai',
m6: 'Jun',
m7: 'Jul',
m8: 'Aug',
m9: 'Sep',
m10: 'Okt',
m11: 'Nov',
m12: 'Dez'
}
},
transfer: {
titles: {
source: 'Quelle',
target: 'Ziel'
},
filterPlaceholder: 'Suchen',
notFoundText: 'Nicht gefunden'
},
modal: {
okText: 'OK',
cancelText: 'Abbrechen'
},
poptip: {
okText: 'OK',
cancelText: 'Abbrechen'
},
page: {
prev: 'Vorherige Seite',
next: 'Nächste Seite',
total: 'Total',
item: 'Eintrag',
items: 'Einträge',
prev5: 'vorherigen fünf Seiten',
next5: 'nächste fünf Seiten',
page: '/seite',
goto: 'Gehe zu',
p: ''
},
rate: {
star: 'Stern',
stars: 'Sterne'
},
tree: {
emptyText: 'Keine Daten'
}
}
};

110
public/language/iview/en.js vendored Normal file
View File

@ -0,0 +1,110 @@
if (typeof window.LANGUAGE_DATA === "undefined") window.LANGUAGE_DATA = {};
window.LANGUAGE_DATA["i_en"] = {
i: {
locale: 'en-US',
select: {
placeholder: 'Select',
noMatch: 'No matching data',
loading: 'Loading'
},
table: {
noDataText: 'No Data',
noFilteredDataText: 'No filter data',
confirmFilter: 'Confirm',
resetFilter: 'Reset',
clearFilter: 'All',
sumText: 'Sum'
},
datepicker: {
selectDate: 'Select date',
selectTime: 'Select time',
startTime: 'Start Time',
endTime: 'End Time',
clear: 'Clear',
ok: 'OK',
datePanelLabel: '[mmmm] [yyyy]',
month: 'Month',
month1: 'January',
month2: 'February',
month3: 'March',
month4: 'April',
month5: 'May',
month6: 'June',
month7: 'July',
month8: 'August',
month9: 'September',
month10: 'October',
month11: 'November',
month12: 'December',
year: 'Year',
weekStartDay: '0',
weeks: {
sun: 'Sun',
mon: 'Mon',
tue: 'Tue',
wed: 'Wed',
thu: 'Thu',
fri: 'Fri',
sat: 'Sat'
},
months: {
m1: 'Jan',
m2: 'Feb',
m3: 'Mar',
m4: 'Apr',
m5: 'May',
m6: 'Jun',
m7: 'Jul',
m8: 'Aug',
m9: 'Sep',
m10: 'Oct',
m11: 'Nov',
m12: 'Dec'
}
},
transfer: {
titles: {
source: 'Source',
target: 'Target'
},
filterPlaceholder: 'Search here',
notFoundText: 'Not Found'
},
modal: {
okText: 'OK',
cancelText: 'Cancel'
},
poptip: {
okText: 'OK',
cancelText: 'Cancel'
},
page: {
prev: 'Previous Page',
next: 'Next Page',
total: 'Total',
item: 'item',
items: 'items',
prev5: 'Previous 5 Pages',
next5: 'Next 5 Pages',
page: '/page',
goto: 'Goto',
p: ''
},
rate: {
star: 'Star',
stars: 'Stars'
},
time: {
before: ' ago',
after: ' after',
just: 'just now',
seconds: ' seconds',
minutes: ' minutes',
hours: ' hours',
days: ' days'
},
tree: {
emptyText: 'No Data'
}
}
};

101
public/language/iview/fr.js vendored Normal file
View File

@ -0,0 +1,101 @@
if (typeof window.LANGUAGE_DATA === "undefined") window.LANGUAGE_DATA = {};
window.LANGUAGE_DATA["i_fr"] = {
i: {
locale: 'fr-FR',
select: {
placeholder: 'Sélectionnez',
noMatch: 'Aucun résultat',
loading: 'Chargement'
},
table: {
noDataText: 'Aucune donnée',
noFilteredDataText: 'No filter data',
confirmFilter: 'Confirmez',
resetFilter: 'Reset',
clearFilter: 'Tout',
sumText: 'Somme'
},
datepicker: {
selectDate: 'Sélectionnez une date',
selectTime: 'Sélectionnez une heure',
startTime: 'Heure de début',
endTime: 'Heure de fin',
clear: 'Annuler',
ok: 'OK',
datePanelLabel: '[mmmm] [yyyy]',
month: 'Mois',
month1: 'Janvier',
month2: 'Février',
month3: 'Mars',
month4: 'Avril',
month5: 'Mai',
month6: 'Juin',
month7: 'Juillet',
month8: 'Août',
month9: 'Septembre',
month10: 'Octobre',
month11: 'Novembre',
month12: 'Decembre',
year: 'An',
weekStartDay: '1',
weeks: {
sun: 'Dim',
mon: 'Lun',
tue: 'Mar',
wed: 'Mer',
thu: 'Jeu',
fri: 'Ven',
sat: 'Sam'
},
months: {
m1: 'Jan',
m2: 'Fev',
m3: 'Mar',
m4: 'Avr',
m5: 'Mai',
m6: 'Jun',
m7: 'Jul',
m8: 'Aoû',
m9: 'Sep',
m10: 'Oct',
m11: 'Nov',
m12: 'Déc'
}
},
transfer: {
titles: {
source: 'Source',
target: 'Cible'
},
filterPlaceholder: 'Recherche',
notFoundText: 'Pas de résultat'
},
modal: {
okText: 'OK',
cancelText: 'Annuler'
},
poptip: {
okText: 'OK',
cancelText: 'Annuler'
},
page: {
prev: 'Page Précédente',
next: 'Page Suivante',
total: 'Total',
item: 'élément',
items: 'éléments',
prev5: '5 Pages en Avant',
next5: '5 Pages en Arrière',
page: '/page',
goto: 'Aller à',
p: ''
},
rate: {
star: 'Étoile',
stars: 'Étoiles'
},
tree: {
emptyText: 'Aucune donnée'
}
}
};

101
public/language/iview/id.js vendored Normal file
View File

@ -0,0 +1,101 @@
if (typeof window.LANGUAGE_DATA === "undefined") window.LANGUAGE_DATA = {};
window.LANGUAGE_DATA["i_id"] = {
i: {
locale: 'id-ID',
select: {
placeholder: 'Pilih',
noMatch: 'Tidak ada data yang cocok',
loading: 'Memuat'
},
table: {
noDataText: 'Tidak ada data',
noFilteredDataText: 'Tidak ada data filter',
confirmFilter: 'Konfirmasi',
resetFilter: 'Tata ulang',
clearFilter: 'Semua',
sumText: 'Jml'
},
datepicker: {
selectDate: 'Pilih tanggal',
selectTime: 'Pilih waktu',
startTime: 'Waktu Mulai',
endTime: 'Waktu Selesai',
clear: 'Bersihkan',
ok: 'OK',
datePanelLabel: '[mmmm] [yyyy]',
month: '',
month1: 'Januari',
month2: 'Februari',
month3: 'Maret',
month4: 'April',
month5: 'Mei',
month6: 'Juni',
month7: 'Juli',
month8: 'Agustus',
month9: 'September',
month10: 'Oktober',
month11: 'November',
month12: 'Desember',
year: '',
weekStartDay: '1',
weeks: {
sun: 'Min',
mon: 'Sen',
tue: 'Sel',
wed: 'Rab',
thu: 'Kam',
fri: 'Jum',
sat: 'Sab'
},
months: {
m1: 'Jan',
m2: 'Feb',
m3: 'Mar',
m4: 'Apr',
m5: 'Mei',
m6: 'Jun',
m7: 'Jul',
m8: 'Agu',
m9: 'Sep',
m10: 'Okt',
m11: 'Nov',
m12: 'Dec'
}
},
transfer: {
titles: {
source: 'Sumber',
target: 'Tujuan'
},
filterPlaceholder: 'Cari disini',
notFoundText: 'Tidak ditemukan'
},
modal: {
okText: 'OK',
cancelText: 'Batal'
},
poptip: {
okText: 'OK',
cancelText: 'Batal'
},
page: {
prev: 'Halaman Sebelumnya',
next: 'Halaman Selanjutnya',
total: 'Total',
item: 'butir',
items: 'butir',
prev5: '5 Halaman Sebelumnya',
next5: '5 Halaman Selanjutnya',
page: '/page',
goto: 'Pergi ke',
p: ''
},
rate: {
star: 'Star',
stars: 'Stars'
},
tree: {
emptyText: 'Tidak ada data'
}
}
};

110
public/language/iview/ja.js vendored Normal file
View File

@ -0,0 +1,110 @@
if (typeof window.LANGUAGE_DATA === "undefined") window.LANGUAGE_DATA = {};
window.LANGUAGE_DATA["i_ja"] = {
i: {
locale: 'ja-JP',
select: {
placeholder: '選んでください',
noMatch: 'マッチするデータなし',
loading: 'ロード中'
},
table: {
noDataText: 'データなし',
noFilteredDataText: 'スクリーニングしたデータなし',
confirmFilter: 'スクリーニング',
resetFilter: 'リセット',
clearFilter: '全部',
sumText: '合計'
},
datepicker: {
selectDate: '日時を選んでください',
selectTime: '時間を選んでください',
startTime: 'スタート時間',
endTime: '終了時間',
clear: 'クリーア',
ok: '確定',
datePanelLabel: '[yyyy年] [m月]',
month: '月',
month1: '1 月',
month2: '2 月',
month3: '3 月',
month4: '4 月',
month5: '5 月',
month6: '6 月',
month7: '7 月',
month8: '8 月',
month9: '9 月',
month10: '10 月',
month11: '11 月',
month12: '12 月',
year: '年',
weekStartDay: '0',
weeks: {
sun: '日',
mon: '月',
tue: '火',
wed: '水',
thu: '木',
fri: '金',
sat: '土'
},
months: {
m1: '1月',
m2: '2月',
m3: '3月',
m4: '4月',
m5: '5月',
m6: '6月',
m7: '7月',
m8: '8月',
m9: '9月',
m10: '10月',
m11: '11月',
m12: '12月'
}
},
transfer: {
titles: {
source: 'ソースリスト',
target: 'ターゲットリスト'
},
filterPlaceholder: '検索内容を入力ください',
notFoundText: '内容が見つかってなかった'
},
modal: {
okText: '確定',
cancelText: 'キャンセル'
},
poptip: {
okText: '確定',
cancelText: 'キャンセル'
},
page: {
prev: '前へ',
next: '次へ',
total: '全部',
item: '件',
items: '件',
prev5: '前の5ページへ',
next5: '次の5ページへ',
page: '件/ページ',
goto: '',
p: 'ページ目へ'
},
rate: {
star: '点',
stars: '点'
},
time: {
before: '前',
after: '後',
just: 'たった今',
seconds: '秒',
minutes: '分',
hours: '時間',
days: '日'
},
tree: {
emptyText: 'データなし'
}
}
};

110
public/language/iview/ko.js vendored Normal file
View File

@ -0,0 +1,110 @@
if (typeof window.LANGUAGE_DATA === "undefined") window.LANGUAGE_DATA = {};
window.LANGUAGE_DATA["i_ko"] = {
i: {
locale: 'ko-KR',
select: {
placeholder: '선택',
noMatch: '일치하는 데이터 없음',
loading: '로딩'
},
table: {
noDataText: '데이터 없음',
noFilteredDataText: '필터된 데이터 없음',
confirmFilter: '확인',
resetFilter: '초기화',
clearFilter: '전부',
sumText: '합'
},
datepicker: {
selectDate: '날짜 선택',
selectTime: '시간 선택',
startTime: '시작 시간',
endTime: '종료 시간',
clear: '삭제',
ok: '예',
datePanelLabel: '[yyyy년] [m월]',
month: '월',
month1: '1월',
month2: '2월',
month3: '3월',
month4: '4월',
month5: '5월',
month6: '6월',
month7: '7월',
month8: '8월',
month9: '9월',
month10: '10월',
month11: '11월',
month12: '12월',
year: '년',
weekStartDay: '0',
weeks: {
sun: '일',
mon: '월',
tue: '화',
wed: '수',
thu: '목',
fri: '금',
sat: '토'
},
months: {
m1: '1월',
m2: '2월',
m3: '3월',
m4: '4월',
m5: '5월',
m6: '6월',
m7: '7월',
m8: '8월',
m9: '9월',
m10: '10월',
m11: '11월',
m12: '12월'
}
},
transfer: {
titles: {
source: '소스',
target: '타겟'
},
filterPlaceholder: '여기서 찾기',
notFoundText: '아무 것도 찾을 수 없음'
},
modal: {
okText: '예',
cancelText: '취소'
},
poptip: {
okText: '예',
cancelText: '취소'
},
page: {
prev: '이전 페이지',
next: '다음 페이지',
total: '전체',
item: '항목',
items: '항목',
prev5: '이전 5 페이지',
next5: '다음 5 페이지',
page: '/페이지',
goto: '이동',
p: ''
},
rate: {
star: '중요',
stars: '중요'
},
time: {
before: ' 전',
after: ' 후',
just: '방금',
seconds: ' 초',
minutes: ' 분',
hours: ' 시간',
days: ' 일'
},
tree: {
emptyText: '데이터 없음'
}
}
};

101
public/language/iview/ru.js vendored Normal file
View File

@ -0,0 +1,101 @@
if (typeof window.LANGUAGE_DATA === "undefined") window.LANGUAGE_DATA = {};
window.LANGUAGE_DATA["i_ru"] = {
i: {
locale: 'ru-RU',
select: {
placeholder: 'Выбрать',
noMatch: 'Нет соответствующих данных',
loading: 'Загрузка'
},
table: {
noDataText: 'Нет данных',
noFilteredDataText: 'Нет данных по фильтру',
confirmFilter: 'Подтвердить',
resetFilter: 'Сброс',
clearFilter: 'Все',
sumText: 'Сумма'
},
datepicker: {
selectDate: 'Выбрать дату',
selectTime: 'Выбрать время',
startTime: 'Начальное время',
endTime: 'Конечное время',
clear: 'Очистить',
ok: 'OK',
datePanelLabel: '[Mmmm] [yyyy]',
month: '',
month1: 'Январь',
month2: 'Февраль',
month3: 'Март',
month4: 'Апрель',
month5: 'Май',
month6: 'Июнь',
month7: 'Июль',
month8: 'Август',
month9: 'Сентябрь',
month10: 'Октябрь',
month11: 'Ноябрь',
month12: 'Декабрь',
year: '',
weekStartDay: '1',
weeks: {
sun: 'Вс',
mon: 'Пн',
tue: 'Вт',
wed: 'Ср',
thu: 'Чт',
fri: 'Пт',
sat: 'Сб'
},
months: {
m1: 'Янв',
m2: 'Фев',
m3: 'Мар',
m4: 'Апр',
m5: 'Май',
m6: 'Июн',
m7: 'Июл',
m8: 'Авг',
m9: 'Сен',
m10: 'Окт',
m11: 'Ноя',
m12: 'Дек'
}
},
transfer: {
titles: {
source: 'Источник',
target: 'Цель'
},
filterPlaceholder: 'Искать здесь',
notFoundText: 'Не найдено'
},
modal: {
okText: 'OK',
cancelText: 'Отменить'
},
poptip: {
okText: 'OK',
cancelText: 'Отменить'
},
page: {
prev: 'Пред. страница',
next: 'След. страница',
total: 'Всего',
item: 'пункт',
items: 'пункты',
prev5: 'Пред. 5 страниц',
next5: 'След. 5 страниц',
page: ' на странице',
goto: 'Перейти к',
p: ''
},
rate: {
star: 'Звезда',
stars: 'Звезды'
},
tree: {
emptyText: 'Нет данных'
}
}
};

101
public/language/iview/zh-CHT.js vendored Normal file
View File

@ -0,0 +1,101 @@
if (typeof window.LANGUAGE_DATA === "undefined") window.LANGUAGE_DATA = {};
window.LANGUAGE_DATA["i_zh-CHT"] = {
i: {
locale: 'zh-TW',
select: {
placeholder: '請選擇',
noMatch: '無匹配資料',
loading: '加載中'
},
table: {
noDataText: '暫無資料',
noFilteredDataText: '暫無篩選結果',
confirmFilter: '篩選',
resetFilter: '重置',
clearFilter: '全部',
sumText: '合計'
},
datepicker: {
selectDate: '選擇日期',
selectTime: '選擇時間',
startTime: '開始時間',
endTime: '結束時間',
clear: '清空',
ok: '確定',
datePanelLabel: '[yyyy年] [m月]',
month: '月',
month1: '1 月',
month2: '2 月',
month3: '3 月',
month4: '4 月',
month5: '5 月',
month6: '6 月',
month7: '7 月',
month8: '8 月',
month9: '9 月',
month10: '10 月',
month11: '11 月',
month12: '12 月',
year: '年',
weekStartDay: '0',
weeks: {
sun: '日',
mon: '一',
tue: '二',
wed: '三',
thu: '四',
fri: '五',
sat: '六'
},
months: {
m1: '1月',
m2: '2月',
m3: '3月',
m4: '4月',
m5: '5月',
m6: '6月',
m7: '7月',
m8: '8月',
m9: '9月',
m10: '10月',
m11: '11月',
m12: '12月'
}
},
transfer: {
titles: {
source: '來源列表',
target: '目標列表'
},
filterPlaceholder: '請輸入搜尋內容',
notFoundText: '列表爲空'
},
modal: {
okText: '確定',
cancelText: '取消'
},
poptip: {
okText: '確定',
cancelText: '取消'
},
page: {
prev: '上一頁',
next: '下一頁',
total: '共',
item: '條',
items: '條',
prev5: '向前 5 頁',
next5: '向後 5 頁',
page: '條/頁',
goto: '跳至',
p: '頁'
},
rate: {
star: '星',
stars: '星'
},
tree: {
emptyText: '暫無資料'
}
}
};

110
public/language/iview/zh.js vendored Normal file
View File

@ -0,0 +1,110 @@
if (typeof window.LANGUAGE_DATA === "undefined") window.LANGUAGE_DATA = {};
window.LANGUAGE_DATA["i_zh"] = {
i: {
locale: 'zh-CN',
select: {
placeholder: '请选择',
noMatch: '无匹配数据',
loading: '加载中'
},
table: {
noDataText: '暂无数据',
noFilteredDataText: '暂无筛选结果',
confirmFilter: '筛选',
resetFilter: '重置',
clearFilter: '全部',
sumText: '合计'
},
datepicker: {
selectDate: '选择日期',
selectTime: '选择时间',
startTime: '开始时间',
endTime: '结束时间',
clear: '清空',
ok: '确定',
datePanelLabel: '[yyyy年] [m月]',
month: '月',
month1: '1 月',
month2: '2 月',
month3: '3 月',
month4: '4 月',
month5: '5 月',
month6: '6 月',
month7: '7 月',
month8: '8 月',
month9: '9 月',
month10: '10 月',
month11: '11 月',
month12: '12 月',
year: '年',
weekStartDay: '0',
weeks: {
sun: '日',
mon: '一',
tue: '二',
wed: '三',
thu: '四',
fri: '五',
sat: '六'
},
months: {
m1: '1月',
m2: '2月',
m3: '3月',
m4: '4月',
m5: '5月',
m6: '6月',
m7: '7月',
m8: '8月',
m9: '9月',
m10: '10月',
m11: '11月',
m12: '12月'
}
},
transfer: {
titles: {
source: '源列表',
target: '目的列表'
},
filterPlaceholder: '请输入搜索内容',
notFoundText: '列表为空'
},
modal: {
okText: '确定',
cancelText: '取消'
},
poptip: {
okText: '确定',
cancelText: '取消'
},
page: {
prev: '上一页',
next: '下一页',
total: '共',
item: '条',
items: '条',
prev5: '向前 5 页',
next5: '向后 5 页',
page: '条/页',
goto: '跳至',
p: '页'
},
rate: {
star: '星',
stars: '星'
},
time: {
before: '前',
after: '后',
just: '刚刚',
seconds: '秒',
minutes: '分钟',
hours: '小时',
days: '天'
},
tree: {
emptyText: '暂无数据'
}
}
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@ if (urlParams.language
}
import microappInit from "./microapp"
import {switchLanguage as $L} from "./language";
import {languageName, switchLanguage as $L} from "./language";
import './functions/common'
import './functions/eeui'
@ -262,4 +262,8 @@ store.dispatch("init").then(action => {
if (action === "handleClearCache") {
$A.messageSuccess("清除成功");
}
if (typeof window.LANGUAGE_DATA[`i_${languageName}`] !== "undefined") {
ViewUI.locale(window.LANGUAGE_DATA[`i_${languageName}`]);
}
})

View File

@ -121,10 +121,8 @@
<div class="approve-process-left">
<p class="approve-process-name">{{$L('系统')}}</p>
<p class="approve-process-desc">{{$L('自动抄送')}}
<span style="color: #486fed;">
{{ item.node_user_list?.map(h=>h.name).join(',') }}
{{$L('等'+item.node_user_list?.length+'人')}}
</span>
<span style="color: #486fed;">{{ item.node_user_list?.map(h=>h.name).join(',') }}</span>
{{$L('共'+item.node_user_list?.length+'人')}}
</p>
</div>
</div>
@ -304,7 +302,7 @@ export default {
},
//
getWeekday(dateString) {
return ['周日', '周一', '周二', '周三', '周四', '周五', '周六'][$A.dayjs(dateString).day()];
return this.$L(['周日', '周一', '周二', '周三', '周四', '周五', '周六'][$A.dayjs(dateString).day()]);
},
//
getTimeDifference(startTime, endTime) {

View File

@ -180,7 +180,7 @@
</FormItem>
<FormItem prop="applyType" :label="$L('申请类型')">
<Select v-model="addData.applyType" :placeholder="$L('请选择申请类型')">
<Option v-for="(item, index) in procdefList" :value="item.name" :key="index">{{ item.name }}</Option>
<Option v-for="(item, index) in procdefList" :value="item.name" :key="index">{{ $L(item.name) }}</Option>
</Select>
</FormItem>
<FormItem v-if="(addData.applyType || '').indexOf('请假') !== -1" prop="type" :label="$L('假期类型')">
@ -418,7 +418,7 @@ export default {
}).then(({data}) => {
this.procdefList = data.rows || [];
this.approvalList = this.procdefList.map(h => {
return {value: h.name, label: h.name}
return {value: h.name, label: this.$L(h.name)}
})
this.approvalList.unshift({value: "all", label: this.$L("全部审批")})
resolve()

View File

@ -5,8 +5,8 @@
:mask-closable="false">
<Form ref="exportTask" :model="formData" label-width="auto" @submit.native.prevent>
<FormItem :label="$L('审批类型')">
<Select v-model="formData.proc_def_name" @on-open-change="getProcName">
<Option v-for="(item, key) in procList" :value="item.name" :key="key" >{{ item.name }}</Option>
<Select v-model="formData.proc_def_name" @on-open-change="getProcName" :placeholder="$L('请选择类型')">
<Option v-for="(item, key) in procList" :value="item.name" :key="key" >{{ $L(item.name) }}</Option>
</Select>
</FormItem>
<FormItem :label="$L('时间范围')">
@ -105,7 +105,6 @@ export default {
method: 'post'
}).then(({data}) => {
this.procList = data['rows'];
}).catch(({msg}) => {
$A.modalError(msg);
}).finally(_ => {

View File

@ -58,6 +58,7 @@ export default {
await $A.loadScriptS([
`language/web/key.js`,
`language/web/${languageName}.js`,
`language/iview/${languageName}.js`,
])
resolve(action)

View File

@ -621,6 +621,10 @@
.todo-users {
display: inline-block;
> span {
padding-right: 4px;
}
> div + div {
padding-left: 8px;
position: relative;