1 |
- {"remainingRequest":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\api\\common_api.js","dependencies":[{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\api\\common_api.js","mtime":1663828782906},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\babel.config.js","mtime":1663828782900},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000}],"contextDependencies":[],"result":["/*\r\n * @Author: zouwenying\r\n * @Date: 2020-10-29 12:47:16\r\n * @LastEditTime: 2020-10-29 12:48:20\r\n * @LastEditors: Please set LastEditors\r\n * @Description: In User Settings Edit\r\n * @FilePath: \\WEB\\src\\api\\common_api.js\r\n */\nexport default (function (http) {\n return {\n /* 获取厂商/系列/型号树形数据\r\n sysId: 系统id\r\n type: 类型 1:传感器 2;网关设备\r\n */\n getTreeData: function getTreeData() {\n var sysId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n return http.get(\"/common/getTreeData?sysId=\".concat(sysId, \"&type=\").concat(type));\n },\n\n /*查询字典库数据*/\n getDictionaryData: function getDictionaryData() {\n var parentDictCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n return http.post('/sc-user-center/dict/selectList', {\n parentDictCode: parentDictCode\n });\n },\n\n /*获取相关gis服务 */\n getGis: function getGis() {\n var serviceType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n return http.post('/systemSetting/selectGis', {\n serviceType: serviceType\n });\n }\n };\n});",{"version":3,"sources":["C:/Users/100zone/Desktop/baizong/community/SmartCommunity/videoSurveillance/src/api/common_api.js"],"names":["http","getTreeData","sysId","type","get","getDictionaryData","parentDictCode","post","getGis","serviceType"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,UAACA,IAAD;AAAA,SAAW;AACxB;AACF;AACA;AACA;AACEC,IAAAA,WAAW,EAAE;AAAA,UAACC,KAAD,uEAAS,EAAT;AAAA,UAAaC,IAAb,uEAAoB,EAApB;AAAA,aAA2BH,IAAI,CAACI,GAAL,qCAAsCF,KAAtC,mBAAoDC,IAApD,EAA3B;AAAA,KALW;;AAMxB;AACAE,IAAAA,iBAAiB,EAAE;AAAA,UAACC,cAAD,uEAAkB,EAAlB;AAAA,aAAyBN,IAAI,CAACO,IAAL,CAAU,iCAAV,EAA4C;AAACD,QAAAA,cAAc,EAAdA;AAAD,OAA5C,CAAzB;AAAA,KAPK;;AAQxB;AACAE,IAAAA,MAAM,EAAC;AAAA,UAACC,WAAD,uEAAa,EAAb;AAAA,aAAkBT,IAAI,CAACO,IAAL,CAAU,0BAAV,EAAqC;AAACE,QAAAA,WAAW,EAAXA;AAAD,OAArC,CAAlB;AAAA;AATiB,GAAX;AAAA,CAAf","sourcesContent":["/*\r\n * @Author: zouwenying\r\n * @Date: 2020-10-29 12:47:16\r\n * @LastEditTime: 2020-10-29 12:48:20\r\n * @LastEditors: Please set LastEditors\r\n * @Description: In User Settings Edit\r\n * @FilePath: \\WEB\\src\\api\\common_api.js\r\n */\r\nexport default (http) => ({\r\n /* 获取厂商/系列/型号树形数据\r\n sysId: 系统id\r\n type: 类型 1:传感器 2;网关设备\r\n */\r\n getTreeData: (sysId = '', type = '') => http.get(`/common/getTreeData?sysId=${sysId}&type=${type}`),\r\n /*查询字典库数据*/\r\n getDictionaryData: (parentDictCode = '') => http.post('/sc-user-center/dict/selectList',{parentDictCode}),\r\n /*获取相关gis服务 */\r\n getGis:(serviceType='')=>http.post('/systemSetting/selectGis',{serviceType}),\r\n})"]}]}
|