eztech-core-components 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/index.css +405 -0
- package/ckeditor/CHANGES.md +2339 -0
- package/ckeditor/LICENSE.md +1444 -0
- package/ckeditor/MongolianScript.ttf +0 -0
- package/ckeditor/README.md +39 -0
- package/ckeditor/SECURITY.md +10 -0
- package/ckeditor/adapters/jquery.js +10 -0
- package/ckeditor/bender-runner.config.json +16 -0
- package/ckeditor/build-config.js +193 -0
- package/ckeditor/ckcontent.css +71 -0
- package/ckeditor/ckeditor.js +1446 -0
- package/ckeditor/cmdashitseden.ttf +0 -0
- package/ckeditor/config.js +21 -0
- package/ckeditor/contents.css +220 -0
- package/ckeditor/lang/af.js +5 -0
- package/ckeditor/lang/ar.js +5 -0
- package/ckeditor/lang/az.js +5 -0
- package/ckeditor/lang/bg.js +5 -0
- package/ckeditor/lang/bn.js +5 -0
- package/ckeditor/lang/bs.js +5 -0
- package/ckeditor/lang/ca.js +5 -0
- package/ckeditor/lang/cs.js +5 -0
- package/ckeditor/lang/cy.js +5 -0
- package/ckeditor/lang/da.js +5 -0
- package/ckeditor/lang/de-ch.js +5 -0
- package/ckeditor/lang/de.js +5 -0
- package/ckeditor/lang/el.js +5 -0
- package/ckeditor/lang/en-au.js +5 -0
- package/ckeditor/lang/en-ca.js +5 -0
- package/ckeditor/lang/en-gb.js +5 -0
- package/ckeditor/lang/en.js +5 -0
- package/ckeditor/lang/eo.js +5 -0
- package/ckeditor/lang/es-mx.js +5 -0
- package/ckeditor/lang/es.js +5 -0
- package/ckeditor/lang/et.js +5 -0
- package/ckeditor/lang/eu.js +5 -0
- package/ckeditor/lang/fa.js +5 -0
- package/ckeditor/lang/fi.js +5 -0
- package/ckeditor/lang/fo.js +5 -0
- package/ckeditor/lang/fr-ca.js +5 -0
- package/ckeditor/lang/fr.js +5 -0
- package/ckeditor/lang/gl.js +5 -0
- package/ckeditor/lang/gu.js +5 -0
- package/ckeditor/lang/he.js +5 -0
- package/ckeditor/lang/hi.js +5 -0
- package/ckeditor/lang/hr.js +5 -0
- package/ckeditor/lang/hu.js +5 -0
- package/ckeditor/lang/id.js +5 -0
- package/ckeditor/lang/is.js +5 -0
- package/ckeditor/lang/it.js +5 -0
- package/ckeditor/lang/ja.js +5 -0
- package/ckeditor/lang/ka.js +5 -0
- package/ckeditor/lang/km.js +5 -0
- package/ckeditor/lang/ko.js +5 -0
- package/ckeditor/lang/ku.js +5 -0
- package/ckeditor/lang/lt.js +5 -0
- package/ckeditor/lang/lv.js +5 -0
- package/ckeditor/lang/mk.js +5 -0
- package/ckeditor/lang/mn.js +5 -0
- package/ckeditor/lang/ms.js +5 -0
- package/ckeditor/lang/nb.js +5 -0
- package/ckeditor/lang/nl.js +5 -0
- package/ckeditor/lang/no.js +5 -0
- package/ckeditor/lang/oc.js +5 -0
- package/ckeditor/lang/pl.js +5 -0
- package/ckeditor/lang/pt-br.js +5 -0
- package/ckeditor/lang/pt.js +5 -0
- package/ckeditor/lang/ro.js +5 -0
- package/ckeditor/lang/ru.js +5 -0
- package/ckeditor/lang/si.js +5 -0
- package/ckeditor/lang/sk.js +5 -0
- package/ckeditor/lang/sl.js +5 -0
- package/ckeditor/lang/sq.js +5 -0
- package/ckeditor/lang/sr-latn.js +5 -0
- package/ckeditor/lang/sr.js +5 -0
- package/ckeditor/lang/sv.js +5 -0
- package/ckeditor/lang/th.js +5 -0
- package/ckeditor/lang/tr.js +5 -0
- package/ckeditor/lang/tt.js +5 -0
- package/ckeditor/lang/ug.js +5 -0
- package/ckeditor/lang/uk.js +5 -0
- package/ckeditor/lang/vi.js +5 -0
- package/ckeditor/lang/zh-cn.js +5 -0
- package/ckeditor/lang/zh.js +5 -0
- package/ckeditor/monbaiti.ttf +0 -0
- package/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +10 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +10 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +9 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +9 -0
- package/ckeditor/plugins/about/dialogs/about.js +8 -0
- package/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- package/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- package/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
- package/ckeditor/plugins/colordialog/dialogs/colordialog.css +20 -0
- package/ckeditor/plugins/colordialog/dialogs/colordialog.js +14 -0
- package/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +25 -0
- package/ckeditor/plugins/copyformatting/cursors/cursor.svg +14 -0
- package/ckeditor/plugins/copyformatting/styles/copyformatting.css +45 -0
- package/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- package/ckeditor/plugins/dialog/styles/dialog.css +18 -0
- package/ckeditor/plugins/div/dialogs/div.js +10 -0
- package/ckeditor/plugins/find/dialogs/find.js +26 -0
- package/ckeditor/plugins/forms/dialogs/button.js +8 -0
- package/ckeditor/plugins/forms/dialogs/checkbox.js +9 -0
- package/ckeditor/plugins/forms/dialogs/form.js +8 -0
- package/ckeditor/plugins/forms/dialogs/hiddenfield.js +7 -0
- package/ckeditor/plugins/forms/dialogs/radio.js +9 -0
- package/ckeditor/plugins/forms/dialogs/select.js +21 -0
- package/ckeditor/plugins/forms/dialogs/textarea.js +9 -0
- package/ckeditor/plugins/forms/dialogs/textfield.js +11 -0
- package/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- package/ckeditor/plugins/icons.png +0 -0
- package/ckeditor/plugins/icons_hidpi.png +0 -0
- package/ckeditor/plugins/iframe/dialogs/iframe.js +11 -0
- package/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- package/ckeditor/plugins/image/dialogs/image.js +44 -0
- package/ckeditor/plugins/image/images/noimage.png +0 -0
- package/ckeditor/plugins/indent/dev/indent.html +285 -0
- package/ckeditor/plugins/indent/icons/hidpi/indent-rtl.png +0 -0
- package/ckeditor/plugins/indent/icons/hidpi/indent.png +0 -0
- package/ckeditor/plugins/indent/icons/hidpi/outdent-rtl.png +0 -0
- package/ckeditor/plugins/indent/icons/hidpi/outdent.png +0 -0
- package/ckeditor/plugins/indent/icons/indent-rtl.png +0 -0
- package/ckeditor/plugins/indent/icons/indent.png +0 -0
- package/ckeditor/plugins/indent/icons/outdent-rtl.png +0 -0
- package/ckeditor/plugins/indent/icons/outdent.png +0 -0
- package/ckeditor/plugins/indent/lang/af.js +8 -0
- package/ckeditor/plugins/indent/lang/ar.js +8 -0
- package/ckeditor/plugins/indent/lang/az.js +8 -0
- package/ckeditor/plugins/indent/lang/bg.js +8 -0
- package/ckeditor/plugins/indent/lang/bn.js +8 -0
- package/ckeditor/plugins/indent/lang/bs.js +8 -0
- package/ckeditor/plugins/indent/lang/ca.js +8 -0
- package/ckeditor/plugins/indent/lang/cs.js +8 -0
- package/ckeditor/plugins/indent/lang/cy.js +8 -0
- package/ckeditor/plugins/indent/lang/da.js +8 -0
- package/ckeditor/plugins/indent/lang/de-ch.js +8 -0
- package/ckeditor/plugins/indent/lang/de.js +8 -0
- package/ckeditor/plugins/indent/lang/el.js +8 -0
- package/ckeditor/plugins/indent/lang/en-au.js +8 -0
- package/ckeditor/plugins/indent/lang/en-ca.js +8 -0
- package/ckeditor/plugins/indent/lang/en-gb.js +8 -0
- package/ckeditor/plugins/indent/lang/en.js +8 -0
- package/ckeditor/plugins/indent/lang/eo.js +8 -0
- package/ckeditor/plugins/indent/lang/es-mx.js +8 -0
- package/ckeditor/plugins/indent/lang/es.js +8 -0
- package/ckeditor/plugins/indent/lang/et.js +8 -0
- package/ckeditor/plugins/indent/lang/eu.js +8 -0
- package/ckeditor/plugins/indent/lang/fa.js +8 -0
- package/ckeditor/plugins/indent/lang/fi.js +8 -0
- package/ckeditor/plugins/indent/lang/fo.js +8 -0
- package/ckeditor/plugins/indent/lang/fr-ca.js +8 -0
- package/ckeditor/plugins/indent/lang/fr.js +8 -0
- package/ckeditor/plugins/indent/lang/gl.js +8 -0
- package/ckeditor/plugins/indent/lang/gu.js +8 -0
- package/ckeditor/plugins/indent/lang/he.js +8 -0
- package/ckeditor/plugins/indent/lang/hi.js +8 -0
- package/ckeditor/plugins/indent/lang/hr.js +8 -0
- package/ckeditor/plugins/indent/lang/hu.js +8 -0
- package/ckeditor/plugins/indent/lang/id.js +8 -0
- package/ckeditor/plugins/indent/lang/is.js +8 -0
- package/ckeditor/plugins/indent/lang/it.js +8 -0
- package/ckeditor/plugins/indent/lang/ja.js +8 -0
- package/ckeditor/plugins/indent/lang/ka.js +8 -0
- package/ckeditor/plugins/indent/lang/km.js +8 -0
- package/ckeditor/plugins/indent/lang/ko.js +8 -0
- package/ckeditor/plugins/indent/lang/ku.js +8 -0
- package/ckeditor/plugins/indent/lang/lt.js +8 -0
- package/ckeditor/plugins/indent/lang/lv.js +8 -0
- package/ckeditor/plugins/indent/lang/mk.js +8 -0
- package/ckeditor/plugins/indent/lang/mn.js +8 -0
- package/ckeditor/plugins/indent/lang/ms.js +8 -0
- package/ckeditor/plugins/indent/lang/nb.js +8 -0
- package/ckeditor/plugins/indent/lang/nl.js +8 -0
- package/ckeditor/plugins/indent/lang/no.js +8 -0
- package/ckeditor/plugins/indent/lang/oc.js +8 -0
- package/ckeditor/plugins/indent/lang/pl.js +8 -0
- package/ckeditor/plugins/indent/lang/pt-br.js +8 -0
- package/ckeditor/plugins/indent/lang/pt.js +8 -0
- package/ckeditor/plugins/indent/lang/ro.js +8 -0
- package/ckeditor/plugins/indent/lang/ru.js +8 -0
- package/ckeditor/plugins/indent/lang/si.js +8 -0
- package/ckeditor/plugins/indent/lang/sk.js +8 -0
- package/ckeditor/plugins/indent/lang/sl.js +8 -0
- package/ckeditor/plugins/indent/lang/sq.js +8 -0
- package/ckeditor/plugins/indent/lang/sr-latn.js +8 -0
- package/ckeditor/plugins/indent/lang/sr.js +8 -0
- package/ckeditor/plugins/indent/lang/sv.js +8 -0
- package/ckeditor/plugins/indent/lang/th.js +8 -0
- package/ckeditor/plugins/indent/lang/tr.js +8 -0
- package/ckeditor/plugins/indent/lang/tt.js +8 -0
- package/ckeditor/plugins/indent/lang/ug.js +8 -0
- package/ckeditor/plugins/indent/lang/uk.js +8 -0
- package/ckeditor/plugins/indent/lang/vi.js +8 -0
- package/ckeditor/plugins/indent/lang/zh-cn.js +8 -0
- package/ckeditor/plugins/indent/lang/zh.js +8 -0
- package/ckeditor/plugins/indent/plugin.js +461 -0
- package/ckeditor/plugins/justify/icons/hidpi/justifyblock.png +0 -0
- package/ckeditor/plugins/justify/icons/hidpi/justifycenter.png +0 -0
- package/ckeditor/plugins/justify/icons/hidpi/justifyleft.png +0 -0
- package/ckeditor/plugins/justify/icons/hidpi/justifyright.png +0 -0
- package/ckeditor/plugins/justify/icons/justifyblock.png +0 -0
- package/ckeditor/plugins/justify/icons/justifycenter.png +0 -0
- package/ckeditor/plugins/justify/icons/justifyleft.png +0 -0
- package/ckeditor/plugins/justify/icons/justifyright.png +0 -0
- package/ckeditor/plugins/justify/plugin.js +269 -0
- package/ckeditor/plugins/lineheight/LICENSE +22 -0
- package/ckeditor/plugins/lineheight/README.md +2 -0
- package/ckeditor/plugins/lineheight/lang/LANG.js +3 -0
- package/ckeditor/plugins/lineheight/lang/ar.js +3 -0
- package/ckeditor/plugins/lineheight/lang/de.js +3 -0
- package/ckeditor/plugins/lineheight/lang/en.js +3 -0
- package/ckeditor/plugins/lineheight/lang/es.js +3 -0
- package/ckeditor/plugins/lineheight/lang/fr.js +3 -0
- package/ckeditor/plugins/lineheight/lang/ko.js +3 -0
- package/ckeditor/plugins/lineheight/lang/pt.js +3 -0
- package/ckeditor/plugins/lineheight/plugin.js +81 -0
- package/ckeditor/plugins/lineheight/readme.txt +30 -0
- package/ckeditor/plugins/link/dialogs/anchor.js +9 -0
- package/ckeditor/plugins/link/dialogs/link.js +30 -0
- package/ckeditor/plugins/link/images/anchor.png +0 -0
- package/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- package/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
- package/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
- package/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- package/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
- package/ckeditor/plugins/magicline/images/icon.png +0 -0
- package/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- package/ckeditor/plugins/pastefromgdocs/filter/default.js +8 -0
- package/ckeditor/plugins/pastefromlibreoffice/filter/default.js +11 -0
- package/ckeditor/plugins/pastefromword/filter/default.js +43 -0
- package/ckeditor/plugins/pastetools/filter/common.js +24 -0
- package/ckeditor/plugins/pastetools/filter/image.js +12 -0
- package/ckeditor/plugins/preview/images/pagebreak.gif +0 -0
- package/ckeditor/plugins/preview/preview.html +13 -0
- package/ckeditor/plugins/preview/styles/screen.css +10 -0
- package/ckeditor/plugins/scayt/CHANGELOG.md +4 -0
- package/ckeditor/plugins/scayt/LICENSE.md +28 -0
- package/ckeditor/plugins/scayt/README.md +81 -0
- package/ckeditor/plugins/scayt/dialogs/dialog.css +23 -0
- package/ckeditor/plugins/scayt/dialogs/options.js +32 -0
- package/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
- package/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +25 -0
- package/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- package/ckeditor/plugins/simage/LICENSE +674 -0
- package/ckeditor/plugins/simage/README.md +73 -0
- package/ckeditor/plugins/simage/icons/simage.png +0 -0
- package/ckeditor/plugins/simage/plugin.js +154 -0
- package/ckeditor/plugins/smiley/dialogs/smiley.js +11 -0
- package/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- package/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
- package/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- package/ckeditor/plugins/smiley/images/envelope.png +0 -0
- package/ckeditor/plugins/smiley/images/heart.gif +0 -0
- package/ckeditor/plugins/smiley/images/heart.png +0 -0
- package/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- package/ckeditor/plugins/smiley/images/kiss.png +0 -0
- package/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- package/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
- package/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- package/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
- package/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- package/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
- package/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/af.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/az.js +10 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/da.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/et.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/eu.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/fr.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/km.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ko.js +10 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/lt.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/oc.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ro.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/tt.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/zh.js +9 -0
- package/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
- package/ckeditor/plugins/table/dialogs/table.js +22 -0
- package/ckeditor/plugins/tableselection/styles/tableselection.css +36 -0
- package/ckeditor/plugins/tabletools/dialogs/tableCell.js +18 -0
- package/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- package/ckeditor/plugins/templates/dialogs/templates.js +11 -0
- package/ckeditor/plugins/templates/templatedefinition.js +4 -0
- package/ckeditor/plugins/templates/templates/default.js +7 -0
- package/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- package/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- package/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- package/ckeditor/plugins/textindent/icons/hidpi/textindent.png +0 -0
- package/ckeditor/plugins/textindent/icons/textindent.png +0 -0
- package/ckeditor/plugins/textindent/lang/en.js +3 -0
- package/ckeditor/plugins/textindent/lang/pt-br.js +3 -0
- package/ckeditor/plugins/textindent/plugin.js +99 -0
- package/ckeditor/plugins/widget/images/handle.png +0 -0
- package/ckeditor/samples/css/samples.css +1637 -0
- package/ckeditor/samples/img/github-top.png +0 -0
- package/ckeditor/samples/img/header-bg.png +0 -0
- package/ckeditor/samples/img/header-separator.png +0 -0
- package/ckeditor/samples/img/logo.png +0 -0
- package/ckeditor/samples/img/logo.svg +13 -0
- package/ckeditor/samples/img/navigation-tip.png +0 -0
- package/ckeditor/samples/index.html +130 -0
- package/ckeditor/samples/js/sample.js +53 -0
- package/ckeditor/samples/js/sf.js +17 -0
- package/ckeditor/samples/old/ajax.html +85 -0
- package/ckeditor/samples/old/api.html +210 -0
- package/ckeditor/samples/old/appendto.html +59 -0
- package/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
- package/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +204 -0
- package/ckeditor/samples/old/assets/posteddata.php +60 -0
- package/ckeditor/samples/old/assets/sample.jpg +0 -0
- package/ckeditor/samples/old/assets/uilanguages/languages.js +7 -0
- package/ckeditor/samples/old/datafiltering.html +508 -0
- package/ckeditor/samples/old/dialog/assets/my_dialog.js +48 -0
- package/ckeditor/samples/old/dialog/dialog.html +190 -0
- package/ckeditor/samples/old/divreplace.html +144 -0
- package/ckeditor/samples/old/enterkey/enterkey.html +106 -0
- package/ckeditor/samples/old/htmlwriter/outputhtml.html +224 -0
- package/ckeditor/samples/old/index.html +129 -0
- package/ckeditor/samples/old/inlineall.html +314 -0
- package/ckeditor/samples/old/inlinebycode.html +124 -0
- package/ckeditor/samples/old/inlinetextarea.html +113 -0
- package/ckeditor/samples/old/jquery.html +103 -0
- package/ckeditor/samples/old/magicline/magicline.html +209 -0
- package/ckeditor/samples/old/readonly.html +76 -0
- package/ckeditor/samples/old/replacebyclass.html +60 -0
- package/ckeditor/samples/old/replacebycode.html +59 -0
- package/ckeditor/samples/old/sample.css +357 -0
- package/ckeditor/samples/old/sample.js +50 -0
- package/ckeditor/samples/old/sample_posteddata.php +16 -0
- package/ckeditor/samples/old/tabindex.html +78 -0
- package/ckeditor/samples/old/toolbar/toolbar.html +235 -0
- package/ckeditor/samples/old/uicolor.html +72 -0
- package/ckeditor/samples/old/uilanguages.html +122 -0
- package/ckeditor/samples/old/wysiwygarea/fullpage.html +80 -0
- package/ckeditor/samples/old/xhtmlstyle.html +234 -0
- package/ckeditor/samples/toolbarconfigurator/css/fontello.css +55 -0
- package/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +10 -0
- package/ckeditor/samples/toolbarconfigurator/font/config.json +28 -0
- package/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
- package/ckeditor/samples/toolbarconfigurator/font/fontello.svg +14 -0
- package/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
- package/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
- package/ckeditor/samples/toolbarconfigurator/index.html +447 -0
- package/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +13 -0
- package/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +9 -0
- package/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +33 -0
- package/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +14 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +19 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +325 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +288 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +25 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +36 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +38 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +16 -0
- package/ckeditor/skins/moono-lisa/dialog.css +5 -0
- package/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
- package/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
- package/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
- package/ckeditor/skins/moono-lisa/editor.css +5 -0
- package/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
- package/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
- package/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
- package/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
- package/ckeditor/skins/moono-lisa/icons.png +0 -0
- package/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
- package/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
- package/ckeditor/skins/moono-lisa/images/close.png +0 -0
- package/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
- package/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
- package/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
- package/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
- package/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
- package/ckeditor/skins/moono-lisa/images/lock.png +0 -0
- package/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
- package/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
- package/ckeditor/skins/moono-lisa/readme.md +46 -0
- package/ckeditor/styles.js +137 -0
- package/ckeditor/vendor/promise.js +13 -0
- package/comps/Animation/Checkbox.vue +37 -0
- package/comps/Animation/Radio.vue +30 -0
- package/comps/BooleanLabel.vue +40 -0
- package/comps/CardButton.vue +18 -0
- package/comps/CardImage.vue +40 -0
- package/comps/CardItem.vue +63 -0
- package/comps/CardList.vue +57 -0
- package/comps/CardNumber.vue +27 -0
- package/comps/Config/SelectColumns.vue +137 -0
- package/comps/CoreAgeMonth.vue +44 -0
- package/comps/CoreAppPassword.vue +31 -0
- package/comps/CoreAutocomplete.vue +93 -0
- package/comps/CoreCascader.vue +129 -0
- package/comps/CoreCascaderChildOrg.vue +165 -0
- package/comps/CoreCascaderChildPosition.vue +186 -0
- package/comps/CoreCkeditor.vue +324 -0
- package/comps/CoreColorPicker.vue +35 -0
- package/comps/CoreContextMenu.vue +81 -0
- package/comps/CoreDate.vue +56 -0
- package/comps/CoreDateRange.vue +34 -0
- package/comps/CoreDatetime.vue +34 -0
- package/comps/CoreDeepLink.vue +53 -0
- package/comps/CoreDurationJustified.vue +23 -0
- package/comps/CoreFiles.vue +497 -0
- package/comps/CoreFooter.vue +100 -0
- package/comps/CoreForm.vue +499 -0
- package/comps/CoreFormDialog.vue +140 -0
- package/comps/CoreFormFields.vue +306 -0
- package/comps/CoreFormItem.vue +114 -0
- package/comps/CoreFormItemCopy.vue +155 -0
- package/comps/CoreFormSub.vue +118 -0
- package/comps/CoreFormTable.vue +197 -0
- package/comps/CoreFormTableInline.vue +300 -0
- package/comps/CoreFormTableList.vue +268 -0
- package/comps/CoreIcon.vue +5 -0
- package/comps/CoreImage.vue +37 -0
- package/comps/CoreInlineNumber.vue +54 -0
- package/comps/CoreInputNumber.vue +49 -0
- package/comps/CoreInputSearch.vue +44 -0
- package/comps/CoreJson.vue +10 -0
- package/comps/CoreLoader.vue +153 -0
- package/comps/CoreLocked.vue +151 -0
- package/comps/CoreMergeConfirm.vue +59 -0
- package/comps/CoreMultipleInput.vue +51 -0
- package/comps/CorePanel.vue +33 -0
- package/comps/CorePdfDialog.vue +84 -0
- package/comps/CorePdfView.vue +52 -0
- package/comps/CoreRegexp.vue +41 -0
- package/comps/CoreSelect.vue +249 -0
- package/comps/CoreSelectEnum.vue +103 -0
- package/comps/CoreSelectGroup.vue +237 -0
- package/comps/CoreSelectGroupItem.vue +168 -0
- package/comps/CoreSelectGroupList.vue +386 -0
- package/comps/CoreSelectOrgEmp.vue +319 -0
- package/comps/CoreSelectTable.vue +277 -0
- package/comps/CoreSelectTree.vue +183 -0
- package/comps/CoreSelectTreeItem.vue +129 -0
- package/comps/CoreSelectTreeList.vue +149 -0
- package/comps/CoreSelectYear.vue +42 -0
- package/comps/CoreSignCertificate.vue +129 -0
- package/comps/CoreSpan.vue +31 -0
- package/comps/CoreStatus.vue +29 -0
- package/comps/CoreSwitch.vue +28 -0
- package/comps/CoreTable.vue +852 -0
- package/comps/CoreTableColumn.vue +78 -0
- package/comps/CoreTableColumnHeader.vue +25 -0
- package/comps/CoreTableColumnRow.vue +234 -0
- package/comps/CoreTableConfig.vue +248 -0
- package/comps/CoreTableImage.vue +89 -0
- package/comps/CoreTableSearch.vue +267 -0
- package/comps/CoreTableSearchDetail.vue +89 -0
- package/comps/CoreTableStatus.vue +71 -0
- package/comps/CoreUploadImage.vue +542 -0
- package/comps/CoreVideo.vue +44 -0
- package/comps/CoreVimeo.vue +135 -0
- package/comps/CoreVimeoLabel.vue +32 -0
- package/comps/CoreVueEditor.vue +106 -0
- package/comps/CoreXypService.vue +233 -0
- package/comps/CoreZoomImage.vue +99 -0
- package/comps/Custom/CrimeDescription.vue +195 -0
- package/comps/Custom/CrimeNum.vue +41 -0
- package/comps/Custom/EmployeeSelect.vue +243 -0
- package/comps/Custom/EmployeeText.vue +7 -0
- package/comps/Custom/EmployeeWorkFamilies.vue +36 -0
- package/comps/Custom/NationalLangSkills.vue +137 -0
- package/comps/Custom/TableLogs.vue +86 -0
- package/comps/Custom/UserClotheRow.vue +105 -0
- package/comps/Custom/UserClothes.vue +470 -0
- package/comps/Custom/UserRoles.vue +169 -0
- package/comps/Custom/UserSelect.vue +423 -0
- package/comps/Custom/UserSkills.vue +98 -0
- package/comps/MomentAddCode.vue +91 -0
- package/comps/SclHandbook.vue +135 -0
- package/comps/Sign/Dialog.vue +321 -0
- package/comps/Sign/Info.vue +43 -0
- package/comps/Sign/InfoDialog.vue +78 -0
- package/directives/el-dragDialog/drag.js +34 -0
- package/index.js +7 -0
- package/middleware/auth.js +28 -0
- package/middleware/confirm-leave.js +15 -0
- package/middleware/login.js +6 -0
- package/middleware/router.js +5 -0
- package/package.json +48 -0
- package/plugins/axios.js +51 -0
- package/plugins/chart.js +134 -0
- package/plugins/ckeditor.js +3 -0
- package/plugins/idle-logout.js +33 -0
- package/store/settings.js +236 -0
- package/store/user.js +215 -0
- package/utils/component-helper.js +336 -0
- package/utils/data-helper.js +236 -0
- package/utils/default-nuxt-config.js +116 -0
- package/utils/eslint-rules.js +12 -0
- package/utils/helpers.js +67 -0
- package/utils/message-helper.js +19 -0
- package/utils/number-helper.js +166 -0
- package/utils/number-texts.js +217 -0
- package/utils/regexps.js +86 -0
- package/utils/role-helper.js +52 -0
- package/utils/social-helper.js +58 -0
- package/utils/table-helper.js +1612 -0
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-select
|
|
4
|
+
ref="refComponent"
|
|
5
|
+
v-model="modelValue"
|
|
6
|
+
class="w-full"
|
|
7
|
+
clearable
|
|
8
|
+
filterable
|
|
9
|
+
remote
|
|
10
|
+
:loading="loading"
|
|
11
|
+
:disabled="disabled"
|
|
12
|
+
:remote-method="handleDebounce"
|
|
13
|
+
:multiple="isMultiple"
|
|
14
|
+
:size="size"
|
|
15
|
+
:value-key="'_id'"
|
|
16
|
+
:placeholder="placeholder"
|
|
17
|
+
@clear="handleClear"
|
|
18
|
+
@visible-change="handleVisibleChange"
|
|
19
|
+
@keydown.native.enter="$emit('keydown-enter')"
|
|
20
|
+
@keydown="$emit('keydown', $event)"
|
|
21
|
+
>
|
|
22
|
+
<div class="text-center">
|
|
23
|
+
<el-button type="text" :loading="loadingVisible" @click="handleVisible()">
|
|
24
|
+
Шинээр нэмэх
|
|
25
|
+
</el-button>
|
|
26
|
+
</div>
|
|
27
|
+
<el-option
|
|
28
|
+
v-for="item of dataList"
|
|
29
|
+
:key="item._id"
|
|
30
|
+
:label="table_name === 'reg_org_emps' ? `${ (item.degree_name || item.position_name || '') } ${ item.name || '' } ${ item.phone_num || '' }` : `${item.full_name} ${ item.expert_num || ''}`"
|
|
31
|
+
:value="item"
|
|
32
|
+
class="h-auto max-w-[500px] h-auto whitespace-normal break-normal"
|
|
33
|
+
>
|
|
34
|
+
<div class="flex">
|
|
35
|
+
<div v-if="table_name === 'reg_org_emps'" class="leading-3 flex-1">
|
|
36
|
+
<div class="flex flex-row justify-between leading-3">
|
|
37
|
+
<span class="!text-normal">{{ item.degree_name || item.position_name }} <span class="font-bold text-xs">{{ item.name }}</span></span>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="text-xs">
|
|
40
|
+
<span class="text-coreSecondaryText">{{ item.resolution_org_id?.short_name }} </span>
|
|
41
|
+
<span>{{ item.resolution_org_id?.name }} <span class="font-bold">{{ item.phone_num || '' }}</span></span>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div v-else class="flex-1">
|
|
45
|
+
<div>{{ item.full_name }}</div>
|
|
46
|
+
<div class="text-coreSecondaryText">
|
|
47
|
+
<div>{{ item.org_name }} </div>
|
|
48
|
+
<span>{{ item.pos_name }} {{ item.expert_num }} {{ item.phone_num }}</span>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<button class="text-xs text-corePrimaryText hover:bg-white rounded px-2 p-1" @click.stop.prevent="handleVisible(item._id)">
|
|
52
|
+
<i class="el-icon-edit" />
|
|
53
|
+
</button>
|
|
54
|
+
</div>
|
|
55
|
+
</el-option>
|
|
56
|
+
<el-option :value="null" class="text-center">
|
|
57
|
+
<span class="text-coreSecondaryText text-center text-xs">Арилгах</span>
|
|
58
|
+
</el-option>
|
|
59
|
+
</el-select>
|
|
60
|
+
<core-form-dialog
|
|
61
|
+
v-if="visible"
|
|
62
|
+
:temp="temp"
|
|
63
|
+
:saving="saving"
|
|
64
|
+
:restoring-password="restoringPassword"
|
|
65
|
+
:pk_field_name="project.pk_field_name"
|
|
66
|
+
:has-password="hasPassword"
|
|
67
|
+
:default-size="defaultSize"
|
|
68
|
+
:size-button="defaultSize"
|
|
69
|
+
:width="'500px'"
|
|
70
|
+
:level="level"
|
|
71
|
+
:append-to-body="true"
|
|
72
|
+
@close="handleClose"
|
|
73
|
+
@save="handleSave"
|
|
74
|
+
@restore-password="handleRestorePassword"
|
|
75
|
+
>
|
|
76
|
+
<core-form
|
|
77
|
+
ref="coreForm"
|
|
78
|
+
:temp-id="id"
|
|
79
|
+
:temp="temp"
|
|
80
|
+
:columns="columns"
|
|
81
|
+
:rules="rules"
|
|
82
|
+
:table="table"
|
|
83
|
+
:loading-form="loadingForm"
|
|
84
|
+
:pk_field_name="project.pk_field_name"
|
|
85
|
+
:project-id="project._id"
|
|
86
|
+
:has-password="hasPassword"
|
|
87
|
+
:default-size="defaultSize"
|
|
88
|
+
:searching="formSearching"
|
|
89
|
+
width="100%"
|
|
90
|
+
no-padding
|
|
91
|
+
:config_group_fields="config_group_fields"
|
|
92
|
+
:config_form_menus="config_form_menus"
|
|
93
|
+
:ref-columns="refColumns"
|
|
94
|
+
:hide-log="true"
|
|
95
|
+
@form-search="handleFormSearch"
|
|
96
|
+
@temp-change="handleTempChange"
|
|
97
|
+
/>
|
|
98
|
+
</core-form-dialog>
|
|
99
|
+
</div>
|
|
100
|
+
</template>
|
|
101
|
+
<script>
|
|
102
|
+
import { mapGetters } from 'vuex'
|
|
103
|
+
import { get } from 'lodash'
|
|
104
|
+
import { getFormBoolean } from '../utils/data-helper'
|
|
105
|
+
import { tableData, tableMethods, tableComputed, tableWatch, getAsyncData } from '@/../core-components/utils/table-helper'
|
|
106
|
+
export default {
|
|
107
|
+
name: 'CoreSelectOrgEmp',
|
|
108
|
+
props: {
|
|
109
|
+
parentTemp: { type: Object, default: () => { return null } },
|
|
110
|
+
value: { type: [String, Array, Number, Object], default: null },
|
|
111
|
+
table_name: { type: String, default: null },
|
|
112
|
+
ref_column: { type: String, default: null },
|
|
113
|
+
projectId: { type: [String, Number], default: null },
|
|
114
|
+
col_multiple: { type: [Boolean, Number, String], default: false },
|
|
115
|
+
trigger_fields: { type: String, default: '' },
|
|
116
|
+
disabled: { type: Boolean, default: false },
|
|
117
|
+
size: { type: String, default: null },
|
|
118
|
+
isSearch: { type: Boolean, default: false },
|
|
119
|
+
placeholder: { type: String, default: 'Сонгох' }
|
|
120
|
+
},
|
|
121
|
+
data () {
|
|
122
|
+
return {
|
|
123
|
+
...tableData,
|
|
124
|
+
visible: false,
|
|
125
|
+
dataList: [],
|
|
126
|
+
loading: false,
|
|
127
|
+
timeout: 0,
|
|
128
|
+
timeoutDebounce: 0,
|
|
129
|
+
currentPage: 1,
|
|
130
|
+
id: null,
|
|
131
|
+
configProjectId: null,
|
|
132
|
+
project: null,
|
|
133
|
+
table: null,
|
|
134
|
+
formWidth: null,
|
|
135
|
+
columns: null,
|
|
136
|
+
configTableName: null,
|
|
137
|
+
configColFields: null,
|
|
138
|
+
hasPassword: null,
|
|
139
|
+
refColumns: null,
|
|
140
|
+
subColumn: null,
|
|
141
|
+
parentRow: null,
|
|
142
|
+
readOnly: null,
|
|
143
|
+
config_group_fields: null,
|
|
144
|
+
config_form_menus: null,
|
|
145
|
+
loadingVisible: false
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
computed: {
|
|
149
|
+
...tableComputed,
|
|
150
|
+
...mapGetters('user', ['user']),
|
|
151
|
+
defaultSize () {
|
|
152
|
+
return 'mini'
|
|
153
|
+
},
|
|
154
|
+
isMultiple () {
|
|
155
|
+
return getFormBoolean(this.col_multiple)
|
|
156
|
+
},
|
|
157
|
+
tableName () {
|
|
158
|
+
return this.table_name
|
|
159
|
+
},
|
|
160
|
+
clonedTemp () {
|
|
161
|
+
return Object.assign({ ...this.parentTemp })
|
|
162
|
+
},
|
|
163
|
+
modelValue: {
|
|
164
|
+
get () {
|
|
165
|
+
if (this.isMultiple) {
|
|
166
|
+
if (!this.value) {
|
|
167
|
+
return []
|
|
168
|
+
}
|
|
169
|
+
if (typeof this.value === 'object' && Array.isArray(this.value)) {
|
|
170
|
+
return this.value
|
|
171
|
+
}
|
|
172
|
+
return this.value.split(',')
|
|
173
|
+
} else {
|
|
174
|
+
return this.value
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
set (val) {
|
|
178
|
+
if (!val) {
|
|
179
|
+
this.$emit('input', val)
|
|
180
|
+
} else if (this.isMultiple) {
|
|
181
|
+
this.$emit('input', val)
|
|
182
|
+
} else {
|
|
183
|
+
this.$emit('input', val)
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
watch: {
|
|
189
|
+
...tableWatch,
|
|
190
|
+
'parentTemp.resolution_org_id._id' (val) {
|
|
191
|
+
const orgId = this.value?.resolution_org_id?._id || null
|
|
192
|
+
const valId = val || null
|
|
193
|
+
if (valId !== orgId) {
|
|
194
|
+
this.modelValue = null
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
value: {
|
|
198
|
+
handler () {
|
|
199
|
+
this.handleDefault()
|
|
200
|
+
},
|
|
201
|
+
deep: true
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
created () {
|
|
205
|
+
this.handleDefault()
|
|
206
|
+
},
|
|
207
|
+
methods: {
|
|
208
|
+
...tableMethods,
|
|
209
|
+
get,
|
|
210
|
+
focus () {
|
|
211
|
+
this.$refs.refComponent.focus()
|
|
212
|
+
},
|
|
213
|
+
async handleVisible (id) {
|
|
214
|
+
await this.handleGetConfig(id)
|
|
215
|
+
},
|
|
216
|
+
handleDefault () {
|
|
217
|
+
let vals = []
|
|
218
|
+
if (this.isMultiple) {
|
|
219
|
+
vals = this.value ? [...this.value] : []
|
|
220
|
+
} else if (typeof this.value === 'object') {
|
|
221
|
+
vals = this.value && this.value?._id ? [this.value] : []
|
|
222
|
+
}
|
|
223
|
+
for (const val of vals) {
|
|
224
|
+
if (!this.dataList.some(c => c?._id === val?._id)) {
|
|
225
|
+
this.dataList.unshift(val)
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
handleVisibleChange (val) {
|
|
230
|
+
if (val) {
|
|
231
|
+
this.getDataList()
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
handleDebounce (query) {
|
|
235
|
+
clearTimeout(this.timeoutDebounce)
|
|
236
|
+
this.loading = true
|
|
237
|
+
this.timeoutDebounce = setTimeout(() => this.getDataList(query), 500)
|
|
238
|
+
},
|
|
239
|
+
async getDataList (query) {
|
|
240
|
+
try {
|
|
241
|
+
this.loading = true
|
|
242
|
+
const search = Object.assign({})
|
|
243
|
+
if (!query && this.parentTemp?.resolution_org_id?._id) {
|
|
244
|
+
search.resolution_org_id = { val: this.parentTemp?.resolution_org_id?._id, t: 'number', op: 'eq' }
|
|
245
|
+
}
|
|
246
|
+
const fields = this.ref_column.split(',')
|
|
247
|
+
if (this.table_name === 'reg_org_emps') {
|
|
248
|
+
fields.push('resolution_org_id.name', 'resolution_org_id.short_name')
|
|
249
|
+
}
|
|
250
|
+
this.dataList = []
|
|
251
|
+
this.handleDefault()
|
|
252
|
+
const { data } = await this.$axios.get(`reference/${this.projectId}/${this.table_name}`, {
|
|
253
|
+
params: {
|
|
254
|
+
searchText: query,
|
|
255
|
+
search: JSON.stringify(search),
|
|
256
|
+
fields: fields.join(','),
|
|
257
|
+
locale_id: this.parentTemp?.locale_id
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
// const dataList = this.value ? (this.isMultiple ? [...this.value] : (this.value?._id ? [this.value] : [])) : []
|
|
261
|
+
for (const r of data.list) {
|
|
262
|
+
const index = this.dataList.findIndex(c => c?._id === r?._id)
|
|
263
|
+
if (index === -1) {
|
|
264
|
+
this.dataList.push(r)
|
|
265
|
+
}
|
|
266
|
+
// if (index > -1) {
|
|
267
|
+
// dataList.splice(index, 1)
|
|
268
|
+
// }
|
|
269
|
+
}
|
|
270
|
+
// this.dataList = [...dataList, ...data.list]
|
|
271
|
+
} catch (err) {
|
|
272
|
+
this.$showError(err)
|
|
273
|
+
} finally {
|
|
274
|
+
this.loading = false
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
handleClear () {
|
|
278
|
+
this.getDataList()
|
|
279
|
+
},
|
|
280
|
+
handleSaved (data) {
|
|
281
|
+
this.modelValue = data
|
|
282
|
+
this.temp = null
|
|
283
|
+
this.id = null
|
|
284
|
+
},
|
|
285
|
+
async handleGetConfig (id) {
|
|
286
|
+
try {
|
|
287
|
+
if (this.loadingVisible) {
|
|
288
|
+
return
|
|
289
|
+
}
|
|
290
|
+
this.loadingVisible = true
|
|
291
|
+
this.pageSize = 10
|
|
292
|
+
this.list = []
|
|
293
|
+
this.count = 0
|
|
294
|
+
const config = await getAsyncData({
|
|
295
|
+
tableName: this.tableName,
|
|
296
|
+
projectId: this.projectId,
|
|
297
|
+
$axios: this.$axios,
|
|
298
|
+
selectable: true,
|
|
299
|
+
skipFormReadonly: true
|
|
300
|
+
})
|
|
301
|
+
for (const configKey in config) {
|
|
302
|
+
this[configKey] = config[configKey]
|
|
303
|
+
}
|
|
304
|
+
this.$nextTick(() => {
|
|
305
|
+
this.resetDefaultTemp()
|
|
306
|
+
this.defaultTemp.resolution_org_id = this.parentTemp.resolution_org_id?._id ? this.parentTemp.resolution_org_id : null
|
|
307
|
+
this.id = id || 'create'
|
|
308
|
+
this.resetTemp(this.id)
|
|
309
|
+
})
|
|
310
|
+
this.visible = true
|
|
311
|
+
} catch (err) {
|
|
312
|
+
this.$showError(err)
|
|
313
|
+
} finally {
|
|
314
|
+
this.loadingVisible = false
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
</script>
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-input size="small" readonly :value="displayText" :disabled="disabled">
|
|
4
|
+
<el-button slot="append" icon="el-icon-search" :loading="loadingVisible" :disabled="disabled" @click="handleVisible" />
|
|
5
|
+
</el-input>
|
|
6
|
+
<el-dialog :visible.sync="visible" title="Сонгох" :append-to-body="true" width="1000px">
|
|
7
|
+
<div class="px-4 pt-4 pb-2 rounded bg-background w-full h-[500px]">
|
|
8
|
+
<core-table
|
|
9
|
+
v-if="visible"
|
|
10
|
+
:project-id="projectId"
|
|
11
|
+
:table_id="table._id"
|
|
12
|
+
:list="list"
|
|
13
|
+
:count="count"
|
|
14
|
+
:columns="columns"
|
|
15
|
+
:loading="loading"
|
|
16
|
+
:sorts="sorts"
|
|
17
|
+
:current-page="currentPage"
|
|
18
|
+
:list-page="listPage"
|
|
19
|
+
:search="search"
|
|
20
|
+
:pk_field_name="project.pk_field_name"
|
|
21
|
+
:current-row-id="id"
|
|
22
|
+
:init-current-row="currentRow"
|
|
23
|
+
:loading-excel="loadingExcel"
|
|
24
|
+
:default-size="defaultSize"
|
|
25
|
+
:size-button="defaultSize"
|
|
26
|
+
:fill_field="table.fill_field"
|
|
27
|
+
:level="level"
|
|
28
|
+
:api_id="api_id"
|
|
29
|
+
:api_title="api_title"
|
|
30
|
+
:has-handbook="hasHandbook"
|
|
31
|
+
:selectable="true"
|
|
32
|
+
:all-selectable="allSelectable"
|
|
33
|
+
is-detail
|
|
34
|
+
plain-button
|
|
35
|
+
@load="handleRefreshList"
|
|
36
|
+
@excel="handleExcel"
|
|
37
|
+
@create="handleCreate"
|
|
38
|
+
@update="handleUpdate"
|
|
39
|
+
@search-input="handleSearchInput"
|
|
40
|
+
@search="handleSearch"
|
|
41
|
+
@refresh="handleRefresh"
|
|
42
|
+
@sort-change="handleSortChange"
|
|
43
|
+
@size-change="handleChangeSize"
|
|
44
|
+
@current-change="handleCurrentChange"
|
|
45
|
+
@current-row-change="handleCurrentRowChange"
|
|
46
|
+
@delete="handleDelete"
|
|
47
|
+
>
|
|
48
|
+
<div slot="action-buttons">
|
|
49
|
+
<el-button type="success" size="mini" plain icon="el-icon-check" @click="handleSelect">
|
|
50
|
+
Сонгох
|
|
51
|
+
</el-button>
|
|
52
|
+
<el-button size="mini" icon="el-icon-close" @click="visible=false">
|
|
53
|
+
Буцах
|
|
54
|
+
</el-button>
|
|
55
|
+
</div>
|
|
56
|
+
</core-table>
|
|
57
|
+
</div>
|
|
58
|
+
</el-dialog>
|
|
59
|
+
<core-form-dialog
|
|
60
|
+
v-if="visible"
|
|
61
|
+
:temp="temp"
|
|
62
|
+
:saving="saving"
|
|
63
|
+
:restoring-password="restoringPassword"
|
|
64
|
+
:pk_field_name="project.pk_field_name"
|
|
65
|
+
:has-password="hasPassword"
|
|
66
|
+
:default-size="defaultSize"
|
|
67
|
+
:size-button="defaultSize"
|
|
68
|
+
:width="'500px'"
|
|
69
|
+
:level="level"
|
|
70
|
+
:append-to-body="true"
|
|
71
|
+
@close="handleClose"
|
|
72
|
+
@save="handleSave"
|
|
73
|
+
@restore-password="handleRestorePassword"
|
|
74
|
+
>
|
|
75
|
+
<core-form
|
|
76
|
+
ref="coreForm"
|
|
77
|
+
:temp-id="id"
|
|
78
|
+
:temp="temp"
|
|
79
|
+
:columns="columns"
|
|
80
|
+
:rules="rules"
|
|
81
|
+
:table="table"
|
|
82
|
+
:loading-form="loadingForm"
|
|
83
|
+
:pk_field_name="project.pk_field_name"
|
|
84
|
+
:project-id="project._id"
|
|
85
|
+
:has-password="hasPassword"
|
|
86
|
+
:default-size="defaultSize"
|
|
87
|
+
:searching="formSearching"
|
|
88
|
+
width="100%"
|
|
89
|
+
no-padding
|
|
90
|
+
:config_group_fields="config_group_fields"
|
|
91
|
+
:config_form_menus="config_form_menus"
|
|
92
|
+
:ref-columns="refColumns"
|
|
93
|
+
:hide-log="true"
|
|
94
|
+
@form-search="handleFormSearch"
|
|
95
|
+
@temp-change="handleTempChange"
|
|
96
|
+
/>
|
|
97
|
+
</core-form-dialog>
|
|
98
|
+
</div>
|
|
99
|
+
</template>
|
|
100
|
+
<script>
|
|
101
|
+
import { mapGetters } from 'vuex'
|
|
102
|
+
import { get, isEqual } from 'lodash'
|
|
103
|
+
import { getTriggerFields } from '../utils/data-helper'
|
|
104
|
+
import { tableData, tableMethods, tableComputed, tableWatch, getAsyncData } from '@/../core-components/utils/table-helper'
|
|
105
|
+
export default {
|
|
106
|
+
name: 'CoreSelectTable',
|
|
107
|
+
props: {
|
|
108
|
+
parentTemp: {
|
|
109
|
+
type: Object,
|
|
110
|
+
default: () => { return null }
|
|
111
|
+
},
|
|
112
|
+
value: {
|
|
113
|
+
type: Object,
|
|
114
|
+
default: () => { return null }
|
|
115
|
+
},
|
|
116
|
+
projectId: {
|
|
117
|
+
type: [String, Number],
|
|
118
|
+
default: '5'
|
|
119
|
+
},
|
|
120
|
+
table_name: {
|
|
121
|
+
type: String,
|
|
122
|
+
default: null
|
|
123
|
+
},
|
|
124
|
+
size: {
|
|
125
|
+
type: String,
|
|
126
|
+
default: 'small'
|
|
127
|
+
},
|
|
128
|
+
trigger_fields: {
|
|
129
|
+
type: String,
|
|
130
|
+
default: ''
|
|
131
|
+
},
|
|
132
|
+
disabled: { type: Boolean, default: false },
|
|
133
|
+
allSelectable: { type: Boolean, default: false }
|
|
134
|
+
},
|
|
135
|
+
data () {
|
|
136
|
+
return {
|
|
137
|
+
...tableData,
|
|
138
|
+
visible: false,
|
|
139
|
+
currentPage: 1,
|
|
140
|
+
id: null,
|
|
141
|
+
configProjectId: null,
|
|
142
|
+
project: null,
|
|
143
|
+
table: null,
|
|
144
|
+
formWidth: null,
|
|
145
|
+
columns: null,
|
|
146
|
+
configTableName: null,
|
|
147
|
+
configColFields: null,
|
|
148
|
+
hasPassword: null,
|
|
149
|
+
refColumns: null,
|
|
150
|
+
subColumn: null,
|
|
151
|
+
parentRow: null,
|
|
152
|
+
readOnly: null,
|
|
153
|
+
config_group_fields: null,
|
|
154
|
+
config_form_menus: null,
|
|
155
|
+
loadingVisible: false
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
computed: {
|
|
159
|
+
...tableComputed,
|
|
160
|
+
...mapGetters('user', ['user']),
|
|
161
|
+
defaultSize () {
|
|
162
|
+
return 'mini'
|
|
163
|
+
},
|
|
164
|
+
tableName () {
|
|
165
|
+
return this.table_name
|
|
166
|
+
},
|
|
167
|
+
clonedTemp () {
|
|
168
|
+
return { ...this.parentTemp }
|
|
169
|
+
},
|
|
170
|
+
displayText () {
|
|
171
|
+
if (!this.value || !this.value._id) {
|
|
172
|
+
return ''
|
|
173
|
+
}
|
|
174
|
+
const vals = []
|
|
175
|
+
if (this.value.degree_name) {
|
|
176
|
+
vals.push(this.value.degree_name)
|
|
177
|
+
} else if (this.value.position_name) {
|
|
178
|
+
vals.push(this.value.position_name)
|
|
179
|
+
}
|
|
180
|
+
vals.push(this.value.name)
|
|
181
|
+
if (this.value.phone_num) {
|
|
182
|
+
vals.push(this.value.phone_num)
|
|
183
|
+
}
|
|
184
|
+
return vals.join(' ')
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
watch: {
|
|
188
|
+
...tableWatch,
|
|
189
|
+
clonedTemp: {
|
|
190
|
+
handler: function (newVal, oldVal) {
|
|
191
|
+
const trigger_fields = getTriggerFields(this.trigger_fields)
|
|
192
|
+
for (const { localVal } of trigger_fields) {
|
|
193
|
+
if (localVal.includes('#')) {
|
|
194
|
+
const tempKey = localVal.substring(1)
|
|
195
|
+
const newValue = get(newVal, tempKey)
|
|
196
|
+
const oldValue = get(oldVal, tempKey)
|
|
197
|
+
if (!isEqual(newValue, oldValue)) {
|
|
198
|
+
this.$emit('input', null)
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
deep: true
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
methods: {
|
|
207
|
+
...tableMethods,
|
|
208
|
+
handleSelect () {
|
|
209
|
+
if (!this.currentRow) {
|
|
210
|
+
return this.$message({ type: 'warning', message: 'Мөр сонгоно уу.' })
|
|
211
|
+
}
|
|
212
|
+
this.$emit('input', this.currentRow)
|
|
213
|
+
this.visible = false
|
|
214
|
+
},
|
|
215
|
+
async handleVisible () {
|
|
216
|
+
await this.handleGetConfig()
|
|
217
|
+
},
|
|
218
|
+
handleDefaultSearch () {
|
|
219
|
+
const triggerSearch = {}
|
|
220
|
+
const trigger_fields = getTriggerFields(this.trigger_fields)
|
|
221
|
+
for (const { localKey, localVal, type, operation } of trigger_fields) {
|
|
222
|
+
if (localVal.startsWith('#')) {
|
|
223
|
+
const tempKey = localVal.substring(1)
|
|
224
|
+
const newValue = get(this.clonedTemp, tempKey)
|
|
225
|
+
if (!newValue) {
|
|
226
|
+
return
|
|
227
|
+
} else if (typeof newValue === 'object' && Array.isArray(newValue)) {
|
|
228
|
+
const vals = newValue.map(c => c._id)
|
|
229
|
+
triggerSearch[localKey] = { val: vals, t: type, op: operation }
|
|
230
|
+
} else {
|
|
231
|
+
const val = typeof newValue === 'object' ? newValue[this.pk_field_name] : newValue
|
|
232
|
+
triggerSearch[localKey] = { val, t: type, op: operation }
|
|
233
|
+
}
|
|
234
|
+
} else {
|
|
235
|
+
triggerSearch[localKey] = { val: localVal, t: type, op: operation }
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
this.search = { ...this.search, ...triggerSearch }
|
|
239
|
+
},
|
|
240
|
+
beforeGetList () {
|
|
241
|
+
this.handleDefaultSearch()
|
|
242
|
+
},
|
|
243
|
+
async handleGetConfig () {
|
|
244
|
+
try {
|
|
245
|
+
if (this.loadingVisible) {
|
|
246
|
+
return
|
|
247
|
+
}
|
|
248
|
+
this.loadingVisible = true
|
|
249
|
+
this.pageSize = 10
|
|
250
|
+
this.list = []
|
|
251
|
+
this.count = 0
|
|
252
|
+
const config = await getAsyncData({
|
|
253
|
+
tableName: this.tableName,
|
|
254
|
+
projectId: this.projectId,
|
|
255
|
+
$axios: this.$axios,
|
|
256
|
+
selectable: true,
|
|
257
|
+
skipFormReadonly: true
|
|
258
|
+
})
|
|
259
|
+
for (const configKey in config) {
|
|
260
|
+
this[configKey] = config[configKey]
|
|
261
|
+
}
|
|
262
|
+
this.currentRow = this.value
|
|
263
|
+
this.$nextTick(() => {
|
|
264
|
+
this.resetDefaultTemp()
|
|
265
|
+
this.defaultTemp.resolution_org_id = this.parentTemp.resolution_org_id
|
|
266
|
+
this.resetSearch()
|
|
267
|
+
})
|
|
268
|
+
this.visible = true
|
|
269
|
+
} catch (err) {
|
|
270
|
+
this.$showError(err)
|
|
271
|
+
} finally {
|
|
272
|
+
this.loadingVisible = false
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
</script>
|