{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/api/axios/handleCode.ts","webpack:///./src/api/axios/index.ts","webpack:///./src/components/common/ContentHead.vue","webpack:///./src/components/common/ContentHead.vue?fd51","webpack:///./src/layout/ZHead.vue?beaf","webpack:///./src/App.vue?1537","webpack:///./src/components/common/MainHead.vue","webpack:///./src/components/common/MainHead.vue?5704","webpack:///./src/api/points.ts","webpack:///./src/components/common/CommonPage.vue","webpack:///./src/components/common/CommonPage.vue?8fef","webpack:///./src/components/common/MainHead.vue?2361","webpack:///./src/layout/index.vue?3869","webpack:///./src/api/type.ts","webpack:///./src/views/Ask.vue?f56a","webpack:///./src/layout/ZFooter.vue?4e5d","webpack:///./src/api/knowledge.ts","webpack:///./src/components/knowledge/TableList.vue?c739","webpack:///./src/common/formMethod.ts","webpack:///./src/components/knowledge/drawer-content/FormContent.vue","webpack:///./src/components/knowledge/drawer-content/FormContent.vue?ae7a","webpack:///./src/components/knowledge/drawer-content/index.vue","webpack:///./src/components/knowledge/drawer-content/index.vue?8644","webpack:///./src/common/constant.ts","webpack:///./src/components/common/CommonDrawer.vue?6584","webpack:///./src/components/knowledge/labels-content/FormContent.vue?6e82","webpack:///./src/common/confirm.ts","webpack:///./src/layout/ZMenu.vue?bc99","webpack:///./src/views/Knowledge.vue?20dc","webpack:///./src/components/common/CommonPage.vue?0687","webpack:///./src/components/ask/TableList.vue?91bf","webpack:///./src/components/knowledge/drawer-content/FormContent.vue?831c","webpack:///./src/App.vue","webpack:///./src/App.vue?8ecf","webpack:///./src/utils/waterMark.ts","webpack:///./src/api/common.ts","webpack:///./src/layout/ZHead.vue","webpack:///./src/layout/ZHead.vue?adf0","webpack:///./src/utils/cookie.ts","webpack:///./src/layout/ZFooter.vue","webpack:///./src/layout/ZFooter.vue?9803","webpack:///./src/layout/ZMenu.vue","webpack:///./src/layout/ZMenu.vue?d409","webpack:///./src/layout/index.vue","webpack:///./src/layout/index.vue?2d5d","webpack:///./src/components/ask/TableList.vue","webpack:///./src/components/ask/TableList.vue?73cb","webpack:///./src/views/Ask.vue","webpack:///./src/views/Ask.vue?7b06","webpack:///./src/components/knowledge/labels-content/FormContent.vue","webpack:///./src/components/knowledge/labels-content/FormContent.vue?6c9e","webpack:///./src/components/knowledge/labels-content/index.vue","webpack:///./src/components/knowledge/labels-content/index.vue?1392","webpack:///./src/components/knowledge/TableList.vue","webpack:///./src/components/knowledge/TableList.vue?5159","webpack:///./src/common/domain.ts","webpack:///./src/views/Knowledge.vue","webpack:///./src/views/Knowledge.vue?7a1f","webpack:///./src/router/index.ts","webpack:///./src/store/index.ts","webpack:///./src/main.ts","webpack:///./src/assets/search-smart.png","webpack:///./src/components/common/ContentHead.vue?b2b3","webpack:///./src/api/ask.ts","webpack:///./src/components/knowledge/labels-content/FormContent.vue?e10e","webpack:///./src/components/common/CommonDrawer.vue","webpack:///./src/components/common/CommonDrawer.vue?ff94","webpack:///./src/api/tag.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","status","ElMessage","duration","onClose","Service","axios","method","baseURL","withCredentials","headers","localStorage","getItem","interceptors","use","config","indexOf","qs","stringify","response","handleCode","_error$response","tpc_token","loginurl","location","startsWith","class","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_renderSlot","_ctx","$slots","__exports__","render","_defineComponent","__name","props","headName","String","default","setup","__props","_cache","_openBlock","_toDisplayString","getPoints","url","getTrades","setTrades","checkPoints","pageInfo","emits","emit","currentPage","ref","pageSize","total","sizeChange","val","currentChange","watch","newVal","immediate","deep","_component_el_pagination","_resolveComponent","_createVNode","small","background","$event","layout","onSizeChange","onCurrentChange","getTypesList","exportData","params","deleteData","getTableData","getModes","update","collectData","cancelCollectData","opeUserPrivate","submitForm","async","formEl","form","checkEl","validate","valid","fields","log","resetForm","resetFields","_withScopeId","_pushScopeId","_popScopeId","style","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","formData","typeOptions","Array","modeOptions","tagOptions","expose","formInit","info","meta","description","designer","addon","tags","labels","formRef","tip","tip2","rules","reactive","required","trigger","modeChange","setFormValue","operType","value2","map","item","id","addAddon","index","deleteAddon","addLabels","deleteLabels","submit","_component_el_option","_component_el_select","_component_el_form_item","_component_el_input","_component_Plus","_component_el_icon","_component_Minus","_component_el_button","_component_el_form","_createBlock","ref_key","model","_withCtx","label","prop","modelValue","placeholder","onChange","_Fragment","_renderList","_","_createCommentVNode","maxlength","rows","domain","onClick","_withDirectives","_vShow","_unref","MiCodemirror","fullScreen","copy","paste","multiple","_createTextVNode","drawerVisible","Boolean","drawerTitle","drawerData","formContentRef","requestSend","res","confirmClick","formValue","param","forEach","v","typeStr","modeStr","find","openDrawer","CommonDrawer","onHideDrawer","onOpen","footerVisible","onConfirmClick","FormContent","openEnv","process","confirm","opts","ElMessageBox","title","h","tips1","color","tips2","explain","showCancelButton","confirmButtonText","cancelButtonText","beforeClose","action","instance","done","confirmButtonLoading","callback","catch","_component_router_view","setWatermark","str","getElementById","body","createCanvas","width","height","Context2D","getContext","rotate","Math","PI","font","fillStyle","textAlign","textBaseline","fillText","createDiv","pointerEvents","top","left","opacity","position","zIndex","documentElement","clientWidth","clientHeight","toDataURL","watermark","set","setInterval","onresize","getUserData","isAdmin","router","useRouter","state","isPro","points","userImg","userName","menuData","path","icon","shallowRef","List","CollectionTag","Star","UserFilled","Coin","getPointsInfo","removeItem","setItem","pointsClick","handleCommand","command","resetUserInfo","getUserInfo","avatarUrl","account","_component_arrow_down","_component_el_dropdown_item","_component_el_dropdown_menu","_component_el_dropdown","_component_MioneHeader","_component_MioneMessage","center","right","onCommand","dropdown","alt","nameEQ","ca","cookie","split","charAt","substring","decodeURIComponent","days","secure","expires","isNaN","date","Date","setTime","getTime","toUTCString","encodeURIComponent","del","this","viewBox","version","xmlns","fill","isCollapse","visible","init","KEY","Cookie","nextTick","_component_el_link","_component_el_tooltip","_component_el_divider","effect","content","placement","direction","route","useRoute","activeIndex","searchObj","Search","knowledgeObj","Postcard","userObj","User","historyObj","Finished","priceObj","priceStrategyObj","Money","menuClick","collapseClick","selectPath","currentItem","_component_el_menu_item","_component_el_sub_menu","_component_el_menu","_component_Fold","_component_Expand","collapse","subMenu","size","_resolveDynamicComponent","subItem","subIndex","ZFooter","ZHead","ZMenu","loading","tableData","askInput","_component_el_table_column","_directive_loading","_resolveDirective","ElTable","scope","row","answer","question","_imports_0","numValue","chatGPTValue","getTable","getAskTableData","num","chatGPT","finally","searchTable","_component_el_checkbox","_component_el_input_number","modelModifiers","trim","clearable","onKeyup","_withKeys","onClear","prepend","min","controls","suffix","TableList","value3","userLabels","setLabels","disabled","plain","dataId","hideDrawer","handleCollect","requestFn","collected","handleEdit","handleDelete","showDrawer","handleLabels","fixed","link","keys","LabelsContent","onUpdate","zApi","origin","nameValue","typeValue","infoValue","tagValue","collectionValue","collectionOptions","getTypesData","pageNum","list","getTagData","getTagList","getModesData","collectionOnly","createOnly","Number","_typeOptions$value$fi","_modeOptions$value$fi","handlePage","uploadError","uploadFile","uploadFiles","uploadSuccess","edit","_component_el_upload","MainHead","ContentHead","btn","accept","filterable","onEdit","CommonPage","onHandlePage","DrawerContent","routes","component","Layout","children","Ask","Knowledge","createRouter","history","createWebHistory","createStore","mutations","actions","app","createApp","App","entries","ElementPlusIconsVue","Mit","mitt","globalProperties","$Bus","store","MioneProduct","MioneHeader","MioneMessage","ElementPlus","locale","zhCn","InstallCodemirro","mount","footerCustomVisible","drawer","handleClose","_component_el_page_header","_component_el_drawer","_createSlots","header","onBack","fn"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAAqB,CACxB,IAAO,GAMJjB,EAAkB,CACrB,IAAO,G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5c1ca.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"about\":\"about\"}[chunkId]||chunkId) + \".\" + {\"chunk-41d3fc2d\":\"e788e37b\",\"chunk-5bfb5fea\":\"b9c390dc\",\"about\":\"4c0526f6\",\"chunk-8ecfc2a6\":\"3603d3c9\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-41d3fc2d\":1,\"about\":1,\"chunk-8ecfc2a6\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"about\":\"about\"}[chunkId]||chunkId) + \".\" + {\"chunk-41d3fc2d\":\"0f662bfc\",\"chunk-5bfb5fea\":\"31d6cfe0\",\"about\":\"608bc507\",\"chunk-8ecfc2a6\":\"99b1675a\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","/*\n * @Description:\n * @Date: 2022-10-09 18:44:41\n * @LastEditTime: 2022-10-09 18:44:42\n */\nimport { ElMessage } from \"element-plus\";\n\n/**\n * @param code 状态码\n * @param message 错误信息\n * @returns boolean\n */\nexport default function ({\n code,\n message,\n status,\n}: {\n code: string | number;\n message: string;\n status: string | number;\n}): boolean {\n if (code !== 0) {\n code = code || status;\n }\n switch (code) {\n case \"0\":\n case 0:\n case \"200\":\n case 200:\n return true;\n case \"401\":\n case 401:\n ElMessage({\n message: \"没有权限~\",\n type: \"error\",\n duration: 3000,\n onClose() {\n // 重定向\n },\n });\n return false;\n default:\n ElMessage({\n message: message || \"请求错误~\",\n type: \"error\",\n duration: 3000,\n });\n return false;\n }\n}\n","import axios, { AxiosResponse, AxiosError, AxiosRequestConfig } from \"axios\";\nimport { ElMessage } from \"element-plus\";\nimport handleCode from \"./handleCode\";\nimport qs from \"qs\";\nimport { IResponse } from \"@/types/common\";\n\n// 创建一个 axios 实例\nexport const Service = axios.create({\n method: \"post\",\n baseURL: \"/api/z\", // 所有的请求地址前缀部分\n timeout: 60000, // 请求超时时间毫秒\n withCredentials: true, // 异步请求携带cookie\n headers: {\n // 设置后端需要的传参类型\n \"Content-Type\": \"application/json\",\n // \"Content-Type\": \"application/x-www-form-urlencoded\",\n \"moon-tenant-id\": localStorage.getItem(\"namespace\"),\n },\n});\n\n// 添加请求拦截器\nService.interceptors.request.use(\n (config: AxiosRequestConfig): AxiosRequestConfig => {\n // 在发送请求之前做些什么\n (config.headers as any)[\"moon-tenant-id\"] =\n localStorage.getItem(\"namespace\");\n if (\n ((config.headers as any)[\"Content-Type\"] as string).indexOf(\n \"application/x-www-form-urlencoded\"\n ) >= 0\n ) {\n config.data = qs.stringify(config.data);\n }\n return config;\n },\n // 对请求错误做些什么\n (error: AxiosError): Promise => Promise.reject(error)\n);\n\n// 添加响应拦截器\nService.interceptors.response.use(\n (response: AxiosResponse): AxiosResponse | Promise => {\n if (handleCode(response.data)) {\n return response.data;\n }\n return Promise.reject(response.data);\n },\n (error: AxiosError): Promise => {\n if (error && error.response) {\n if (error?.response?.status === 401) {\n // eslint-disable-next-line camelcase\n const { tpc_token, loginurl } = error.response.headers;\n // eslint-disable-next-line camelcase\n if (tpc_token === \"1\") {\n window.location.href = `${loginurl}?redirectUrl=${window.location.href}`;\n }\n } else if (\n error.message &&\n !error.message.startsWith(\"timeout\") &&\n error.response.status !== 404\n ) {\n ElMessage({\n message: `请求错误:${error.message || \"\"}`,\n type: \"error\",\n duration: 3 * 1000,\n });\n }\n } else {\n ElMessage({\n message: `请求错误:${error.message || \"\"}`,\n type: \"error\",\n duration: 3 * 1000,\n });\n }\n return Promise.reject(error);\n }\n);\n\nexport default Service;\n","\n\n\n\n\n\n","import { render } from \"./ContentHead.vue?vue&type=template&id=16791d68\"\nconst script = {}\n\nimport \"./ContentHead.vue?vue&type=style&index=0&id=16791d68&lang=scss\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ZHead.vue?vue&type=style&index=0&id=24bc7780&lang=scss&scoped=true\"","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./App.vue?vue&type=style&index=0&id=effa34ce&lang=scss\"","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-34d1c2dc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"main-head\" }\nconst _hoisted_2 = { class: \"main-head-name\" }\n\n\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MainHead',\n props: {\n headName: {\n type: String,\n default: \"\",\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(props.headName), 1),\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n}\n}\n\n})","import script from \"./MainHead.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MainHead.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MainHead.vue?vue&type=style&index=0&id=34d1c2dc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-34d1c2dc\"]])\n\nexport default __exports__","/*\n * @Description:\n * @Date: 2023-06-12 14:46:40\n * @LastEditTime: 2023-06-12 16:01:56\n */\n\nimport { Service } from \"./axios/index\";\nimport { IResponse } from \"@/types/common\";\nimport { TABLE_DATA } from \"@/types/points\";\n\n/**\n * @description 获取用户的积分数量\n */\nexport const getPoints = (): Promise =>\n Service({\n url: \"/user/get_points\",\n method: \"get\",\n });\n\n/**\n * @description 购买历史\n */\nexport const getTrades = (data: {\n pageNum: number; //当前的页码\n pageSize: number; //每页条数\n}): Promise<\n IResponse<{\n data: Array;\n pageNum: number;\n pageSize: number;\n total: number;\n }>\n> =>\n Service({\n url: \"/user/get_trades\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 发起交易\n */\nexport const setTrades = (data: { points: number }): Promise =>\n Service({\n url: \"/user/trade\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 手动检查交易是否完成\n */\nexport const checkPoints = (data: { pointToken: string }): Promise =>\n Service({\n url: \"/user/check_points\",\n method: \"post\",\n data,\n });\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"pagination\" }\n\nimport { ref, watch } from \"vue\";\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CommonPage',\n props: {\n pageInfo: {\n type: Object,\n default: () => ({}),\n },\n},\n emits: [\"handlePage\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\n\n/** data */\nconst currentPage = ref(props.pageInfo.currentPage || 1);\nconst pageSize = ref(props.pageInfo.pageSize || 10);\nconst total = ref(props.pageInfo.total || 0);\n\n/** methods */\n// 页码改版\nconst sizeChange = (val: number) => {\n pageSize.value = val;\n emit(\"handlePage\", { pageSize: val, currentPage: 1 });\n};\n// 当前页改变\nconst currentChange = (val: number) => {\n if (total.value) {\n currentPage.value = val;\n emit(\"handlePage\", { currentPage: val });\n }\n};\n\n/** watch */\n//监听\nwatch(\n () => props.pageInfo,\n (newVal) => {\n if (currentPage.value !== newVal.currentPage) {\n currentPage.value = newVal.currentPage; //这里得改变并没有触发currentChange事件\n }\n if (total.value !== newVal.total) total.value = newVal.total;\n },\n {\n immediate: true,\n deep: true,\n }\n);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_pagination = _resolveComponent(\"el-pagination\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _createVNode(_component_el_pagination, {\n small: \"\",\n background: \"\",\n currentPage: currentPage.value,\n \"onUpdate:currentPage\": _cache[0] || (_cache[0] = ($event: any) => ((currentPage).value = $event)),\n \"page-size\": pageSize.value,\n \"onUpdate:pageSize\": _cache[1] || (_cache[1] = ($event: any) => ((pageSize).value = $event)),\n layout: \"total, sizes, prev, pager, next, jumper\",\n \"page-sizes\": [10, 20, 30, 40],\n onSizeChange: sizeChange,\n total: total.value,\n onCurrentChange: currentChange\n }, null, 8, [\"currentPage\", \"page-size\", \"total\"])\n ]))\n}\n}\n\n})","import script from \"./CommonPage.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CommonPage.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CommonPage.vue?vue&type=style&index=0&id=7e075c4e&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./MainHead.vue?vue&type=style&index=0&id=34d1c2dc&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=774e01d2&lang=scss&scoped=true\"","/*\n * @Description:\n * @Date: 2023-04-23 17:14:15\n * @LastEditTime: 2023-05-15 18:02:56\n */\n\nimport { Service } from \"./axios/index\";\nimport { IResponse } from \"@/types/common\";\nimport { OPTION_LIST } from \"@/types/common\";\n\n/**\n * @description 知识库类型枚举\n * @url https://mi-api.be.mi.com/#/api/apidetail?projectID=123156&apiID=57817&apiProtocol=1\n */\nexport const getTypesList = (\n data: any\n): Promise<\n IResponse<{\n list?: Array;\n pageNum: number; //当前的页码\n pageSize: number; //每页条数\n }>\n> =>\n Service({\n url: \"/knowledge/types/list\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 新增\n * @url https://mi-api.be.mi.com/#/api/apidetail?projectID=123156&apiID=57818&apiProtocol=1\n */\nexport const create = (data: OPTION_LIST): Promise> =>\n Service({\n url: \"/knowledge/types/create\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 导出\n */\nexport const exportData = (params: {\n type?: number | string;\n}): Promise => {\n return Service({\n url: \"/knowledge/export_jsonl\",\n method: \"get\",\n params,\n });\n};\n\n/**\n * @description 删除\n * @url https://mi-api.be.mi.com/#/api/apidetail?projectID=123156&apiID=57820&apiProtocol=1\n */\nexport const deleteData = (data: OPTION_LIST): Promise> => {\n return Service({\n url: \"/knowledge/types/delete\",\n method: \"post\",\n data,\n });\n};\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Ask.vue?vue&type=style&index=0&id=04efe0ba&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ZFooter.vue?vue&type=style&index=0&id=f91633e6&lang=scss&scoped=true\"","/*\n * @Description:\n * @Date: 2023-04-23 16:53:12\n * @LastEditTime: 2023-06-16 16:18:03\n */\nimport { Service } from \"./axios/index\";\nimport { IResponse, OPTION_LIST } from \"@/types/common\";\nimport { TABLE_DATA } from \"@/types/knowledge\";\n\n/**\n * @description 获取列表\n * @url https://mi-api.be.mi.com/#/api/apidetail?projectID=123156&apiID=57825&apiProtocol=1\n */\nexport const getTableData = (data: {\n type?: number; //类型\n tags?: number; //标签\n info?: string; //信息\n name?: string; //名称\n collectionOnly?: boolean;\n createOnly?: boolean;\n structure?: number; //数据结构\n pageNum: number; //当前的页码\n pageSize: number; //每页条数\n}): Promise<\n IResponse<{\n list: Array;\n pageNum: number;\n pageSize: number;\n total: number;\n }>\n> =>\n Service({\n url: \"/knowledge/list\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 知识库模式枚举\n * @url https://mi-api.be.mi.com/#/api/apidetail?projectID=123156&apiID=57819&apiProtocol=1\n */\nexport const getModes = (\n data: any\n): Promise<\n IResponse<{\n item: Array;\n }>\n> =>\n Service({\n url: \"/knowledge/modes\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 新增\n * @url https://mi-api.be.mi.com/#/api/apidetail?projectID=123156&apiID=57824&apiProtocol=1\n */\nexport const create = (data: TABLE_DATA): Promise> =>\n Service({\n url: \"/knowledge/create\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 更新\n * @url https://mi-api.be.mi.com/#/api/apidetail?projectID=120923&apiID=9507&apiProtocol=1\n */\nexport const update = (data: TABLE_DATA): Promise> =>\n Service({\n url: \"/knowledge/update\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 删除\n * @url https://mi-api.be.mi.com/#/api/apidetail?projectID=123156&apiID=57823&apiProtocol=1\n */\nexport const deleteData = (data: TABLE_DATA): Promise> => {\n return Service({\n url: \"/knowledge/delete\",\n method: \"post\",\n data,\n });\n};\n\n/**\n * @description 收藏\n */\nexport const collectData = (data: TABLE_DATA): Promise> => {\n return Service({\n url: \"/knowledge/collection/collect\",\n method: \"post\",\n data,\n });\n};\n\n/**\n * @description 取消收藏\n */\nexport const cancelCollectData = (\n data: TABLE_DATA\n): Promise> => {\n return Service({\n url: \"/knowledge/collection/cancel\",\n method: \"post\",\n data,\n });\n};\n\n/**\n * @description 用户定制化\n */\nexport const opeUserPrivate = (data: {\n zuToken?: string;\n dataId: number;\n userLabels: {\n key?: string;\n value?: string;\n };\n}): Promise> => {\n return Service({\n url: \"/user/opeUserPrivate\",\n method: \"post\",\n data,\n });\n};\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./TableList.vue?vue&type=style&index=0&id=10305caf&scoped=true&lang=scss\"","/*\n * @Description:\n * @Date: 2022-10-17 14:46:02\n * @LastEditTime: 2022-10-31 18:27:35\n */\n\nimport type { FormInstance } from \"element-plus\";\n\n//提交\nexport const submitForm = async (\n formEl: FormInstance | undefined,\n form: any\n) => {\n if (!formEl) return;\n const checkEl = await formEl.validate((valid, fields) => {\n if (valid) {\n return true;\n } else {\n console.log(\"error submit!\", fields);\n return false;\n }\n });\n if (checkEl) {\n return Promise.resolve(form || undefined);\n }\n return Promise.reject(form || undefined);\n};\n\n//重置\nexport const resetForm = (formEl: FormInstance | undefined) => {\n if (!formEl) return;\n formEl.resetFields();\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, unref as _unref, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-389ce0a1\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {} }\nconst _hoisted_2 = { style: {\"color\":\"#8492a6\",\"font-size\":\"13px\"} }\nconst _hoisted_3 = { style: {} }\nconst _hoisted_4 = { style: {\"color\":\"#8492a6\",\"font-size\":\"13px\"} }\nconst _hoisted_5 = { class: \"addon-wrap\" }\nconst _hoisted_6 = { class: \"addon-container\" }\nconst _hoisted_7 = [\"onClick\"]\nconst _hoisted_8 = [\"onClick\"]\nconst _hoisted_9 = {\n key: 0,\n class: \"labels-wrap\"\n}\nconst _hoisted_10 = { class: \"labels-container\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, \":\", -1))\nconst _hoisted_12 = { class: \"labels-icon-container\" }\nconst _hoisted_13 = [\"onClick\"]\nconst _hoisted_14 = [\"onClick\"]\n\nimport { reactive, ref, watch } from \"vue\";\nimport type { FormInstance, FormRules } from \"element-plus\";\nimport { submitForm, resetForm } from \"@/common/formMethod\";\nimport { TABLE_DATA } from \"@/types/knowledge\";\nimport { OPTION_LIST } from \"@/types/common\";\n// import FullScreenCode from \"./FullScreenCode.vue\";\nimport { MiCodemirror } from \"@mi/codemirror\";\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FormContent',\n props: {\n formData: {\n type: Object,\n default: () => ({}),\n },\n typeOptions: {\n type: Array as () => OPTION_LIST[],\n default: () => [],\n },\n modeOptions: {\n type: Array as () => OPTION_LIST[],\n default: () => [],\n },\n tagOptions: {\n type: Array as () => OPTION_LIST[],\n default: () => [],\n },\n},\n setup(__props, { expose }) {\n\nconst props = __props;\n\n\n\n/** data */\nconst formInit = {\n data: \"\",\n type: undefined,\n mode: 1, //1,2,3\n name: \"\",\n info: \"\",\n meta: \"\",\n description: \"\",\n designer: \"\",\n addon: [\n {\n value: \"\",\n },\n ],\n tags: [],\n labels: [],\n};\nconst formRef = ref();\nconst form = ref(formInit as TABLE_DATA);\nconst tip = ref(\"回答\");\nconst tip2 = ref(\"提问\");\nconst rules = reactive({\n data: [{ required: true, message: \"请输入\" + tip.value, trigger: \"blur\" }],\n type: [{ required: true, message: \"请选择类型\", trigger: \"change\" }],\n mode: [{ required: true, message: \"请选择模式\", trigger: \"change\" }],\n info: [{ required: true, message: \"请输入\" + tip2.value, trigger: \"blur\" }],\n});\n/** methods */\n//模式改变\nconst modeChange = (val: number | undefined) => {\n tip.value = val === 1 ? \"回答\" : \"提示词\";\n tip2.value = val === 1 ? \"提问\" : \"标题\";\n if (val === 1) {\n form.value.name = \"\";\n form.value.meta = \"\";\n form.value.addon = [\n {\n value: \"\",\n },\n ];\n } else {\n form.value.info = \"\";\n }\n};\n//设置表单值\nconst setFormValue = (val: any) => {\n if (val.operType === \"create\") {\n form.value = { ...formInit };\n } else {\n let labels = [];\n for (let key in val?.labels) {\n labels.push({\n value: key,\n value2: val?.labels[key],\n });\n }\n form.value = {\n data: val?.data,\n type: val?.type,\n mode: val?.mode,\n name: val?.name,\n info: val?.info,\n meta: val?.meta,\n description: val?.description,\n designer: val?.designer,\n addon: val?.addon.length\n ? val?.addon.map((item: string) => {\n return {\n value: item,\n };\n })\n : [\n {\n value: \"\",\n },\n ],\n tags: val?.tags.map((item: OPTION_LIST) => item.id),\n labels: labels,\n };\n }\n modeChange(form.value.mode);\n};\n//添加\nconst addAddon = (index: number) => {\n form.value.addon.splice(index + 1, 0, {\n value: \"\",\n });\n};\n//删除\nconst deleteAddon = (index: number) => {\n form.value.addon.splice(index, 1);\n};\n//添加\nconst addLabels = (index: number) => {\n form.value.labels.splice(index + 1, 0, {\n value: \"\",\n value2: \"\",\n });\n};\n//删除\nconst deleteLabels = (index: number) => {\n form.value.labels.splice(index, 1);\n};\n\n/** watch */\nwatch(\n () => props.formData,\n (val) => {\n resetForm(formRef.value);\n setFormValue(val);\n },\n {\n immediate: true,\n deep: true,\n }\n);\n\n/** 初始化 */\nexpose({\n submit: () => {\n return submitForm(formRef.value, form.value);\n },\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_Plus = _resolveComponent(\"Plus\")!\n const _component_el_icon = _resolveComponent(\"el-icon\")!\n const _component_Minus = _resolveComponent(\"Minus\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n\n return (_openBlock(), _createBlock(_component_el_form, {\n ref_key: \"formRef\",\n ref: formRef,\n model: form.value,\n rules: rules,\n \"label-width\": \"160px\",\n \"label-position\": \"right\",\n class: \"form-container\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"模式\",\n prop: \"mode\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: form.value.mode,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((form.value.mode) = $event)),\n placeholder: \"请选择\",\n onChange: modeChange\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.modeOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item?.id,\n label: item?.name,\n value: item.id\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_1, _toDisplayString(item.name), 1),\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString(\" (\" + item.description + \")\"), 1)\n ]),\n _: 2\n }, 1032, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"任务类型\",\n prop: \"type\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: form.value.type,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((form.value.type) = $event)),\n placeholder: \"请选择\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.typeOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.id,\n label: item.name,\n value: item.id\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(item.name), 1),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(\" (\" + item.description + \")\"), 1)\n ]),\n _: 2\n }, 1032, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n (form.value.mode !== 1)\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 0,\n label: \"名称\",\n prop: \"name\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: form.value.name,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((form.value.name) = $event)),\n placeholder: \"请输入名称\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (form.value.mode === 1)\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 1,\n label: tip2.value,\n prop: \"info\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: form.value.info,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((form.value.info) = $event)),\n placeholder: '请输入' + tip2.value,\n type: \"textarea\",\n maxlength: \"10000\",\n \"show-word-limit\": \"\",\n rows: \"4\"\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ]),\n _: 1\n }, 8, [\"label\"]))\n : _createCommentVNode(\"\", true),\n (form.value.mode !== 1)\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 2,\n label: \"问题列表\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(form.value.addon, (domain, index) => {\n return (_openBlock(), _createBlock(_component_el_form_item, {\n key: index,\n prop: 'domain.' + index + '.value'\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_el_input, {\n modelValue: domain.value,\n \"onUpdate:modelValue\": ($event: any) => ((domain.value) = $event),\n placeholder: \"请输入\",\n class: \"addon-input\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _createElementVNode(\"div\", {\n class: \"addon-icon\",\n onClick: ($event: any) => (addAddon(index))\n }, [\n _createVNode(_component_el_icon, null, {\n default: _withCtx(() => [\n _createVNode(_component_Plus)\n ]),\n _: 1\n })\n ], 8, _hoisted_7),\n _withDirectives(_createElementVNode(\"div\", {\n class: \"addon-icon\",\n onClick: ($event: any) => (deleteAddon(index))\n }, [\n _createVNode(_component_el_icon, null, {\n default: _withCtx(() => [\n _createVNode(_component_Minus)\n ]),\n _: 1\n })\n ], 8, _hoisted_8), [\n [_vShow, form.value.addon.length !== 1]\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"prop\"]))\n }), 128))\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (form.value.mode !== 1)\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 3,\n label: \"meta\",\n prop: \"meta\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(MiCodemirror), {\n value: form.value.meta,\n placeholder: \"请输入meta信息\",\n \"onUpdate:value\": _cache[4] || (_cache[4] = \n (val) => {\n form.value.meta = val;\n }\n ),\n fullScreen: \"\",\n copy: \"\",\n paste: \"\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_form_item, {\n label: tip.value,\n prop: \"data\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(MiCodemirror), {\n value: form.value.data,\n placeholder: \"请输入\",\n \"onUpdate:value\": _cache[5] || (_cache[5] = \n (val) => {\n form.value.data = val;\n }\n ),\n fullScreen: \"\",\n copy: \"\",\n paste: \"\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_form_item, {\n label: \"详细信息\",\n prop: \"description\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: form.value.description,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((form.value.description) = $event)),\n placeholder: \"请输入详细信息\",\n type: \"textarea\",\n maxlength: \"10000\",\n \"show-word-limit\": \"\",\n rows: \"4\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"标签\",\n prop: \"tags\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: form.value.tags,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((form.value.tags) = $event)),\n multiple: \"\",\n placeholder: \"请选择tag\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.tagOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.id,\n label: item.name,\n value: item.id\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, { label: \"labels\" }, {\n default: _withCtx(() => [\n (form.value.labels.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(form.value.labels, (domain, index) => {\n return (_openBlock(), _createBlock(_component_el_form_item, {\n key: domain.key,\n prop: 'labels.' + index + '.value',\n rules: {\n required: true,\n message: '请输入key',\n trigger: 'change',\n },\n class: \"labels-form\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_el_input, {\n modelValue: domain.value,\n \"onUpdate:modelValue\": ($event: any) => ((domain.value) = $event),\n placeholder: \"请输入key\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _hoisted_11,\n _createVNode(_component_el_input, {\n modelValue: domain.value2,\n \"onUpdate:modelValue\": ($event: any) => ((domain.value2) = $event),\n placeholder: \"请输入value\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", {\n class: \"labels-icon\",\n onClick: ($event: any) => (addLabels(index))\n }, [\n _createVNode(_component_el_icon, null, {\n default: _withCtx(() => [\n _createVNode(_component_Plus)\n ]),\n _: 1\n })\n ], 8, _hoisted_13),\n _createElementVNode(\"div\", {\n class: \"labels-icon\",\n onClick: ($event: any) => (deleteLabels(index))\n }, [\n _createVNode(_component_el_icon, null, {\n default: _withCtx(() => [\n _createVNode(_component_Minus)\n ]),\n _: 1\n })\n ], 8, _hoisted_14)\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"prop\"]))\n }), 128))\n ]))\n : (_openBlock(), _createBlock(_component_el_button, {\n key: 1,\n type: \"primary\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (addLabels(0)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_icon, null, {\n default: _withCtx(() => [\n _createVNode(_component_Plus)\n ]),\n _: 1\n }),\n _createTextVNode(\"添加labels\")\n ]),\n _: 1\n }))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"]))\n}\n}\n\n})","import script from \"./FormContent.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FormContent.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./FormContent.vue?vue&type=style&index=0&id=389ce0a1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-389ce0a1\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { ref } from \"vue\";\nimport CommonDrawer from \"@/components/common/CommonDrawer.vue\";\nimport { create, update } from \"@/api/knowledge\";\nimport { IResponse } from \"@/types/common\";\nimport { ElMessage } from \"element-plus\";\nimport FormContent from \"./FormContent.vue\";\nimport { OPTION_LIST } from \"@/types/common\";\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n drawerVisible: {\n type: Boolean,\n default: false,\n },\n drawerTitle: {\n type: String,\n default: \"标题\",\n },\n drawerData: {\n type: Object,\n default: () => ({}),\n },\n typeOptions: {\n type: Array as () => OPTION_LIST[],\n default: () => [],\n },\n modeOptions: {\n type: Array as () => OPTION_LIST[],\n default: () => [],\n },\n tagOptions: {\n type: Array as () => OPTION_LIST[],\n default: () => [],\n },\n},\n emits: [\"hideDrawer\", \"update\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\n\n/** data */\nconst formContentRef = ref();\n\n/** methods */\n//请求\nconst requestSend = (data: any) => {\n //发起请求\n const request = props.drawerData.operType === \"edit\" ? update : create;\n const tip = props.drawerData.operType === \"edit\" ? \"更新\" : \"创建\";\n request(data).then((res: IResponse) => {\n if (res && res.code === 0) {\n ElMessage({\n message: tip + \"成功\",\n type: \"success\",\n duration: 3000,\n });\n emit(\"hideDrawer\");\n emit(\"update\");\n }\n });\n};\n//确定\nconst confirmClick = () => {\n //进行表单校验,校验通过则切换,校验不通过则提示\n formContentRef.value.submit().then((formValue: any) => {\n let labels = {} as any;\n formValue.labels.forEach((v: any) => {\n labels[v.value] = v.value2;\n });\n let param;\n param = {\n ...props.drawerData,\n ...formValue,\n operType: undefined,\n typeStr: undefined,\n modeStr: undefined,\n addon: formValue.addon.map((item: { value: string }) => item?.value),\n tags: formValue.tags.map((item: number) =>\n props.tagOptions.find((v) => v.id === item)\n ),\n id: props.drawerData.operType === \"edit\" ? props.drawerData.id : null,\n labels,\n };\n requestSend(param);\n });\n};\n//弹窗打开\nconst openDrawer = () => {\n console.log(111);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(CommonDrawer, {\n drawerVisible: props.drawerVisible,\n drawerTitle: props.drawerTitle,\n onHideDrawer: _cache[0] || (_cache[0] = ($event: any) => (emit('hideDrawer'))),\n onOpen: openDrawer,\n footerVisible: true,\n onConfirmClick: confirmClick\n }, {\n default: _withCtx(() => [\n _createVNode(FormContent, {\n ref_key: \"formContentRef\",\n ref: formContentRef,\n formData: props.drawerData,\n typeOptions: __props.typeOptions,\n modeOptions: __props.modeOptions,\n tagOptions: __props.tagOptions\n }, null, 8, [\"formData\", \"typeOptions\", \"modeOptions\", \"tagOptions\"])\n ]),\n _: 1\n }, 8, [\"drawerVisible\", \"drawerTitle\"]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","/*\n * @Description:\n * @Date: 2023-07-20 18:17:39\n * @LastEditTime: 2023-07-20 18:36:07\n */\nexport const openEnv =\n //\n process.env.VUE_APP_ENV === \"open\" ||\n process.env.VUE_APP_ENV === \"development\";\n//\n// process.env.VUE_APP_ENV === \"open\";\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./CommonDrawer.vue?vue&type=style&index=0&id=099d16ee&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./FormContent.vue?vue&type=style&index=0&id=45cd35ba&lang=scss\"","/*\n * @Description:\n * @Date: 2022-10-21 14:44:57\n * @LastEditTime: 2023-03-16 15:38:24\n */\nimport { h } from \"vue\";\nimport { ElMessageBox } from \"element-plus\";\n\n//消息弹窗确认\nexport const confirm = (opts: {\n title?: string;\n tips1?: string;\n color?: string;\n name?: string | undefined | number;\n tips2?: string;\n callback?: any;\n explain?: string;\n}) => {\n ElMessageBox({\n type: \"warning\",\n title: opts.title || \"提示\",\n message: h(\"p\", null, [\n h(\"span\", null, opts.tips1 || \"确定\" + opts.title),\n h(\"i\", { style: \"color: \" + (opts.color || \"teal\") }, opts.name),\n h(\"span\", null, opts.tips2 || \"吗?\"),\n h(\"p\", null, [\n h(\"span\", { style: \"color: #666;font-size:12px\" }, opts.explain),\n ]),\n ]),\n showCancelButton: true,\n confirmButtonText: \"确定\",\n cancelButtonText: \"取消\",\n beforeClose: (action, instance, done) => {\n if (action === \"confirm\") {\n instance.confirmButtonLoading = true;\n instance.confirmButtonText = \"Loading...\";\n if (opts.callback) {\n opts\n .callback()\n .then(() => {\n done();\n instance.confirmButtonLoading = false;\n })\n .catch(() => {\n done();\n instance.confirmButtonLoading = false;\n });\n } else {\n done();\n instance.confirmButtonLoading = false;\n }\n } else {\n done();\n }\n },\n });\n};\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ZMenu.vue?vue&type=style&index=0&id=5f853ca9&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Knowledge.vue?vue&type=style&index=0&id=5614c7e9&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./CommonPage.vue?vue&type=style&index=0&id=7e075c4e&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./TableList.vue?vue&type=style&index=0&id=4beee8e0&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./FormContent.vue?vue&type=style&index=0&id=389ce0a1&lang=scss&scoped=true\"","\n\n\n\n\n","import { render } from \"./App.vue?vue&type=template&id=effa34ce\"\nconst script = {}\n\nimport \"./App.vue?vue&type=style&index=0&id=effa34ce&lang=scss\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","/*\n * @Description:\n * @Date: 2022-09-28 14:55:04\n * @LastEditTime: 2022-10-08 15:34:16\n */\n/*水印配置*/\nconst setWatermark = (str = \"\") => {\n const id = \"1.23452384164.123412415\";\n // 移除水印 判断\n if (document.getElementById(id) !== null) {\n document.body.removeChild(document.getElementById(id) as HTMLElement);\n }\n\n //创建画布\n const createCanvas = document.createElement(\"canvas\");\n // 设置canvas画布大小\n createCanvas.width = 250; //宽度\n createCanvas.height = 220; //高度\n\n //创建Context2D对象作为2D渲染的上下文。\n const Context2D = createCanvas.getContext(\"2d\");\n if (Context2D) {\n /*水印样式调整配置*/\n Context2D.rotate((-20 * Math.PI) / 100); // 水印旋转角度\n Context2D.font = \"14px Vedana\"; //水印文字大小\n Context2D.fillStyle = \"#ddd\"; //水印颜色 HEX格式,可使用red 或者rgb格式\n Context2D.textAlign = \"center\"; //水印水平位置\n Context2D.textBaseline = \"middle\"; //水印垂直位置\n Context2D.fillText(str, createCanvas.width / 3, createCanvas.height / 2);\n }\n\n //创建元素\n const createDiv = document.createElement(\"div\");\n createDiv.id = id;\n //水印默认设置\n createDiv.style.pointerEvents = \"none\"; //水印层事件穿透 让水印不阻止交互事件\n createDiv.style.top = \"70px\"; //水印顶部距离\n createDiv.style.left = \"0px\"; //水印左侧距离\n createDiv.style.opacity = \"0.4\"; //水印透明度\n createDiv.style.position = \"fixed\"; //水印定位\n createDiv.style.zIndex = \"10\"; //水印样式优先显示\n createDiv.style.width = document.documentElement.clientWidth - 100 + \"px\"; //水印宽度\n createDiv.style.height = document.documentElement.clientHeight - 100 + \"px\"; //水印高度\n createDiv.style.background =\n \"url(\" + createCanvas.toDataURL(\"image/png\") + \") left top repeat\"; //水印显示(关键代码)\n document.body.appendChild(createDiv); //在指定元素节点的最后一个子节点之后添加节点\n return id;\n};\n\n// 声明 此方法只允许调用一次\nconst watermark = {\n set: (str = \"\") => {\n let id = setWatermark(str);\n //设置间隔\n setInterval(() => {\n if (document.getElementById(id) === null) {\n id = setWatermark(str);\n }\n }, 500);\n //改变大小时执行\n window.onresize = () => {\n setWatermark(str);\n };\n },\n};\n\nexport default watermark;\n","/*\n * @Description:\n * @Date: 2022-10-21 18:16:35\n * @LastEditTime: 2023-06-14 10:07:30\n */\nimport { Service } from \"./axios/index\";\nimport { IResponse } from \"@/types/common\";\n\n/**\n * @description 获取用户信息\n * @url\n */\nexport const getUserData = (): Promise =>\n Service({\n url: \"/login/userinfo\",\n method: \"get\",\n });\n\n/**\n * @description admin/is_admin\n * @url\n */\nexport const isAdmin = (): Promise =>\n Service({\n url: \"/admin/is_admin\",\n method: \"get\",\n });\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-24bc7780\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"z-head\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"head-left\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"logo-name\" }, \"Z平台\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"logo-tip\" }, \"知识库\")\n], -1))\nconst _hoisted_3 = { class: \"head-right\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text\" }, \"我的积分:\", -1))\nconst _hoisted_5 = { class: \"num\" }\nconst _hoisted_6 = { class: \"user-container\" }\nconst _hoisted_7 = { class: \"user-img\" }\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = { class: \"user-name\" }\n\nimport Vue from \"vue\";\nimport { reactive, shallowRef } from \"vue\";\nimport watermark from \"@/utils/waterMark\";\nimport { getPoints } from \"@/api/points\";\nimport {\n List,\n CollectionTag,\n Star,\n UserFilled,\n Coin,\n} from \"@element-plus/icons-vue\";\nimport { getUserData } from \"@/api/common\";\nimport { useRouter } from \"vue-router\";\nimport { openEnv } from \"@/common/constant\";\n\n/** data */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ZHead',\n setup(__props) {\n\nconst router = useRouter();\nconst state = reactive<{\n isPro: boolean;\n points: number;\n userImg: string | null;\n userName: string | null;\n menuData: Array<{\n id: string;\n label: string;\n path: string;\n icon: Vue.Component;\n }>;\n}>({\n isPro: process.env.VUE_APP_ENV === \"production\" ? true : false, //是否是线上环境\n points: 0,\n userImg: localStorage.getItem(\"userImg\"), //用户头像\n userName: localStorage.getItem(\"userName\"),\n menuData: [\n {\n id: \"3\",\n label: \"知识类型\",\n path: \"/type\",\n icon: shallowRef(List),\n },\n {\n id: \"4\",\n label: \"知识标签\",\n path: \"/tag\",\n icon: shallowRef(CollectionTag),\n },\n {\n id: \"5\",\n label: \"我的收藏\",\n path: \"/collected\",\n icon: shallowRef(Star),\n },\n {\n id: \"6\",\n label: \"用户信息\",\n path: \"/info\",\n icon: shallowRef(UserFilled),\n },\n {\n id: \"7\",\n label: \"我的积分\",\n path: \"/points\",\n icon: shallowRef(Coin),\n },\n ],\n});\n\n/** methods */\n// 积分\nconst getPointsInfo = () => {\n localStorage.removeItem(\"userpoints\");\n getPoints().then((res) => {\n state.points = res?.data;\n localStorage.setItem(\"userpoints\", state.points + \"\");\n });\n};\n// 积分点击\nconst pointsClick = () => {\n router.push({\n path: \"points\",\n });\n};\n// 菜单\nconst handleCommand = (command: string) => {\n router.push({\n path: command,\n });\n};\n//清空用户信息\nconst resetUserInfo = () => {\n state.userImg = \"\";\n state.userName = \"\";\n watermark.set(\"\"); //添加水印名称\n localStorage.removeItem(\"userImg\");\n localStorage.removeItem(\"userName\");\n};\n// 获取用户名称和用户头像\nconst getUserInfo = () => {\n localStorage.setItem(\"userImg\", \"\");\n localStorage.setItem(\"userName\", \"\");\n getUserData()\n .then((res) => {\n if (res.data) {\n state.userImg = res.data.avatarUrl;\n state.userName = res.data.name;\n watermark.set(res.data.account); //添加水印名称\n localStorage.setItem(\"userImg\", res.data.avatarUrl);\n localStorage.setItem(\"userName\", res.data.name);\n } else {\n resetUserInfo();\n }\n })\n .catch(() => {\n resetUserInfo();\n });\n};\n\n/** 初始化 */\n// 用户信息\ngetUserInfo();\n// 积分\ngetPointsInfo();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_icon = _resolveComponent(\"el-icon\")!\n const _component_arrow_down = _resolveComponent(\"arrow-down\")!\n const _component_el_dropdown_item = _resolveComponent(\"el-dropdown-item\")!\n const _component_el_dropdown_menu = _resolveComponent(\"el-dropdown-menu\")!\n const _component_el_dropdown = _resolveComponent(\"el-dropdown\")!\n const _component_MioneHeader = _resolveComponent(\"MioneHeader\")!\n const _component_MioneMessage = _resolveComponent(\"MioneMessage\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_MioneHeader, {\n isPro: state.isPro\n }, {\n center: _withCtx(() => [\n _hoisted_2\n ]),\n right: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", {\n class: \"points-container\",\n onClick: pointsClick\n }, [\n _createVNode(_component_el_icon, null, {\n default: _withCtx(() => [\n _createVNode(_unref(Coin))\n ]),\n _: 1\n }),\n _hoisted_4,\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_unref(openEnv) ? state.points / 1000 : state.points), 1)\n ]),\n _createVNode(_component_el_dropdown, { onCommand: handleCommand }, {\n dropdown: _withCtx(() => [\n _createVNode(_component_el_dropdown_menu, null, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(state.menuData, (item) => {\n return (_openBlock(), _createBlock(_component_el_dropdown_item, {\n key: item.id,\n icon: item.icon,\n command: item.path\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.label), 1)\n ]),\n _: 2\n }, 1032, [\"icon\", \"command\"]))\n }), 128))\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n (state.userImg)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: state.userImg,\n alt: \"用户\"\n }, null, 8, _hoisted_8))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString(state.userName), 1),\n _createVNode(_component_el_icon, { class: \"el-icon--right\" }, {\n default: _withCtx(() => [\n _createVNode(_component_arrow_down)\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"isPro\"]),\n _createVNode(_component_MioneMessage, {\n userName: state.userName\n }, null, 8, [\"userName\"])\n ]))\n}\n}\n\n})","import script from \"./ZHead.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ZHead.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ZHead.vue?vue&type=style&index=0&id=24bc7780&lang=scss&scoped=true\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-24bc7780\"]])\n\nexport default __exports__","/**\n * Cookie相关操作\n */\nexport default {\n get(name: string) {\n const nameEQ = name + \"=\";\n const ca = document.cookie.split(\";\");\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === \" \") c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) {\n return decodeURIComponent(c.substring(nameEQ.length, c.length));\n }\n }\n return null;\n },\n set(\n name: string,\n value: number | string,\n days: number,\n path?: string,\n domain?: string,\n secure?: any\n ) {\n let expires;\n if (isNaN(days)) {\n const date = new Date();\n date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);\n expires = date.toUTCString();\n } else {\n expires = false;\n }\n document.cookie =\n name +\n \"=\" +\n encodeURIComponent(value) +\n (expires ? \";expires=\" + expires : \"\") +\n (path ? \";path=\" + path : \"\") +\n (domain ? \";domain=\" + domain : \"\") +\n (secure ? \";secure\" : \"\");\n },\n del(name: string, path: string, domain: string, secure: any) {\n this.set(name, \"\", -1, path, domain, secure);\n },\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f91633e6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"footer\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n t: \"1675324234846\",\n class: \"icon\",\n viewBox: \"0 0 1024 1024\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"p-id\": \"2674\",\n width: \"16\",\n height: \"16\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M512 42.666667A464.64 464.64 0 0 0 42.666667 502.186667 460.373333 460.373333 0 0 0 363.52 938.666667c23.466667 4.266667 32-9.813333 32-22.186667v-78.08c-130.56 27.733333-158.293333-61.44-158.293333-61.44a122.026667 122.026667 0 0 0-52.053334-67.413333c-42.666667-28.16 3.413333-27.733333 3.413334-27.733334a98.56 98.56 0 0 1 71.68 47.36 101.12 101.12 0 0 0 136.533333 37.973334 99.413333 99.413333 0 0 1 29.866667-61.44c-104.106667-11.52-213.333333-50.773333-213.333334-226.986667a177.066667 177.066667 0 0 1 47.36-124.16 161.28 161.28 0 0 1 4.693334-121.173333s39.68-12.373333 128 46.933333a455.68 455.68 0 0 1 234.666666 0c89.6-59.306667 128-46.933333 128-46.933333a161.28 161.28 0 0 1 4.693334 121.173333A177.066667 177.066667 0 0 1 810.666667 477.866667c0 176.64-110.08 215.466667-213.333334 226.986666a106.666667 106.666667 0 0 1 32 85.333334v125.866666c0 14.933333 8.533333 26.88 32 22.186667A460.8 460.8 0 0 0 981.333333 502.186667 464.64 464.64 0 0 0 512 42.666667\",\n fill: \"#231F20\",\n \"p-id\": \"2675\"\n })\n], -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, null, -1))\n\nimport { ref } from \"vue\";\nimport Cookie from \"@/utils/cookie\";\nimport { nextTick } from \"process\";\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ZFooter',\n props: {\n isCollapse: {\n type: Boolean,\n default: false,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\n\n/** data */\nconst visible = ref(false);\n\n/** methods */\nconst init = () => {\n const KEY = \"z_githu\";\n if (!Cookie.get(KEY)) {\n new Promise((resolve: any) => {\n nextTick(() => {\n visible.value = true;\n Cookie.set(KEY, 1, 1);\n resolve();\n });\n }).then(() => {\n setTimeout(() => {\n visible.value = false;\n }, 6000);\n });\n }\n};\n\n/** 初始化 */\ninit();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_link = _resolveComponent(\"el-link\")!\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\")!\n const _component_el_divider = _resolveComponent(\"el-divider\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _withDirectives(_createElementVNode(\"span\", null, [\n _createTextVNode(\" powered by \"),\n _createVNode(_component_el_tooltip, {\n modelValue: visible.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((visible).value = $event)),\n effect: \"dark\",\n content: \"了解更多\",\n placement: \"top\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_link, {\n title: \"了解更多\",\n href: \"https://xiaomi.f.mioffice.cn/docs/dock4O5G1v2TGAgoObeOuzeRR9b#EBIuxU\",\n type: \"primary\",\n target: \"_blank\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"odin\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ], 512), [\n [_vShow, !props.isCollapse]\n ]),\n _createVNode(_component_el_divider, { direction: \"vertical\" }),\n _hoisted_3,\n _createVNode(_component_el_link, {\n href: \"https://github.com/XiaoMi/mone\",\n type: \"primary\",\n target: \"_blank\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"star\")\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./ZFooter.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ZFooter.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ZFooter.vue?vue&type=style&index=0&id=f91633e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f91633e6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5f853ca9\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"z-menu\" }\nconst _hoisted_2 = { class: \"menu-name\" }\nconst _hoisted_3 = { class: \"menu-name\" }\n\nimport Vue from \"vue\";\nimport { reactive, watch, shallowRef } from \"vue\";\nimport {\n Search,\n Postcard,\n User,\n Finished,\n Coin,\n Money,\n // Notebook,\n} from \"@element-plus/icons-vue\";\nimport { useRouter, useRoute } from \"vue-router\";\nimport ZFooter from \"./ZFooter.vue\";\nimport { isAdmin } from \"@/api/common\";\nimport { openEnv } from \"@/common/constant\";\n\n/** data */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ZMenu',\n setup(__props) {\n\nconst router = useRouter();\nconst route = useRoute();\nconst state = reactive<{\n activeIndex: string;\n isCollapse: boolean;\n menuData: Array<{\n id: string;\n label: string;\n path: string;\n icon: Vue.Component;\n subMenu?: Array<{\n id: string;\n label: string;\n path: string;\n icon: Vue.Component;\n }>;\n }>;\n}>({\n activeIndex: \"1\", //默认选中\n isCollapse: false, //是否折叠,默认不折叠\n menuData: [],\n});\nconst searchObj = {\n id: \"1\",\n label: \"知识检索\",\n path: \"/\",\n icon: shallowRef(Search),\n};\nconst knowledgeObj = {\n id: \"2\",\n label: \"知识库\",\n path: \"/knowledge\",\n icon: shallowRef(Postcard),\n};\nconst userObj = {\n id: \"3\",\n label: \"用户列表\",\n path: \"/user\",\n icon: shallowRef(User),\n};\nconst historyObj = {\n id: \"4\",\n label: \"历史记录\",\n path: \"/history\",\n icon: shallowRef(Finished),\n};\nconst priceObj = {\n id: \"5\",\n label: \"充值\",\n path: \"/price\",\n icon: shallowRef(Coin),\n};\nconst priceStrategyObj = {\n id: \"6\",\n label: \"定价策略\",\n path: \"/price-strategy\",\n icon: shallowRef(Money),\n};\n\n// const myKnowledgeObj = {\n// id: \"5\",\n// label: \"个人知识库\",\n// path: \"/my-knowledge\",\n// icon: shallowRef(Notebook),\n// };\n/** methods */\n//菜单点击\nconst menuClick = (item: { path: string }) => {\n router.push({\n path: item.path,\n });\n};\n//收缩点击\nconst collapseClick = () => {\n state.isCollapse = !state.isCollapse;\n};\n// 选中\nconst selectPath = (val: string) => {\n const currentItem = state.menuData.find((item) => {\n return item.path === val;\n });\n console.log(\"currentItem\", currentItem);\n if (currentItem) {\n state.activeIndex = currentItem.id;\n } else {\n state.activeIndex = \"\";\n }\n};\n\n/** watch */\n//监听路由\nwatch(\n () => route.path,\n (val) => {\n selectPath(val);\n },\n {\n immediate: true,\n deep: true,\n }\n);\n\n/** 初始化 */\n// 是否是admin\nisAdmin().then((res) => {\n if (res.data) {\n state.menuData = [searchObj, knowledgeObj];\n if (openEnv) {\n state.menuData.push(priceObj, priceStrategyObj);\n }\n state.menuData.push(userObj, historyObj);\n } else {\n state.menuData = [knowledgeObj];\n if (openEnv) {\n state.menuData.push(priceObj, priceStrategyObj);\n }\n }\n // state.menuData.push(myKnowledgeObj);\n selectPath(route.path);\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_icon = _resolveComponent(\"el-icon\")!\n const _component_el_menu_item = _resolveComponent(\"el-menu-item\")!\n const _component_el_sub_menu = _resolveComponent(\"el-sub-menu\")!\n const _component_el_menu = _resolveComponent(\"el-menu\")!\n const _component_Fold = _resolveComponent(\"Fold\")!\n const _component_Expand = _resolveComponent(\"Expand\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_menu, {\n \"default-active\": state.activeIndex,\n class: \"menu-container\",\n collapse: state.isCollapse\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(state.menuData, (item, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (item.subMenu && item.subMenu.length)\n ? (_openBlock(), _createBlock(_component_el_sub_menu, {\n key: index,\n index: item.id\n }, {\n title: _withCtx(() => [\n _createVNode(_component_el_icon, { size: 20 }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(item.icon)))\n ]),\n _: 2\n }, 1024),\n _createElementVNode(\"template\", null, [\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString(item.label || \"\"), 1)\n ])\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.subMenu, (subItem, subIndex) => {\n return (_openBlock(), _createBlock(_component_el_menu_item, {\n key: subIndex,\n index: subItem.id,\n onClick: ($event: any) => (menuClick(subItem))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(subItem.label), 1)\n ]),\n _: 2\n }, 1032, [\"index\", \"onClick\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"index\"]))\n : item\n ? (_openBlock(), _createBlock(_component_el_menu_item, {\n index: item.id,\n key: item.id + index,\n onClick: \n () => {\n menuClick(item);\n }\n \n }, {\n title: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(item.label || \"\"), 1)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_icon, { size: 20 }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(item.icon)))\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"index\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 256))\n ]),\n _: 1\n }, 8, [\"default-active\", \"collapse\"]),\n _createElementVNode(\"div\", {\n class: \"menu-collapse\",\n onClick: collapseClick\n }, [\n _createVNode(_component_el_icon, null, {\n default: _withCtx(() => [\n (!state.isCollapse)\n ? (_openBlock(), _createBlock(_component_Fold, { key: 0 }))\n : (_openBlock(), _createBlock(_component_Expand, { key: 1 }))\n ]),\n _: 1\n })\n ]),\n _createVNode(ZFooter, {\n isCollapse: state.isCollapse\n }, null, 8, [\"isCollapse\"])\n ]))\n}\n}\n\n})","import script from \"./ZMenu.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ZMenu.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ZMenu.vue?vue&type=style&index=0&id=5f853ca9&lang=scss&scoped=true\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5f853ca9\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-774e01d2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"z-layout\" }\nconst _hoisted_2 = { class: \"z-layout-top\" }\nconst _hoisted_3 = { class: \"z-layout-bottom\" }\nconst _hoisted_4 = { class: \"z-layout-bottom-left\" }\nconst _hoisted_5 = { class: \"z-layout-bottom-right\" }\n\nimport ZHead from \"./ZHead.vue\";\nimport ZMenu from \"./ZMenu.vue\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ZHead)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(ZMenu)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_router_view)\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=774e01d2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-774e01d2\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, unref as _unref, resolveDirective as _resolveDirective, openBlock as _openBlock, createBlock as _createBlock, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = { class: \"pre-table-column\" }\nconst _hoisted_2 = { class: \"pre-table-column\" }\n\n\nimport { ElTable } from \"element-plus\";\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TableList',\n props: {\n loading: {\n type: Boolean,\n default: false,\n },\n tableData: {\n type: Array,\n default: () => [],\n },\n askInput: {\n type: String,\n default: \"\",\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _directive_loading = _resolveDirective(\"loading\")!\n\n return _withDirectives((_openBlock(), _createBlock(_unref(ElTable), {\n data: props.tableData,\n style: {\"width\":\"100%\"},\n class: \"table-container\",\n \"element-loading-text\": \"数据正在努力加载,请稍候...\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, {\n prop: \"answer\",\n label: \"回答\"\n }, {\n default: _withCtx((scope) => [\n _createElementVNode(\"div\", _hoisted_1, _toDisplayString(scope.row.answer), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"question\",\n label: \"提问\"\n }, {\n default: _withCtx((scope) => [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(scope.row.question), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"])), [\n [_directive_loading, __props.loading]\n ])\n}\n}\n\n})","import script from \"./TableList.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TableList.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TableList.vue?vue&type=style&index=0&id=4beee8e0&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, withCtx as _withCtx, withKeys as _withKeys, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '../assets/search-smart.png'\n\n\nconst _hoisted_1 = { class: \"ask-input-container\" }\nconst _hoisted_2 = { class: \"prepend-container\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, null, -1)\nconst _hoisted_4 = { class: \"num-container\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"num-title\" }, \"条数\", -1)\nconst _hoisted_6 = { class: \"main-content\" }\nconst _hoisted_7 = {\n key: 1,\n class: \"empty-container\"\n}\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\"\n}, null, -1)\nconst _hoisted_9 = [\n _hoisted_8\n]\n\nimport { ref } from \"vue\";\nimport { Search } from \"@element-plus/icons-vue\";\nimport TableList from \"@/components/ask/TableList.vue\";\nimport { TABLE_DATA } from \"@/types/ask\";\nimport { getAskTableData } from \"@/api/ask\";\n\n/** data */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Ask',\n setup(__props) {\n\nconst askInput = ref();\nconst numValue = ref(1);\nconst chatGPTValue = ref(false);\nconst loading = ref(false);\nconst tableData = ref>([]); //表格数据\n\n/** methods */\n// 获取表格数据\nconst getTable = (): void => {\n if (askInput.value) {\n loading.value = true;\n getAskTableData({\n num: numValue.value || 10,\n chatGPT: chatGPTValue.value || false,\n question: askInput.value || \"\",\n })\n .then((res: any) => {\n if (res.data) {\n tableData.value = res.data;\n } else {\n tableData.value = [];\n }\n })\n .catch(() => {\n tableData.value = [];\n })\n .finally(() => {\n loading.value = false;\n });\n } else {\n tableData.value = [];\n }\n};\n//搜索数据\nconst searchTable = () => {\n getTable();\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_checkbox = _resolveComponent(\"el-checkbox\")!\n const _component_el_input_number = _resolveComponent(\"el-input-number\")!\n const _component_el_icon = _resolveComponent(\"el-icon\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_el_input, {\n modelValue: askInput.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((askInput).value = $event)),\n modelModifiers: { trim: true },\n placeholder: \"请输入知识进行检索\",\n clearable: \"\",\n onKeyup: _withKeys(searchTable, [\"enter\"]),\n onClear: searchTable\n }, {\n prepend: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_el_checkbox, {\n modelValue: chatGPTValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((chatGPTValue).value = $event)),\n label: \"ChatGPT\",\n size: \"large\",\n onChange: searchTable\n }, null, 8, [\"modelValue\"]),\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_el_input_number, {\n modelValue: numValue.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((numValue).value = $event)),\n min: 1,\n onChange: searchTable,\n controls: false,\n style: {\"width\":\"50px\"}\n }, null, 8, [\"modelValue\"])\n ])\n ])\n ]),\n suffix: _withCtx(() => [\n _createVNode(_component_el_icon, {\n class: \"el-input__icon\",\n onClick: searchTable\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Search))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\", \"onKeyup\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (tableData.value.length || loading.value)\n ? (_openBlock(), _createBlock(TableList, {\n key: 0,\n loading: loading.value,\n tableData: tableData.value,\n askInput: askInput.value\n }, null, 8, [\"loading\", \"tableData\", \"askInput\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_7, _hoisted_9))\n ])\n ], 64))\n}\n}\n\n})","import script from \"./Ask.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Ask.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Ask.vue?vue&type=style&index=0&id=04efe0ba&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-45cd35ba\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"labels-wrap\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"labels-head\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", null, \"key\"),\n /*#__PURE__*/_createElementVNode(\"span\", null, \"默认value\"),\n /*#__PURE__*/_createElementVNode(\"span\", null, \"自定义value\")\n], -1))\nconst _hoisted_3 = { class: \"labels-container\" }\nconst _hoisted_4 = { class: \"labels-content\" }\nconst _hoisted_5 = { class: \"labels-icon-container\" }\n\nimport { ref, watch } from \"vue\";\nimport type { FormInstance } from \"element-plus\";\nimport { submitForm, resetForm } from \"@/common/formMethod\";\nimport { TABLE_DATA } from \"@/types/knowledge\";\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FormContent',\n props: {\n formData: {\n type: Object,\n default: () => ({}),\n },\n},\n setup(__props, { expose }) {\n\nconst props = __props;\n\n\n\n/** data */\nconst formInit = {\n labels: [],\n};\nconst formRef = ref();\nconst form = ref(formInit as TABLE_DATA);\n\n/** methods */\n//设置表单值\nconst setFormValue = (val: any) => {\n let labels = [];\n for (let key in val?.labels) {\n labels.push({\n value: key,\n value2: val?.labels[key],\n value3:\n val?.userLabels[key] === undefined\n ? val?.labels[key]\n : val?.userLabels[key],\n });\n }\n form.value = {\n labels: labels,\n };\n};\n// 设置\nconst setLabels = (index: number) => {\n form.value.labels[index].value3 = form.value.labels[index].value2;\n};\n\n/** watch */\nwatch(\n () => props.formData,\n (val) => {\n resetForm(formRef.value);\n setFormValue(val);\n },\n {\n immediate: true,\n deep: true,\n }\n);\n\n/** 初始化 */\nexpose({\n submit: () => {\n return submitForm(formRef.value, form.value);\n },\n resetForm: () => {\n resetForm(formRef.value);\n },\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n\n return (_openBlock(), _createBlock(_component_el_form, {\n ref_key: \"formRef\",\n ref: formRef,\n model: form.value,\n \"label-width\": \"100px\",\n \"label-position\": \"right\",\n class: \"labels-form-container\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"labels\",\n prop: \"labels\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(form.value.labels, (domain, index) => {\n return (_openBlock(), _createBlock(_component_el_form_item, {\n key: domain.key,\n prop: 'labels.' + index + '.value3',\n class: \"labels-form\",\n rules: {\n required: true,\n message: '请输入自定义value',\n trigger: 'change',\n }\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_el_input, {\n modelValue: domain.value,\n \"onUpdate:modelValue\": ($event: any) => ((domain.value) = $event),\n placeholder: \"请输入key\",\n disabled: \"\",\n style: {\"width\":\"33%\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _createVNode(_component_el_input, {\n modelValue: domain.value2,\n \"onUpdate:modelValue\": ($event: any) => ((domain.value2) = $event),\n placeholder: \"请输入默认的value\",\n disabled: \"\",\n style: {\"width\":\"33%\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _createVNode(_component_el_input, {\n modelValue: domain.value3,\n \"onUpdate:modelValue\": ($event: any) => ((domain.value3) = $event),\n placeholder: \"请输入自定义的value\",\n style: {\"width\":\"33%\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_el_button, {\n type: \"primary\",\n plain: \"\",\n onClick: ($event: any) => (setLabels(index))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"设置为默认值\")\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"prop\"]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"model\"]))\n}\n}\n\n})","import script from \"./FormContent.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FormContent.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./FormContent.vue?vue&type=style&index=0&id=45cd35ba&lang=scss\"\nimport \"./FormContent.vue?vue&type=style&index=1&id=45cd35ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-45cd35ba\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { ref } from \"vue\";\nimport CommonDrawer from \"@/components/common/CommonDrawer.vue\";\nimport { IResponse } from \"@/types/common\";\nimport { ElMessage } from \"element-plus\";\nimport FormContent from \"./FormContent.vue\";\nimport { opeUserPrivate } from \"@/api/knowledge\";\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n drawerVisible: {\n type: Boolean,\n default: false,\n },\n drawerTitle: {\n type: String,\n default: \"标题\",\n },\n drawerData: {\n type: Object,\n default: () => ({}),\n },\n},\n emits: [\"hideDrawer\", \"update\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\n\n/** data */\nconst formContentRef = ref();\n\n/** methods */\n//请求\nconst requestSend = (data: any) => {\n //发起请求\n opeUserPrivate(data).then((res: IResponse) => {\n if (res && res.code === 0) {\n ElMessage({\n message: \"自定义labels成功\",\n type: \"success\",\n duration: 3000,\n });\n emit(\"hideDrawer\");\n emit(\"update\");\n }\n });\n};\n//确定\nconst confirmClick = () => {\n //进行表单校验,校验通过则切换,校验不通过则提示\n formContentRef.value.submit().then((formValue: any) => {\n let userLabels = {} as any;\n formValue.labels.forEach((v: any) => {\n userLabels[v.value] = v.value3;\n });\n let param;\n param = {\n dataId: props.drawerData.id,\n userLabels,\n };\n requestSend(param);\n });\n};\n//弹窗打开\nconst openDrawer = () => {\n console.log(111);\n};\nconst hideDrawer = () => {\n emit(\"hideDrawer\");\n formContentRef.value.resetForm();\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(CommonDrawer, {\n drawerVisible: props.drawerVisible,\n drawerTitle: props.drawerTitle,\n onHideDrawer: hideDrawer,\n onOpen: openDrawer,\n footerVisible: true,\n onConfirmClick: confirmClick\n }, {\n default: _withCtx(() => [\n _createVNode(FormContent, {\n ref_key: \"formContentRef\",\n ref: formContentRef,\n formData: props.drawerData\n }, null, 8, [\"formData\"])\n ]),\n _: 1\n }, 8, [\"drawerVisible\", \"drawerTitle\"]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, resolveDirective as _resolveDirective, withDirectives as _withDirectives, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-10305caf\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"list-operation\" }\nconst _hoisted_2 = { style: {\"width\":\"56px\"} }\n\nimport { ref } from \"vue\";\nimport { ElTable } from \"element-plus\";\nimport { ElMessage } from \"element-plus\";\nimport { confirm } from \"@/common/confirm\";\nimport { TABLE_DATA } from \"@/types/knowledge\";\nimport { deleteData, collectData, cancelCollectData } from \"@/api/knowledge\";\nimport LabelsContent from \"@/components/knowledge/labels-content/index.vue\";\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TableList',\n props: {\n loading: {\n type: Boolean,\n default: false,\n },\n tableData: {\n type: Array,\n default: () => [],\n },\n typeOptions: {\n type: Array,\n default: () => [],\n },\n modeOptions: {\n type: Array,\n default: () => [],\n },\n},\n emits: [\"edit\", \"update\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\n\n/** data */\nconst drawerVisible = ref(false); //弹窗是否可见\nconst drawerTitle = ref(\"\"); //弹窗标题\nconst drawerData = ref({});\n\n/** methods */\n//收藏\nconst handleCollect = (row: TABLE_DATA) => {\n let title = \"\";\n let requestFn = ref();\n if (row.collected) {\n requestFn.value = cancelCollectData;\n title = \"取消收藏\";\n } else {\n requestFn.value = collectData;\n title = \"收藏\";\n }\n confirm({\n title,\n name: row.name,\n callback: () => {\n return requestFn.value(row).then((res: any) => {\n if (res && res.code === 0) {\n ElMessage({\n message: title + \"成功\",\n type: \"success\",\n duration: 3000,\n });\n emit(\"update\");\n }\n });\n },\n });\n};\n//编辑\nconst handleEdit = (row: TABLE_DATA) => {\n emit(\"edit\", row, \"edit\");\n};\n//删除\nconst handleDelete = (row: TABLE_DATA) => {\n confirm({\n title: \"删除\",\n name: row.name,\n callback: () => {\n return deleteData(row).then((res: any) => {\n if (res && res.code === 0) {\n ElMessage({\n message: \"删除成功\",\n type: \"success\",\n duration: 3000,\n });\n emit(\"update\");\n }\n });\n },\n });\n};\n//显示\nconst showDrawer = (title: string) => {\n drawerVisible.value = true;\n drawerTitle.value = title;\n};\n//隐藏\nconst hideDrawer = () => {\n drawerVisible.value = false;\n};\n// 自定义\nconst handleLabels = (row: TABLE_DATA) => {\n showDrawer(\"自定义labels\");\n drawerData.value = row;\n};\n\n/** 初始化 */\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _directive_loading = _resolveDirective(\"loading\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _withDirectives((_openBlock(), _createBlock(_unref(ElTable), {\n data: props.tableData,\n style: {\"width\":\"100%\"},\n class: \"table-container\",\n \"element-loading-text\": \"数据正在努力加载,请稍候...\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, {\n prop: \"id\",\n label: \"id\",\n width: \"76\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"name\",\n label: \"名称\",\n \"min-width\": \"140\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"typeStr\",\n label: \"类型\",\n width: \"100\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"data\",\n label: \"回答/提示词\",\n \"min-width\": \"400\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"modeStr\",\n label: \"模式\",\n width: \"80\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"info\",\n label: \"提问/标题\",\n \"min-width\": \"200\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"designer\",\n label: \"作者\",\n width: \"120\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"description\",\n label: \"详细信息\",\n \"min-width\": \"200\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n fixed: \"right\",\n label: \"操作\",\n width: \"280\"\n }, {\n default: _withCtx((scope) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"primary\",\n onClick: ($event: any) => (handleEdit(scope.row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"primary\",\n onClick: ($event: any) => (handleDelete(scope.row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n link: \"\",\n type: \"primary\",\n onClick: ($event: any) => (handleCollect(scope.row))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(scope.row.collected ? \"取消收藏\" : \"收藏\"), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n (Object.keys(scope.row.labels).length)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 0,\n link: \"\",\n type: \"primary\",\n onClick: ($event: any) => (handleLabels(scope.row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"自定义labels\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"])), [\n [_directive_loading, __props.loading]\n ]),\n _createVNode(LabelsContent, {\n drawerVisible: drawerVisible.value,\n drawerTitle: drawerTitle.value,\n drawerData: drawerData.value,\n onHideDrawer: hideDrawer,\n onUpdate: _cache[0] || (_cache[0] = ($event: any) => (emit('update')))\n }, null, 8, [\"drawerVisible\", \"drawerTitle\", \"drawerData\"])\n ], 64))\n}\n}\n\n})","import script from \"./TableList.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TableList.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TableList.vue?vue&type=style&index=0&id=10305caf&scoped=true&lang=scss\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-10305caf\"]])\n\nexport default __exports__","/*\n * @Description:\n * @Date: 2022-10-12 15:01:19\n * @LastEditTime: 2023-04-26 15:54:13\n */\n\n//当前环境\n// const environment =\n// window.location.origin.indexOf(\"mone.test.mi.com\") > -1 ? \"test\" : \"online\";\n\n//api\nexport const zApi = window.location.origin + \"/api/z\";\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, withCtx as _withCtx, unref as _unref, withKeys as _withKeys, createBlock as _createBlock, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5614c7e9\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"main-content knowledge\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"显示:\", -1))\nconst _hoisted_3 = { style: {} }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"名称:\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"类型:\", -1))\nconst _hoisted_6 = { style: {} }\nconst _hoisted_7 = { style: {\"color\":\"#8492a6\",\"font-size\":\"13px\"} }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"信息:\", -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"标签:\", -1))\nconst _hoisted_10 = { style: {} }\nconst _hoisted_11 = { style: {\"color\":\"#8492a6\",\"font-size\":\"13px\"} }\nconst _hoisted_12 = { class: \"btn-content\" }\n\nimport { ref, reactive } from \"vue\";\nimport { Search } from \"@element-plus/icons-vue\";\nimport MainHead from \"@/components/common/MainHead.vue\";\nimport ContentHead from \"@/components/common/ContentHead.vue\";\nimport TableList from \"@/components/knowledge/TableList.vue\";\nimport CommonPage from \"@/components/common/CommonPage.vue\";\nimport DrawerContent from \"@/components/knowledge/drawer-content/index.vue\";\nimport { TABLE_DATA } from \"@/types/knowledge\";\nimport { COMMON_PAGE_INFO } from \"@/types/common\";\nimport { getTableData, getModes } from \"@/api/knowledge\";\nimport { getTypesList } from \"@/api/type\";\nimport { getTagList } from \"@/api/tag\";\nimport { OPTION_LIST } from \"@/types/common\";\nimport { ElMessage } from \"element-plus\";\nimport { zApi } from \"@/common/domain\";\n\n/** data */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Knowledge',\n setup(__props) {\n\nconst nameValue = ref(\"\");\nconst typeValue = ref();\nconst typeOptions = ref>([]);\nconst infoValue = ref();\nconst modeOptions = ref>([]);\nconst loading = ref(false);\nconst tableData = ref>([]); //表格数据\nconst pageInfo = reactive({\n currentPage: 1,\n total: 0,\n pageSize: 10,\n}); //分页\nconst drawerVisible = ref(false); //弹窗是否可见\nconst drawerTitle = ref(\"\"); //弹窗标题\nconst drawerData = ref({});\nconst tagValue = ref();\nconst tagOptions = ref>([]);\nconst collectionValue = ref(1);\nconst collectionOptions = [\n {\n key: 1,\n value: \"全部\",\n },\n {\n key: 2,\n value: \"我的收藏\",\n },\n {\n key: 3,\n value: \"我的创建\",\n },\n];\n\n/** methods */\n//类型枚举\nconst getTypesData = () => {\n getTypesList({\n pageNum: 1, //当前的页码\n pageSize: 1000, //每页条数,这里有隐患,操作1000的显示不出来\n }).then((res: any) => {\n if (res.data) {\n typeOptions.value = res.data.list;\n }\n });\n};\n//标签枚举\nconst getTagData = () => {\n getTagList({\n pageNum: 1, //当前的页码\n pageSize: 1000, //每页条数,这里有隐患,操作1000的显示不出来\n }).then((res: any) => {\n if (res.data) {\n tagOptions.value = res.data.list;\n }\n });\n};\n// 获取模式\nconst getModesData = () => {\n getModes({}).then((res: any) => {\n modeOptions.value = res.data;\n });\n};\n// 获取表格数据\nconst getTable = (): void => {\n loading.value = true;\n\n let collectionOnly = false;\n let createOnly = false;\n if (collectionValue.value === 1) {\n //全部\n collectionOnly = false;\n createOnly = false;\n } else if (collectionValue.value === 2) {\n //我的收藏\n collectionOnly = true;\n createOnly = false;\n } else if (collectionValue.value === 3) {\n // 我的创建\n collectionOnly = false;\n createOnly = true;\n }\n getTableData({\n type: typeValue.value ? Number(typeValue.value) : undefined, //类型\n info: infoValue.value || undefined, //信息\n name: nameValue.value || undefined, //名称\n pageNum: pageInfo.currentPage, //当前的页码\n pageSize: pageInfo.pageSize, //每页条数\n tags: tagValue.value ? Number(tagValue.value) : undefined, //标签\n collectionOnly,\n createOnly,\n })\n .then((res: any) => {\n if (res.data.list) {\n tableData.value = res.data.list.map((item: TABLE_DATA) => {\n return {\n ...item,\n typeStr:\n typeOptions.value.find((v: OPTION_LIST) => {\n return v.id === item.type;\n })?.name || item.type,\n modeStr:\n modeOptions.value.find((v: OPTION_LIST) => {\n return v.id === item.mode;\n })?.name || item.mode,\n };\n });\n pageInfo.total = res.data.total;\n } else {\n tableData.value = [];\n pageInfo.total = 0;\n }\n })\n .catch(() => {\n tableData.value = [];\n pageInfo.total = 0;\n })\n .finally(() => {\n loading.value = false;\n });\n};\n//搜索数据\nconst searchTable = () => {\n pageInfo.currentPage = 1;\n getTable();\n};\n//操作分页\nconst handlePage = (opts?: { currentPage?: number; pageSize?: number }) => {\n pageInfo.pageSize = opts?.pageSize || pageInfo.pageSize;\n pageInfo.currentPage = opts?.currentPage || pageInfo.currentPage;\n getTable();\n};\n//导入\nconst uploadError = (error: Error, uploadFile: any, uploadFiles: any) => {\n console.log(222, error, uploadFile, uploadFiles);\n};\nconst uploadSuccess = (response: any) => {\n if (response.code === 0) {\n ElMessage({\n message: response.message,\n type: \"success\",\n duration: 3000,\n });\n getTable();\n } else {\n ElMessage({\n message: response.message,\n type: \"error\",\n duration: 3000,\n });\n }\n};\n//显示\nconst showDrawer = (title: string) => {\n drawerVisible.value = true;\n drawerTitle.value = title;\n};\n//隐藏\nconst hideDrawer = () => {\n drawerVisible.value = false;\n};\n// 新建\nconst create = () => {\n showDrawer(\"创建\");\n drawerData.value = {\n operType: \"create\",\n };\n};\n//编辑\nconst edit = (row: TABLE_DATA, type: string) => {\n drawerData.value = {\n ...row,\n operType: type,\n };\n showDrawer(\"编辑\");\n};\n\n/** 初始化 */\n// 类型枚举\n//模式枚举\nPromise.all([getTypesData(), getModesData(), getTagData()]).then(() => {\n //获取表格数据\n getTable();\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_icon = _resolveComponent(\"el-icon\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_upload = _resolveComponent(\"el-upload\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(MainHead, { headName: \"知识库列表\" }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(ContentHead, null, {\n btn: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_el_upload, {\n ref: \"upload\",\n class: \"upload-file\",\n action: _unref(zApi) + '/knowledge/upload',\n \"show-file-list\": false,\n accept: \"application/json\",\n \"on-success\": uploadSuccess,\n \"on-error\": uploadError,\n \"with-credentials\": true\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, { type: \"primary\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"导入\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"action\"]),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: create\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"新建\")\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _hoisted_2,\n _createVNode(_component_el_select, {\n modelValue: collectionValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((collectionValue).value = $event)),\n placeholder: \"请选择\",\n filterable: \"\",\n onChange: searchTable\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(collectionOptions, (item) => {\n return _createVNode(_component_el_option, {\n key: item.key,\n label: item.value,\n value: item.key\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(item.value), 1)\n ]),\n _: 2\n }, 1032, [\"label\", \"value\"])\n }), 64))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_4,\n _createVNode(_component_el_input, {\n modelValue: nameValue.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((nameValue).value = $event)),\n modelModifiers: { trim: true },\n placeholder: \"请输入名称进行搜索\",\n onKeyup: _withKeys(searchTable, [\"enter\"]),\n clearable: \"\",\n onClear: searchTable\n }, {\n suffix: _withCtx(() => [\n _createVNode(_component_el_icon, {\n class: \"el-input__icon\",\n onClick: searchTable\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Search))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\", \"onKeyup\"])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_5,\n _createVNode(_component_el_select, {\n modelValue: typeValue.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((typeValue).value = $event)),\n placeholder: \"请选择类型\",\n clearable: \"\",\n filterable: \"\",\n onChange: searchTable\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(typeOptions.value, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.id,\n label: item.name,\n value: item.id\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(item.name), 1),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(\" (\" + item.description + \")\"), 1)\n ]),\n _: 2\n }, 1032, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_8,\n _createVNode(_component_el_input, {\n modelValue: infoValue.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((infoValue).value = $event)),\n modelModifiers: { trim: true },\n placeholder: \"请输入信息进行搜索\",\n onKeyup: _withKeys(searchTable, [\"enter\"]),\n clearable: \"\",\n onClear: searchTable\n }, {\n suffix: _withCtx(() => [\n _createVNode(_component_el_icon, {\n class: \"el-input__icon\",\n onClick: searchTable\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Search))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\", \"onKeyup\"])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_9,\n _createVNode(_component_el_select, {\n modelValue: tagValue.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((tagValue).value = $event)),\n placeholder: \"请选择标签\",\n clearable: \"\",\n filterable: \"\",\n onChange: searchTable\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tagOptions.value, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.id,\n label: item.name,\n value: item.id\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(item.name), 1),\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(\" (\" + item.description + \")\"), 1)\n ]),\n _: 2\n }, 1032, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ]),\n _: 1\n }),\n _createVNode(TableList, {\n loading: loading.value,\n tableData: tableData.value,\n onUpdate: getTable,\n onEdit: edit,\n typeOptions: typeOptions.value,\n modeOptions: modeOptions.value\n }, null, 8, [\"loading\", \"tableData\", \"typeOptions\", \"modeOptions\"]),\n _createVNode(CommonPage, {\n onHandlePage: handlePage,\n pageInfo: pageInfo\n }, null, 8, [\"pageInfo\"])\n ]),\n _createVNode(DrawerContent, {\n drawerVisible: drawerVisible.value,\n drawerTitle: drawerTitle.value,\n drawerData: drawerData.value,\n onHideDrawer: hideDrawer,\n onUpdate: getTable,\n typeOptions: typeOptions.value,\n modeOptions: modeOptions.value,\n tagOptions: tagOptions.value\n }, null, 8, [\"drawerVisible\", \"drawerTitle\", \"drawerData\", \"typeOptions\", \"modeOptions\", \"tagOptions\"])\n ], 64))\n}\n}\n\n})","import script from \"./Knowledge.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Knowledge.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Knowledge.vue?vue&type=style&index=0&id=5614c7e9&lang=scss&scoped=true\"\n\nimport exportComponent from \"/Users/kangting/Desktop/mi-project/z/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5614c7e9\"]])\n\nexport default __exports__","import { createRouter, createWebHistory, RouteRecordRaw } from \"vue-router\";\nimport Layout from \"@/layout/index.vue\"; //布局页面\nimport Ask from \"../views/Ask.vue\";\nimport Knowledge from \"../views/Knowledge.vue\";\nimport { openEnv } from \"@/common/constant\";\n\nconst routes: Array = [\n {\n path: \"/\",\n component: Layout, // 布局结构\n children: [\n {\n path: \"/\",\n name: \"Ask\",\n component: Ask,\n },\n {\n path: \"/knowledge\",\n name: \"Knowledge\",\n component: Knowledge,\n },\n {\n path: \"/type\",\n name: \"Type\",\n // route level code-splitting\n // this generates a separate chunk (about.[hash].js) for this route\n // which is lazy-loaded when the route is visited.\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/Type.vue\"),\n },\n {\n path: \"/tag\",\n name: \"Tag\",\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/Tag.vue\"),\n },\n {\n path: \"/collected\",\n name: \"Collected\",\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/Collected.vue\"),\n },\n {\n path: \"/info\",\n name: \"Info\",\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/Info.vue\"),\n },\n {\n path: \"/points\",\n name: \"Points\",\n component: () =>\n openEnv\n ? import(\"../views/PointsOpen.vue\")\n : import(\"../views/Points.vue\"),\n },\n {\n path: \"/user\",\n name: \"User\",\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/User.vue\"),\n },\n {\n path: \"/price\",\n name: \"Price\",\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/Price.vue\"),\n },\n {\n path: \"/price-strategy\",\n name: \"PriceStrategy\",\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/PriceStrategy.vue\"),\n },\n {\n path: \"/history\",\n name: \"History\",\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/History.vue\"),\n },\n {\n path: \"/my-knowledge\",\n name: \"MyKnowledge\",\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/MyKnowledge.vue\"),\n },\n {\n path: \"/my-knowledge-file\",\n name: \"MyKnowledgeFile\",\n component: () =>\n import(\n /* webpackChunkName: \"about\" */ \"../views/MyKnowledgeFile.vue\"\n ),\n },\n ],\n },\n {\n path: \"/payment\",\n name: \"Payment\",\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/Payment.vue\"),\n },\n];\n\nconst router = createRouter({\n history: createWebHistory(\"/z\"),\n routes,\n});\n\nexport default router;\n","import { createStore } from \"vuex\";\n\nexport default createStore({\n state: {},\n mutations: {},\n actions: {},\n modules: {},\n});\n","import { createApp } from \"vue\";\nimport App from \"./App.vue\";\nimport router from \"./router\";\nimport store from \"./store\";\nconst app = createApp(App);\n\n// 公共样式\nimport \"./styles/common.scss\";\n\n//mi公共组件\nimport MioneProduct from \"@mi/mione-product\";\nimport MioneHeader from \"@mi/mione-product\";\nimport MioneMessage from \"@mi/mione-product\";\n\n//element组件\nimport ElementPlus from \"element-plus\";\nimport zhCn from \"element-plus/lib/locale/lang/zh-cn\";\nimport \"element-plus/dist/index.css\";\nimport * as ElementPlusIconsVue from \"@element-plus/icons-vue\";\nfor (const [key, component] of Object.entries(ElementPlusIconsVue)) {\n app.component(key, component);\n}\n\n// 引入通信\nimport mitt from \"mitt\";\nconst Mit = mitt();\ndeclare module \"vue\" {\n export interface ComponentCustomProperties {\n $Bus: typeof Mit;\n }\n}\napp.config.globalProperties.$Bus = Mit;\n\nimport { InstallCodemirro } from \"codemirror-editor-vue3\";\n\napp.use(store);\napp.use(router);\napp.use(MioneProduct);\napp.use(MioneHeader);\napp.use(MioneMessage);\napp.use(ElementPlus, { locale: zhCn });\napp.use(InstallCodemirro);\napp.mount(\"#app\");\n","module.exports = __webpack_public_path__ + \"img/search-smart.f0161c3b.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ContentHead.vue?vue&type=style&index=0&id=16791d68&lang=scss\"","/*\n * @Description:\n * @Date: 2023-04-23 16:53:12\n * @LastEditTime: 2023-05-10 15:01:08\n */\nimport { Service } from \"./axios/index\";\nimport { IResponse } from \"@/types/common\";\nimport { TABLE_DATA } from \"@/types/ask\";\n\n/**\n * @description 获取列表\n */\nexport const getAskTableData = (data: {\n num?: number;\n chatGPT?: boolean;\n question?: string;\n}): Promise<\n IResponse<{\n data: Array;\n }>\n> =>\n Service({\n url: \"/knowledge/ask\",\n method: \"post\",\n data,\n });\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./FormContent.vue?vue&type=style&index=1&id=45cd35ba&lang=scss&scoped=true\"","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderSlot as _renderSlot, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createSlots as _createSlots, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\nconst _hoisted_2 = {\n key: 1,\n style: {\"flex\":\"auto\"}\n}\n\nimport { ref, watch } from \"vue\";\n\n/** 传递过来的props和emit */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CommonDrawer',\n props: {\n //抽屉是否可见\n drawerVisible: {\n type: Boolean,\n default: false,\n },\n //抽屉标题\n drawerTitle: {\n type: String,\n default: \"标题\",\n },\n //是否显示底部\n footerVisible: {\n type: Boolean,\n default: false,\n },\n // 自定义底部\n footerCustomVisible: {\n type: Boolean,\n default: false,\n },\n // 大小\n size: {\n type: String,\n default: \"80%\",\n },\n},\n emits: [\"hideDrawer\", \"confirmClick\", \"open\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\n\n/** data */\nconst drawer = ref(false); //弹窗是否可见\nconst direction = ref(\"rtl\"); //方向\n\n/** watch */\n//监听props.drawerTaskVisible\nwatch(\n () => props.drawerVisible,\n (val) => {\n drawer.value = val;\n },\n {\n immediate: true,\n deep: true,\n }\n);\n\n/** methods */\n//取消\nconst handleClose = () => {\n emit(\"hideDrawer\");\n};\n//确定\nconst confirmClick = () => {\n emit(\"confirmClick\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_page_header = _resolveComponent(\"el-page-header\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_drawer = _resolveComponent(\"el-drawer\")!\n\n return (_openBlock(), _createBlock(_component_el_drawer, {\n modelValue: drawer.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((drawer).value = $event)),\n direction: direction.value,\n \"before-close\": handleClose,\n size: props.size,\n \"custom-class\": \"drawer-container\",\n onOpen: _cache[1] || (_cache[1] = ($event: any) => (emit('open')))\n }, _createSlots({\n header: _withCtx(() => [\n _createVNode(_component_el_page_header, {\n onBack: handleClose,\n title: \" \"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_1, _toDisplayString(props.drawerTitle), 1)\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 2\n }, [\n (__props.footerVisible || __props.footerCustomVisible)\n ? {\n name: \"footer\",\n fn: _withCtx(() => [\n (__props.footerCustomVisible)\n ? _renderSlot(_ctx.$slots, \"footer\", { key: 0 })\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(_component_el_button, { onClick: handleClose }, {\n default: _withCtx(() => [\n _createTextVNode(\"取消\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: confirmClick\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"确认\")\n ]),\n _: 1\n })\n ]))\n ]),\n key: \"0\"\n }\n : undefined\n ]), 1032, [\"modelValue\", \"direction\", \"size\"]))\n}\n}\n\n})","import script from \"./CommonDrawer.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CommonDrawer.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CommonDrawer.vue?vue&type=style&index=0&id=099d16ee&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","/*\n * @Description:\n * @Date: 2023-05-23 18:51:56\n * @LastEditTime: 2023-05-24 14:39:27\n */\n\nimport { Service } from \"./axios/index\";\nimport { IResponse } from \"@/types/common\";\nimport { OPTION_LIST } from \"@/types/common\";\n\n/**\n * @description tag列表\n * @url https://one.mi.com/miapi/#/api/apidetail?projectID=123156&apiID=58481&apiProtocol=1\n */\nexport const getTagList = (\n data: any\n): Promise<\n IResponse<{\n list?: Array;\n pageNum: number; //当前的页码\n pageSize: number; //每页条数\n }>\n> =>\n Service({\n url: \"/knowledge/tags/list\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 新增\n * @url https://one.mi.com/miapi/#/api/apidetail?projectID=123156&apiID=58482&apiProtocol=1\n */\nexport const create = (data: OPTION_LIST): Promise> =>\n Service({\n url: \"/knowledge/tags/create\",\n method: \"post\",\n data,\n });\n\n/**\n * @description 删除\n * @url https://one.mi.com/miapi/#/api/apidetail?projectID=123156&apiID=58484&apiProtocol=1\n */\nexport const deleteData = (data: OPTION_LIST): Promise> => {\n return Service({\n url: \"/knowledge/tags/delete\",\n method: \"post\",\n data,\n });\n};\n"],"sourceRoot":""}