diff --git a/.gitignore b/.gitignore index 78a0ead..615bbd6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,11 @@ dist/ npm-debug.log* yarn-debug.log* yarn-error.log* +debug.log +*.stackdump +*.zip +*.rar +*.7z package-lock.json # Editor directories and files diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index 4be56e7..cd65fb2 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -59,6 +59,7 @@ const webpackConfig = merge(baseWebpackConfig, { templateParameters: { BASE_URL: config.build.assetsPublicPath + config.build.assetsSubDirectory, }, + // minify: false, minify: { removeComments: true, collapseWhitespace: true, diff --git a/debug.log b/debug.log deleted file mode 100644 index 4faf227..0000000 --- a/debug.log +++ /dev/null @@ -1,5 +0,0 @@ -[0301/083149.303:ERROR:http_transport_win.cc(273)] WinHttpSendRequest: 操作成功完成。 (0x0) -[0515/102246.688:ERROR:http_transport_win.cc(276)] WinHttpSendRequest: 操作成功完成。 (0x0) -[0531/081503.881:ERROR:http_transport_win.cc(276)] WinHttpSendRequest: 操作成功完成。 (0x0) -[0605/094355.406:ERROR:http_transport_win.cc(276)] WinHttpSendRequest: 操作成功完成。 (0x0) -[0710/121232.515:ERROR:http_transport_win.cc(276)] WinHttpSendRequest: 操作成功完成。 (0x0) diff --git a/favicon.ico b/favicon.ico index ec465b2..8fc85a9 100644 Binary files a/favicon.ico and b/favicon.ico differ diff --git a/index.html b/index.html index 63b7375..35c5a5b 100644 --- a/index.html +++ b/index.html @@ -1,19 +1,14 @@ - - - - MES淇℃伅绠$悊绯荤粺 - - - - - - - - -
- - - + + + + 鏁版嵁鍒嗘瀽澶勭悊骞冲彴 + + + +
+ + + diff --git a/package.json b/package.json index aeed9ce..cc6a525 100644 --- a/package.json +++ b/package.json @@ -14,12 +14,15 @@ }, "dependencies": { "axios": "0.18.0", + "crypto-js": "^4.2.0", "dhtmlx-gantt": "^7.1.12", "docxtemplater": "^3.19.7", "echarts": "^4.2.0-rc.2", "element-ui": "^2.13.0", + "ezuikit-js": "7.7.X", "file-saver": "^1.3.8", "html2canvas": "^1.0.0-alpha.12", + "html2pdf.js": "^0.10.3", "jquery": "^3.5.1", "js-cookie": "2.2.0", "jspdf": "2.5.1", @@ -30,7 +33,7 @@ "npm": "^7.20.5", "nprogress": "0.2.0", "qrcode": "^1.3.2", - "stylus": "0.52.4", + "stylus": "^0.52.4", "stylus-loader": "^3.0.1", "time-formater": "^1.0.3", "uuid": "^9.0.0", @@ -39,7 +42,10 @@ "vue": "2.5.17", "vue-count-to": "^1.0.13", "vue-direction-key": "^1.0.5", + "vue-draggable-resizable-gorkys": "^2.4.8", + "vue-fullscreen": "^2.6.1", "vue-router": "^3.0.7", + "vue-v-directive": "^0.0.1", "vuex": "3.0.1", "xlsx": "^0.14.0", "xlsx-style": "^0.8.13" diff --git a/src/api/BasicData/EquipmentCapabilitySetting.js b/src/api/BasicData/EquipmentCapabilitySetting.js deleted file mode 100644 index c63fb7d..0000000 --- a/src/api/BasicData/EquipmentCapabilitySetting.js +++ /dev/null @@ -1,75 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' - -// 鍒濆鍖栬幏鍙栧伐鑹 -export function getTechnology() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍚嶇О_鏌ヨ鏁版嵁', - param: '宸ヨ壓鍒嗙被娴佹按鍙穇check=0' - } - }) -} -// 鏌ヨ琛ㄦ牸鏁版嵁 -export function searchtable(pageCurrent, pageSize, num1, ManufacturerNumber) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '璁惧绠$悊_璁惧鍔犲伐鑳藉姏_鏌ヨ鏁版嵁_璁惧缁存姢', - param: '璁惧鍚嶇О_check=' + num1 + '&璁惧鍚嶇О=' + ManufacturerNumber, - Pagination: pageCurrent + '&' + pageSize - } - }) -} -// 澧炲姞 -export function edittype(ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_璁惧鍔犲伐鑳藉姏_澧炲姞鏁版嵁_璁惧缁存姢New', - param: '璁惧鍚嶇О=' + ManufacturerNumber + '&璁惧鍨嬪彿=' + ManufacturerName + '&璁惧鎬ц兘鎸囨爣=' + ManufacturerAbbreviation + '&璁惧宸ユ椂绯绘暟=' + address + '&宸ヨ壓缂栧彿=' + phNumber + '&鐝绫诲瀷=' + Fax + '&璁惧鍔犲伐鑳藉姏宸ユ椂=' + Remarks + '&鏁存敼宸ユ椂绯绘暟=' + category + '&璁惧缂栧彿=' + attention + '&棰勭暀宸ユ椂绯绘暟=' + EquipmentCondition - } - }) -} -// 缂栬緫 -export function handlechange(num, ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_璁惧鍔犲伐鑳藉姏_淇敼鏁版嵁_璁惧缁存姢New', - param: '璁惧娴佹按鍙=' + num + '&璁惧鍚嶇О=' + ManufacturerNumber + '&璁惧鍨嬪彿=' + ManufacturerName + '&璁惧鎬ц兘鎸囨爣=' + ManufacturerAbbreviation + '&璁惧宸ユ椂绯绘暟=' + address + '&宸ヨ壓灞炴т唬鐮=' + phNumber + '&鐝绫诲瀷=' + Fax + '&璁惧鍔犲伐鑳藉姏宸ユ椂=' + Remarks + '&鏁存敼宸ユ椂绯绘暟=' + category + '&璁惧缂栧彿=' + attention + '&棰勭暀宸ユ椂绯绘暟=' + EquipmentCondition - } - }) -} -// 鍒犻櫎 -export function handledelete(CoManufacturerFlowNumber) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_璁惧鍔犲伐鑳藉姏_鍒犻櫎鏁版嵁_璁惧缁存姢', - param: '璁惧娴佹按鍙=' + CoManufacturerFlowNumber - } - }) -} diff --git a/src/api/BasicData/EquipmentMonitoringNew.js b/src/api/BasicData/EquipmentMonitoringNew.js deleted file mode 100644 index 8654c1e..0000000 --- a/src/api/BasicData/EquipmentMonitoringNew.js +++ /dev/null @@ -1,44 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' - -// 鍒濆鍖栧伐浣 -export function getMachine() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍔犲伐椤哄簭璋冩暣_鏌ヨ宸ヤ綅鍙婁汉鍛' - } - }) -} -// 鑾峰彇鐘舵 -export function searchState() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'MES_鏈哄姞宸ES_璁惧鐘舵佹煡璇鍒濆鍖' - } - }) -} - -export function getData3(num, num1, num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊_璁惧杩愯鎯呭喌_鏌ヨ鏁版嵁_鐘舵佸垎甯冨浘_鏂', - param: '宸ヤ綅鍙=' + num + '&寮濮嬫椂闂=' + num1 + '&缁撴潫鏃堕棿=' + num2 - } - }) -} diff --git a/src/api/BasicData/Materialmaintenance.js b/src/api/BasicData/Materialmaintenance.js deleted file mode 100644 index f123e14..0000000 --- a/src/api/BasicData/Materialmaintenance.js +++ /dev/null @@ -1,57 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' - -export function featchMaterial(num1, pageCurrent, pageSize) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鏉愯川琛╛鏌ヨ鏁版嵁_鏍规嵁鏉愭枡鍚嶇О', - param: '鏉愭枡鍚嶇О=' + num1, - pagination: pageCurrent + '&' + pageSize - } - }) -} -export function addMaterial(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鏉愯川琛╛澧炲姞鏁版嵁', - param: '鏉愭枡=' + num1 - } - }) -} -export function delMaterial(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鏉愯川琛╛鍒犻櫎鏁版嵁', - param: '鏉愭枡娴佹按鍙=' + num1 - } - }) -} -export function editMaterial(num1, num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鏉愯川琛╛淇敼鏁版嵁', - param: '鏉愭枡娴佹按鍙=' + num1 + '=int&鏉愭枡=' + num2 - } - }) -} diff --git a/src/api/BasicData/MenuManagement.js b/src/api/BasicData/MenuManagement.js index d78f549..e01daba 100644 --- a/src/api/BasicData/MenuManagement.js +++ b/src/api/BasicData/MenuManagement.js @@ -1,7 +1,6 @@ import request from '@/utils/request' import state from '@/store' import router from '@/router' - // 鍒濆鍖栬鑹 export function getRole() { return request({ @@ -11,7 +10,7 @@ export function getRole() { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '1', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊_鏌ヨ鏁版嵁_new' + name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊_鏌ヨ鏁版嵁_MESWORK' } }) } @@ -24,7 +23,7 @@ export function getModule(role) { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '3', - name: `select * from 鍩虹琛╛瑙掕壊妯″潡淇℃伅 inner join 鍩虹琛╛妯″潡淇℃伅 on 鍩虹琛╛瑙掕壊妯″潡淇℃伅.id = 鍩虹琛╛妯″潡淇℃伅.id where 瑙掕壊缂栧彿=${role} and 鏄惁绂佺敤 = 0 order by 瑙掕壊妯″潡椤哄簭` + name: `select * from [dbo].[鐧诲綍鍩虹鏁版嵁_浜岀骇鑿滃崟] where 璐﹀彿浠g爜=${role} and 鏄惁鍚敤 = 1 order by id` } }) } @@ -37,7 +36,7 @@ export function initFisrtLevel() { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '3', - name: `select id,title from 鍩虹琛╛妯″潡淇℃伅 where [path] = '/' and 鏄惁绂佺敤 = 0` + name: ` select id,title from [dbo].[鐧诲綍鍩虹鏁版嵁_浜岀骇鑿滃崟] where pid = 0 and 鏄惁鍚敤 =1 and 璐﹀彿浠g爜 = 1` } }) } @@ -50,102 +49,42 @@ export function initSecondLevel() { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '3', - name: `select id,title from 鍩虹琛╛妯″潡淇℃伅 where [path] <> '/' and 鏄惁绂佺敤 = 0` + name: `select a.id,a.title,a.pid,b.id,b.title as title1 from (select id,title,pid from [dbo].[鐧诲綍鍩虹鏁版嵁_浜岀骇鑿滃崟] where pid <> 0 and 璐﹀彿浠g爜 = 1 and 鏄惁鍚敤 = 1 )as a +left join (select id,title from [dbo].[鐧诲綍鍩虹鏁版嵁_浜岀骇鑿滃崟] where pid = 0 and 璐﹀彿浠g爜 = 1 and 鏄惁鍚敤 = 1 )as b on a.pid = b.id order by b.id` } }) } + // 鎾ゅ洖鍒嗛厤妯″潡 export function returnModule(id, num) { return request({ url: '', method: 'post', data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, type: '2', name: `鑿滃崟绠$悊_瑙掕壊妯″潡_鍒犻櫎鏁版嵁`, param: `id=${id}&瑙掕壊缂栧彿=${num}` } }) } -// 涓婄Щ妯″潡 -export function upModule(id, num) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: `鑿滃崟绠$悊_瑙掕壊妯″潡_涓婄Щ鏁版嵁`, - param: `id=${id}&瑙掕壊缂栧彿=${num}` - } - }) -} -// 涓婄Щ妯″潡楠岃瘉 -export function searchUpModule(id, num) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: `鑿滃崟绠$悊_瑙掕壊妯″潡_涓婄Щ鏁版嵁_楠岃瘉`, - param: `id=${id}&瑙掕壊缂栧彿=${num}` - } - }) -} -// 涓嬬Щ妯″潡 -export function downModule(id, num) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: `鑿滃崟绠$悊_瑙掕壊妯″潡_涓嬬Щ鏁版嵁`, - param: `id=${id}&瑙掕壊缂栧彿=${num}` - } - }) -} -// 涓嬬Щ妯″潡楠岃瘉 -export function searchDownModule(id, num) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: `鑿滃崟绠$悊_瑙掕壊妯″潡_涓嬬Щ鏁版嵁_楠岃瘉`, - param: `id=${id}&瑙掕壊缂栧彿=${num}` - } - }) -} // 鍒嗛厤涓绾фā鍧 export function giveFirstLevel(idGroup, num) { return request({ url: '', method: 'post', data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, type: '2', name: `鑿滃崟绠$悊_瑙掕壊妯″潡_涓绾澧炲姞鏁版嵁`, param: `涓绾фā鍧梚d缁=${idGroup}&瑙掕壊缂栧彿=${num}` } }) } -// 鍒嗛厤涓绾фā鍧 +// 鍒嗛厤浜岀骇妯″潡 export function giveSecondLevel(idGroup, num, pid) { return request({ url: '', method: 'post', data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, type: '2', name: `鑿滃崟绠$悊_瑙掕壊妯″潡_浜岀骇_澧炲姞鏁版嵁`, param: `浜岀骇妯″潡id缁=${idGroup}&瑙掕壊缂栧彿=${num}&pid=${pid}` @@ -158,42 +97,9 @@ export function submitAdd(name) { url: '', method: 'post', data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, type: '2', name: `鑿滃崟绠$悊_妯″潡_涓绾澧炲姞鏁版嵁`, param: `妯″潡鍚嶇О=${name}` } }) } -// 鏌ヨ浜岀骇妯″潡鍒嗙粰閭d簺瑙掕壊 -export function getRoleTitle() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '3', - name: ` select distinct title from - 鍩虹琛╛妯″潡淇℃伅 inner join 鍩虹琛╛瑙掕壊妯″潡淇℃伅 on 鍩虹琛╛瑙掕壊妯″潡淇℃伅.id = 鍩虹琛╛妯″潡淇℃伅.id - inner join 鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊 on 鍩虹琛╛瑙掕壊妯″潡淇℃伅.瑙掕壊缂栧彿 = 鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊.瑙掕壊缂栧彿 - order by title` - } - }) -} -export function getRoleNameasd(name) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '3', - name: ` select distinct 瑙掕壊鍔熻兘 from - 鍩虹琛╛妯″潡淇℃伅 inner join 鍩虹琛╛瑙掕壊妯″潡淇℃伅 on 鍩虹琛╛瑙掕壊妯″潡淇℃伅.id = 鍩虹琛╛妯″潡淇℃伅.id - inner join 鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊 on 鍩虹琛╛瑙掕壊妯″潡淇℃伅.瑙掕壊缂栧彿 = 鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊.瑙掕壊缂栧彿 - where title=\'${name}\'` - } - }) -} diff --git a/src/api/BasicData/PartsNumberMaintenance.js b/src/api/BasicData/PartsNumberMaintenance.js deleted file mode 100644 index d3e0987..0000000 --- a/src/api/BasicData/PartsNumberMaintenance.js +++ /dev/null @@ -1,398 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' - -export function projectSelect() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_椤圭洰鍚嶇О_鏌ヨ鏁版嵁_鎸夋椂闂存帓搴' - } - }) -} - -export function machineSelect() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_椤圭洰鍚嶇О_鏌ヨ鏁版嵁' - } - }) -} - -export function groupSelect(machineValue) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_闆朵欢鏄庣粏琛╛缁勪欢娴佹按鍙穇鏌ヨ鏁版嵁_鏍规嵁鏈哄簥', - param: `鏈哄簥娴佹按鍙=${machineValue}` - } - }) -} -export function searchTable5(machineCheck, machine, groupCheck, group, part_check, part) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_闆朵欢鏄庣粏琛╛澶栬喘浠跺拰鏍囧噯浠禵涓存椂琛ㄦ暟鎹煡璇', - param: `鏈哄簥鍚嶅瓧_check=${machineCheck}&鏈哄簥鍚嶅瓧=${machine}&缁勫彿_check=${groupCheck}&缁勫彿=${group}&鐗╂枡鍚嶇О_check=${part_check}&鐗╂枡鍚嶇О=${part}` - } - }) -} -export function searchTable6(machineCheck, machine, groupCheck, group, part_check, part) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_闆朵欢鏄庣粏琛╛鍩烘湰浠禵涓存椂琛ㄦ暟鎹煡璇', - param: `鏈哄簥鍚嶅瓧_check=${machineCheck}&鏈哄簥鍚嶅瓧=${machine}&缁勫彿_check=${groupCheck}&缁勫彿=${group}&闆朵欢鍥惧彿_check=${part_check}&闆朵欢鍥惧彿=${part}` - } - }) -} -export function basicPartsData(machine_check, machine, group_check, group, part_check, part) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_闆朵欢鏄庣粏琛╛鍩烘湰浠禵鏌ヨ鏁版嵁_缁煎悎gj_鏁伴噺缁存姢', - param: `鏈哄簥娴佹按鍙穇check=${machine_check}&鏈哄簥娴佹按鍙=${machine}&缁勪欢娴佹按鍙穇check=${group_check}&缁勪欢娴佹按鍙=${group}&闆朵欢鍥惧彿_check=${part_check}&闆朵欢鍥惧彿=${part}` - } - }) -} -export function purchasePartsData(machine_check, machine, group_check, num, part_check, part) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_闆朵欢鏄庣粏琛╛鏍囧噯浠跺拰澶栬喘浠禵鏌ヨ鏁版嵁_鏁伴噺缁存姢', - param: `鏈哄簥娴佹按鍙穇check=${machine_check}&鏈哄簥娴佹按鍙=${machine}&缁勪欢娴佹按鍙穇check=${group_check}&缁勪欢娴佹按鍙=${num}&鐗╂枡鍚嶇О_check=${part_check}&鐗╂枡鍚嶇О=${part}` - } - }) -} -export function deleteBasicParts(basicNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛鍩烘湰浠禵鍒犻櫎鏁版嵁', - param: `鍩烘湰浠舵祦姘村彿=${basicNum}` - } - }) -} -export function alldelete(basicNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛鍩烘湰浠禵鍒犻櫎鏁版嵁_鏍规嵁缁勪欢娴佹按鍙', - param: `鍩烘湰浠舵祦姘村彿缁=${basicNum}` - } - }) -} -export function deleteBasicParts5(basicNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛澶栬喘浠跺拰鏍囧噯浠禵涓存椂琛╛鍒犻櫎', - param: `id=${basicNum}` - } - }) -} -export function alldeleteBasicParts5(machine, group) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛澶栬喘浠跺拰鏍囧噯浠禵涓存椂琛╛鍏ㄩ儴鍒犻櫎', - param: `鏈哄簥=${machine}&缁勫彿=${group}` - } - }) -} -export function deleteBasicParts6(basicNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛鍩烘湰浠禵涓存椂琛╛鍒犻櫎', - param: `id=${basicNum}` - } - }) -} -export function alldeleteBasicParts6(machine, group) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛鍩烘湰浠禵涓存椂琛╛鍏ㄩ儴鍒犻櫎', - param: `鏈哄簥=${machine}&缁勫彿=${group}` - } - }) -} -export function deletePurchaseData(num) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛鏍囧噯浠跺拰澶栬喘浠禵鍒犻櫎鏁版嵁', - param: '鏍囧噯浠跺拰澶栬喘浠舵祦姘村彿=' + num + '=int' - } - }) -} -export function alldeleteWB(num) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛鏍囧噯浠跺拰澶栬喘浠禵鍒犻櫎鏁版嵁_鏍规嵁缁勪欢娴佹按鍙', - param: '鏍囧噯浠跺拰澶栬喘浠舵祦姘村彿缁=' + num - } - }) -} -export function editPurchaseData(num, num1, people) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛鏍囧噯浠跺拰澶栬喘浠禵淇敼鏁版嵁', - param: '鏍囧噯浠跺拰澶栬喘浠舵祦姘村彿=' + num + '&闆朵欢鏁伴噺=' + num1 + '&淇敼浜哄憳=' + people - } - }) -} -export function editBasicParts(num, num1, num2, num3, num4, people) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛鍩烘湰浠禵缂栬緫鏁版嵁', - param: '鍩烘湰浠舵祦姘村彿=' + num + '&闆朵欢鏁伴噺=' + num1 + '&闆朵欢鍚嶇О=' + num2 + '&闆朵欢鍥惧彿=' + num3 + '&鏉愭枡=' + num4 + '&淇敼浜哄憳=' + people - } - }) -} -export function isExitBasicParts(num, num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_闆朵欢鏄庣粏琛╛鍩烘湰浠禵缂栬緫鏁版嵁_楠岃瘉鍥惧彿', - param: '鍩烘湰浠舵祦姘村彿=' + num + '&闆朵欢鍥惧彿=' + num1 - } - }) -} -export function getTable(num) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_闆朵欢宸ヨ壓璁″垝_宸叉姇浜鎸夌粍鏌', - param: '缁勪欢娴佹按鍙=' + num + '=int' - } - }) -} -export function editProductNum(num, num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'MRP_璁″垝璁㈠崟_缁勪欢闆朵欢娓呭崟_鍩烘湰浠禵缂栬緫鏁版嵁', - param: '缁勪欢闆朵欢鍩烘湰浠舵祦姘村彿=' + num + '&鏁伴噺=' + num1 - } - }) -} -export function getTable1(num, a, b, c, d, e, f, g) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鏂版帓浜х畻娉昣鑳藉姏骞宠 _鏌ヨ鏁版嵁_瑕佸钩琛$殑闆朵欢_鏁伴噺缁存姢', - param: '鏈哄簥娴佹按鍙穇check=' + b + '=string&鏈哄簥娴佹按鍙=' + c + '=int&缁勪欢娴佹按鍙穇check=' + d + '=string&缁勪欢娴佹按鍙=' + e + '=int&闆朵欢鍥惧彿_check=' + f + '=string&闆朵欢鍥惧彿=' + g + '=string&鏄惁鏌ヨ鍏ㄩ儴鏁版嵁=1=string&鍗曚欢鏄惁澶栧崗=1=int&鑰冩牳鐘舵=5=int' - } - }) -} -export function editProduceNum(num, num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_闆朵欢宸ヨ壓璁″垝_淇敼鏁版嵁', - param: '宸ヨ壓璁″垝娴佹按鍙=' + num + '&闆朵欢鏁伴噺=' + num1 - } - }) -} -// 鏌ヨ琛1鏍囧噯浠跺拰澶栬喘浠 -export function searchTable1(...params) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '閲囪喘绠$悊_閲囪喘閮ㄩ噰璐璤鏌ヨ鐗╂枡_鏁伴噺缁存姢', - param: `鏈哄簥娴佹按鍙穇check=${params[0]}&鏈哄簥娴佹按鍙=${params[1]}&缁勪欢娴佹按鍙穇check=${params[2]}&缁勪欢娴佹按鍙=${params[3]}&鐗╂枡鐘舵=1` - } - }) -} -// 鏌ヨ琛1鍩烘湰浠 -export function searchTable2(...params) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '閲囪喘绠$悊_閲囪喘閮ㄩ噰璐璤鏌ヨ鐗╂枡_鍩烘湰浠禵鏁伴噺缁存姢', - param: `鏈哄簥娴佹按鍙穇check=${params[0]}&鏈哄簥娴佹按鍙=${params[1]}&缁勪欢娴佹按鍙穇check=${params[2]}&缁勪欢娴佹按鍙=${params[3]}&鐗╂枡鐘舵=1` - } - }) -} -export function editGroupPartNum(num, num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'MRP_璁″垝璁㈠崟_缁勪欢闆朵欢娓呭崟_缂栬緫鏁版嵁', - param: '缁勪欢闆朵欢娴佹按鍙=' + num + '&闆朵欢鏁伴噺=' + num1 - } - }) -} -export function editGroupBasicPartNum(num, num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'MRP_璁″垝璁㈠崟_缁勪欢闆朵欢娓呭崟_鍩烘湰浠禵閲囪喘_缂栬緫鏁版嵁', - param: '缁勪欢闆朵欢鍩烘湰浠舵祦姘村彿=' + num + '&闆朵欢鏁伴噺=' + num1 - } - }) -} -export function getmaterial() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '闆朵欢鏄庣粏琛╛鏉愭枡_鏌ヨ' - } - }) -} -// 鏌ヨ鐗╂枡 -export function searchAllMaterial(check1, MaterialName, check2, MaterialSpec, check3, MaterialModel, pageCurrent, pageSize) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '搴撳瓨绠$悊_鐗╂枡涓绘枃浠禵鍩烘湰_鏌ヨ鏁版嵁_鍒嗛〉', - param: `鐗╂枡鍚嶇О_check=${check1}&鐗╂枡鍚嶇О=${MaterialName}&鐗╂枡瑙勬牸_check=${check2}&鐗╂枡瑙勬牸=${MaterialSpec}&鐗╂枡鍨嬪彿_check=${check3}&鐗╂枡鍨嬪彿=${MaterialModel}&PageCurrent=${pageCurrent}=int&PageSize=${pageSize}=int&PageCount=1=int=output&ItemCount=1=int=output` - } - }) -} -// 鐗╂枡鍙樻洿 -export function materialChange(num1, num2, num3, num4, person) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '閲囪喘绠$悊_閲囪喘鐗╂枡淇敼_闆朵欢鏁伴噺缁存姢_淇敼鏁版嵁', - param: `缁勪欢闆朵欢娴佹按鍙=${num1}&鏍囧噯浠跺拰澶栬喘浠舵祦姘村彿=${num2}&鍘熺墿鏂欐祦姘村彿=${num3}&鏂扮墿鏂欐祦姘村彿=${num4}&鐢宠浜=${person}` - } - }) -} -// 淇敼缁勪欢鏁伴噺 -export function editgroupNum(num, num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_闆朵欢鏄庣粏琛╛缁勪欢娴佹按鍙穇缁勪欢鏁伴噺_淇敼鏁版嵁', - param: '缁勪欢娴佹按鍙=' + num + '&鏁伴噺=' + num1 - } - }) -} diff --git a/src/api/BasicData/PersonnelManagement.js b/src/api/BasicData/PersonnelManagement.js deleted file mode 100644 index 4c438ac..0000000 --- a/src/api/BasicData/PersonnelManagement.js +++ /dev/null @@ -1,430 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' -export function getTree() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_閮ㄩ棬鍏崇郴_鏌ヨ鑺傜偣', - param: '瀛愯妭鐐=0=int' - } - }) -} -export function tree(data, pid) { - const result = [] - let temp - for (let i = 0; i < data.length; i++) { - if (data[i].鐖惰妭鐐 === pid) { - const obj = { label: data[i].鑺傜偣鍚嶇О, id: data[i].瀛愯妭鐐 } - temp = tree(data, data[i].瀛愯妭鐐) - if (temp.length > 0) { - obj.children = temp - } - result.push(obj) - } - } - return result -} -export function getTablePeople(code, pageCurrent, pageSize) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_浜哄憳_閮ㄩ棬涓庝汉鍛榑鏌ヨ鏁版嵁_鏍规嵁閮ㄩ棬缂栧彿', - param: '鑰冩牳閮ㄩ棬缂栧彿=' + code + '=int', - pagination: pageCurrent + '&' + pageSize - } - }) -} -export function getTablePeopleForName(name) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_浜哄憳鍚嶅崟_鏌ヨ鏁版嵁_鏍规嵁濮撳悕_MESWORK', - param: '濮撳悕=' + name + '=string' - } - }) -} -// 鏂板閮ㄩ棬 -export function addDepartmentName(num1, num2, num3) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_閮ㄩ棬鍏崇郴_澧炲姞鑺傜偣', - param: '鐖惰妭鐐=' + num1 + '=int&鑺傜偣鍚嶇О=' + num2 + '=string&瀛愯妭鐐=' + num3 - } - }) -} -// 鍒犻櫎閮ㄩ棬 -export function delList(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_閮ㄩ棬鍏崇郴_鍒犻櫎鑺傜偣', - param: '瀛愯妭鐐=' + num1 + '=int' - } - }) -} -// 缂栬緫閮ㄩ棬 -export function editList(num1, num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_閮ㄩ棬鍏崇郴_淇敼鑺傜偣', - param: '瀛愯妭鐐=' + num1 + '=int&鑺傜偣鍚嶇О=' + num2 + '=string' - } - }) -} -export function delPeopleList(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_浜哄憳鍚嶅崟_鍒犻櫎鏁版嵁_MESWORK', - param: '浜哄憳缂栧彿=' + num1 + '=int' - } - }) -} -export function initUniversity() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛姣曚笟闄㈡牎_鏌ヨ鏁版嵁' - } - }) -} -export function fetchEducationData() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛瀛﹀巻_鏌ヨ鏁版嵁' - } - }) -} -export function initMajor() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛鎵瀛︿笓涓歘鏌ヨ鏁版嵁' - } - }) -} -export function fetchForeignLanguageLevelDate() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛澶栬鍙婄啛缁冪▼搴鏌ヨ鏁版嵁' - } - }) -} -export function fetchTitleData() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛鑱岀О_鏌ヨ鏁版嵁' - } - }) -} -export function fetchPostData() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛浜哄憳宀椾綅_鏌ヨ鏁版嵁' - } - }) -} -export function fetchPositionStatusData() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛宀椾綅鐘舵乢鏌ヨ鏁版嵁' - } - }) -} -export function addPeople(id, Sex, Education, Address, Nation, Post, AccountNumber, Password, Name, IDcard, TimeOfEntry, Birthday, ContactInformation, TeamValue) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_浜哄憳鍚嶅崟_澧炲姞鏁版嵁_MESWORK', - param: '鑰冩牳閮ㄩ棬缂栧彿=' + id + '=int&鎬у埆缂栧彿=' + Sex + '=int&瀛﹀巻缂栧彿=' + Education + '=int&瀹跺涵浣忓潃=' + Address + '&姘戞棌=' + Nation + '&宀椾綅缂栧彿=' + Post + '=int&鑰冨嫟缂栧彿=' + AccountNumber + '=string&瀵嗙爜=' + Password + '=string&濮撳悕=' + Name + '=string&韬唤璇佸彿=' + IDcard + '=string&鍏ュ叕鍙告椂闂=' + TimeOfEntry + '=string&鍑虹敓鏃ユ湡=' + Birthday + '=string&鑱旂郴鐢佃瘽=' + ContactInformation + '=string&鐝粍=' + TeamValue - } - }) -} -export function editPeople(id, Sex, Education, Address, Nation, Post, AccountNumber, Password, Name, IDcard, TimeOfEntry, Birthday, ContactInformation, TeamValue) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_浜哄憳鍚嶅崟_淇敼鏁版嵁_MESWORK', - param: '浜哄憳缂栧彿=' + id + '=int&鎬у埆缂栧彿=' + Sex + '=int&瀛﹀巻缂栧彿=' + Education + '=int&瀹跺涵浣忓潃=' + Address + '&姘戞棌=' + Nation + '&宀椾綅缂栧彿=' + Post + '=int&鑰冨嫟缂栧彿=' + AccountNumber + '=string&瀵嗙爜=' + Password + '=string&濮撳悕=' + Name + '=string&韬唤璇佸彿=' + IDcard + '=string&鍏ュ叕鍙告椂闂=' + TimeOfEntry + '=string&鍑虹敓鏃ユ湡=' + Birthday + '=string&鑱旂郴鐢佃瘽=' + ContactInformation + '=string&鐝粍=' + TeamValue - } - }) -} -export function moveGroups(num1, num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_浜哄憳鍚嶅崟_绉诲姩鏁版嵁_MESWORK', - param: '浜哄憳缂栧彿=' + num1 + '=int&鑰冩牳閮ㄩ棬缂栧彿=' + num2 + '=int' - } - }) -} -export function feacthUniversity(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛姣曚笟闄㈡牎_鏌ヨ鏁版嵁_鏍规嵁瀛︽牎鍚峗MESWORK', - param: '姣曚笟闄㈡牎鍚嶇О=' + num1 + '=string' - } - }) -} -export function addUniversity(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_鍩虹琛╛姣曚笟闄㈡牎_澧炲姞鏁版嵁', - param: '姣曚笟闄㈡牎鍚嶇О=' + num1 + '=string' - } - }) -} -export function editUniversity(num1, num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_鍩虹琛╛姣曚笟闄㈡牎_淇敼鏁版嵁', - param: '姣曚笟闄㈡牎缂栧彿=' + num1 + '=int&姣曚笟闄㈡牎鍚嶇О=' + num2 + '=string' - } - }) -} -export function delUniversity(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_鍩虹琛╛姣曚笟闄㈡牎_鍒犻櫎鏁版嵁', - param: '姣曚笟闄㈡牎缂栧彿=' + num1 + '=int' - } - }) -} -export function fetchMajor(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛鎵瀛︿笓涓歘鏌ヨ鏁版嵁_鏍规嵁涓撲笟鍚峗MESWORK', - param: '涓撲笟鍚嶇О=' + num1 + '=string' - } - }) -} -export function addMajor(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_鍩虹琛╛鎵瀛︿笓涓歘澧炲姞鏁版嵁', - param: '涓撲笟鍚嶇О=' + num1 + '=string' - } - }) -} -export function editMajor(num1, num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_鍩虹琛╛鎵瀛︿笓涓歘淇敼鏁版嵁', - param: '涓撲笟缂栧彿=' + num1 + '=int&涓撲笟鍚嶇О=' + num2 + '=string' - } - }) -} -export function delMajor(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_鍩虹琛╛鎵瀛︿笓涓歘鍒犻櫎鏁版嵁', - param: '涓撲笟缂栧彿=' + num1 + '=int' - } - }) -} -export function fetchPost(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_鍩虹琛╛浜哄憳宀椾綅_鏌ヨ鏁版嵁_鏍规嵁宀椾綅鍚峗MESWORK', - param: '宀椾綅鍚嶇О=' + num1 + '=string' - } - }) -} -export function addPost(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_鍩虹琛╛浜哄憳宀椾綅_澧炲姞鏁版嵁', - param: '宀椾綅鍚嶇О=' + num1 + '=string' - } - }) -} -export function editPost(num1, num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_鍩虹琛╛浜哄憳宀椾綅_淇敼鏁版嵁', - param: '宀椾綅缂栧彿=' + num1 + '=int&宀椾綅鍚嶇О=' + num2 + '=string' - } - }) -} -export function delPost(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_鍩虹琛╛浜哄憳宀椾綅_鍒犻櫎鏁版嵁', - param: '宀椾綅缂栧彿=' + num1 + '=int' - } - }) -} -export function quit(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '浜轰簨妗f绠$悊_浜哄憳_绂昏亴鎿嶄綔', - param: '浜哄憳缂栧彿=' + num1 + '=int' - } - }) -} -export function searchLeavingList(pageCurrent, pageSize) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_浜哄憳_绂昏亴浜哄憳鏌ヨ', - pagination: pageCurrent + '&' + pageSize - } - }) -} -export function fetchteamviwer() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '鐝粍绠$悊_鐝粍鏌ヨ' - } - }) -} diff --git a/src/api/BasicData/ProjectManagementDisplay.js b/src/api/BasicData/ProjectManagementDisplay.js deleted file mode 100644 index 6ec9b3f..0000000 --- a/src/api/BasicData/ProjectManagementDisplay.js +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' - -// 椤圭洰 -export function getProject() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_椤圭洰鍚嶇О_鏌ヨ鏁版嵁_鏄惁鏄剧ず_鍒濆鍖', - param: '椤圭洰娴佹按鍙穇check=0=int&椤圭洰娴佹按鍙=0' - } - }) -} -// 鏈哄簥 -export function getToolNum(check, num) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_椤圭洰鍚嶇О_鏌ヨ鏁版嵁_鏄惁鏄剧ず_鍒濆鍖', - param: '椤圭洰娴佹按鍙穇check=' + check + '=int&椤圭洰娴佹按鍙=' + num - } - }) -} -export function searchTable(check, num, check1, num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: 'PDM_椤圭洰鍚嶇О_鏌ヨ鏁版嵁_鏄惁鏄剧ず', - param: '椤圭洰娴佹按鍙穇check=' + check + '=int&椤圭洰娴佹按鍙=' + num + '&鏈哄簥娴佹按鍙穇check=' + check1 + '=int&鏈哄簥娴佹按鍙=' + num1 - } - }) -} -export function upData(num, show) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'PDM_椤圭洰鍚嶇О_鏌ヨ鏁版嵁_鏄惁鏄剧ず_鏇存敼鐘舵', - param: '鏈哄簥娴佹按鍙=' + num + '&鏄惁鏄剧ず=' + show - } - }) -} diff --git a/src/api/BasicData/ShiftManagement.js b/src/api/BasicData/ShiftManagement.js deleted file mode 100644 index 21381c4..0000000 --- a/src/api/BasicData/ShiftManagement.js +++ /dev/null @@ -1,88 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' - -// 鏌ヨ鐝 -export function getScheduling(SchedulingType) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '璁惧绠$悊_鍩虹琛╛鐝琛╛鏌ヨ鏁版嵁', - param: '鐝绫诲瀷=' + SchedulingType - } - }) -} -// 鏌ヨ鐝 -export function searchProgramme() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '璁惧绠$悊_鍩虹琛╛鐝琛╛鏌ヨ鐝' - } - }) -} - -// 鏂板鐝 -export function addShift(starttime, endtime, shifttype, shiftnumber, nightwork, work, temporary, difficult, note) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_鍩虹琛╛鐝琛╛澧炲姞鏁版嵁', - param: '寮濮嬪伐浣滄椂闂=' + starttime + '&缁撴潫宸ヤ綔鏃堕棿=' + endtime + '&鐝绫诲瀷=' + shifttype + '&鐝浠g爜=' + shiftnumber + '&鏄惁澶滅彮=' + nightwork + '&鏄惁宸ヤ綔=' + work + '=int&鏄惁鍙互瀹夋帓涓存椂浠=' + temporary + '=int&鏄惁鍙互瀹夋帓楂橀毦搴︿欢=' + difficult + '=int&澶囨敞=' + note - } - }) -} -// 缂栬緫鐝 -export function editShift(shiftCode, starttime, endtime, shifttype, shiftnumber, nightwork, work, temporary, difficult, note) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_鍩虹琛╛鐝琛╛淇敼鏁版嵁', - param: '搴忓彿=' + shiftCode + '=int&寮濮嬪伐浣滄椂闂=' + starttime + '=datetime&缁撴潫宸ヤ綔鏃堕棿=' + endtime + '=datetime&鐝绫诲瀷=' + shifttype + '=int&鐝浠g爜=' + shiftnumber + '=int&鏄惁澶滅彮=' + nightwork + '=int&鏄惁宸ヤ綔=' + work + '=int&鏄惁鍙互瀹夋帓涓存椂浠=' + temporary + '=int&鏄惁鍙互瀹夋帓楂橀毦搴︿欢=' + difficult + '=int&澶囨敞=' + note - } - }) -} -// 鍒犻櫎鐝 -export function deleteShift(shiftCode) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_鍩虹琛╛鐝琛╛鍒犻櫎鏁版嵁', - param: '搴忓彿=' + shiftCode - } - }) -} -// 鐝绫诲瀷涓庡伐浣滄椂闂村鍔 -export function addShiftType() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_鍩虹琛╛鐝琛╛鐝绫诲瀷涓庡伐浣滄椂闂確澧炲姞' - } - }) -} - diff --git a/src/api/BasicData/SystemRrolemaintenance.js b/src/api/BasicData/SystemRrolemaintenance.js index 06ea0f6..e5eb3fb 100644 --- a/src/api/BasicData/SystemRrolemaintenance.js +++ b/src/api/BasicData/SystemRrolemaintenance.js @@ -1,7 +1,6 @@ import request from '@/utils/request' import state from '@/store' import router from '@/router' - export function InitRolefunction() { return request({ url: '', @@ -21,7 +20,7 @@ export function deleteData(code) { data: { UserID: state.state.user.id, ModularID: router.currentRoute.path, - type: 2, + type: 1, name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊_鍒犻櫎_MESWORK', param: '瑙掕壊缂栧彿=' + code + '=int' } diff --git a/src/api/BasicData/UserRightsManagement.js b/src/api/BasicData/UserRightsManagement.js index f2fba4f..8a03946 100644 --- a/src/api/BasicData/UserRightsManagement.js +++ b/src/api/BasicData/UserRightsManagement.js @@ -1,7 +1,6 @@ import request from '@/utils/request' import state from '@/store' import router from '@/router' - export function getRole() { return request({ url: '', @@ -10,7 +9,7 @@ export function getRole() { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '1', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊_鏌ヨ鏁版嵁_new' + name: '鑿滃崟妯″潡绯荤粺_椤圭洰瑙掕壊_鏌ヨ鏁版嵁' } }) } @@ -23,7 +22,7 @@ export function getModule(role_check, role) { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '1', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰涓绘ā鍧楀垪琛╛鏌ヨ鏁版嵁_gj', + name: '鑿滃崟妯″潡绯荤粺_椤圭洰涓绘ā鍧楀垪琛╛鏌ヨ鏁版嵁', param: `瑙掕壊缂栧彿_check=${role_check}&瑙掕壊缂栧彿=${role}=int` } }) @@ -36,7 +35,7 @@ export function addModule(module, role) { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '2', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊妯″潡鍒楄〃_澧炲姞鏁版嵁_gj', + name: '鑿滃崟妯″潡绯荤粺_椤圭洰瑙掕壊妯″潡鍒楄〃_澧炲姞鏁版嵁', param: `瑙掕壊缂栧彿=${role}=int&涓绘ā鍧楃紪鍙=${module}=int` } }) @@ -49,12 +48,12 @@ export function deleteModule(module, role) { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '2', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊妯″潡鍒楄〃_鍒犻櫎鏁版嵁_gj', + name: '鑿滃崟妯″潡绯荤粺_椤圭洰瑙掕壊妯″潡鍒楄〃_鍒犻櫎鏁版嵁', param: `瑙掕壊缂栧彿=${role}=int&涓绘ā鍧楃紪鍙=${module}=int` } }) } - +// 鍛ㄤ竴浠庤繖閲屽紑濮嬫敼锛侊紒锛 export function getModelData(role) { return request({ url: '', @@ -63,7 +62,7 @@ export function getModelData(role) { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '1', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰涓绘ā鍧楀垪琛╛鏌ヨ鍗曚釜妯″潡_gj', + name: '鑿滃崟妯″潡绯荤粺_椤圭洰涓绘ā鍧楀垪琛╛鏌ヨ鍗曚釜妯″潡', param: `涓绘ā鍧楃紪鍙=${role}=int` } }) @@ -77,7 +76,7 @@ export function addModelData(component, title, icons) { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '2', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰涓绘ā鍧楀垪琛╛澧炲姞鍗曚釜妯″潡_gj', + name: '鑿滃崟妯″潡绯荤粺_椤圭洰涓绘ā鍧楀垪琛╛澧炲姞鍗曚釜妯″潡', param: `鐖惰矾寰=/${icons}&瀛愬悕绉=${icons}&瀛愮粍浠=${component}&鏍囬=${title}&鍥炬爣=${icons}` } }) @@ -91,7 +90,7 @@ export function editModelData(modelNum, component, title, icons) { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '2', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰涓绘ā鍧楀垪琛╛淇敼鍗曚釜妯″潡_gj', + name: '鑿滃崟妯″潡绯荤粺_椤圭洰涓绘ā鍧楀垪琛╛淇敼鍗曚釜妯″潡', param: `涓绘ā鍧楃紪鍙=${modelNum}&鐖惰矾寰=/${icons}&瀛愬悕绉=${icons}&瀛愮粍浠=${component}&鏍囬=${title}&鍥炬爣=${icons}` } }) diff --git a/src/api/BasicData/WorkshopPersonnelRoleMana.js b/src/api/BasicData/WorkshopPersonnelRoleMana.js deleted file mode 100644 index 16eaea6..0000000 --- a/src/api/BasicData/WorkshopPersonnelRoleMana.js +++ /dev/null @@ -1,176 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' - -// 鏌ヨ椤圭洰鍚嶇О -export function dialogtablevisible() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '浜轰簨妗f绠$悊_閮ㄩ棬鍏崇郴_鏌ヨ鑺傜偣', - param: '瀛愯妭鐐=0' - } - }) -} -export function dialogtablevisible1() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '浜轰簨妗f绠$悊_閮ㄩ棬鍏崇郴_鏌ヨ鑺傜偣', - param: '瀛愯妭鐐=0' - } - }) -} -export function addData1(code, groupNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊鍛樺伐缁煎悎_澧炲姞鏁版嵁', - param: '浜哄憳缂栧彿=' + code + '=int&瑙掕壊缂栧彿=' + groupNum + '=int&椤圭洰缂栧彿=10=int' - } - }) -} -export function addData2(lsh, code, groupNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊鍛樺伐缁煎悎_淇敼鏁版嵁', - param: '浜哄憳瑙掕壊娴佹按鍙=' + lsh + '&浜哄憳缂栧彿=' + code + '&瑙掕壊缂栧彿=' + groupNum - } - }) -} -// 鍒濆鍖栫瀹 -export function initDepartment() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '浜轰簨妗f绠$悊_閮ㄩ棬鍏崇郴_鏌ヨ鑺傜偣' - } - }) -} -// 鍒濆鍖栦汉鍛樹俊鎭 寮瑰嚭妗 -export function getTree() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_閮ㄩ棬鍏崇郴_鏌ヨ鑺傜偣', - param: '瀛愯妭鐐=0=int' - } - }) -} -export function fn(data, pid) { - const result = [] - let temp - for (let i = 0; i < data.length; i++) { - if (data[i].鐖惰妭鐐 === pid) { - const obj = { label: data[i].鑺傜偣鍚嶇О, id: data[i].瀛愯妭鐐 } - temp = fn(data, data[i].瀛愯妭鐐) - if (temp.length > 0) { - obj.children = temp - } - result.push(obj) - } - } - return result -} -export function getTable8(code) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 1, - name: '浜轰簨妗f绠$悊_浜哄憳_閮ㄩ棬涓庝汉鍛榑鏌ヨ鏁版嵁_鏍规嵁閮ㄩ棬缂栧彿', - param: '鑰冩牳閮ㄩ棬缂栧彿=' + code + '=int' - } - }) -} -export function handledelete(ryjslsh) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: 2, - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊鍛樺伐缁煎悎_鍒犻櫎鏁版嵁', - param: '浜哄憳瑙掕壊娴佹按鍙=' + ryjslsh + '=string' - } - }) -} -export function deleteData(Number) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊鍛樺伐缁煎悎_鍒犻櫎鏁版嵁', - param: '浜哄憳瑙掕壊娴佹按鍙=' + Number + '=int' - } - }) -} -export function searchdesigner(num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '浜轰簨妗f绠$悊_浜哄憳_閮ㄩ棬涓庝汉鍛榑鏌ヨ鏁版嵁_鏍规嵁閮ㄩ棬缂栧彿', - param: '鑰冩牳閮ㄩ棬缂栧彿=' + num2 + '=int' - } - }) -} -export function initOrderType() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊_鏌ヨ鏁版嵁_new' - } - }) -} -export function searchTable(check1, staffName, check2, systemAdministrator) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '鑿滃崟绯荤粺妯″潡_椤圭洰瑙掕壊鍛樺伐缁煎悎_鏌ヨ鏁版嵁', - param: '濮撳悕_check=' + check1 + '=int&濮撳悕=' + staffName + '=string&瑙掕壊缂栧彿_check=' + check2 + ' =int&瑙掕壊缂栧彿=' + systemAdministrator + '=int' - } - }) -} diff --git a/src/api/BasicData/WorkshopProcessMaintenance.js b/src/api/BasicData/WorkshopProcessMaintenance.js deleted file mode 100644 index 4c6fdcf..0000000 --- a/src/api/BasicData/WorkshopProcessMaintenance.js +++ /dev/null @@ -1,184 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' -// 鏌ュ伐鑹哄垎绫诲悕绉 -export function searchProcessClassification() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍒嗙被鍚嶇О_鏌ヨ鏁版嵁' - } - }) -} -// 澧炲姞宸ヨ壓鍒嗙被 -export function addProcessClassification(ProcessClassification) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍒嗙被鍚嶇О_澧炲姞鏁版嵁', - param: '宸ヨ壓鍒嗙被鍚嶇О=' + ProcessClassification - } - }) -} -// 缂栬緫宸ヨ壓鍒嗙被 -export function editProcessClassification(ProcessClassificationNum, ProcessClassification) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍒嗙被鍚嶇О_淇敼鏁版嵁', - param: '宸ヨ壓鍒嗙被娴佹按鍙=' + ProcessClassificationNum + '&宸ヨ壓鍒嗙被鍚嶇О=' + ProcessClassification - } - }) -} -// 閫氳繃宸ヨ壓缂栧垎绫绘祦姘村彿鏌ュ伐鑹哄垎绫诲悕绉 -export function searchProcessClassificationOfProcessClassificationNum(ProcessNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍒嗙被鍚嶇О_鏍规嵁娴佹按鍙穇鏌ヨ鏁版嵁_MESWORK', - param: '宸ヨ壓鍒嗙被娴佹按鍙=' + ProcessNum - } - }) -} -// 鍒犻櫎宸ヨ壓鍒嗙被 -export function delProcessClassification(ProcessClassificationNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍒嗙被鍚嶇О_鍒犻櫎鏁版嵁', - param: '宸ヨ壓鍒嗙被娴佹按鍙=' + ProcessClassificationNum - } - }) -} -// 閫氳繃宸ヨ壓鍒嗙被娴佹按鍙锋煡宸ヨ壓鍚嶇О -export function searchProcessNameOfProcessClassification(ProcessClassificationNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍚嶇О_鏌ヨ鏁版嵁_鎸夊伐鑹哄垎绫绘祦姘村彿鏌MESWORK', - param: '宸ヨ壓鍒嗙被娴佹按鍙=' + ProcessClassificationNum - } - }) -} -// 閫氳繃宸ヨ壓缂栧彿鏌ュ伐鑹鸿姹 -export function searchTechnologicalRequirementsOfProcessNum(ProcessNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '杞﹂棿鐢熶骇绠$悊_鍩虹琛╛宸ヨ壓瑕佹眰_鏌ヨ鏁版嵁', - param: '宸ヨ壓缂栧彿=' + ProcessNum - } - }) -} -// 澧炲姞宸ヨ壓 -export function addProcess(ProcessClassificationNum, ProcessName, ShortName) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: 'dbo.杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍚嶇О_澧炲姞鏁版嵁', - param: '宸ヨ壓鍒嗙被娴佹按鍙=' + ProcessClassificationNum + '&宸ヨ壓鍚嶇О=' + ProcessName + '&宸ヨ壓鍚嶇О绠绉=' + ShortName - } - }) -} -// 缂栬緫宸ヨ壓 -export function editProcess(ProcessClassificationNum, ProcessName, ShortName, Requirement) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍚嶇О_淇敼鍚嶇О鍙婄畝绉', - param: '宸ヨ壓缂栧彿=' + ProcessClassificationNum + '&宸ヨ壓鍚嶇О=' + ProcessName + '&宸ヨ壓鍚嶇О绠绉=' + ShortName + '&宸ヨ壓瑕佹眰=' + Requirement - } - }) -} -// 鍒犻櫎宸ヨ壓 -export function delProcess(ProcessNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛宸ヨ壓鍚嶇О_鍒犻櫎鏁版嵁', - param: '宸ヨ壓缂栧彿=' + ProcessNum - } - }) -} -// 鏂板宸ヨ壓瑕佹眰 -export function addTechnologicalRequirements(ProcessClassificationNum, ProcessName) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊_鍩虹琛╛宸ヨ壓瑕佹眰_澧炲姞鏁版嵁', - param: '宸ヨ壓缂栧彿=' + ProcessClassificationNum + '&宸ヨ壓瑕佹眰=' + ProcessName - } - }) -} -// 缂栬緫宸ヨ壓瑕佹眰 -export function editTechnologicalRequirements(ProcessClassificationNum, ProcessName) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊_鍩虹琛╛宸ヨ壓瑕佹眰_淇敼鏁版嵁', - param: '宸ヨ壓瑕佹眰娴佹按鍙=' + ProcessClassificationNum + '&宸ヨ壓瑕佹眰=' + ProcessName - } - }) -} -// 鍒犻櫎宸ヨ壓瑕佹眰 -export function delTechnologicalRequirements(ProcessClassificationNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '杞﹂棿鐢熶骇绠$悊_鍩虹琛╛宸ヨ壓瑕佹眰_鍒犻櫎鏁版嵁', - param: '宸ヨ壓瑕佹眰娴佹按鍙=' + ProcessClassificationNum - } - }) -} diff --git a/src/api/BasicData/maintenanceEquipmentPerson.js b/src/api/BasicData/maintenanceEquipmentPerson.js deleted file mode 100644 index ee60d7e..0000000 --- a/src/api/BasicData/maintenanceEquipmentPerson.js +++ /dev/null @@ -1,115 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' - -// 鍒濆鍖栬澶囧悕绉 -export function getEquipment(id, equipmentNum) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '璁惧绠$悊_璁惧鍚嶇О涓庣彮娆″叧绯籣鏌ヨ鏁版嵁', - param: `鏌ヨ浠g爜=${id}=int&璁惧娴佹按鍙=${equipmentNum}` - } - }) -} - -export function getDepartment() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '璁惧绠$悊_閮ㄩ棬鏌ヨ' - } - }) -} - -export function getTablePeople(number) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '浜轰簨妗f绠$悊_浜哄憳_閮ㄩ棬涓庝汉鍛榑鏌ヨ鏁版嵁_鏍规嵁閮ㄩ棬缂栧彿', - param: `鑰冩牳閮ㄩ棬缂栧彿=${number}` - } - }) -} - -export function getTableData(equipmentCheck, equipmentNameValue, operatorCheck, operatorNumber, pageCurrent, pageSize) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '璁惧绠$悊_璁惧鍚嶇О_浜哄憳鍏崇郴_鏌ヨ鏁版嵁', - param: `璁惧娴佹按鍙穇check=${equipmentCheck}&璁惧娴佹按鍙=${equipmentNameValue}&鎿嶄綔鑰呯紪鍙穇check=${operatorCheck}&鎿嶄綔鑰呯紪鍙=${operatorNumber}`, - pagination: pageCurrent + '&' + pageSize - } - }) -} - -export function deleteTable(number) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_璁惧鍚嶇О_浜哄憳鍏崇郴_鍒犻櫎鏁版嵁', - param: '璁惧浜哄憳鍏崇郴娴佹按鍙=' + number + '=int' - } - }) -} - -export function getStaff() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '1', - name: '璁惧绠$悊_鍩虹琛╛鐝琛╛鏌ヨ鐝' - } - }) -} - -export function addTable(equipmentNumber, shift, operator, operatorNumber) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_璁惧鍚嶇О_浜哄憳鍏崇郴_澧炲姞鏁版嵁', - param: '璁惧娴佹按鍙=' + equipmentNumber + '=int&鐝浠g爜=' + shift + '=int&鎿嶄綔鑰=' + operator + '=string&鎿嶄綔鑰呯紪鍙=' + operatorNumber + '=int' - } - }) -} - -export function editTable(equipmentNumber, shift, operator, operatorNumber, Number) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '2', - name: '璁惧绠$悊_璁惧鍚嶇О_浜哄憳鍏崇郴_淇敼鏁版嵁', - param: '璁惧娴佹按鍙=' + equipmentNumber + '=int&鐝浠g爜=' + shift + '=int&鎿嶄綔鑰=' + operator + '=string&鎿嶄綔鑰呯紪鍙=' + operatorNumber + '=int&璁惧浜哄憳鍏崇郴娴佹按鍙=' + Number + '=int' - } - }) -} diff --git a/src/api/FactoryCalendar.js b/src/api/FactoryCalendar.js new file mode 100644 index 0000000..166b01c --- /dev/null +++ b/src/api/FactoryCalendar.js @@ -0,0 +1,5 @@ +import axios from 'axios' + +export function getLine() { + return axios.post(window.dt_Config.ip + '/submit/QualityData_NormalDistribution.ashx?type=GetBaseTrendData') +} diff --git a/src/api/ManufacturingCenter/maintainInformation.js b/src/api/ManufacturingCenter/maintainInformation.js deleted file mode 100644 index 6ba2f91..0000000 --- a/src/api/ManufacturingCenter/maintainInformation.js +++ /dev/null @@ -1,198 +0,0 @@ -import request from '@/utils/request' -import state from '@/store' -import router from '@/router' - -// 鑾峰彇宸ヤ綅 琛1 -export function getTableData1() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '3', - name: ` - SELECT 鍩虹鏁版嵁_鐐规绫诲瀷鍚嶇О.*,[鍩虹鏁版嵁_璁惧宸ヤ綅鐐规琛╙.*,[MES_璁″垝BOM_宸ヤ綅涓庡悕绉癩.宸ヤ綅鍚嶇О FROM [鍩虹鏁版嵁_璁惧宸ヤ綅鐐规琛╙ - inner join dbo.鍩虹鏁版嵁_鐐规绫诲瀷鍚嶇О - on [鍩虹鏁版嵁_璁惧宸ヤ綅鐐规琛╙.鐐规琛ㄧ被鍨 = 鍩虹鏁版嵁_鐐规绫诲瀷鍚嶇О.鐐规琛ㄧ被鍨嬫祦姘村彿 - inner join [MES_璁″垝BOM_宸ヤ綅涓庡悕绉癩 - on [MES_璁″垝BOM_宸ヤ綅涓庡悕绉癩.宸ヤ綅鍙 = [鍩虹鏁版嵁_璁惧宸ヤ綅鐐规琛╙.宸ヤ綅鍙 - ` - } - }) -} -// 鐐规绫诲瀷 琛2 -export function getTableData2() { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '3', - name: 'select * from 鍩虹鏁版嵁_鐐规绫诲瀷鍚嶇О' - } - }) -} -// 鐐规鍐呭 琛3 -export function getTableData3(num) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '3', - name: `select * from 鍩虹鏁版嵁_鐐规鍐呭 where 鐐规琛ㄧ被鍨 = ${num}` - } - }) -} -// 琛1 缂栬緫 -export function editType(num1, num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '4', - name: `update [鍩虹鏁版嵁_璁惧宸ヤ綅鐐规琛╙ set 鐐规琛ㄧ被鍨 = ${num1} where ID = ${num2}` - } - }) -} -export function confirmEdit1(num1, num2) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '4', - name: `update [鍩虹鏁版嵁_鐐规绫诲瀷鍚嶇О] set 鐐规琛ㄧ被鍨嬪悕绉 = '${num1}' where 鐐规琛ㄧ被鍨嬫祦姘村彿 = ${num2}` - } - }) -} -export function confirmEdit2(num1, num2, num3) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '4', - name: `update 鍩虹鏁版嵁_鐐规鍐呭 set 淇濆吇鍛ㄦ湡 = ${num1} ,淇濆吇椤圭洰 = '${num2}' where ID = ${num3}` - } - }) -} -export function openDelete1(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '4', - name: `delete 鍩虹鏁版嵁_鐐规绫诲瀷鍚嶇О where 鐐规琛ㄧ被鍨嬫祦姘村彿 = ${num1}` - } - }) -} -export function selectCount(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '3', - name: `SELECT 宸ヤ綅鍙 FROM [鍩虹鏁版嵁_璁惧宸ヤ綅鐐规琛╙ where 鐐规琛ㄧ被鍨 = ${num1}` - } - }) -} -export function openDelete2(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '4', - name: `delete 鍩虹鏁版嵁_鐐规鍐呭 where ID = ${num1}` - } - }) -} -export function submit1(num1) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '4', - name: `insert into 鍩虹鏁版嵁_鐐规绫诲瀷鍚嶇О (鐐规琛ㄧ被鍨嬪悕绉) values ('${num1}')` - } - }) -} -export function submit2(num1, num2, num3) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '4', - name: ` declare @id int = 0 - SELECT top 1 @id = ID FROM [dbo].鍩虹鏁版嵁_鐐规鍐呭 order by ID desc - set @id = @id + 1 - insert into 鍩虹鏁版嵁_鐐规鍐呭 (鐐规浠诲姟缂栧彿,鐐规琛ㄧ被鍨,淇濆吇椤圭洰,淇濆吇鍛ㄦ湡) values (@id,${num1},'${num2}',${num3})` - } - }) -} -export function exportOut(num1, num2, num3) { - return request({ - url: '', - method: 'post', - data: { - UserID: state.state.user.id, - ModularID: router.currentRoute.path, - type: '3', - name: `SELECT * - ,case when [FN1] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN1]) else '' end as [濮撳悕1] - ,case when [FN2] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN2]) else '' end as [濮撳悕2] - ,case when [FN3] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN3]) else '' end as [濮撳悕3] - ,case when [FN4] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN4]) else '' end as [濮撳悕4] - ,case when [FN5] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN5]) else '' end as [濮撳悕5] - ,case when [FN6] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN6]) else '' end as [濮撳悕6] - ,case when [FN7] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN7]) else '' end as [濮撳悕7] - ,case when [FN8] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN8]) else '' end as [濮撳悕8] - ,case when [FN9] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN9]) else '' end as [濮撳悕9] - ,case when [FN10] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN10]) else '' end as [濮撳悕10] - ,case when [FN11] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN11]) else '' end as [濮撳悕11] - ,case when [FN12] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN12]) else '' end as [濮撳悕12] - ,case when [FN13] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN13]) else '' end as [濮撳悕13] - ,case when [FN14] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN14]) else '' end as [濮撳悕14] - ,case when [FN15] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN15]) else '' end as [濮撳悕15] - ,case when [FN16] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN16]) else '' end as [濮撳悕16] - ,case when [FN17] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN17]) else '' end as [濮撳悕17] - ,case when [FN18] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN18]) else '' end as [濮撳悕18] - ,case when [FN19] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN19]) else '' end as [濮撳悕19] - ,case when [FN20] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN20]) else '' end as [濮撳悕20] - ,case when [FN21] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN21]) else '' end as [濮撳悕21] - ,case when [FN22] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN22]) else '' end as [濮撳悕22] - ,case when [FN23] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN23]) else '' end as [濮撳悕23] - ,case when [FN24] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN24]) else '' end as [濮撳悕24] - ,case when [FN25] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN25]) else '' end as [濮撳悕25] - ,case when [FN26] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN26]) else '' end as [濮撳悕26] - ,case when [FN27] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN27]) else '' end as [濮撳悕27] - ,case when [FN28] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN28]) else '' end as [濮撳悕28] - ,case when [FN29] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN29]) else '' end as [濮撳悕29] - ,case when [FN30] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN30]) else '' end as [濮撳悕30] - ,case when [FN31] in (select 浜哄憳缂栧彿 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟) then (select 濮撳悕 from 浜轰簨妗f绠$悊_浜哄憳鍚嶅崟 where 浜哄憳缂栧彿 = [FN31]) else '' end as [濮撳悕31] - FROM - [鍩虹鏁版嵁_璁惧宸ヤ綅鐐规琛╙ inner join [宸ヤ綅鏃ョ偣妫浠诲姟璁板綍] - on [鍩虹鏁版嵁_璁惧宸ヤ綅鐐规琛╙.宸ヤ綅鍙 = [宸ヤ綅鏃ョ偣妫浠诲姟璁板綍].宸ヤ綅鍙 - inner join [鍩虹鏁版嵁_鐐规鍐呭] - on [宸ヤ綅鏃ョ偣妫浠诲姟璁板綍].鐐规浠诲姟缂栧彿 = [鍩虹鏁版嵁_鐐规鍐呭].鐐规浠诲姟缂栧彿 - where [鍩虹鏁版嵁_璁惧宸ヤ綅鐐规琛╙.宸ヤ綅鍙 = '${num1}' and 骞 = '${num2}' and 鏈 = '${num3}' order by [宸ヤ綅鏃ョ偣妫浠诲姟璁板綍].鐐规浠诲姟缂栧彿` - } - }) -} diff --git a/src/api/PerformanceSystem/BlueBonusSettlement.js b/src/api/PerformanceSystem/BlueBonusSettlement.js new file mode 100644 index 0000000..86a758c --- /dev/null +++ b/src/api/PerformanceSystem/BlueBonusSettlement.js @@ -0,0 +1,122 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// GM鏌ヨ +export function selectMUForGM() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥MU', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 闄egment澶栭儴闂ㄦ煡璇V +export function selectPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// Segment鏌ヨPV +export function selectPVForSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥PV', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾鏌ヨ', + param: 'MU_Departments_Check=' + arguments[0] + '\\&MU_Departments=' + arguments[1] + '\\&Segment_Departments_Check=' + arguments[2] + '\\&Segment_Departments=' + arguments[3] + '\\&PV_Departments_Check=' + arguments[4] + '\\&PV_Departments=' + arguments[5] + '\\&鏈堜唤=' + arguments[6], + pagination: arguments[7] + '&' + arguments[8] + } + }) +} +// Segment缁撶畻濂栭噾 +export function BonusSettlement() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾缁撶畻', + param: '鏈堜唤=' + arguments[0] + '\\&MU浠g爜=' + arguments[1] + '\\&Segment浠g爜=' + arguments[2] + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} diff --git a/src/api/PerformanceSystem/BlueCollarBonusBaseInput.js b/src/api/PerformanceSystem/BlueCollarBonusBaseInput.js new file mode 100644 index 0000000..835d80d --- /dev/null +++ b/src/api/PerformanceSystem/BlueCollarBonusBaseInput.js @@ -0,0 +1,125 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} + +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 鏄惁鍙互鎻愪氦 +export function isCanSubmit() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋濂栭噾鍩烘暟杈撳叆_鏄惁鎻愪氦', + param: '鏈堜唤=' + arguments[0] + } + }) +} + +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// GM鏌ヨ +export function selectMUForGM() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥MU', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +// 鏌ヨ钃濋濂栭噾鍩烘暟 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_绯荤粺绠$悊鍛樺閲戝熀鏁版棤鏁版嵁鏌ヨ', + param: '鏈堜唤=' + arguments[0], + pagination: arguments[1] + '&' + arguments[2] + } + }) +} +// 澧炲姞鎴栦慨鏀规暟鎹 +export function uploadBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_钃濋濂栭噾鍩烘暟澧炲姞_鏁翠綋褰曞叆', + param: `鏈堜唤=${arguments[0]}\\&MU_Departments=${arguments[1]}\\&Segment_Departments=${arguments[2]}\\&浜哄憳鎬ц川缁=${arguments[3]}\\&濂栭噾鍩烘暟缁=${arguments[4]}\\&璁板綍浜轰唬鐮=${arguments[5]}`, + pagination: arguments[6] + '&' + arguments[7] + } + }) +} +// 鎻愪氦鏁版嵁 +export function submit() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋濂栭噾鍩烘暟绯荤粺绠$悊鍛樻彁浜', + param: `鏈堜唤=${arguments[0]}` + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} diff --git a/src/api/PerformanceSystem/BlueCollarBonusScoreConfirm.js b/src/api/PerformanceSystem/BlueCollarBonusScoreConfirm.js new file mode 100644 index 0000000..6f95dc8 --- /dev/null +++ b/src/api/PerformanceSystem/BlueCollarBonusScoreConfirm.js @@ -0,0 +1,133 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 鏌ヨ鐢熶骇濂栭噾 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋濂栭噾鍩烘暟鏌ヨ', + param: '鏈堜唤=' + arguments[0] + '\\&MU_Department=' + arguments[1] + } + }) +} +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 闄egment澶栭儴闂ㄦ煡璇V +export function selectPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// Segment鏌ヨPV +export function selectPVForSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥PV', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 鎵ц淇濆瓨 +export function handleSave() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_钃濋濂栭噾鍩烘暟淇敼_MU', + param: 'id=' + arguments[0] + '\\&濂栭噾鍩烘暟=' + arguments[1] + } + }) +} +// 纭瀹℃牳 +export function ConfirmSubmit() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_钃濋濂栭噾鍩烘暟纭瀹℃牳_MU', + param: '鏈堜唤=' + arguments[0] + '\\&MU_Department=' + arguments[1] + } + }) +} +// 鏄惁纭瀹℃牳 +export function isCanConfirmSubmit() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋濂栭噾鍩烘暟纭瀹℃牳_鏄惁鍙互瀹℃牳', + param: '鏈堜唤=' + arguments[0] + '\\&MU_Department=' + arguments[1] + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} diff --git a/src/api/PerformanceSystem/BlueCollarBonusScoreInput.js b/src/api/PerformanceSystem/BlueCollarBonusScoreInput.js new file mode 100644 index 0000000..f561f40 --- /dev/null +++ b/src/api/PerformanceSystem/BlueCollarBonusScoreInput.js @@ -0,0 +1,159 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 LLJ +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋寰楀垎鏌ヨ_PV', + param: '鏈堜唤=' + arguments[0] + '&people_id =' + arguments[1] + '&rolenumber =' + arguments[2] + '&pv_check =' + arguments[3] + '&Area =' + arguments[4] + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 +// export function searchBonus() { +// return request({ +// url: '', +// method: 'post', +// data: { +// type: '1', +// name: '濂栭噾缁╂晥绯荤粺_钃濋寰楀垎PV鏌ヨ', +// param: '鏈堜唤=' + arguments[0] + '&PV閮ㄩ棬浠g爜=' + arguments[1] +// } +// }) +// } +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 闄egment澶栭儴闂ㄦ煡璇V +export function selectPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// Segment鏌ヨPV +export function selectPVForSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥PV', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 鎵ц淇濆瓨 +export function handleSave() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾澧炲姞_鏁翠綋褰曞叆', + param: `搴忓彿缁=${arguments[0]}&璁″垝瀹屾垚鐜囩粍=${arguments[1]}&宸ユ椂鏁堢巼缁=${arguments[2]}&PV鎵撳垎缁=${arguments[3]}` + } + }) +} +// 鎵ц瀵煎叆 +export function upload_excle() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋鐧介璇勫垎澧炲姞_鏁翠綋瀵煎叆', + param: `鏈堜唤=${arguments[0]}&鎬讳綋寰楀垎缁=${arguments[1]}&宸ュ彿缁=${arguments[2]}&Area宸ュ彿=${arguments[3]}` + } + }) +} + +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} +// 鎻愪氦 +export function onload2() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋寰楀垎鎻愪氦_PV', + param: '鏈堜唤=' + arguments[0] + '&鎿嶄綔鑰呭伐鍙=' + arguments[1] + } + }) +} +// PV鏌ヨ LLJ 鏂板 +export function initArea() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鍔犺浇Area_PV钃濋鎵撳垎', + param: '鏈堜唤=' + arguments[0] + '&people_id=' + arguments[1] + } + }) +} + diff --git a/src/api/PerformanceSystem/BlueCollarJobSettings.js b/src/api/PerformanceSystem/BlueCollarJobSettings.js new file mode 100644 index 0000000..6b0e165 --- /dev/null +++ b/src/api/PerformanceSystem/BlueCollarJobSettings.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +// 鏌ヨ +export function searchTable(pageList, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鍩虹鏁版嵁_璁惧鐘舵佹煡璇', + Pagination: pageList + '&' + pageSize + } + }) +} +// 澧炲姞 +export function editType(ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_澧炲姞鏁版嵁', + param: '搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 缂栬緫 +export function handleChange(CoManufacturerFlowNumber, ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_淇敼鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '&搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 鍒犻櫎 +export function handledelete(CoManufacturerFlowNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_鍒犻櫎鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '=int' + } + }) +} diff --git a/src/api/PerformanceSystem/BlueCollarScoreModify.js b/src/api/PerformanceSystem/BlueCollarScoreModify.js new file mode 100644 index 0000000..1d4f2a9 --- /dev/null +++ b/src/api/PerformanceSystem/BlueCollarScoreModify.js @@ -0,0 +1,146 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} + +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋寰楀垎淇敼_鏌ヨ', + param: '鏈堜唤=' + arguments[0] + '\\&people_id =' + arguments[1] + '\\&rolenumber =' + arguments[2] + '\\&pv_check =' + arguments[3] + '\\&Area =' + arguments[4] + '\\&MU_check =' + arguments[5] + '\\&MU =' + arguments[6] + '\\&閮ㄩ棬_check =' + arguments[7] + '\\&閮ㄩ棬 =' + arguments[8] + } + }) +} +// 鏌ヨMU +export function selectMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_钃濋绛涢夋_绛涢塎U', + param: '鏈堜唤=' + arguments[0] + '&瑙掕壊浠g爜=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + } + }) +} +// 鏌ヨ閮ㄩ棬 +export function selectDepartment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_钃濋绛涢夋_绛涢塖L', + param: '鏈堜唤=' + arguments[0] + '&瑙掕壊浠g爜=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '&MU=' + arguments[3] + } + }) +} +// 鏌ヨArea +export function selectArea() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_钃濋绛涢夋_绛涢堿rea', + param: '鏈堜唤=' + arguments[0] + '&瑙掕壊浠g爜=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '&閮ㄩ棬=' + arguments[3] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 闄egment澶栭儴闂ㄦ煡璇V +export function selectPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// Segment鏌ヨPV +export function selectPVForSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥PV', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 鎵ц淇濆瓨 +export function handleSave() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_钃濋寰楀垎淇敼_鏇存柊', + param: 'id=' + arguments[0] + '&璁″垝瀹屾垚鐜=' + arguments[1] + '&宸ユ椂鏁堢巼=' + arguments[2] + '&PV鎵撳垎=' + arguments[3] + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} diff --git a/src/api/PerformanceSystem/BlueCollarScoresApproval.js b/src/api/PerformanceSystem/BlueCollarScoresApproval.js new file mode 100644 index 0000000..1b5c7de --- /dev/null +++ b/src/api/PerformanceSystem/BlueCollarScoresApproval.js @@ -0,0 +1,113 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋寰楀垎鏌ヨ_SL', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙 =' + arguments[1] + '\\&瑙掕壊浠g爜 =' + arguments[2] + '\\&MU_check =' + arguments[3] + '\\&SL_check =' + arguments[4] + '\\&PV_check =' + arguments[5] + '\\&MU =' + arguments[6] + + '\\&閮ㄩ棬 =' + arguments[7] + '\\&Area =' + arguments[8] + } + }) +} + +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} +// MU鏌ヨ LLJ 鏂板 +export function SelectMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_钃濋绛涢夋_绛涢塎U', + param: '鏈堜唤=' + arguments[0] + '&瑙掕壊浠g爜=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + } + }) +} +// SL鏌ヨ +export function SelectSL() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_钃濋绛涢夋_绛涢塖L', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '\\&MU=' + arguments[3] + } + }) +} +// SL鏌ヨ +export function SelectArea() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_钃濋绛涢夋_绛涢堿rea', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '\\&閮ㄩ棬=' + arguments[3] + } + }) +} +// 瀹℃壒 +export function Approval2() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濋寰楀垎瀹℃牳_SL', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&閮ㄩ棬=' + arguments[2] + } + }) +} +// 纭缂栬緫 +export function confirmEdit() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濈櫧棰嗗緱鍒嗕慨鏀筥SL', + param: 'id=' + arguments[0] + '&寰楀垎=' + arguments[1] + } + }) +} + diff --git a/src/api/PerformanceSystem/BonusBaseApproval.js b/src/api/PerformanceSystem/BonusBaseApproval.js new file mode 100644 index 0000000..4b71f8e --- /dev/null +++ b/src/api/PerformanceSystem/BonusBaseApproval.js @@ -0,0 +1,91 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} + +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + '0' + } + }) +} + +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// GM鏌ヨ +export function selectMUForGM() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥MU', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +// 鏌ヨ濂栭噾鍩烘暟 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾鍩烘暟鏃犳暟鎹煡璇', + param: '鏈堜唤=' + arguments[0] + '\\&MU_Departments=' + arguments[1] + '\\&Segment_Departments=' + arguments[2], + pagination: arguments[3] + '&' + arguments[4] + } + }) +} +// 澧炲姞鎴栦慨鏀规暟鎹 +export function uploadBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾鍩烘暟澧炲姞_鏁翠綋褰曞叆', + param: `鏈堜唤=${arguments[0]}\\&MU_Departments=${arguments[1]}\\&Segment_Departments=${arguments[2]}\\&浜哄憳鎬ц川缁=${arguments[3]}\\&濂栭噾鍩烘暟缁=${arguments[4]}\\&璁板綍浜轰唬鐮=${arguments[5]}`, + pagination: arguments[6] + '&' + arguments[7] + } + }) +} + diff --git a/src/api/PerformanceSystem/BonusBaseInput.js b/src/api/PerformanceSystem/BonusBaseInput.js new file mode 100644 index 0000000..82ce7fe --- /dev/null +++ b/src/api/PerformanceSystem/BonusBaseInput.js @@ -0,0 +1,102 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} + +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + '0' + } + }) +} + +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// GM鏌ヨ +export function selectMUForGM() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥MU', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +// 鏌ヨ濂栭噾鍩烘暟 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾鍩烘暟鏃犳暟鎹煡璇', + param: '鏈堜唤=' + arguments[0] + '\\&MU_Departments=' + arguments[1] + '\\&Segment_Departments=' + arguments[2], + pagination: arguments[3] + '&' + arguments[4] + } + }) +} +// 澧炲姞鎴栦慨鏀规暟鎹 +export function uploadBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾鍩烘暟澧炲姞_鏁翠綋褰曞叆', + param: `鏈堜唤=${arguments[0]}\\&MU_Departments=${arguments[1]}\\&Segment_Departments=${arguments[2]}\\&浜哄憳鎬ц川缁=${arguments[3]}\\&濂栭噾鍩烘暟缁=${arguments[4]}\\&璁板綍浜轰唬鐮=${arguments[5]}`, + pagination: arguments[6] + '&' + arguments[7] + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} + diff --git a/src/api/PerformanceSystem/BonusBaseRntry.js b/src/api/PerformanceSystem/BonusBaseRntry.js new file mode 100644 index 0000000..46be822 --- /dev/null +++ b/src/api/PerformanceSystem/BonusBaseRntry.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +// 鏌ヨ +export function searchTable(pageList, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鍩虹鏁版嵁_璁惧绫诲瀷鏌ヨ', + Pagination: pageList + '&' + pageSize + } + }) +} +// 澧炲姞 +export function editType(ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_澧炲姞鏁版嵁', + param: '搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 缂栬緫 +export function handleChange(CoManufacturerFlowNumber, ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_淇敼鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '&搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 鍒犻櫎 +export function handledelete(CoManufacturerFlowNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_鍒犻櫎鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '=int' + } + }) +} diff --git a/src/api/PerformanceSystem/BonusInquiry.js b/src/api/PerformanceSystem/BonusInquiry.js new file mode 100644 index 0000000..f248e80 --- /dev/null +++ b/src/api/PerformanceSystem/BonusInquiry.js @@ -0,0 +1,123 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// 鏌ヨMU +export function selectMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋_绛涢塎U', + param: '瑙掕壊浠g爜=' + arguments[0] + '&鎿嶄綔鑰呭伐鍙=' + arguments[1] + } + }) +} +// 鏌ヨ閮ㄩ棬 +export function selectDepartment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋_绛涢塖L', + param: '瑙掕壊浠g爜=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&MU=' + arguments[2] + } + }) +} +// 鏌ヨArea +export function selectArea() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋_绛涢堿rea', + param: '瑙掕壊浠g爜=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&閮ㄩ棬=' + arguments[2] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + '0' + } + }) +} + +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// GM鏌ヨ +export function selectMUForGM() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥MU', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +// // 鏌ヨ濂栭噾鍩烘暟 +// export function searchBonus() { +// return request({ +// url: '', +// method: 'post', +// data: { +// type: '1', +// name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾鍩烘暟鏌ヨ_鏀瑰姩2', +// param: `寮濮嬫椂闂=${arguments[0]}&缁撴潫鏃堕棿=${arguments[1]}&浜哄憳浠g爜=${arguments[2]}&瑙掕壊浠g爜=${arguments[3]}&MU_Department=${arguments[4]}&MU_Department_check=${arguments[5]}&Segment_Department=${arguments[6]}&Segment_Department_check=${arguments[7]}` +// } +// }) +// } +// 鏌ヨ濂栭噾鍩烘暟 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾鍩烘暟鏌ヨ', + param: 'MU_Department=' + arguments[0] + '\\&MU_Department_check=' + arguments[1] + '\\&Segment_Department=' + arguments[2] + '\\&Segment_Department_check=' + arguments[3] + } + }) +} diff --git a/src/api/PerformanceSystem/BonusScore.js b/src/api/PerformanceSystem/BonusScore.js new file mode 100644 index 0000000..4a135e1 --- /dev/null +++ b/src/api/PerformanceSystem/BonusScore.js @@ -0,0 +1,97 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// GM鏌ヨ +export function selectMUForGM() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥MU', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 闄egment澶栭儴闂ㄦ煡璇V +export function selectPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// Segment鏌ヨPV +export function selectPVForSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥PV_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_缁村害姹囨绘姤鍛婃煡璇鏀瑰姩2', + param: `寮濮嬫椂闂=${arguments[0]}\\&缁撴潫鏃堕棿=${arguments[1]}\\&浜哄憳浠g爜=${arguments[2]}\\&瑙掕壊浠g爜=${arguments[3]}\\&MU_Department=${arguments[4]}\\&MU_Department_check=${arguments[5]}\\&Segment_Department=${arguments[6]}\\&Segment_Department_check=${arguments[7]}\\&PV_Department=${arguments[8]}\\&PV_Department_check=${arguments[9]}` + } + }) +} diff --git a/src/api/PerformanceSystem/BonusSettlement.js b/src/api/PerformanceSystem/BonusSettlement.js new file mode 100644 index 0000000..ed00773 --- /dev/null +++ b/src/api/PerformanceSystem/BonusSettlement.js @@ -0,0 +1,122 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// GM鏌ヨ +export function selectMUForGM() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥MU', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 闄egment澶栭儴闂ㄦ煡璇V +export function selectPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// Segment鏌ヨPV +export function selectPVForSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥PV', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾鏌ヨ', + param: 'MU_Departments_Check=' + arguments[0] + '\\&MU_Departments=' + arguments[1] + '\\&Segment_Departments_Check=' + arguments[2] + '\\&Segment_Departments=' + arguments[3] + '\\&PV_Departments_Check=' + arguments[4] + '\\&PV_Departments=' + arguments[5] + '\\&鏈堜唤=' + arguments[6], + pagination: arguments[7] + '&' + arguments[8] + } + }) +} +// Segment缁撶畻濂栭噾 +export function BonusSettlement() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_鐢熶骇濂栭噾缁撶畻', + param: '鏈堜唤=' + arguments[0] + '&MU浠g爜=' + arguments[1] + '&Segment浠g爜=' + arguments[2] + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} diff --git a/src/api/PerformanceSystem/DimensionsSummaryReport.js b/src/api/PerformanceSystem/DimensionsSummaryReport.js new file mode 100644 index 0000000..a462d4c --- /dev/null +++ b/src/api/PerformanceSystem/DimensionsSummaryReport.js @@ -0,0 +1,98 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// GM鍒濆鍖朚U +export function initMU1() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥MU', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +// 闈濭M鍒濆鍖朚U +export function initMU2() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=0' + } + }) +} +// MU鏌egment +export function searchSegment1() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 闈濵U鏌egment +export function searchSegment2() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_缁村害姹囨绘姤鍛婃煡璇鏀瑰姩2', + param: `寮濮嬫椂闂=${arguments[0]}\\&缁撴潫鏃堕棿=${arguments[1]}\\&浜哄憳浠g爜=${arguments[2]}\\&瑙掕壊浠g爜=${arguments[3]}\\&MU_Department=${arguments[4]}\\&MU_Department_check=${arguments[5]}\\&Segment_Department=${arguments[6]}\\&Segment_Department_check=${arguments[7]}\\&PV_Department=${arguments[8]}\\&PV_Department_check=${arguments[9]}` + } + }) +} +// Segment鏌ヨPV +export function selectPVForSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥PV_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 闄egment澶栭儴闂ㄦ煡璇V +export function selectPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} diff --git a/src/api/PerformanceSystem/LossInput.js b/src/api/PerformanceSystem/LossInput.js new file mode 100644 index 0000000..6b08148 --- /dev/null +++ b/src/api/PerformanceSystem/LossInput.js @@ -0,0 +1,148 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} + +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋_绛涢塎U', + param: '瑙掕壊浠g爜=' + arguments[0] + '&鎿嶄綔鑰呭伐鍙=' + arguments[1] + } + }) +} + +// MU鏌ヨSegment +export function changeMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋_绛涢塖L', + param: '瑙掕壊浠g爜=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&MU=' + arguments[2] + } + }) +} +// 鎹熷け宸ユ椂PV鏌ヨ +export function searchBonusForPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂PV鏌ヨ', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&瑙掕壊浠g爜=' + arguments[2] + '\\&MU=' + arguments[3] + '\\&MU_check=' + arguments[4] + '\\&閮ㄩ棬=' + arguments[5] + '\\&閮ㄩ棬_check=' + arguments[6] + '\\&Area=' + arguments[7] + '\\&Area_check=' + arguments[8], + pagination: arguments[9] + '&' + arguments[10] + } + }) +} +// 鎹熷け宸ユ椂鍒犻櫎 +export function deleteLoss() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂PV鍒犻櫎', + param: 'ID=' + arguments[0] + } + }) +} +// 纭缂栬緫 +export function confirmEditForPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂PV淇敼', + param: 'ID=' + arguments[0] + '&鏃堕棿鏁=' + arguments[1] + '&鎹熷け鏄庣粏浠g爜=' + arguments[2] + } + }) +} +// 纭娣诲姞 pv +export function confirmAddForPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂PV澧炲姞', + param: '鏈堜唤=' + arguments[0] + '\\&MU=' + arguments[1] + '\\&閮ㄩ棬=' + arguments[2] + '\\&Area=' + arguments[3] + '\\&鎹熷け鍘熷洜鏄庣粏浠g爜=' + arguments[4] + '\\&鏃堕棿鏁=' + arguments[5] + } + }) +} +// Segment鏌ヨPV +export function changeSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋_绛涢堿rea', + param: '瑙掕壊浠g爜=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&閮ㄩ棬=' + arguments[2] + } + }) +} +// pv鎻愪氦 +export function submitPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂PV鎻愪氦', + param: `鏈堜唤=${arguments[0]}\\&Area=${arguments[1]}` + } + }) +} +// 鍒濆鍖栧姞杞芥崯澶卞伐鏃跺垎绫 +export function initCentral() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂鍘熷洜鍒嗙被_鏌ヨ' + } + }) +} +// 鍒濆鍖栧姞杞芥崯澶卞伐鏃舵槑缁 +export function initCentralDetail() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂鍘熷洜鏄庣粏_鏌ヨ', + param: '鎹熷け宸ユ椂鍘熷洜浠g爜=' + arguments[0] + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} + diff --git a/src/api/PerformanceSystem/LossOfManHourQuery.js b/src/api/PerformanceSystem/LossOfManHourQuery.js new file mode 100644 index 0000000..06326f7 --- /dev/null +++ b/src/api/PerformanceSystem/LossOfManHourQuery.js @@ -0,0 +1,88 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} + +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + '0' + } + }) +} + +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment_澶氫釜鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '\\&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// GM鏌ヨ +export function selectMUForGM() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥MU', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +// 鎹熷け宸ユ椂鏌ヨ +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂鏌ヨ_鏀瑰姩2', + param: '寮濮嬫椂闂=' + arguments[0] + '&缁撴潫鏃堕棿=' + arguments[1] + '&浜哄憳浠g爜=' + arguments[2] + '&瑙掕壊浠g爜=' + arguments[3] + '&MU_Department=' + arguments[4] + '&MU_Department_check=' + arguments[5] + '&Segment_Department=' + arguments[6] + '&Segment_Department_check=' + arguments[7] + } + }) +} +// 鎹熷け宸ユ椂鏌ヨ +export function sumBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂姹囨', + param: '寮濮嬫椂闂=' + arguments[0] + '\\&缁撴潫鏃堕棿=' + arguments[1] + '\\&MU_Department=' + arguments[2] + '\\&MU_Department_check=' + arguments[3] + '\\&Segment_Department=' + arguments[4] + '\\&Segment_Department_check=' + arguments[5] + } + }) +} diff --git a/src/api/PerformanceSystem/LossReview.js b/src/api/PerformanceSystem/LossReview.js new file mode 100644 index 0000000..d183e26 --- /dev/null +++ b/src/api/PerformanceSystem/LossReview.js @@ -0,0 +1,147 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} + +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋_绛涢塎U', + param: '瑙掕壊浠g爜=' + arguments[0] + '&鎿嶄綔鑰呭伐鍙=' + arguments[1] + } + }) +} + +// MU鏌ヨSegment +export function changeMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋_绛涢塖L', + param: '瑙掕壊浠g爜=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&MU=' + arguments[2] + } + }) +} +// Segment鏌ヨPV +export function changeSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋_绛涢堿rea', + param: '瑙掕壊浠g爜=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&閮ㄩ棬=' + arguments[2] + } + }) +} +// 鎹熷け宸ユ椂鏌ヨ +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂SL鏌ヨ', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&瑙掕壊浠g爜=' + arguments[2] + '\\&MU=' + arguments[3] + '\\&MU_check=' + arguments[4] + '\\&閮ㄩ棬=' + arguments[5] + '\\&閮ㄩ棬_check=' + arguments[6] + '\\&Area=' + arguments[7] + '\\&Area_check=' + arguments[8], + pagination: arguments[9] + '&' + arguments[10] + } + }) +} +// 鎹熷け宸ユ椂鍒犻櫎 +export function deleteLoss() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂SL鍒犻櫎', + param: 'ID=' + arguments[0] + } + }) +} +// 纭缂栬緫 +export function confirmEdit() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂SL淇敼', + param: 'ID=' + arguments[0] + '&鏃堕棿鏁=' + arguments[1] + '&鎹熷け鏄庣粏浠g爜=' + arguments[2] + } + }) +} +// 纭娣诲姞 +export function confirmAdd() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂SL澧炲姞', + param: `鏈堜唤=${arguments[0]}\\&MU=${arguments[1]}\\&閮ㄩ棬=${arguments[2]}\\&Area=${arguments[3]}\\&鎹熷け鍘熷洜鏄庣粏浠g爜=${arguments[4]}\\&鏃堕棿鏁=${arguments[5]}` + } + }) +} +// 纭瀹℃牳 +export function handleReview() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂SL瀹℃牳', + param: '鏈堜唤=' + arguments[0] + '\\&Area=' + arguments[1] + } + }) +} +// 鍒濆鍖栧姞杞芥崯澶卞伐鏃跺垎绫 +export function initCentral() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂鍘熷洜鍒嗙被_鏌ヨ' + } + }) +} +// 鍒濆鍖栧姞杞芥崯澶卞伐鏃舵槑缁 +export function initCentralDetail() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎹熷け宸ユ椂鍘熷洜鏄庣粏_鏌ヨ', + param: '鎹熷け宸ユ椂鍘熷洜浠g爜=' + arguments[0] + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} diff --git a/src/api/PerformanceSystem/MonthlScoringTableGeneration.js b/src/api/PerformanceSystem/MonthlScoringTableGeneration.js new file mode 100644 index 0000000..9badd77 --- /dev/null +++ b/src/api/PerformanceSystem/MonthlScoringTableGeneration.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +// 鏌ヨ +export function searchTable(pageList, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鍩虹鏁版嵁_鏂欐《淇℃伅_瑙嗗浘_鏌ヨ', + Pagination: pageList + '&' + pageSize + } + }) +} +// 澧炲姞 +export function editType(ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_澧炲姞鏁版嵁', + param: '搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 缂栬緫 +export function handleChange(CoManufacturerFlowNumber, ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_淇敼鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '&搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 鍒犻櫎 +export function handledelete(CoManufacturerFlowNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_鍒犻櫎鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '=int' + } + }) +} diff --git a/src/api/PerformanceSystem/OrganizationalStructureMaintenance.js b/src/api/PerformanceSystem/OrganizationalStructureMaintenance.js new file mode 100644 index 0000000..a741041 --- /dev/null +++ b/src/api/PerformanceSystem/OrganizationalStructureMaintenance.js @@ -0,0 +1,49 @@ +import request from '@/utils/request' +// 閮ㄩ棬鏌ヨ +export function DepartmentSelect() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_缁勭粐缁撴瀯缁存姢_閮ㄩ棬鏌ヨ', + param: 'MU=' + arguments[0] + } + }) +} +// 浜哄憳鏌ヨ +export function personSelect() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_缁勭粐缁撴瀯缁存姢_浜哄憳鏌ヨ', + param: 'MU=' + arguments[0] + '\\&' + '閮ㄩ棬=' + arguments[1] + '\\&' + 'MU_check=' + arguments[2] + '\\&' + '閮ㄩ棬_check=' + arguments[3] + } + }) +} +// MU鏌ヨ +export function MUSelect() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_缁勭粐缁撴瀯缁存姢_MU鏌ヨ' + } + }) +} +// 浜哄憳淇℃伅淇敼 +export function personUpdate() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_缁勭粐缁撴瀯缁存姢_浜哄憳淇敼', + param: 'id=' + arguments[0] + '\\&' + 'OrgUnit=' + arguments[1] + '\\&' + 'Area=' + arguments[2] + '\\&' + 'N_1濮撳悕=' + arguments[3] + '\\&' + '@N_1宸ュ彿=' + arguments[4] + '\\&' + '閮ㄩ棬=' + arguments[5] + '\\&' + 'N_2濮撳悕=' + arguments[6] + '\\&' + 'N_2宸ュ彿=' + arguments[7] + '\\&' + 'MU_GM=' + arguments[8] + '\\&' + 'N_3濮撳悕=' + arguments[9] + '\\&' + 'N_3宸ュ彿=' + arguments[10] + } + }) +} + diff --git a/src/api/PerformanceSystem/PerformanceAppraisal.js b/src/api/PerformanceSystem/PerformanceAppraisal.js new file mode 100644 index 0000000..cd20183 --- /dev/null +++ b/src/api/PerformanceSystem/PerformanceAppraisal.js @@ -0,0 +1,74 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋_绛涢塎U', + param: '瑙掕壊浠g爜=' + arguments[0] + '&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '&鏈堜唤=' + arguments[2] + } + }) +} +// MU鏌ヨSegment +export function changeMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋_绛涢塖L', + param: '瑙掕壊浠g爜=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&MU=' + arguments[2] + '\\&鏈堜唤=' + arguments[3] + } + }) +} +// Segment鏌ヨPV +export function changeSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋_绛涢堿rea', + param: '瑙掕壊浠g爜=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&閮ㄩ棬=' + arguments[2] + '\\&鏈堜唤=' + arguments[3] + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_閮ㄩ棬TL鏈堝害濂栭噾_鏌ヨ', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&瑙掕壊浠g爜=' + arguments[2] + '\\&MU=' + arguments[3] + '\\&MU_check=' + arguments[4] + '\\&閮ㄩ棬=' + arguments[5] + '\\&閮ㄩ棬_check=' + arguments[6] + '\\&Area=' + arguments[7] + '\\&Area_check=' + arguments[8] + } + }) +} +// 鏌ヨ鎹熷け宸ユ椂 +export function loseHours() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_閮ㄩ棬TL鏈堝害濂栭噾_鎹熷け鏌ヨ', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&瑙掕壊浠g爜=' + arguments[2] + '\\&MU=' + arguments[3] + '\\&MU_check=' + arguments[4] + '\\&閮ㄩ棬=' + arguments[5] + '\\&閮ㄩ棬_check=' + arguments[6] + '\\&Area=' + arguments[7] + '\\&Area_check=' + arguments[8] + } + }) +} diff --git a/src/api/PerformanceSystem/PersonnelDataImport.js b/src/api/PerformanceSystem/PersonnelDataImport.js new file mode 100644 index 0000000..d4be87e --- /dev/null +++ b/src/api/PerformanceSystem/PersonnelDataImport.js @@ -0,0 +1,76 @@ +import request from '@/utils/request' +import axios from 'axios' +export function dataImport(Personal_Number, Total_Name, Chinese_Name, OrgUnit, Cost_Center, Business_Area, PSG, Job_Title, Payroll_Area) { + const param = new URLSearchParams() + param.append('Personal_Number', Personal_Number) + param.append('Total_Name', Total_Name) + param.append('Chinese_Name', Chinese_Name) + param.append('OrgUnit', OrgUnit) + param.append('Cost_Center', Cost_Center) + param.append('Business_Area', Business_Area) + param.append('PSG', PSG) + param.append('Job_Title', Job_Title) + // param.append('Entry_Schaeffler', Entry_Schaeffler) + param.append('Payroll_Area', Payroll_Area) + return axios({ + url: 'http://192.168.1.122:8055/submit/WebLED.ashx?type=PersonnelIntroduction', + method: 'post', + data: param + }) +} +export function personFransfer() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '浜哄憳淇℃伅琛ㄦ牸瀵煎叆鍚庤疆璇㈠埌浜哄憳琛' + } + }) +} +export function personSelect(pageList, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'SAP鐢熶骇璁㈠崟瀵煎叆鍚巁鏌ヨ', + Pagination: pageList + '&' + pageSize + } + }) +} +export function personDelete() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鍒犻櫎', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +export function addPeople() { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳澧炲姞鏂', + param: '宸ュ彿=' + arguments[0] + '&瀵嗙爜=' + arguments[1] + '&濮撳悕=' + arguments[2] + '&OrgUnit=' + arguments[3] + '&Cost_Center=' + arguments[4] + '&Business_Area=' + arguments[5] + '&PSG=' + arguments[6] + + '&Job_Title=' + arguments[7] + '&Payroll_Area=' + arguments[8] + '&瀵煎叆鏁版嵁鏄惁瑕嗙洊=' + arguments[9] + '&涓枃鍚=' + arguments[10] + } + }) +} +// 浜哄憳鏇存柊 +export function personUpdate() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳淇敼鏂', + param: 'id=' + arguments[0] + '\\&瀵嗙爜=' + arguments[1] + '\\&濮撳悕=' + arguments[2] + '\\&OrgUnit=' + arguments[3] + '\\&Cost_Center=' + arguments[4] + '\\&Business_Area=' + arguments[5] + '\\&PSG=' + arguments[6] + '\\&Job_Title=' + arguments[7] + '\\&Payroll_Area=' + arguments[8] + '\\&瀵煎叆鏁版嵁鏄惁瑕嗙洊=' + arguments[9] + '\\&涓枃鍚=' + arguments[10] + } + }) +} diff --git a/src/api/SPCanalysis/_system~.ini b/src/api/PerformanceSystem/PersonnelImportAndExport.js similarity index 100% rename from src/api/SPCanalysis/_system~.ini rename to src/api/PerformanceSystem/PersonnelImportAndExport.js diff --git a/src/api/PerformanceSystem/PersonnelMaintenance.js b/src/api/PerformanceSystem/PersonnelMaintenance.js new file mode 100644 index 0000000..bdde2b2 --- /dev/null +++ b/src/api/PerformanceSystem/PersonnelMaintenance.js @@ -0,0 +1,214 @@ +import request from '@/utils/request' +import axios from 'axios' +export function daobiao(宸ュ彿缁, 濮撳悕缁, OrgUnit缁, Cost_Center缁, Business_Area缁, PSG缁, Job_Title缁, Payroll_Area缁) { + const param = new URLSearchParams() + param.append('宸ュ彿缁', 宸ュ彿缁) + param.append('濮撳悕缁', 濮撳悕缁) + param.append('OrgUnit缁', OrgUnit缁) + param.append('Cost_Center缁', Cost_Center缁) + param.append('Business_Area缁', Business_Area缁) + param.append('PSG缁', PSG缁) + param.append('Job_Title缁', Job_Title缁) + param.append('Payroll_Area缁', Payroll_Area缁) + return axios({ + url: 'http://192.168.1.122:8055/submit/WebLED.ashx?type=PersonnelIntroduction', + method: 'post', + data: param + }) +} +export function getTree() { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_閮ㄩ棬鍏崇郴_鏌ヨ鑺傜偣', + param: '瀛愯妭鐐=0=int' + } + }) +} +export function judgementLevel(code) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '鍒ゆ柇閮ㄩ棬绛夌骇', + param: '閮ㄩ棬浠g爜=' + code + '=int' + } + }) +} +export function tree(data, pid) { + const result = [] + let temp + for (let i = 0; i < data.length; i++) { + if (data[i].parentNode === pid) { + const obj = { label: data[i].NodeName, id: data[i].subNode } + temp = tree(data, data[i].subNode) + if (temp.length > 0) { + obj.children = temp + } + result.push(obj) + } + } + return result +} +// 鏂板閮ㄩ棬 LLJ lEV +export function addDepartmentName(num1, num2, num3, num4, num5) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_閮ㄩ棬鍏崇郴_澧炲姞鑺傜偣', + param: '鐖惰妭鐐=' + num1 + '\\&鑺傜偣鍚嶇О=' + num2 + '\\&瀛愯妭鐐=' + num3 + '\\&Departments_State=' + num4 + '\\&lev=' + num5 + } + }) +} +// 缂栬緫閮ㄩ棬 +export function editList(num1, num2) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_閮ㄩ棬鍏崇郴_淇敼鑺傜偣', + param: '瀛愯妭鐐=' + num1 + '\\&鑺傜偣鍚嶇О=' + num2 + } + }) +} +// 鍒犻櫎閮ㄩ棬 +export function delList(num1) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_閮ㄩ棬鍏崇郴_鍒犻櫎鑺傜偣', + param: '瀛愯妭鐐=' + num1 + '=int' + } + }) +} +export function getTablePeople(code, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鏌ヨ_鏍规嵁閮ㄩ棬缂栧彿', + param: '閮ㄩ棬缂栧彿=' + code + '=int', + pagination: pageCurrent + '&' + pageSize + } + }) +} +export function searchPeople() { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鏌ヨ_鏍规嵁宸ュ彿', + param: '宸ュ彿=' + arguments[0] + } + }) +} +export function addPeople() { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳澧炲姞鏂', + param: '宸ュ彿=' + arguments[0] + '&瀵嗙爜=' + arguments[1] + '&濮撳悕=' + arguments[2] + '&OrgUnit=' + arguments[3] + '&Cost_Center=' + arguments[4] + '&Business_Area=' + arguments[5] + '&PSG=' + arguments[6] + + '&Job_Title=' + arguments[7] + '&Payroll_Area=' + arguments[8] + } + }) +} +export function editPeople() { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳淇敼', + param: '宸ュ彿=' + arguments[0] + '&瀵嗙爜=' + arguments[1] + '&浜哄憳鎬ц川缂栧彿=' + arguments[2] + '&濮撳悕=' + arguments[3] + '&浜哄憳缂栧彿=' + arguments[4] + '&閮ㄩ棬浠g爜=' + arguments[5] + } + }) +} +export function selectPersonnelNature() { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鎬ц川鏌ヨ' + } + }) +} +export function delPeopleList(num1) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鍒犻櫎', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +export function moveGroups(num1, num2) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳绉诲姩', + param: '浜哄憳缂栧彿=' + num1 + '=int&閮ㄩ棬缂栧彿=' + num2 + '=int' + } + }) +} +export function getTPeopleList() { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鏌ヨ' + } + }) +} +export function allocationPeople_add(val1, val2, id) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鍒嗛厤', + param: '浜哄憳缂栧彿=' + val1 + '=int&閮ㄩ棬缂栧彿=' + id + '=int&浜哄憳鎬ц川=' + val2 + } + }) +} +export function deleteDepartmentPeopleList(num1, id) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳閮ㄩ棬鍒犻櫎', + param: '浜哄憳缂栧彿=' + num1 + '=int&閮ㄩ棬缂栧彿=' + id + } + }) +} +// 浜哄憳鏁翠綋褰曞叆 +export function handleSave() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳瀵煎叆_鏁翠綋褰曞叆', + param: `宸ュ彿缁=${arguments[0]}&濮撳悕缁=${arguments[1]}&OrgUnit缁=${arguments[2]}&Cost_Center缁=${arguments[3]}&Business_Area缁=${arguments[4]}&PSG缁=${arguments[5]}&Job_Title缁=${arguments[6]}&Payroll_Area缁=${arguments[7]}` + } + }) +} + diff --git a/src/api/PerformanceSystem/PersonnelRoleAssignment.js b/src/api/PerformanceSystem/PersonnelRoleAssignment.js new file mode 100644 index 0000000..0a46401 --- /dev/null +++ b/src/api/PerformanceSystem/PersonnelRoleAssignment.js @@ -0,0 +1,113 @@ +import request from '@/utils/request' + +// 鍒濆鍖栬鑹 +export function initRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_椤圭洰瑙掕壊_鏌ヨ鏁版嵁' + } + }) +} +// 鏌ヨ浜哄憳瑙掕壊 +export function searchPersonnelRole(check1, staffName, check2, num, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁', + param: `濮撳悕_check=${check1}&濮撳悕=${staffName}&瑙掕壊缂栧彿_check=${check2}&瑙掕壊缂栧彿=${num}`, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 鍒濆鍖栦汉鍛樹俊鎭 寮瑰嚭妗 +export function getTree() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_閮ㄩ棬鍏崇郴_鏌ヨ鑺傜偣', + param: '瀛愯妭鐐=0=int' + } + }) +} +// 閫掑綊 +export function fn(data, pid) { + const result = [] + let temp + for (let i = 0; i < data.length; i++) { + if (data[i].parentNode === pid) { + const obj = { label: data[i].NodeName, id: data[i].subNode } + temp = fn(data, data[i].subNode) + if (temp.length > 0) { + obj.children = temp + } + result.push(obj) + } + } + return result +} +// 鏍规嵁閮ㄩ棬鏌ヤ汉鍛 +export function searchPerson(code) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鏌ヨ_鏍规嵁閮ㄩ棬缂栧彿', + param: `閮ㄩ棬缂栧彿=${code}` + } + }) +} +// 鏂板浜哄憳瑙掕壊 +export function addPersonnelRole(...params) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_澧炲姞鏁版嵁', + param: `浜哄憳缂栧彿=${params[0]}&瑙掕壊缂栧彿=${params[1]}` + } + }) +} +// 鍒犻櫎浜哄憳瑙掕壊 +export function deletePersonnelRole(code) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鍒犻櫎鏁版嵁', + param: `浜哄憳瑙掕壊娴佹按鍙=${code}` + } + }) +} +// 缂栬緫浜哄憳瑙掕壊 +export function editPersonnelRole(...params) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_淇敼鏁版嵁', + param: `浜哄憳瑙掕壊娴佹按鍙=${params[0]}&瑙掕壊缂栧彿=${params[1]}` + } + }) +} +export function searchpeople() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳瑙掕壊_浜哄憳鏌ヨ_NEW', + param: 'account=' + arguments[0] + } + }) +} diff --git a/src/api/PerformanceSystem/ProductionBonusScoreInput.js b/src/api/PerformanceSystem/ProductionBonusScoreInput.js new file mode 100644 index 0000000..01f0eed --- /dev/null +++ b/src/api/PerformanceSystem/ProductionBonusScoreInput.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +// 鏌ヨ +export function searchTable(pageList, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鍩虹鏁版嵁_搴撲綅淇℃伅_瑙嗗浘_鏌ヨ', + Pagination: pageList + '&' + pageSize + } + }) +} +// 澧炲姞 +export function editType(ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_澧炲姞鏁版嵁', + param: '搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 缂栬緫 +export function handleChange(CoManufacturerFlowNumber, ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_淇敼鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '&搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 鍒犻櫎 +export function handledelete(CoManufacturerFlowNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_鍒犻櫎鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '=int' + } + }) +} diff --git a/src/api/PerformanceSystem/ProductionBonusScoreModify.js b/src/api/PerformanceSystem/ProductionBonusScoreModify.js new file mode 100644 index 0000000..2ddffc0 --- /dev/null +++ b/src/api/PerformanceSystem/ProductionBonusScoreModify.js @@ -0,0 +1,110 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// 闄egment澶栭儴闂ㄦ煡璇V +export function selectPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// Segment鏌ヨPV +export function selectPVForSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥PV', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_TL寰楀垎淇敼_鏌ヨ', + param: '鏈堜唤=' + arguments[0] + '\\&people_id =' + arguments[1] + '\\&rolenumber =' + arguments[2] + '\\&pv_check =' + arguments[3] + '\\&Area =' + arguments[4] + '\\&MU_check =' + arguments[5] + '\\&MU =' + arguments[6] + '\\&閮ㄩ棬_check =' + arguments[7] + '\\&閮ㄩ棬 =' + arguments[8] + } + }) +} +// 鏌ヨMU +export function selectMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋_绛涢塎U', + param: '鏈堜唤=' + arguments[0] + '&瑙掕壊浠g爜=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + } + }) +} +// 鏌ヨ閮ㄩ棬 +export function selectDepartment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋_绛涢塖L', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '\\&MU=' + arguments[3] + } + }) +} +// 鏌ヨArea +export function selectArea() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋_绛涢堿rea', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '\\&閮ㄩ棬=' + arguments[3] + } + }) +} + +// 鎵ц淇濆瓨 +export function handleSave() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_TL寰楀垎淇敼_鏇存柊', + param: 'id=' + arguments[0] + '\\&璁″垝瀹屾垚鐜=' + arguments[1] + '\\&宸ユ椂鏁堢巼=' + arguments[2] + '\\&PV鎵撳垎=' + arguments[3] + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} diff --git a/src/api/PerformanceSystem/SummaryLostWorkingHours.js b/src/api/PerformanceSystem/SummaryLostWorkingHours.js new file mode 100644 index 0000000..8451c74 --- /dev/null +++ b/src/api/PerformanceSystem/SummaryLostWorkingHours.js @@ -0,0 +1,46 @@ +import request from '@/utils/request' + +export function searchMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋鏂版湀浠藉尯闂確绛涢塎U', + param: '寮濮嬫湀浠=' + arguments[0] + '&缁撴潫鏈堜唤=' + arguments[1] + '&瑙掕壊浠g爜=' + arguments[2] + '&鎿嶄綔鑰呭伐鍙=' + arguments[3] + } + }) +} +export function searchSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋鏂版湀浠藉尯闂確绛涢塖L', + param: '寮濮嬫湀浠=' + arguments[0] + '&缁撴潫鏈堜唤=' + arguments[1] + '&瑙掕壊浠g爜=' + arguments[2] + '&鎿嶄綔鑰呭伐鍙=' + arguments[3] + '&MU=' + arguments[4] + } + }) +} +export function searchPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_绛涢夋鏂版湀浠藉尯闂確绛涢堿rea', + param: '寮濮嬫湀浠=' + arguments[0] + '&缁撴潫鏈堜唤=' + arguments[1] + '&瑙掕壊浠g爜=' + arguments[2] + '&鎿嶄綔鑰呭伐鍙=' + arguments[3] + '&閮ㄩ棬=' + arguments[4] + } + }) +} +export function searchCharts() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎶ュ憡鏌ヨ_鎹熷け姹囨', + param: '寮濮嬫湀浠=' + arguments[0] + '&缁撴潫鏈堜唤=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '&瑙掕壊浠g爜=' + arguments[3] + '&MU=' + arguments[4] + '&MU_check=' + arguments[5] + '&閮ㄩ棬=' + arguments[6] + '&閮ㄩ棬_check=' + arguments[7] + '&Area=' + arguments[8] + '&Area_check=' + arguments[9] + } + }) +} diff --git a/src/api/PerformanceSystem/SystemRoleMaintenance.js b/src/api/PerformanceSystem/SystemRoleMaintenance.js new file mode 100644 index 0000000..d7ae726 --- /dev/null +++ b/src/api/PerformanceSystem/SystemRoleMaintenance.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +// 鏌ヨ +export function searchTable(pageList, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鍩虹鏁版嵁_璁惧鏌ヨ', + Pagination: pageList + '&' + pageSize + } + }) +} +// 澧炲姞 +export function editType(ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_澧炲姞鏁版嵁', + param: '搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 缂栬緫 +export function handleChange(CoManufacturerFlowNumber, ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_淇敼鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '&搴忓彿=' + ManufacturerNumber + '&澶栧崗鍘傚鍚嶇О=' + ManufacturerName + '&澶栧崗鍘傚绠绉=' + ManufacturerAbbreviation + '&鍦板潃=' + address + '&鑱旂郴浜=' + roleName + '&鐢佃瘽=' + phNumber + '&浼犵湡=' + Fax + '&澶囨敞=' + Remarks + '&绫诲埆=' + category + '&鍏虫敞=' + attention + '&璁惧鎯呭喌=' + EquipmentCondition + } + }) +} +// 鍒犻櫎 +export function handledelete(CoManufacturerFlowNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '杞﹂棿鐢熶骇绠$悊宸ヨ壓_鍩虹琛╛澶栧崗鍘傚_鍒犻櫎鏁版嵁', + param: '澶栧崗鍘傚娴佹按鍙=' + CoManufacturerFlowNumber + '=int' + } + }) +} diff --git a/src/api/PerformanceSystem/TLBonusSummary.js b/src/api/PerformanceSystem/TLBonusSummary.js new file mode 100644 index 0000000..35c237f --- /dev/null +++ b/src/api/PerformanceSystem/TLBonusSummary.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function searchMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋鏈堜唤鍖洪棿_绛涢塎U ', + param: '寮濮嬫湀浠=' + arguments[0] + '&缁撴潫鏈堜唤=' + arguments[1] + '&瑙掕壊浠g爜=' + arguments[2] + '&鎿嶄綔鑰呭伐鍙=' + arguments[3] + } + }) +} +export function searchCharts() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎶ュ憡鏌ヨ_TL濂栭噾姹囨籣MU鏌ヨ', + param: '寮濮嬫湀浠=' + arguments[0] + '&缁撴潫鏈堜唤=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '&瑙掕壊浠g爜=' + arguments[3] + '&MU=' + arguments[4] + '&MU_check=' + arguments[5] + } + }) +} diff --git a/src/api/PerformanceSystem/TLScoresApproval.js b/src/api/PerformanceSystem/TLScoresApproval.js new file mode 100644 index 0000000..4873f01 --- /dev/null +++ b/src/api/PerformanceSystem/TLScoresApproval.js @@ -0,0 +1,113 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_TL寰楀垎鏌ヨ_SL', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙 =' + arguments[1] + '\\&瑙掕壊浠g爜 =' + arguments[2] + '\\&MU_check =' + arguments[3] + '\\&SL_check =' + arguments[4] + '\\&PV_check =' + arguments[5] + '\\&MU =' + arguments[6] + + '\\&閮ㄩ棬 =' + arguments[7] + '\\&Area =' + arguments[8] + } + }) +} + +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} +// MU鏌ヨ LLJ 鏂板 +export function SelectMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋_绛涢塎U', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + } + }) +} +// SL鏌ヨ +export function SelectSL() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋_绛涢塖L', + param: '鏈堜唤=' + arguments[0] + '&瑙掕壊浠g爜=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '&MU=' + arguments[3] + } + }) +} +// SL鏌ヨ +export function SelectArea() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_TL绛涢夋_绛涢堿rea', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '\\&閮ㄩ棬=' + arguments[3] + } + }) +} +// 瀹℃壒 +export function Approval2() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_TL寰楀垎瀹℃牳_SL', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&閮ㄩ棬=' + arguments[2] + } + }) +} +// 纭缂栬緫 +export function confirmEdit() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_TL寰楀垎淇敼_SL', + param: 'id=' + arguments[0] + '\\&璁″垝瀹屾垚鐜=' + arguments[1] + '\\&宸ユ椂鏁堢巼=' + arguments[2] + '\\&PV鎵撳垎=' + arguments[3] + } + }) +} + diff --git a/src/api/PerformanceSystem/TimeFreezeSetUp.js b/src/api/PerformanceSystem/TimeFreezeSetUp.js new file mode 100644 index 0000000..f8e24a2 --- /dev/null +++ b/src/api/PerformanceSystem/TimeFreezeSetUp.js @@ -0,0 +1,40 @@ +import request from '@/utils/request' + +// 寮鍚叧闂潈闄愭帶鍒 +export function PowerControl() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鍐荤粨鏃ユ湡寮鍚叧闂潈闄愭帶鍒', + param: '鏄惁寮鍚=' + arguments[0] + } + }) +} + +// 杈撳叆鏉冮檺鍒ゆ柇 +export function PowerJudge() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇', + param: '褰撳墠鏃ユ湡=' + arguments[0] + '&鍙互杈撳叆鏈堜唤=' + arguments[1] + '&鏄惁鍙互杈撳叆=' + arguments[2] + '&寮濮嬫椂闂=' + arguments[3] + '&缁撴潫鏃堕棿=' + arguments[4] + '&鏄惁鍚敤=' + arguments[5] + } + }) +} + +// 杈撳叆鍐荤粨鏃ユ湡 +export function FreezeDateInput() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鍐荤粨鏃ユ湡', + param: '寮濮嬫棩鏈=' + arguments[0] + '&缁撴潫鏃ユ湡=' + arguments[1] + } + }) +} diff --git a/src/api/PerformanceSystem/WhiteCollarBonusInput.js b/src/api/PerformanceSystem/WhiteCollarBonusInput.js new file mode 100644 index 0000000..d4a6010 --- /dev/null +++ b/src/api/PerformanceSystem/WhiteCollarBonusInput.js @@ -0,0 +1,79 @@ +import request from '@/utils/request' + +export function dataImport() { + return request({ + url: '', + method: 'post', + data: { + type: '7', + name: '浜哄憳琛', + param: arguments[0] + } + }) +} +export function personFransfer() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '浜哄憳淇℃伅琛ㄦ牸瀵煎叆鍚庤疆璇㈠埌浜哄憳琛' + } + }) +} +export function personTruncate() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳瀵煎叆_鍏ㄩ儴浜哄憳鍒犻櫎' + } + }) +} +export function personSelect(pageList, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鏌ヨ鏂', + Pagination: pageList + '&' + pageSize + } + }) +} +export function personDelete() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鍒犻櫎', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +export function addPeople() { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳澧炲姞鏂', + param: '宸ュ彿=' + arguments[0] + '&瀵嗙爜=' + arguments[1] + '&濮撳悕=' + arguments[2] + '&OrgUnit=' + arguments[3] + '&Cost_Center=' + arguments[4] + '&Business_Area=' + arguments[5] + '&PSG=' + arguments[6] + + '&Job_Title=' + arguments[7] + '&Payroll_Area=' + arguments[8] + '&瀵煎叆鏁版嵁鏄惁瑕嗙洊=' + arguments[9] + '&涓枃鍚=' + arguments[10] + } + }) +} +// 浜哄憳鏇存柊 +export function personUpdate() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳淇敼鏂', + param: 'id=' + arguments[0] + '\\&瀵嗙爜=' + arguments[1] + '\\&濮撳悕=' + arguments[2] + '\\&OrgUnit=' + arguments[3] + '\\&Cost_Center=' + arguments[4] + '\\&Business_Area=' + arguments[5] + '\\&PSG=' + arguments[6] + '\\&Job_Title=' + arguments[7] + '\\&Payroll_Area=' + arguments[8] + '\\&瀵煎叆鏁版嵁鏄惁瑕嗙洊=' + arguments[9] + '\\&涓枃鍚=' + arguments[10] + } + }) +} diff --git a/src/api/PerformanceSystem/WhiteCollarBonusesSummary.js b/src/api/PerformanceSystem/WhiteCollarBonusesSummary.js new file mode 100644 index 0000000..bc0c2e2 --- /dev/null +++ b/src/api/PerformanceSystem/WhiteCollarBonusesSummary.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function searchMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_鐧介绛涢夋鏈堜唤鍖洪棿_绛涢塎U ', + param: '寮濮嬫湀浠=' + arguments[0] + '&缁撴潫鏈堜唤=' + arguments[1] + '&瑙掕壊浠g爜=' + arguments[2] + '&鎿嶄綔鑰呭伐鍙=' + arguments[3] + } + }) +} +export function searchCharts() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鎶ュ憡鏌ヨ_鐧介濂栭噾姹囨籣MU鏌ヨ', + param: '寮濮嬫湀浠=' + arguments[0] + '&缁撴潫鏈堜唤=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '&瑙掕壊浠g爜=' + arguments[3] + '&MU=' + arguments[4] + '&MU_check=' + arguments[5] + } + }) +} diff --git a/src/api/PerformanceSystem/WhiteCollarScoreModify.js b/src/api/PerformanceSystem/WhiteCollarScoreModify.js new file mode 100644 index 0000000..5568a4c --- /dev/null +++ b/src/api/PerformanceSystem/WhiteCollarScoreModify.js @@ -0,0 +1,147 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} + +// 鏌ヨ濂栭噾寰楀垎 +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鐧介寰楀垎淇敼_鏌ヨ', + param: '鏈堜唤=' + arguments[0] + '\\&people_id =' + arguments[1] + '\\&rolenumber =' + arguments[2] + '\\&pv_check =' + arguments[3] + '\\&Area =' + arguments[4] + '\\&MU_check =' + arguments[5] + '\\&MU =' + arguments[6] + '\\&閮ㄩ棬_check =' + arguments[7] + '\\&閮ㄩ棬 =' + arguments[8] + } + }) +} +// 鏌ヨMU +export function selectMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_鐧介绛涢夋_绛涢塎U', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + } + }) +} +// 鏌ヨ閮ㄩ棬 +export function selectDepartment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_鐧介绛涢夋_绛涢塖L', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '\\&MU=' + arguments[3] + } + }) +} +// 鏌ヨArea +export function selectArea() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_鐧介绛涢夋_绛涢堿rea', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '\\&閮ㄩ棬=' + arguments[3] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 闄U澶栭儴闂ㄦ煡璇egment +export function selectSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// MU鏌ヨSegment +export function selectSegmentForMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥Segment', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 闄egment澶栭儴闂ㄦ煡璇V +export function selectPV() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// Segment鏌ヨPV +export function selectPVForSegment() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥PV', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + arguments[1] + } + }) +} +// 鎵ц淇濆瓨 +export function handleSave() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '濂栭噾缁╂晥绯荤粺_鐧介寰楀垎淇敼_鏇存柊', + param: 'id=' + arguments[0] + '&璁″垝瀹屾垚鐜=' + arguments[1] + '&宸ユ椂鏁堢巼=' + arguments[2] + '&PV鎵撳垎=' + arguments[3] + } + }) +} +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} diff --git a/src/api/PerformanceSystem/WhiteCollarScoresApproval.js b/src/api/PerformanceSystem/WhiteCollarScoresApproval.js new file mode 100644 index 0000000..32717d2 --- /dev/null +++ b/src/api/PerformanceSystem/WhiteCollarScoresApproval.js @@ -0,0 +1,113 @@ +import request from '@/utils/request' + +// 鍒ゆ柇鐧婚檰瑙掕壊 +export function judgeRole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鏍规嵁浜鸿鑹茬紪鍙', + param: '缂栧彿=' + arguments[0] + } + }) +} +// 鍒濆鍖朚U +export function initMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_浜哄憳瑙掕壊_鏌ヨ鏁版嵁_鐖惰妭鐐筥閮ㄩ棬鏌ヨ', + param: '浜哄憳缂栧彿=' + arguments[0] + '&閮ㄩ棬浠g爜=' + '0' + } + }) +} +// 鏌ヨ濂栭噾寰楀垎 +// 鏌ヨ濂栭噾寰楀垎 +export function searchBonus() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鐧介寰楀垎鏌ヨ_SL', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙 =' + arguments[1] + '\\&瑙掕壊浠g爜 =' + arguments[2] + '\\&MU_check =' + arguments[3] + '\\&SL_check =' + arguments[4] + '\\&PV_check =' + arguments[5] + '\\&MU =' + arguments[6] + + '\\&閮ㄩ棬 =' + arguments[7] + '\\&Area =' + arguments[8] + } + }) +} + +// 鏌ヨ鍐荤粨鏉冮檺 +export function initrole() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '杈撳叆鏉冮檺鍒ゆ柇' + } + }) +} +// MU鏌ヨ LLJ 鏂板 +export function SelectMU() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_鐧介绛涢夋_绛涢塎U', + param: '鏈堜唤=' + arguments[0] + '&瑙掕壊浠g爜=' + arguments[1] + '&鎿嶄綔鑰呭伐鍙=' + arguments[2] + } + }) +} +// SL鏌ヨ +export function SelectSL() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_鐧介绛涢夋_绛涢塖L', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '\\&MU=' + arguments[3] + } + }) +} +// SL鏌ヨ +export function SelectArea() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '鑿滃崟妯″潡绯荤粺_鐧介绛涢夋_绛涢堿rea', + param: '鏈堜唤=' + arguments[0] + '\\&瑙掕壊浠g爜=' + arguments[1] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[2] + '\\&閮ㄩ棬=' + arguments[3] + } + }) +} +// 瀹℃壒 +export function Approval2() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_鐧介寰楀垎瀹℃牳_SL', + param: '鏈堜唤=' + arguments[0] + '\\&鎿嶄綔鑰呭伐鍙=' + arguments[1] + '\\&閮ㄩ棬=' + arguments[2] + } + }) +} +// 纭缂栬緫 +export function confirmEdit() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_钃濈櫧棰嗗緱鍒嗕慨鏀筥SL', + param: 'id=' + arguments[0] + '&寰楀垎=' + arguments[1] + } + }) +} + diff --git a/src/api/PerformanceSystem/bakpeople.js b/src/api/PerformanceSystem/bakpeople.js new file mode 100644 index 0000000..e8c292d --- /dev/null +++ b/src/api/PerformanceSystem/bakpeople.js @@ -0,0 +1,213 @@ +import request from '@/utils/request' +import axios from 'axios' +export function daobiao(宸ュ彿缁, 濮撳悕缁, OrgUnit缁, Cost_Center缁, Business_Area缁, PSG缁, Job_Title缁, Payroll_Area缁) { + const param = new URLSearchParams() + param.append('宸ュ彿缁', 宸ュ彿缁) + param.append('濮撳悕缁', 濮撳悕缁) + param.append('OrgUnit缁', OrgUnit缁) + param.append('Cost_Center缁', Cost_Center缁) + param.append('Business_Area缁', Business_Area缁) + param.append('PSG缁', PSG缁) + param.append('Job_Title缁', Job_Title缁) + param.append('Payroll_Area缁', Payroll_Area缁) + return axios({ + url: 'http://192.168.1.122:8055/submit/WebLED.ashx?type=PersonnelIntroduction', + method: 'post', + data: param + }) +} +export function getTree() { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_閮ㄩ棬鍏崇郴_鏌ヨ鑺傜偣', + param: '瀛愯妭鐐=0=int' + } + }) +} +export function judgementLevel(code) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '鍒ゆ柇閮ㄩ棬绛夌骇', + param: '閮ㄩ棬浠g爜=' + code + '=int' + } + }) +} +export function tree(data, pid) { + const result = [] + let temp + for (let i = 0; i < data.length; i++) { + if (data[i].parentNode === pid) { + const obj = { label: data[i].NodeName, id: data[i].subNode } + temp = tree(data, data[i].subNode) + if (temp.length > 0) { + obj.children = temp + } + result.push(obj) + } + } + return result +} +// 鏂板閮ㄩ棬 LLJ lEV +export function addDepartmentName(num1, num2, num3, num4, num5) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_閮ㄩ棬鍏崇郴_澧炲姞鑺傜偣', + param: '鐖惰妭鐐=' + num1 + '\\&鑺傜偣鍚嶇О=' + num2 + '\\&瀛愯妭鐐=' + num3 + '\\&Departments_State=' + num4 + '\\&lev=' + num5 + } + }) +} +// 缂栬緫閮ㄩ棬 +export function editList(num1, num2) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_閮ㄩ棬鍏崇郴_淇敼鑺傜偣', + param: '瀛愯妭鐐=' + num1 + '\\&鑺傜偣鍚嶇О=' + num2 + } + }) +} +// 鍒犻櫎閮ㄩ棬 +export function delList(num1) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_閮ㄩ棬鍏崇郴_鍒犻櫎鑺傜偣', + param: '瀛愯妭鐐=' + num1 + '=int' + } + }) +} +export function getTablePeople(code, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鏌ヨ_鏍规嵁閮ㄩ棬缂栧彿', + param: '閮ㄩ棬缂栧彿=' + code + '=int', + pagination: pageCurrent + '&' + pageSize + } + }) +} +export function searchPeople() { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鏌ヨ_鏍规嵁宸ュ彿', + param: '宸ュ彿=' + arguments[0] + } + }) +} +export function addPeople() { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳澧炲姞', + param: '閮ㄩ棬缂栧彿=' + arguments[0] + '&宸ュ彿=' + arguments[1] + '&瀵嗙爜=' + arguments[2] + '&浜哄憳鎬ц川缂栧彿=' + arguments[3] + '&濮撳悕=' + arguments[4] + } + }) +} +export function editPeople() { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳淇敼', + param: '宸ュ彿=' + arguments[0] + '&瀵嗙爜=' + arguments[1] + '&浜哄憳鎬ц川缂栧彿=' + arguments[2] + '&濮撳悕=' + arguments[3] + '&浜哄憳缂栧彿=' + arguments[4] + '&閮ㄩ棬浠g爜=' + arguments[5] + } + }) +} +export function selectPersonnelNature() { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鎬ц川鏌ヨ' + } + }) +} +export function delPeopleList(num1) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鍒犻櫎', + param: '浜哄憳缂栧彿=' + arguments[0] + } + }) +} +export function moveGroups(num1, num2) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳绉诲姩', + param: '浜哄憳缂栧彿=' + num1 + '=int&閮ㄩ棬缂栧彿=' + num2 + '=int' + } + }) +} +export function getTPeopleList() { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鏌ヨ' + } + }) +} +export function allocationPeople_add(val1, val2, id) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳鍒嗛厤', + param: '浜哄憳缂栧彿=' + val1 + '=int&閮ㄩ棬缂栧彿=' + id + '=int&浜哄憳鎬ц川=' + val2 + } + }) +} +export function deleteDepartmentPeopleList(num1, id) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '濂栭噾缁╂晥绯荤粺_浜哄憳缁存姢_浜哄憳閮ㄩ棬鍒犻櫎', + param: '浜哄憳缂栧彿=' + num1 + '=int&閮ㄩ棬缂栧彿=' + id + } + }) +} +// 浜哄憳鏁翠綋褰曞叆 +export function handleSave() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '濂栭噾缁╂晥绯荤粺_浜哄憳瀵煎叆_鏁翠綋褰曞叆', + param: `宸ュ彿缁=${arguments[0]}&濮撳悕缁=${arguments[1]}&OrgUnit缁=${arguments[2]}&Cost_Center缁=${arguments[3]}&Business_Area缁=${arguments[4]}&PSG缁=${arguments[5]}&Job_Title缁=${arguments[6]}&Payroll_Area缁=${arguments[7]}` + } + }) +} + diff --git a/src/api/SPCanalysis/QualityData_XR.js b/src/api/SPCanalysis/QualityData_XR.js deleted file mode 100644 index dbf0e18..0000000 --- a/src/api/SPCanalysis/QualityData_XR.js +++ /dev/null @@ -1,15 +0,0 @@ -import { ip } from '@/api/ipAddress' -import axios from 'axios' - -// 鎺掑垪琛ㄥ浘 -export function GetChart(OPNameCheck, opName, shaftNameCheck, shaftName, itemNameCheck, itemName, EngineTypeIDCheck, EngineTypeID, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_XR.ashx?type=GetChart&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + shaftName + '&itemNameCheck=' + itemNameCheck + '&itemName=' + itemName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + EngineTypeID + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} -// 鍧囧煎浘&鏋佸樊鍥&姝f佸垎甯冨浘 -export function GetBaseTrendData(OPNameCheck, opName, shaftNameCheck, shaftName, itemNameCheck, itemName, EngineTypeIDCheck, EngineTypeID, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_XR.ashx?type=GetBaseTrendData&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + shaftName + '&itemNameCheck=' + itemNameCheck + '&itemName=' + itemName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + EngineTypeID + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} -// 鍒嗘瀽绾垮強Y杞/X杞 -export function GetMarkLineByConditent(OPNameCheck, opName, shaftNameCheck, shaftName, itemNameCheck, itemName, EngineTypeIDCheck, EngineTypeID, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_XR.ashx?type=GetMarkLineByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + shaftName + '&itemNameCheck=' + itemNameCheck + '&itemName=' + itemName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + EngineTypeID + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} diff --git a/src/api/SPCanalysis/QualityData_XS.js b/src/api/SPCanalysis/QualityData_XS.js deleted file mode 100644 index e9abdc8..0000000 --- a/src/api/SPCanalysis/QualityData_XS.js +++ /dev/null @@ -1,11 +0,0 @@ -import { ip } from '@/api/ipAddress' -import axios from 'axios' - -// 鍧囧煎浘&鏋佸樊鍥&姝f佸垎甯冨浘 -export function GetBaseTrendData(OPNameCheck, opName, shaftNameCheck, shaftName, itemNameCheck, itemName, EngineTypeIDCheck, EngineTypeID, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_XS.ashx?type=GetBaseTrendData&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + shaftName + '&itemNameCheck=' + itemNameCheck + '&itemName=' + itemName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + EngineTypeID + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} -// 鍒嗘瀽绾垮強Y杞/X杞 -export function GetMarkLineByConditent(OPNameCheck, opName, shaftNameCheck, shaftName, itemNameCheck, itemName, EngineTypeIDCheck, EngineTypeID, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_XS.ashx?type=GetMarkLineByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + shaftName + '&itemNameCheck=' + itemNameCheck + '&itemName=' + itemName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + EngineTypeID + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} diff --git a/src/api/SPCanalysis/arrangeChart.js b/src/api/SPCanalysis/arrangeChart.js deleted file mode 100644 index bdea302..0000000 --- a/src/api/SPCanalysis/arrangeChart.js +++ /dev/null @@ -1,11 +0,0 @@ -import { ip } from '@/api/ipAddress' -import axios from 'axios' - -// 鑾峰彇琛ㄦ牸鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function getList(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num, pageSize, pageCurrent) { - return axios.post(ip + '/submit/QualityData_Histogram.ashx?type=GetDataTableByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num + '&page=' + pageCurrent + '&rows=' + pageSize) -} -// 鑾峰彇鍥惧舰鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_缁樿秼鍔垮浘_DC -export function getLine(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_Pareto.ashx?type=GetChart&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} diff --git a/src/api/SPCanalysis/basicTrendTap.js b/src/api/SPCanalysis/basicTrendTap.js deleted file mode 100644 index f92e9ec..0000000 --- a/src/api/SPCanalysis/basicTrendTap.js +++ /dev/null @@ -1,15 +0,0 @@ -import { ip } from '@/api/ipAddress' -import axios from 'axios' - -// 鑾峰彇琛ㄦ牸鏁版嵁--璐ㄩ噺鏁版嵁_鍙戝姩鏈鸿川閲忔暟鎹甠鍚勪釜宸ヤ綅_瑙嗗浘_缁煎悎鏌ヨ_瓒嬪娍鍥綺LLJ -export function getList(OPNameCheck, opName, shaftNameCheck, shaftName, itemNameCheck, itemName, EngineTypeIDCheck, EngineTypeID, timeValue, pageSize, pageCurrent) { - return axios.post(ip + '/submit/QualityData_TrendPictureBasic.ashx?type=GetDataTableByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + shaftName + '&itemNameCheck=' + itemNameCheck + '&itemName=' + itemName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + EngineTypeID + '&startTime=' + timeValue[0] + '&endTime=' + timeValue[1] + '&page=' + pageCurrent + '&rows=' + pageSize) -} -// ------璐ㄩ噺鏁版嵁_鍙戝姩鏈鸿川閲忔暟鎹甠鍚勪釜宸ヤ綅_瑙嗗浘_缁煎悎鏌ヨ_瓒嬪娍鍥 -export function getLine(OPNameCheck, opName, shaftNameCheck, shaftName, itemNameCheck, itemName, EngineTypeIDCheck, EngineTypeID, startTime, endTime, pageSize, pageCurrent) { - return axios.post(ip + '/submit/QualityData_TrendPictureBasic.ashx?type=GetMarkLineByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + shaftName + '&itemNameCheck=' + itemNameCheck + '&itemName=' + itemName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + EngineTypeID + '&startTime=' + startTime + '&endTime=' + endTime + '&page=' + pageCurrent + '&rows=' + pageSize) -} -// 鑾峰彇鍥惧舰鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_缁樿秼鍔垮浘_DC -export function getEchart(OPNameCheck, opName, shaftNameCheck, shaftName, itemNameCheck, itemName, EngineTypeIDCheck, EngineTypeID, startTime, endTime) { - return axios.post(ip + '/submit/QualityData_TrendPictureBasic.ashx?type=GetBaseTrendData&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + shaftName + '&itemNameCheck=' + itemNameCheck + '&itemName=' + itemName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + EngineTypeID + '&startTime=' + startTime + '&endTime=' + endTime) -} diff --git a/src/api/SPCanalysis/histogram.js b/src/api/SPCanalysis/histogram.js deleted file mode 100644 index f09ed04..0000000 --- a/src/api/SPCanalysis/histogram.js +++ /dev/null @@ -1,15 +0,0 @@ -import { ip } from '@/api/ipAddress' -import axios from 'axios' - -// 鑾峰彇琛ㄦ牸鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function getList(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num, pageSize, pageCurrent) { - return axios.post(ip + '/submit/QualityData_Histogram.ashx?type=GetDataTableByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num + '&page=' + pageCurrent + '&rows=' + pageSize) -} -// 鑾峰彇鍥惧舰鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function getLine(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_Histogram.ashx?type=data1&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} -// 鑾峰彇x杞存暟鎹--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function getxData(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_Histogram.ashx?type=data&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} diff --git a/src/api/SPCanalysis/normal_distribution.js b/src/api/SPCanalysis/normal_distribution.js deleted file mode 100644 index 53cd339..0000000 --- a/src/api/SPCanalysis/normal_distribution.js +++ /dev/null @@ -1,24 +0,0 @@ -import { ip } from '@/api/ipAddress' -import axios from 'axios' - -// 鑾峰彇琛ㄦ牸鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function bargetList(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num, pageSize, pageCurrent) { - return axios.post(ip + '/submit/QualityData_Histogram.ashx?type=GetDataTableByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num + '&page=' + pageCurrent + '&rows=' + pageSize) -} -// 鑾峰彇鍥惧舰鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function bargetLine(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_Histogram.ashx?type=data1&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} -// 鑾峰彇x杞存暟鎹--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function bargetxData(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_Histogram.ashx?type=data&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} - -// 鑾峰彇琛ㄦ牸鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function linegetList(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num, pageSize, pageCurrent) { - return axios.post(ip + '/submit/QualityData_Histogram.ashx?type=GetDataTableByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num + '&page=' + pageCurrent + '&rows=' + pageSize) -} -// 鑾峰彇鍥惧舰鏁版嵁 -export function linegetLine(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num, Usl, Lsl) { - return axios.post(ip + '/submit/QualityData_NormalDistribution.ashx?type=GetBaseTrendData&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num + '&Usl=' + Usl + '&Lsl=' + Lsl) -} diff --git a/src/api/SPCanalysis/processCapabilityAnalysis.js b/src/api/SPCanalysis/processCapabilityAnalysis.js deleted file mode 100644 index f05e2b4..0000000 --- a/src/api/SPCanalysis/processCapabilityAnalysis.js +++ /dev/null @@ -1,11 +0,0 @@ -import { ip } from '@/api/ipAddress' -import axios from 'axios' - -// 鑾峰彇琛ㄦ牸鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function getList(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num, pageSize, pageCurrent) { - return axios.post(ip + '/submit/QualityData_Histogram.ashx?type=GetDataTableByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num + '&page=' + pageCurrent + '&rows=' + pageSize) -} -// 鑾峰彇鍥惧舰鏁版嵁 -export function getLine(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num, Usl, Lsl) { - return axios.post(ip + '/submit/QualityData_NormalDistribution.ashx?type=GetBaseTrendData&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num + '&Usl=' + Usl + '&Lsl=' + Lsl) -} diff --git a/src/api/SPCanalysis/sampleTrendChart.js b/src/api/SPCanalysis/sampleTrendChart.js deleted file mode 100644 index 7d079d7..0000000 --- a/src/api/SPCanalysis/sampleTrendChart.js +++ /dev/null @@ -1,11 +0,0 @@ -import { ip } from '@/api/ipAddress' -import axios from 'axios' - -// 鑾峰彇琛ㄦ牸鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_澶ф煷 -export function getList(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num, pageSize, pageCurrent) { - return axios.post(ip + '/submit/QualityData_TrendPicture.ashx?type=GetDataTableByConditent&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num + '&page=' + pageCurrent + '&rows=' + pageSize) -} -// 鑾峰彇鍥惧舰鏁版嵁--璐ㄩ噺鏁版嵁鏌ヨ_缁煎悎鏌ヨ_鏁版嵁鍒嗙粍_缁樿秼鍔垮浘_DC -export function getLine(OPNameCheck, opName, shaftNameCheck, measureName, EngineTypeIDCheck, model, itemNameCheck, measureContent, startTime, endTime, yangben, num) { - return axios.post(ip + '/submit/QualityData_TrendPicture.ashx?type=GetBaseTrendData&OPNameCheck=' + OPNameCheck + '&OPName=' + opName + '&shaftNameCheck=' + shaftNameCheck + '&shaftName=' + measureName + '&EngineTypeIDCheck=' + EngineTypeIDCheck + '&EngineTypeID=' + model + '&itemNameCheck=' + itemNameCheck + '&itemName=' + measureContent + '&startTime=' + startTime + '&endTime=' + endTime + '&Yangben=' + yangben + '&Num=' + num) -} diff --git a/src/api/ipAddress.js b/src/api/ipAddress.js deleted file mode 100644 index 65b86f9..0000000 --- a/src/api/ipAddress.js +++ /dev/null @@ -1,4 +0,0 @@ -export const ip = 'http://localhost:8051' -// export const ip = 'http://124.220.15.242:8154' // AP -// export const ip = 'http://124.220.15.242:8153' // 绂忕敯 - diff --git a/src/api/login.js b/src/api/login.js index 4f50e18..c94be09 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -1,47 +1,44 @@ import request from '@/utils/request' - +import state from '@/store' +import router from '@/router' export function login(username, password) { return request({ url: '', method: 'post', data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, type: '1', - name: '鑿滃崟绯荤粺妯″潡_鐢ㄦ埛鍚嶅瘑鐮乢鏌ヨ鏁版嵁_new2', + name: '鑿滃崟妯″潡绯荤粺_鐢ㄦ埛鍚嶅瘑鐮乢鏌ヨ鏁版嵁', param: `鐢ㄦ埛鍚=${username}&瀵嗙爜=${password}` } }) } +// export function getInfo(token) { return request({ url: '', method: 'post', data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, type: '1', - name: `鑿滃崟绯荤粺妯″潡_鑾峰彇瑙掕壊妯″潡_鏌ヨ鏁版嵁`, + name: '鑿滃崟妯″潡绯荤粺_椤圭洰瑙掕壊妯″潡鍒楄〃_浜岀骇_鏌ヨ鏁版嵁', param: `瑙掕壊缂栧彿=${token}` } }) } -// 鏌ヨ鎸夐挳鍔熻兘瀹炵幇 +// 淇敼瀵嗙爜 export function editPassword(num1, num2, num3, num4) { return request({ url: '', method: 'post', data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, type: '2', name: '璐﹀彿淇℃伅_淇敼瀵嗙爜_MESWORK', - param: '鑰冨嫟缂栧彿=' + num1 + '=int&鍘熷瀵嗙爜=' + num2 + '=string&鏂板瘑鐮=' + num3 + '=string&杩斿洖=' + num4 + '=string=output' - } - }) -} -export function cloudEditPassword(num1, num2) { - return request({ - url: '', - method: 'post', - data: { - type: '2', - name: '浜轰簨妗f绠$悊_浜哄憳鍚嶅崟_浜戜笂鏀瑰瘑鐮', - param: 'id=' + num1 + '=int&鏂板瘑鐮=' + num2 + '=string' + param: '鑰冨嫟缂栧彿=' + num1 + '=string&鍘熷瀵嗙爜=' + num2 + '=string&鏂板瘑鐮=' + num3 + '=string&杩斿洖=' + num4 + '=string=output' } }) } diff --git a/src/assets/font/MiSans-Bold.ttf b/src/assets/font/MiSans-Bold.ttf new file mode 100644 index 0000000..13b6185 Binary files /dev/null and b/src/assets/font/MiSans-Bold.ttf differ diff --git a/src/assets/font/MiSans-Demibold.ttf b/src/assets/font/MiSans-Demibold.ttf new file mode 100644 index 0000000..39d5887 Binary files /dev/null and b/src/assets/font/MiSans-Demibold.ttf differ diff --git a/src/assets/font/MiSans-ExtraLight.ttf b/src/assets/font/MiSans-ExtraLight.ttf new file mode 100644 index 0000000..86606c6 Binary files /dev/null and b/src/assets/font/MiSans-ExtraLight.ttf differ diff --git a/src/assets/font/MiSans-Heavy.ttf b/src/assets/font/MiSans-Heavy.ttf new file mode 100644 index 0000000..3d71199 Binary files /dev/null and b/src/assets/font/MiSans-Heavy.ttf differ diff --git a/src/assets/font/MiSans-Light.ttf b/src/assets/font/MiSans-Light.ttf new file mode 100644 index 0000000..bf1af84 Binary files /dev/null and b/src/assets/font/MiSans-Light.ttf differ diff --git a/src/assets/font/MiSans-Medium.ttf b/src/assets/font/MiSans-Medium.ttf new file mode 100644 index 0000000..79b9d10 Binary files /dev/null and b/src/assets/font/MiSans-Medium.ttf differ diff --git a/src/assets/font/MiSans-Normal.ttf b/src/assets/font/MiSans-Normal.ttf new file mode 100644 index 0000000..3199d46 Binary files /dev/null and b/src/assets/font/MiSans-Normal.ttf differ diff --git a/src/assets/font/MiSans-Regular.ttf b/src/assets/font/MiSans-Regular.ttf new file mode 100644 index 0000000..9cbfff5 Binary files /dev/null and b/src/assets/font/MiSans-Regular.ttf differ diff --git a/src/assets/font/MiSans-Semibold.ttf b/src/assets/font/MiSans-Semibold.ttf new file mode 100644 index 0000000..83c1a53 Binary files /dev/null and b/src/assets/font/MiSans-Semibold.ttf differ diff --git a/src/assets/font/MiSans-Thin.ttf b/src/assets/font/MiSans-Thin.ttf new file mode 100644 index 0000000..3ef2ef6 Binary files /dev/null and b/src/assets/font/MiSans-Thin.ttf differ diff --git a/src/assets/font/Misans.css b/src/assets/font/Misans.css new file mode 100644 index 0000000..30ca60d --- /dev/null +++ b/src/assets/font/Misans.css @@ -0,0 +1,70 @@ +@font-face { + font-family: MiSans Demibold; + src: url("MiSans-Demibold.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} +@font-face { + font-family: MiSans Bold; + src: url("MiSans-Bold.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} +@font-face { + font-family: MiSans ExtraLight; + src: url("MiSans-ExtraLight.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} +@font-face { + font-family: MiSans Heavy; + src: url("MiSans-Heavy.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} +@font-face { + font-family: MiSans Light; + src: url("MiSans-Light.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} +@font-face { + font-family: MiSans Medium; + src: url("MiSans-Medium.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} +@font-face { + font-family: MiSans Normal; + src: url("MiSans-Normal.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} +@font-face { + font-family: MiSans Regular; + src: url("MiSans-Regular.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} +@font-face { + font-family: MiSans Semibold; + src: url("MiSans-Semibold.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} +@font-face { + font-family: MiSans Thin; + src: url("MiSans-Thin.ttf"); + font-weight: normal; + font-style: normal; + font-display: block; +} diff --git a/src/assets/img/111.png b/src/assets/img/111.png new file mode 100644 index 0000000..f180d89 Binary files /dev/null and b/src/assets/img/111.png differ diff --git a/src/assets/img/CarImg/Car1.png b/src/assets/img/CarImg/Car1.png new file mode 100644 index 0000000..63becba Binary files /dev/null and b/src/assets/img/CarImg/Car1.png differ diff --git a/src/assets/img/CarImg/Car2.png b/src/assets/img/CarImg/Car2.png new file mode 100644 index 0000000..4f2a9fc Binary files /dev/null and b/src/assets/img/CarImg/Car2.png differ diff --git a/src/assets/img/CarImg/Car3.png b/src/assets/img/CarImg/Car3.png new file mode 100644 index 0000000..4d20efd Binary files /dev/null and b/src/assets/img/CarImg/Car3.png differ diff --git a/src/assets/img/CarImg/Car4.png b/src/assets/img/CarImg/Car4.png new file mode 100644 index 0000000..ab7bad6 Binary files /dev/null and b/src/assets/img/CarImg/Car4.png differ diff --git a/src/assets/img/CarImg/Car5.png b/src/assets/img/CarImg/Car5.png new file mode 100644 index 0000000..d72fbbc Binary files /dev/null and b/src/assets/img/CarImg/Car5.png differ diff --git a/src/assets/img/CompanyIcon.png b/src/assets/img/CompanyIcon.png deleted file mode 100644 index 1c323f7..0000000 Binary files a/src/assets/img/CompanyIcon.png and /dev/null differ diff --git a/src/assets/img/CompanyQRCode.jpg b/src/assets/img/CompanyQRCode.jpg deleted file mode 100644 index 527bf7a..0000000 Binary files a/src/assets/img/CompanyQRCode.jpg and /dev/null differ diff --git a/src/assets/img/DFlogo.png b/src/assets/img/DFlogo.png new file mode 100644 index 0000000..c31c5d7 Binary files /dev/null and b/src/assets/img/DFlogo.png differ diff --git a/src/assets/img/DFlogo2.png b/src/assets/img/DFlogo2.png new file mode 100644 index 0000000..fdf210e Binary files /dev/null and b/src/assets/img/DFlogo2.png differ diff --git a/src/assets/img/HELI.jpg b/src/assets/img/HELI.jpg deleted file mode 100644 index 06a3b4d..0000000 Binary files a/src/assets/img/HELI.jpg and /dev/null differ diff --git a/src/assets/img/HELILOGO.png b/src/assets/img/HELILOGO.png deleted file mode 100644 index 9fa09c3..0000000 Binary files a/src/assets/img/HELILOGO.png and /dev/null differ diff --git a/src/assets/img/JYLogo.png b/src/assets/img/JYLogo.png deleted file mode 100644 index 15865b5..0000000 Binary files a/src/assets/img/JYLogo.png and /dev/null differ diff --git a/src/assets/img/JYuser.png b/src/assets/img/JYuser.png deleted file mode 100644 index 790c057..0000000 Binary files a/src/assets/img/JYuser.png and /dev/null differ diff --git a/src/assets/img/MESLOGO.png b/src/assets/img/MESLOGO.png deleted file mode 100644 index 564f33c..0000000 Binary files a/src/assets/img/MESLOGO.png and /dev/null differ diff --git a/src/assets/img/MESWORK.png b/src/assets/img/MESWORK.png deleted file mode 100644 index b256955..0000000 Binary files a/src/assets/img/MESWORK.png and /dev/null differ diff --git a/src/assets/img/PcmRobotResource.bmp b/src/assets/img/PcmRobotResource.bmp new file mode 100644 index 0000000..18f5805 Binary files /dev/null and b/src/assets/img/PcmRobotResource.bmp differ diff --git a/src/assets/img/SCHAEFFLER.png b/src/assets/img/SCHAEFFLER.png new file mode 100644 index 0000000..29fd6f7 Binary files /dev/null and b/src/assets/img/SCHAEFFLER.png differ diff --git a/src/assets/img/SCHAEFFLER_Logo.png b/src/assets/img/SCHAEFFLER_Logo.png new file mode 100644 index 0000000..77dcde0 Binary files /dev/null and b/src/assets/img/SCHAEFFLER_Logo.png differ diff --git a/src/assets/img/SiyuanLOGO.png b/src/assets/img/SiyuanLOGO.png deleted file mode 100644 index 7426163..0000000 Binary files a/src/assets/img/SiyuanLOGO.png and /dev/null differ diff --git a/src/assets/img/gaojingLogo.png b/src/assets/img/gaojingLogo.png index 609a799..3ec0b27 100644 Binary files a/src/assets/img/gaojingLogo.png and b/src/assets/img/gaojingLogo.png differ diff --git a/src/assets/img/index.png b/src/assets/img/index.png new file mode 100644 index 0000000..a546e97 Binary files /dev/null and b/src/assets/img/index.png differ diff --git a/src/assets/img/leftPic.png b/src/assets/img/leftPic.png index 64c4d29..e4140be 100644 Binary files a/src/assets/img/leftPic.png and b/src/assets/img/leftPic.png differ diff --git a/src/assets/img/logo.jpg b/src/assets/img/logo.jpg index 9e45f06..9a64dd2 100644 Binary files a/src/assets/img/logo.jpg and b/src/assets/img/logo.jpg differ diff --git a/src/assets/img/logo.png b/src/assets/img/logo.png index 9e45f06..cda9b7a 100644 Binary files a/src/assets/img/logo.png and b/src/assets/img/logo.png differ diff --git a/src/assets/img/logo2.jpg b/src/assets/img/logo2.jpg new file mode 100644 index 0000000..22dd46d Binary files /dev/null and b/src/assets/img/logo2.jpg differ diff --git a/src/assets/img/playback.png b/src/assets/img/playback.png new file mode 100644 index 0000000..889707c Binary files /dev/null and b/src/assets/img/playback.png differ diff --git a/src/assets/img/tips.png b/src/assets/img/tips.png new file mode 100644 index 0000000..c92b70c Binary files /dev/null and b/src/assets/img/tips.png differ diff --git a/src/assets/img/user.gif b/src/assets/img/user.gif new file mode 100644 index 0000000..fdbd32c Binary files /dev/null and b/src/assets/img/user.gif differ diff --git a/src/assets/img/{BB869965-AE27-477E-87BB-2F215FB807C8}.png b/src/assets/img/{BB869965-AE27-477E-87BB-2F215FB807C8}.png new file mode 100644 index 0000000..2c17c58 Binary files /dev/null and b/src/assets/img/{BB869965-AE27-477E-87BB-2F215FB807C8}.png differ diff --git a/src/assets/img/宸ヨ壓鍥捐〃.bmp b/src/assets/img/宸ヨ壓鍥捐〃.bmp new file mode 100644 index 0000000..6e04d07 Binary files /dev/null and b/src/assets/img/宸ヨ壓鍥捐〃.bmp differ diff --git a/src/assets/img/鏂板缓宸ヨ壓缁.bmp b/src/assets/img/鏂板缓宸ヨ壓缁.bmp new file mode 100644 index 0000000..e459652 Binary files /dev/null and b/src/assets/img/鏂板缓宸ヨ壓缁.bmp differ diff --git a/src/assets/img/鏈哄櫒浜烘搷浣.bmp b/src/assets/img/鏈哄櫒浜烘搷浣.bmp new file mode 100644 index 0000000..cf5ded3 Binary files /dev/null and b/src/assets/img/鏈哄櫒浜烘搷浣.bmp differ diff --git a/src/assets/img/娴佺▼鍥.png b/src/assets/img/娴佺▼鍥.png new file mode 100644 index 0000000..117d884 Binary files /dev/null and b/src/assets/img/娴佺▼鍥.png differ diff --git a/src/assets/img/璁惧鎿嶄綔.bmp b/src/assets/img/璁惧鎿嶄綔.bmp new file mode 100644 index 0000000..fea54ad Binary files /dev/null and b/src/assets/img/璁惧鎿嶄綔.bmp differ diff --git a/src/assets/img/闃闂╛鍏.png b/src/assets/img/闃闂╛鍏.png new file mode 100644 index 0000000..cf54b95 Binary files /dev/null and b/src/assets/img/闃闂╛鍏.png differ diff --git a/src/assets/img/闃闂╛寮.png b/src/assets/img/闃闂╛寮.png new file mode 100644 index 0000000..9046051 Binary files /dev/null and b/src/assets/img/闃闂╛寮.png differ diff --git a/src/assets/img/闈炰豢鐪熸搷浣.png b/src/assets/img/闈炰豢鐪熸搷浣.png new file mode 100644 index 0000000..0476c8b Binary files /dev/null and b/src/assets/img/闈炰豢鐪熸搷浣.png differ diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index ec29565..ba8dcfb 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -2,8 +2,10 @@ - {{ item.meta.title }} - {{ item.meta.title }} + {{ + item.meta.title + }} + {{ item.meta.title }} @@ -29,7 +31,7 @@ export default { let matched = this.$route.matched.filter(item => item.name) const first = matched[0] if (first && first.name !== 'dashboard') { - matched = [{ path: '/dashboard', meta: { title: '涓婚〉' }}].concat(matched) + matched = [{ path: '/dashboard', meta: { title: '棣栭〉' }}].concat(matched) } this.levelList = matched } @@ -37,19 +39,21 @@ export default { } - diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue index 9a407dc..2e64358 100644 --- a/src/components/Hamburger/index.vue +++ b/src/components/Hamburger/index.vue @@ -4,7 +4,7 @@ :class="{'is-active':isActive}" t="1492500959545" class="hamburger" - style="color: #fff" + style="fill: #ffffff" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" @@ -15,16 +15,13 @@ @click="toggleClick"> + p-id="1692" /> + p-id="1693" /> + p-id="1694" /> @@ -54,10 +51,8 @@ export default { transform: rotate(90deg); transition: .38s; transform-origin: 50% 50%; - color: #fff } .hamburger.is-active { transform: rotate(0deg); - color: #fff } diff --git a/src/icons/svg/AlarmProcessQuery.svg b/src/icons/svg/AlarmProcessQuery.svg new file mode 100644 index 0000000..cb7bc33 --- /dev/null +++ b/src/icons/svg/AlarmProcessQuery.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/BasicAlarmMaintenance.svg b/src/icons/svg/BasicAlarmMaintenance.svg new file mode 100644 index 0000000..e786957 --- /dev/null +++ b/src/icons/svg/BasicAlarmMaintenance.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/BasicDataMaintenance.svg b/src/icons/svg/BasicDataMaintenance.svg new file mode 100644 index 0000000..2ca2d73 --- /dev/null +++ b/src/icons/svg/BasicDataMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/BasicDataManagement.svg b/src/icons/svg/BasicDataManagement.svg index 730a9a5..6f6c9f6 100644 --- a/src/icons/svg/BasicDataManagement.svg +++ b/src/icons/svg/BasicDataManagement.svg @@ -1,2 +1,2 @@ - + \ No newline at end of file diff --git a/src/icons/svg/BlueCollarBonusBaseInput.svg b/src/icons/svg/BlueCollarBonusBaseInput.svg new file mode 100644 index 0000000..1b9b4a0 --- /dev/null +++ b/src/icons/svg/BlueCollarBonusBaseInput.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/BlueCollarBonusScoreInput.svg b/src/icons/svg/BlueCollarBonusScoreInput.svg new file mode 100644 index 0000000..a1e08b4 --- /dev/null +++ b/src/icons/svg/BlueCollarBonusScoreInput.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/BlueCollarJobSettings.svg b/src/icons/svg/BlueCollarJobSettings.svg new file mode 100644 index 0000000..04b10da --- /dev/null +++ b/src/icons/svg/BlueCollarJobSettings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/BlueCollarScoreModify.svg b/src/icons/svg/BlueCollarScoreModify.svg new file mode 100644 index 0000000..725ad2a --- /dev/null +++ b/src/icons/svg/BlueCollarScoreModify.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/BlueCollarScoresApproval.svg b/src/icons/svg/BlueCollarScoresApproval.svg new file mode 100644 index 0000000..6d235c3 --- /dev/null +++ b/src/icons/svg/BlueCollarScoresApproval.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/BonusBaseInput.svg b/src/icons/svg/BonusBaseInput.svg new file mode 100644 index 0000000..0dea4d8 --- /dev/null +++ b/src/icons/svg/BonusBaseInput.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/BonusBaseRntry.svg b/src/icons/svg/BonusBaseRntry.svg new file mode 100644 index 0000000..d6b1239 --- /dev/null +++ b/src/icons/svg/BonusBaseRntry.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/BonusInquiry.svg b/src/icons/svg/BonusInquiry.svg new file mode 100644 index 0000000..3ea4f75 --- /dev/null +++ b/src/icons/svg/BonusInquiry.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/BonusScore.svg b/src/icons/svg/BonusScore.svg new file mode 100644 index 0000000..394f01a --- /dev/null +++ b/src/icons/svg/BonusScore.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/BonusSettlement.svg b/src/icons/svg/BonusSettlement.svg new file mode 100644 index 0000000..b4009d7 --- /dev/null +++ b/src/icons/svg/BonusSettlement.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/BucketInformationMaintenance.svg b/src/icons/svg/BucketInformationMaintenance.svg new file mode 100644 index 0000000..5479663 --- /dev/null +++ b/src/icons/svg/BucketInformationMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/CallEmptyBucket.svg b/src/icons/svg/CallEmptyBucket.svg new file mode 100644 index 0000000..0e7d0ae --- /dev/null +++ b/src/icons/svg/CallEmptyBucket.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/CallEmptyBucket2.svg b/src/icons/svg/CallEmptyBucket2.svg new file mode 100644 index 0000000..57445e9 --- /dev/null +++ b/src/icons/svg/CallEmptyBucket2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/CuttingTvSearch.svg b/src/icons/svg/CuttingTvSearch.svg new file mode 100644 index 0000000..274324c --- /dev/null +++ b/src/icons/svg/CuttingTvSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/DataImport.svg b/src/icons/svg/DataImport.svg new file mode 100644 index 0000000..d74b1d1 --- /dev/null +++ b/src/icons/svg/DataImport.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/DataPlayBack.svg b/src/icons/svg/DataPlayBack.svg new file mode 100644 index 0000000..be26e16 --- /dev/null +++ b/src/icons/svg/DataPlayBack.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/DataPlayBackPage.svg b/src/icons/svg/DataPlayBackPage.svg new file mode 100644 index 0000000..be26e16 --- /dev/null +++ b/src/icons/svg/DataPlayBackPage.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/DimensionsSummaryReport.svg b/src/icons/svg/DimensionsSummaryReport.svg new file mode 100644 index 0000000..a3fed5d --- /dev/null +++ b/src/icons/svg/DimensionsSummaryReport.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/DocumentImport.svg b/src/icons/svg/DocumentImport.svg new file mode 100644 index 0000000..3b12260 --- /dev/null +++ b/src/icons/svg/DocumentImport.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/EquipmentCapabilitySetting.svg b/src/icons/svg/EquipmentCapabilitySetting.svg index f8bdb9e..f265e97 100644 --- a/src/icons/svg/EquipmentCapabilitySetting.svg +++ b/src/icons/svg/EquipmentCapabilitySetting.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/ExcelImport.svg b/src/icons/svg/ExcelImport.svg new file mode 100644 index 0000000..7400c96 --- /dev/null +++ b/src/icons/svg/ExcelImport.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/FactoryCalendar.svg b/src/icons/svg/FactoryCalendar.svg index 3f424c9..9980dd3 100644 --- a/src/icons/svg/FactoryCalendar.svg +++ b/src/icons/svg/FactoryCalendar.svg @@ -1,2 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/GrindingErrorhandling.svg b/src/icons/svg/GrindingErrorhandling.svg new file mode 100644 index 0000000..af78c42 --- /dev/null +++ b/src/icons/svg/GrindingErrorhandling.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/GrindingQuality.svg b/src/icons/svg/GrindingQuality.svg new file mode 100644 index 0000000..3019088 --- /dev/null +++ b/src/icons/svg/GrindingQuality.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/GrindingQualityHistory.svg b/src/icons/svg/GrindingQualityHistory.svg new file mode 100644 index 0000000..cddc891 --- /dev/null +++ b/src/icons/svg/GrindingQualityHistory.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/GrindingStatistics.svg b/src/icons/svg/GrindingStatistics.svg new file mode 100644 index 0000000..b0445e6 --- /dev/null +++ b/src/icons/svg/GrindingStatistics.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/GrindingTvSearch.svg b/src/icons/svg/GrindingTvSearch.svg new file mode 100644 index 0000000..274324c --- /dev/null +++ b/src/icons/svg/GrindingTvSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/Grindingyield.svg b/src/icons/svg/Grindingyield.svg new file mode 100644 index 0000000..9d0361e --- /dev/null +++ b/src/icons/svg/Grindingyield.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/InputInformationQuery.svg b/src/icons/svg/InputInformationQuery.svg new file mode 100644 index 0000000..d3071f6 --- /dev/null +++ b/src/icons/svg/InputInformationQuery.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/InputInformationSearch.svg b/src/icons/svg/InputInformationSearch.svg new file mode 100644 index 0000000..2dad992 --- /dev/null +++ b/src/icons/svg/InputInformationSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/KKI.svg b/src/icons/svg/KKI.svg new file mode 100644 index 0000000..5f6961a --- /dev/null +++ b/src/icons/svg/KKI.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/KKIBomMantaince.svg b/src/icons/svg/KKIBomMantaince.svg new file mode 100644 index 0000000..dc094c4 --- /dev/null +++ b/src/icons/svg/KKIBomMantaince.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/KKIHistoryMaintenance.svg b/src/icons/svg/KKIHistoryMaintenance.svg new file mode 100644 index 0000000..f9b0ffc --- /dev/null +++ b/src/icons/svg/KKIHistoryMaintenance.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/KKIInventoryMantaince.svg b/src/icons/svg/KKIInventoryMantaince.svg new file mode 100644 index 0000000..19290a4 --- /dev/null +++ b/src/icons/svg/KKIInventoryMantaince.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/KKIMaintenance.svg b/src/icons/svg/KKIMaintenance.svg new file mode 100644 index 0000000..ad8e748 --- /dev/null +++ b/src/icons/svg/KKIMaintenance.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/KKIUpdate.svg b/src/icons/svg/KKIUpdate.svg new file mode 100644 index 0000000..ea4dc4f --- /dev/null +++ b/src/icons/svg/KKIUpdate.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/LossHour.svg b/src/icons/svg/LossHour.svg new file mode 100644 index 0000000..2a6adea --- /dev/null +++ b/src/icons/svg/LossHour.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/LossInput.svg b/src/icons/svg/LossInput.svg new file mode 100644 index 0000000..6ceef06 --- /dev/null +++ b/src/icons/svg/LossInput.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/LossOfManHourQuery.svg b/src/icons/svg/LossOfManHourQuery.svg new file mode 100644 index 0000000..2a52c27 --- /dev/null +++ b/src/icons/svg/LossOfManHourQuery.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/LossReview.svg b/src/icons/svg/LossReview.svg new file mode 100644 index 0000000..4d172a8 --- /dev/null +++ b/src/icons/svg/LossReview.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MachineCategoryMaintenance.svg b/src/icons/svg/MachineCategoryMaintenance.svg new file mode 100644 index 0000000..d574c5b --- /dev/null +++ b/src/icons/svg/MachineCategoryMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MachinePlanningMantenance.svg b/src/icons/svg/MachinePlanningMantenance.svg new file mode 100644 index 0000000..373aeb4 --- /dev/null +++ b/src/icons/svg/MachinePlanningMantenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MachineToolsMaintenance.svg b/src/icons/svg/MachineToolsMaintenance.svg new file mode 100644 index 0000000..8d20e2b --- /dev/null +++ b/src/icons/svg/MachineToolsMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MainMaterialMantaince.svg b/src/icons/svg/MainMaterialMantaince.svg new file mode 100644 index 0000000..6a1cb08 --- /dev/null +++ b/src/icons/svg/MainMaterialMantaince.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MainMaterialMantainceSearch.svg b/src/icons/svg/MainMaterialMantainceSearch.svg new file mode 100644 index 0000000..6a1cb08 --- /dev/null +++ b/src/icons/svg/MainMaterialMantainceSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MaintenanceEquipmentPerson.svg b/src/icons/svg/MaintenanceEquipmentPerson.svg index 3f68672..61e37ab 100644 --- a/src/icons/svg/MaintenanceEquipmentPerson.svg +++ b/src/icons/svg/MaintenanceEquipmentPerson.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/ManufactureRequirement.svg b/src/icons/svg/ManufactureRequirement.svg new file mode 100644 index 0000000..3c9b738 --- /dev/null +++ b/src/icons/svg/ManufactureRequirement.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ManufactureRequirementSearch.svg b/src/icons/svg/ManufactureRequirementSearch.svg new file mode 100644 index 0000000..98cf6e4 --- /dev/null +++ b/src/icons/svg/ManufactureRequirementSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MaterialDictionaryMantaince.svg b/src/icons/svg/MaterialDictionaryMantaince.svg new file mode 100644 index 0000000..17d0a9c --- /dev/null +++ b/src/icons/svg/MaterialDictionaryMantaince.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MaterialManagement.svg b/src/icons/svg/MaterialManagement.svg index 04d16d0..274324c 100644 --- a/src/icons/svg/MaterialManagement.svg +++ b/src/icons/svg/MaterialManagement.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/MenuManagement.svg b/src/icons/svg/MenuManagement.svg new file mode 100644 index 0000000..d16bd1d --- /dev/null +++ b/src/icons/svg/MenuManagement.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MonthlyScoringTableGeneration.svg b/src/icons/svg/MonthlyScoringTableGeneration.svg new file mode 100644 index 0000000..f48ba18 --- /dev/null +++ b/src/icons/svg/MonthlyScoringTableGeneration.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/OrganizationalStructureMaintenance.svg b/src/icons/svg/OrganizationalStructureMaintenance.svg new file mode 100644 index 0000000..5802158 --- /dev/null +++ b/src/icons/svg/OrganizationalStructureMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/OutputInformationQuery.svg b/src/icons/svg/OutputInformationQuery.svg new file mode 100644 index 0000000..067c402 --- /dev/null +++ b/src/icons/svg/OutputInformationQuery.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/OutputInformationSearch.svg b/src/icons/svg/OutputInformationSearch.svg new file mode 100644 index 0000000..20e9fcf --- /dev/null +++ b/src/icons/svg/OutputInformationSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/PTPT.svg b/src/icons/svg/PTPT.svg new file mode 100644 index 0000000..a383ca5 --- /dev/null +++ b/src/icons/svg/PTPT.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/PerformanceAppraisal.svg b/src/icons/svg/PerformanceAppraisal.svg new file mode 100644 index 0000000..2f92640 --- /dev/null +++ b/src/icons/svg/PerformanceAppraisal.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/PersonnelBasicData.svg b/src/icons/svg/PersonnelBasicData.svg new file mode 100644 index 0000000..dfa09e0 --- /dev/null +++ b/src/icons/svg/PersonnelBasicData.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/PersonnelDataImport.svg b/src/icons/svg/PersonnelDataImport.svg new file mode 100644 index 0000000..0fde784 --- /dev/null +++ b/src/icons/svg/PersonnelDataImport.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/PersonnelMaintenance.svg b/src/icons/svg/PersonnelMaintenance.svg new file mode 100644 index 0000000..ab6d9f8 --- /dev/null +++ b/src/icons/svg/PersonnelMaintenance.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/PersonnelPermission.svg b/src/icons/svg/PersonnelPermission.svg new file mode 100644 index 0000000..5fec9b5 --- /dev/null +++ b/src/icons/svg/PersonnelPermission.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/PersonnelRoleAssignment.svg b/src/icons/svg/PersonnelRoleAssignment.svg new file mode 100644 index 0000000..38fcf9e --- /dev/null +++ b/src/icons/svg/PersonnelRoleAssignment.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/PlannedExceptionHandling.svg b/src/icons/svg/PlannedExceptionHandling.svg new file mode 100644 index 0000000..2dea670 --- /dev/null +++ b/src/icons/svg/PlannedExceptionHandling.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/PlannedExceptionHandlingSearch.svg b/src/icons/svg/PlannedExceptionHandlingSearch.svg new file mode 100644 index 0000000..2dea670 --- /dev/null +++ b/src/icons/svg/PlannedExceptionHandlingSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/PositionDataMaintenance.svg b/src/icons/svg/PositionDataMaintenance.svg new file mode 100644 index 0000000..769155e --- /dev/null +++ b/src/icons/svg/PositionDataMaintenance.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/ProcessManagement.svg b/src/icons/svg/ProcessManagement.svg index bb3afc3..a8c8e61 100644 --- a/src/icons/svg/ProcessManagement.svg +++ b/src/icons/svg/ProcessManagement.svg @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/ProductionBonus.svg b/src/icons/svg/ProductionBonus.svg new file mode 100644 index 0000000..f0ae3af --- /dev/null +++ b/src/icons/svg/ProductionBonus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ProductionBonusScoreInput.svg b/src/icons/svg/ProductionBonusScoreInput.svg new file mode 100644 index 0000000..68837ab --- /dev/null +++ b/src/icons/svg/ProductionBonusScoreInput.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/ProductionBonusScoreModify.svg b/src/icons/svg/ProductionBonusScoreModify.svg new file mode 100644 index 0000000..da8e815 --- /dev/null +++ b/src/icons/svg/ProductionBonusScoreModify.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/ProductionCompletionRate.svg b/src/icons/svg/ProductionCompletionRate.svg new file mode 100644 index 0000000..7f4d872 --- /dev/null +++ b/src/icons/svg/ProductionCompletionRate.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ProductionPlanComplete.svg b/src/icons/svg/ProductionPlanComplete.svg new file mode 100644 index 0000000..5deb2a6 --- /dev/null +++ b/src/icons/svg/ProductionPlanComplete.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ProductionPlanDelivery.svg b/src/icons/svg/ProductionPlanDelivery.svg new file mode 100644 index 0000000..bac9e2d --- /dev/null +++ b/src/icons/svg/ProductionPlanDelivery.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ProductionPlanMaintenance.svg b/src/icons/svg/ProductionPlanMaintenance.svg new file mode 100644 index 0000000..0a397ed --- /dev/null +++ b/src/icons/svg/ProductionPlanMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ProductionPlanSearch.svg b/src/icons/svg/ProductionPlanSearch.svg new file mode 100644 index 0000000..3135780 --- /dev/null +++ b/src/icons/svg/ProductionPlanSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ProductionTimeRate.svg b/src/icons/svg/ProductionTimeRate.svg new file mode 100644 index 0000000..cd13c6b --- /dev/null +++ b/src/icons/svg/ProductionTimeRate.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ProductiveProcessQuery.svg b/src/icons/svg/ProductiveProcessQuery.svg new file mode 100644 index 0000000..1730cb1 --- /dev/null +++ b/src/icons/svg/ProductiveProcessQuery.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/QualityDataQuery.svg b/src/icons/svg/QualityDataQuery.svg new file mode 100644 index 0000000..86c574c --- /dev/null +++ b/src/icons/svg/QualityDataQuery.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/QualitySearch.svg b/src/icons/svg/QualitySearch.svg new file mode 100644 index 0000000..8d33be5 --- /dev/null +++ b/src/icons/svg/QualitySearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/QualitydataQuery.svg b/src/icons/svg/QualitydataQuery.svg deleted file mode 100644 index 02ecd22..0000000 --- a/src/icons/svg/QualitydataQuery.svg +++ /dev/null @@ -1,2 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/Repolishing.svg b/src/icons/svg/Repolishing.svg new file mode 100644 index 0000000..d543ac2 --- /dev/null +++ b/src/icons/svg/Repolishing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ReportQuery.svg b/src/icons/svg/ReportQuery.svg new file mode 100644 index 0000000..9beadff --- /dev/null +++ b/src/icons/svg/ReportQuery.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/RepositoryInformationMaintenance.svg b/src/icons/svg/RepositoryInformationMaintenance.svg new file mode 100644 index 0000000..3d953db --- /dev/null +++ b/src/icons/svg/RepositoryInformationMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/RevisionRateOfWorkOrder.svg b/src/icons/svg/RevisionRateOfWorkOrder.svg new file mode 100644 index 0000000..b66fe3c --- /dev/null +++ b/src/icons/svg/RevisionRateOfWorkOrder.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ScheduledExceptionHandling.svg b/src/icons/svg/ScheduledExceptionHandling.svg new file mode 100644 index 0000000..4596906 --- /dev/null +++ b/src/icons/svg/ScheduledExceptionHandling.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ScheduledExceptionHandlingSearch.svg b/src/icons/svg/ScheduledExceptionHandlingSearch.svg new file mode 100644 index 0000000..4596906 --- /dev/null +++ b/src/icons/svg/ScheduledExceptionHandlingSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SendMessageMaintenance.svg b/src/icons/svg/SendMessageMaintenance.svg new file mode 100644 index 0000000..7f66188 --- /dev/null +++ b/src/icons/svg/SendMessageMaintenance.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/SortErrorhandling.svg b/src/icons/svg/SortErrorhandling.svg new file mode 100644 index 0000000..2ad4952 --- /dev/null +++ b/src/icons/svg/SortErrorhandling.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SortRepositoryInformationMaintenance.svg b/src/icons/svg/SortRepositoryInformationMaintenance.svg new file mode 100644 index 0000000..1c06c55 --- /dev/null +++ b/src/icons/svg/SortRepositoryInformationMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SortingQuality.svg b/src/icons/svg/SortingQuality.svg new file mode 100644 index 0000000..362c798 --- /dev/null +++ b/src/icons/svg/SortingQuality.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SortingQualityHistory.svg b/src/icons/svg/SortingQualityHistory.svg new file mode 100644 index 0000000..3becba5 --- /dev/null +++ b/src/icons/svg/SortingQualityHistory.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SortingStatistics.svg b/src/icons/svg/SortingStatistics.svg new file mode 100644 index 0000000..4a82d8a --- /dev/null +++ b/src/icons/svg/SortingStatistics.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SortingTvSearch.svg b/src/icons/svg/SortingTvSearch.svg new file mode 100644 index 0000000..274324c --- /dev/null +++ b/src/icons/svg/SortingTvSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/Sortingyield.svg b/src/icons/svg/Sortingyield.svg new file mode 100644 index 0000000..d2935cc --- /dev/null +++ b/src/icons/svg/Sortingyield.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SteelDemand.svg b/src/icons/svg/SteelDemand.svg new file mode 100644 index 0000000..cf87e96 --- /dev/null +++ b/src/icons/svg/SteelDemand.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SummaryLostWorkingHours.svg b/src/icons/svg/SummaryLostWorkingHours.svg new file mode 100644 index 0000000..54806c2 --- /dev/null +++ b/src/icons/svg/SummaryLostWorkingHours.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SystemMaintenance.svg b/src/icons/svg/SystemMaintenance.svg new file mode 100644 index 0000000..2619085 --- /dev/null +++ b/src/icons/svg/SystemMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SystemRoleMaintenance.svg b/src/icons/svg/SystemRoleMaintenance.svg new file mode 100644 index 0000000..4380133 --- /dev/null +++ b/src/icons/svg/SystemRoleMaintenance.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.sfont.cn + + \ No newline at end of file diff --git a/src/icons/svg/TLBonusSummary.svg b/src/icons/svg/TLBonusSummary.svg new file mode 100644 index 0000000..6eb6b6f --- /dev/null +++ b/src/icons/svg/TLBonusSummary.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/TLScoresApproval.svg b/src/icons/svg/TLScoresApproval.svg new file mode 100644 index 0000000..df036c4 --- /dev/null +++ b/src/icons/svg/TLScoresApproval.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/TVshow.svg b/src/icons/svg/TVshow.svg new file mode 100644 index 0000000..1ec8d88 --- /dev/null +++ b/src/icons/svg/TVshow.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/TimeFreezeSetUp.svg b/src/icons/svg/TimeFreezeSetUp.svg new file mode 100644 index 0000000..674db57 --- /dev/null +++ b/src/icons/svg/TimeFreezeSetUp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ViewFocusMaintenance.svg b/src/icons/svg/ViewFocusMaintenance.svg new file mode 100644 index 0000000..5d0a4aa --- /dev/null +++ b/src/icons/svg/ViewFocusMaintenance.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/VirtualHmi.svg b/src/icons/svg/VirtualHmi.svg new file mode 100644 index 0000000..a94cf7b --- /dev/null +++ b/src/icons/svg/VirtualHmi.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/WMSInformationSearch.svg b/src/icons/svg/WMSInformationSearch.svg new file mode 100644 index 0000000..af26157 --- /dev/null +++ b/src/icons/svg/WMSInformationSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/WarehouseMaintenance.svg b/src/icons/svg/WarehouseMaintenance.svg new file mode 100644 index 0000000..21566e5 --- /dev/null +++ b/src/icons/svg/WarehouseMaintenance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/WhiteCollarBonusInput.svg b/src/icons/svg/WhiteCollarBonusInput.svg new file mode 100644 index 0000000..8126b07 --- /dev/null +++ b/src/icons/svg/WhiteCollarBonusInput.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/WhiteCollarBonusesSummary.svg b/src/icons/svg/WhiteCollarBonusesSummary.svg new file mode 100644 index 0000000..ea24215 --- /dev/null +++ b/src/icons/svg/WhiteCollarBonusesSummary.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/WhiteCollarScoreModify.svg b/src/icons/svg/WhiteCollarScoreModify.svg new file mode 100644 index 0000000..10772ff --- /dev/null +++ b/src/icons/svg/WhiteCollarScoreModify.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/WhiteCollarScoresApproval.svg b/src/icons/svg/WhiteCollarScoresApproval.svg new file mode 100644 index 0000000..6f2f4d4 --- /dev/null +++ b/src/icons/svg/WhiteCollarScoresApproval.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/huang.svg b/src/icons/svg/huang.svg new file mode 100644 index 0000000..cafab4a --- /dev/null +++ b/src/icons/svg/huang.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/icons/svg/ku.svg b/src/icons/svg/ku.svg new file mode 100644 index 0000000..f8fbbd8 --- /dev/null +++ b/src/icons/svg/ku.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/readPLC.svg b/src/icons/svg/readPLC.svg new file mode 100644 index 0000000..4f3defc --- /dev/null +++ b/src/icons/svg/readPLC.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/scanErr.svg b/src/icons/svg/scanErr.svg new file mode 100644 index 0000000..8f49e80 --- /dev/null +++ b/src/icons/svg/scanErr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/writePLC.svg b/src/icons/svg/writePLC.svg new file mode 100644 index 0000000..97b2554 --- /dev/null +++ b/src/icons/svg/writePLC.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/xiao.svg b/src/icons/svg/xiao.svg new file mode 100644 index 0000000..1b314fd --- /dev/null +++ b/src/icons/svg/xiao.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/鐪嬫澘_board.svg b/src/icons/svg/鐪嬫澘_board.svg new file mode 100644 index 0000000..9ab8541 --- /dev/null +++ b/src/icons/svg/鐪嬫澘_board.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/绱㈠紩绠$悊.svg b/src/icons/svg/绱㈠紩绠$悊.svg new file mode 100644 index 0000000..bd0dde0 --- /dev/null +++ b/src/icons/svg/绱㈠紩绠$悊.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main.js b/src/main.js index a78618c..b2b678a 100644 --- a/src/main.js +++ b/src/main.js @@ -1,49 +1,53 @@ import Vue from 'vue' - import 'normalize.css/normalize.css' // A modern alternative to CSS resets - import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' - import '@/styles/index.scss' // global css -import '@/icon/iconfont.css' - import App from './App' import router from './router' import store from './store' -import echarts from 'echarts' import '@/icons' // icon import '@/permission' // permission control import curd from '@/utils/curd' import time from 'time-formater' - -import htmlToPdf from '@/vendor/htmlToPdf' import Viewer from 'v-viewer' import 'viewerjs/dist/viewer.css' -// import VueBarcode from '@xkeshi/vue-barcode' -import Direction from 'vue-direction-key' -import elDragDialog from '@/directive/el-dragDialog' // 鍏ㄥ眬鏁板瓧銆侀噾棰濊緭鍏ユ缁勪欢 import directive from './components/AmountInputBox/index.js' +import vdr from 'vue-draggable-resizable-gorkys' +import 'vue-draggable-resizable-gorkys/dist/VueDraggableResizable.css' +import fullscreen from 'vue-fullscreen' +import CryptoJS from 'crypto-js'; + +Vue.prototype.$CryptoJS = CryptoJS; +Vue.component('vdr', vdr) Vue.use(directive) -import axios from 'axios' // 寮曞叆axios -Vue.prototype.$axios = axios // 淇敼鍘熷瀷閾 +Vue.use(fullscreen) -// axios.defaults.withCredentials = true - -Vue.use(elDragDialog) -// Vue.component('barcode', VueBarcode) -Vue.use(Direction) -Vue.use(curd) -Vue.use(htmlToPdf) -Vue.use(ElementUI) -// 鍏抽棴鐐瑰脊绐楀懆鍥村叧闂姛鑳 -- 20200218 +// 鍏抽棴鐐瑰脊绐楀懆鍥村叧闂姛鑳 ElementUI.Dialog.props.closeOnClickModal.default = false +Vue.use(curd) +Vue.use(ElementUI) // 鏌ョ湅鍥剧墖 Vue.use(Viewer) Viewer.setDefaults({ - Options: { 'inline': true, 'button': true, 'navbar': true, 'title': true, 'toolbar': true, 'tooltip': true, 'movable': true, 'zoomable': true, 'rotatable': true, 'scalable': true, 'transition': true, 'fullscreen': true, 'keyboard': true, 'url': 'data-source' } + Options: { + 'inline': true, + 'button': true, + 'navbar': true, + 'title': true, + 'toolbar': true, + 'tooltip': true, + 'movable': true, + 'zoomable': true, + 'rotatable': true, + 'scalable': true, + 'transition': true, + 'fullscreen': true, + 'keyboard': true, + 'url': 'data-source' + } }) // 澶勭悊鏃堕棿瀛楃涓叉牸寮忓叏灞杩囨护鍣 '2018/1/23 00:00:00' to '2018-01-23' @@ -55,7 +59,6 @@ Vue.filter('formatTime', function(value) { result = result.indexOf('1900-01-01') > -1 ? '' : result return result }) -Vue.prototype.$echarts = echarts Vue.config.productionTip = false new Vue({ @@ -64,81 +67,3 @@ new Vue({ store, render: h => h(App) }) - -import request from '@/utils/request' -export function ExecDatabase(num) { - return request({ - url: '', - method: 'post', - data: num - }) -} -// end---> - -// 鍝堝笇琛 -export function HashTable() { - let size = 0 - // eslint-disable-next-line no-new-object - let entry = new Object() - this.add = function(key, value) { - if (!this.containsKey(key)) { - size++ - } - entry[key] = value - } - this.getValue = function(key) { - return this.containsKey(key) ? entry[key] : null - } - this.remove = function(key) { - if (this.containsKey(key) && (delete entry[key])) { - size-- - } - } - this.containsKey = function(key) { - return (key in entry) - } - this.containsValue = function(value) { - for (const prop in entry) { - if (entry[prop] === value) { - return true - } - } - return false - } - this.getValues = function() { - // eslint-disable-next-line no-array-constructor - const values = [] - for (const prop in entry) { - values.push(entry[prop]) - } - return values - } - // this.getKey = function(value) { - // for (const prop in entry) { - // if (entry[key]) { - // return prop - // } - // } - // } - this.getKeys = function() { - // eslint-disable-next-line no-array-constructor - const keys = new Array() - for (const prop in entry) { - keys.push(prop) - } - return keys - } - this.getSize = function() { - return size - } - this.clear = function() { - size = 0 - // eslint-disable-next-line no-new-object - entry = new Object() - } -} -import Router from 'vue-router' -const originalReplace = Router.prototype.replace -Router.prototype.replace = function replace(location) { - return originalReplace.call(this, location).catch(err => err) -} diff --git a/src/permission.js b/src/permission.js index 04361ee..9689dea 100644 --- a/src/permission.js +++ b/src/permission.js @@ -4,7 +4,8 @@ import { Message } from 'element-ui' import NProgress from 'nprogress' // progress bar import 'nprogress/nprogress.css'// progress bar style import { getToken } from '@/utils/auth' // getToken from cookie -import getRouter from './router/getRouter' +import getTreeData from './router/getTreeData' + NProgress.configure({ showSpinner: false })// NProgress Configuration // permission judge function @@ -13,25 +14,7 @@ function hasPermission(roles, permissionRoles) { if (!permissionRoles) return true return roles.some(role => permissionRoles.indexOf(role) >= 0) } -// function getRouter(data) { -// const result = [] -// for (let i = 0; i < data.length; i++) { -// const obj = { -// 'path': data[i].鐖惰矾寰, -// 'component': () => import(`@/views/layout/${data[i].鐖剁粍浠秨`), -// 'children': [ -// { -// 'path': data[i].瀛愯矾寰, -// 'name': data[i].瀛愬悕绉, -// 'component': () => import(`@/views${data[i].瀛愮粍浠秨`), -// 'meta': { 'title': data[i].鏍囬, 'icon': data[i].鍥炬爣 } -// } -// ] -// } -// result.push(obj) -// } -// return result -// } + const whiteList = ['/login', '/auth-redirect']// no redirect whitelist router.beforeEach((to, from, next) => { @@ -45,10 +28,9 @@ router.beforeEach((to, from, next) => { if (store.getters.roles.length === 0) { // 鍒ゆ柇褰撳墠鐢ㄦ埛鏄惁宸叉媺鍙栧畬user_info淇℃伅 store.dispatch('GetInfo').then(res => { // 鎷夊彇user_info const data = res.data - const asyncRouterMap = getRouter(data, 0) + const asyncRouterMap = getTreeData(data, 0) asyncRouterMap.push({ path: '*', redirect: '/404', hidden: true }) - store.dispatch('GenerateRoutes', asyncRouterMap).then(() => { - // 鏍规嵁roles鏉冮檺鐢熸垚鍙闂殑璺敱琛 + store.dispatch('GenerateRoutes', asyncRouterMap).then(() => { // 鏍规嵁roles鏉冮檺鐢熸垚鍙闂殑璺敱琛 router.addRoutes(store.getters.addRouters) // 鍔ㄦ佹坊鍔犲彲璁块棶璺敱琛 next({ ...to, replace: true }) // hack鏂规硶 纭繚addRoutes宸插畬鎴 ,set the replace: true so the navigation will not leave a history record }) @@ -63,7 +45,7 @@ router.beforeEach((to, from, next) => { if (hasPermission(store.getters.roles, to.meta.roles)) { next() } else { - next({ path: '/401', replace: true, query: { noGoBack: true }}) + next({ path: '/401', replace: true, query: { noGoBack: true } }) } // 鍙垹 鈫 } diff --git a/src/router/getTreeData.js b/src/router/getTreeData.js new file mode 100644 index 0000000..3e7c062 --- /dev/null +++ b/src/router/getTreeData.js @@ -0,0 +1,16 @@ +import menuComponentModule from './menuComponentModule' +export default function fn(data, pid) { + const result = [] + let temp + for (let i = 0; i < data.length; i++) { + if (data[i].pid === pid) { + const obj = { 'path': data[i].path, 'component': menuComponentModule(data[i].componet), 'redirect': data[i].redirect, alwaysShow: true, 'name': data[i].name, meta: { 'title': data[i].title, 'icon': data[i].icon }} + temp = fn(data, data[i].id) + if (temp.length > 0) { + obj.children = temp + } + result.push(obj) + } + } + return result +} diff --git a/src/router/index.js b/src/router/index.js index dc6d365..ae44d99 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -10,81 +10,20 @@ Vue.use(Router) import Layout from '../views/layout/Layout' /** -* hidden: true if `hidden:true` will not show in the sidebar(default is false) -* alwaysShow: true if set true, will always show the root menu, whatever its child routes length -* if not set alwaysShow, only more than one route under the children -* it will becomes nested mode, otherwise not show the root menu -* redirect: noredirect if `redirect:noredirect` will no redirect in the breadcrumb -* name:'router-name' the name is used by (must set!!!) -* meta : { + * hidden: true if `hidden:true` will not show in the sidebar(default is false) + * alwaysShow: true if set true, will always show the root menu, whatever its child routes length + * if not set alwaysShow, only more than one route under the children + * it will becomes nested mode, otherwise not show the root menu + * redirect: noredirect if `redirect:noredirect` will no redirect in the breadcrumb + * name:'router-name' the name is used by (must set!!!) + * meta : { title: 'title' the name show in submenu and breadcrumb (recommend set) icon: 'svg-name' the icon show in the sidebar, } -**/ - -const originalPush = Router.prototype.push -Router.prototype.push = function push(location, onResolve, onReject) { - if (onResolve || onReject) { return originalPush.call(this, location, onResolve, onReject) } - return originalPush.call(this, location).catch((err) => err) -} - -export const constantRouterMap = [ + **/ +export const constantRouterMap = [window.dt_Config.constantRouter].concat([ { path: '/login', component: () => import('@/views/login/index'), hidden: true }, { path: '/404', component: () => import('@/views/404'), hidden: true }, - /* { - path: '鍙鍖栦腑蹇', - component: Layout, - meta: { title: '鍙鍖栦腑蹇', icon: 'MaterialManagement' }, - children: [ - { - path: 'http://192.168.1.231:8005/#/TVF', - meta: { title: '璁惧杩愯鐩戞帶', icon: 'MaterialManagement' } - }, - { - path: 'http://192.168.1.231:8005/#/TVD', - meta: { title: '璁惧鐘舵佺洃鎺', icon: 'MaterialManagement' } - }, - { - path: 'http://192.168.1.231:8005/#/TVG', - meta: { title: '椤圭洰杩涘害鐩戞帶', icon: 'MaterialManagement' } - }, - { - path: 'http://192.168.1.231:8005/#/TVB', - meta: { title: 'ANDON', icon: 'MaterialManagement' } - }, - { - path: 'http://192.168.1.232:8010/webpage/GJLED.html', - meta: { title: 'LED灞忓箷', icon: 'MaterialManagement' } - } - ] - },*/ - /* { - path: '鍙鍖栦腑蹇', - component: Layout, - meta: { title: '鍙鍖栦腑蹇', icon: 'MaterialManagement' }, - children: [ - { - path: 'http://192.168.1.128:8066/#/TVF', - meta: { title: '璁惧杩愯鐩戞帶', icon: 'MaterialManagement' } - }, - { - path: 'http://192.168.1.128:8066/#/TVD', - meta: { title: '璁惧鐘舵佺洃鎺', icon: 'MaterialManagement' } - }, - { - path: 'http://192.168.1.128:8066/#/TVG', - meta: { title: '椤圭洰杩涘害鐩戞帶', icon: 'MaterialManagement' } - }, - { - path: 'http://192.168.1.128:8066/#/TVB', - meta: { title: 'ANDON', icon: 'MaterialManagement' } - }, - { - path: 'http://192.168.1.128:8035/webpage/GJLED.html', - meta: { title: 'LED灞忓箷', icon: 'MaterialManagement' } - } - ] - },*/ { path: '/', component: Layout, @@ -96,14 +35,11 @@ export const constantRouterMap = [ component: () => import('@/views/dashboard/index') }] } -] +]) export default new Router({ - // mode: 'history', //鍚庣鏀寔鍙紑 + // mode: 'history', // 鍚庣鏀寔鍙紑 scrollBehavior: () => ({ y: 0 }), routes: constantRouterMap }) -export const asyncRouterMap = [ - { path: '*', redirect: '/404', hidden: true } -] diff --git a/src/router/menuComponentModule.js b/src/router/menuComponentModule.js new file mode 100644 index 0000000..a6a0015 --- /dev/null +++ b/src/router/menuComponentModule.js @@ -0,0 +1,5 @@ +// export default (name) => () => import(`@/views${name}`) + +export default (view) => { // 璺敱鎳掑姞杞 + return () => Promise.resolve(require(`@/views${view}`).default) +} diff --git a/src/store/getters.js b/src/store/getters.js index 5b80a21..c386d08 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -10,6 +10,6 @@ const getters = { permission_routers: state => state.permission.routers, addRouters: state => state.permission.addRouters, id: state => state.user.id, - userId: state => state.user.userId + account: state => state.user.account } export default getters diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index faa96a7..b3b3a66 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -1,5 +1,4 @@ import { constantRouterMap } from '@/router' - const permission = { state: { routers: constantRouterMap, diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 174d2a8..01a0af9 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -8,7 +8,7 @@ const user = { name: Cookies.get('name'), roles: [], id: Cookies.get('id'), - userId: Cookies.get('userId') + account: Cookies.get('account') }, mutations: { @@ -24,8 +24,8 @@ const user = { SET_ID: (state, id) => { state.id = id }, - SET_userId: (state, userId) => { - state.userId = userId + SET_account: (state, account) => { + state.account = account } }, @@ -35,31 +35,44 @@ const user = { const username = userInfo.username.trim() return new Promise((resolve, reject) => { login(username, userInfo.password).then(response => { - const data = response.data + let data = response.data if (data.length === 0 || data.result === '0') { Message.error('璐﹀彿鎴栧瘑鐮侀敊璇紝璇烽噸鏂扮櫥褰') this.$router.push({ path: '/login' }) - } else { - setToken(data[0].瑙掕壊缂栧彿) - Cookies.set('id', data[0].浜哄憳缂栧彿, { expires: 1 }) - Cookies.set('name', data[0].濮撳悕, { expires: 1 }) - Cookies.set('userId', data[0].鑰冨嫟缂栧彿, { expires: 1 }) - Cookies.set('session_id', data[0].session_id) - commit('SET_TOKEN', data[0].瑙掕壊缂栧彿) - commit('SET_NAME', data[0].濮撳悕) - commit('SET_ID', data[0].浜哄憳缂栧彿) - commit('SET_userId', data[0].鑰冨嫟缂栧彿) - resolve() + } else if (data.length === 1) { // 鍙湁涓涓鑹 + setToken(data[0].Roles_number) + Cookies.set('id', data[0].Personnel_Number, { expires: 1 }) + Cookies.set('name', data[0].Personnel_Name, { expires: 1 }) + commit('SET_TOKEN', data[0].Roles_number) + commit('SET_NAME', data[0].Personnel_Name) + commit('SET_ID', data[0].Personnel_Number) + commit('SET_account', data[0].account, { expires: 1 }) + resolve({ data, commit }) + } else { // 澶氫釜瑙掕壊 + var res = [] + var resRole = [] + data.forEach(item => { + resRole.includes(item.Roles_Function) ? '' : (res.push(item), resRole.push(item.Roles_Function)) + }) + if (res.length === 1) { + setToken(res[0].Roles_number) + Cookies.set('id', res[0].Personnel_Number, { expires: 1 }) + Cookies.set('name', res[0].Personnel_Name, { expires: 1 }) + commit('SET_TOKEN', res[0].Roles_number) + commit('SET_NAME', res[0].Personnel_Name) + commit('SET_ID', res[0].Personnel_Number) + commit('SET_account', res[0].account, { expires: 1 }) + } + data = res + resolve({ data, commit }) } }).catch(error => { reject(error) }) }) }, - // 鑾峰彇鐢ㄦ埛淇℃伅 GetInfo({ commit, state }) { - console.log(state.token) return new Promise((resolve, reject) => { getInfo(state.token).then(response => { commit('SET_ROLES', 'admin') @@ -75,7 +88,7 @@ const user = { commit('SET_TOKEN', '') Cookies.remove('name') Cookies.remove('id') - Cookies.remove('userId') + Cookies.remove('account') removeToken() resolve() }) diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss index faf28a1..57f5590 100644 --- a/src/styles/element-ui.scss +++ b/src/styles/element-ui.scss @@ -1,4 +1,553 @@ - //to reset element-ui default css +//to reset element-ui default css +.el-upload { + input[type="file"] { + display: none !important; + } +} + +.el-upload__input { + display: none; +} + +// 鏃堕棿妗 +.el-range-editor.el-input__inner { + //padding: 0 0 0 5px;/ + //margin-top: 10px; + height: 32px; + //padding: 0px 0px; + //margin-top: 2px; + position: relative; + top: 2px; + + .el-input__icon { + margin-top: -6px; + padding: 0 0 0 5px; + font-size: 16px; + } + + .el-range-separator { + height: 120% !important; + } +} + +//element ui upload +.upload-container { + .el-upload { + width: 100%; + + .el-upload-dragger { + width: 100%; + height: 200px; + } + } +} + +.el-input__inner { + border-radius: 4px; + font-size: 14px !important; + font-family: "MiSans Regular", serif; + height: 32px; + line-height: 30px; +} + +// 婵娲昏緭鍏ユ 鎴栬呬笅鎷夋鐨勮竟妗 +.el-input.is-active .el-input__inner, .el-input__inner:focus { + border-color: #4d77d6; + font-size: 13px; +} + +.el-select .el-input.is-focus .el-input__inner { + border-color: #4d77d6; + font-size: 13px; +} + +.el-select .el-input__icon { + height: 120% !important; +} + +.el-input--suffix .el-input__inner { + font-size: 13px; +} + +.el-select .el-input__inner:focus { + border-color: #4d77d6; +} + +.el-select .el-tag { + font-size: 16px; + color: #a6a6a6; + margin: 2px 0 2px 8px; +} + +.el-card__body { + padding: 20px 10px 0px 10px !important; +} + +.el-tabs__content { + background-color: #fff !important; +} + +.el-button { + line-height: 0; + font-size: 13px; + height: 32px; + //padding-top: 9px; + padding: 8px 15px; + width: 76px; + margin-left: 10px; +} + +.el-button:focus, .el-button:hover { + color: #4d77d6 !important; + background: #e2eaf8; + border-color: #e2eaf8; +} + +.el-tabs--border-card > .el-tabs__header { + background-color: #F5F7FA; +} + +.el-button--primary { + color: #fff; + background: #4d77d6; + border-color: #4d77d6; + font-size: 13px; + //height: 38px; + //width: 100px; + //margin-top: 5px; +} + +.el-button--primary.is-disabled, .el-button--primary.is-disabled:active, .el-button--primary.is-disabled:focus, .el-button--primary.is-disabled:hover { + color: #FFF !important; + background-color: #4d77d6b3 !important; + border-color: #4d77d6b3 !important; +} + +.el-button--primary:hover { + color: #FAFAFA !important; + background: rgba(77, 119, 214, 0.84) !important; + border-color: rgba(77, 119, 214, 0.84) !important; +} + +.el-button--primary:focus { + color: #FAFAFA !important; + background: #4d77d6 !important; + border-color: #4d77d6 !important; +} + +.el-button--primary:active { + color: #FAFAFA !important; + background: #4975d9 !important; + border-color: #4975d9 !important; +} + +.el-button--success { + color: #fff; + background: #16a188; + border-color: #16a188; + font-size: 13px; + //height: 38px; + //width: 100px; +} + +.el-button--success.is-disabled, .el-button--success.is-disabled:active, .el-button--success.is-disabled:focus, .el-button--success.is-disabled:hover { + color: #FFF !important; + background-color: #16a188b3 !important; + border-color: #16a188b3 !important; +} + +.el-button--success:hover { + color: #FAFAFA !important; + background: #1aba9d !important; + border-color: #1aba9d !important; +} + +.el-button--success:focus { + color: #FAFAFA !important; + background: #16a188 !important; + border-color: #16a188 !important; +} + +.el-button--success:active { + color: #FAFAFA !important; + background: #138d77 !important; + border-color: #138d77 !important; +} + +.el-button--info { + color: #fff; + background: #f2a201; + border-color: #f2a201; + font-size: 13px; + height: 38px; + width: 100px; +} + +.el-button--info.is-disabled, .el-button--info.is-disabled:active, .el-button--info.is-disabled:focus, .el-button--info.is-disabled:hover { + color: #FFF !important; + background-color: #f2a201b3 !important; + border-color: #f2a201b3 !important; +} + +.el-button--info:hover { + color: #FAFAFA !important; + background: #f5b737 !important; + border-color: #f5b737 !important; +} + +.el-button--info:focus { + color: #FAFAFA !important; + background: #f2a201 !important; + border-color: #f2a201 !important; +} + +.el-button--info:active { + color: #FAFAFA !important; + background: #f6ad1a !important; + border-color: #f6ad1a !important; +} + +.el-button [class*=el-icon-] + span { + margin-left: 5px; +} + +input::-webkit-input-placeholder { + font-size: 13px; + color: #d9d9d9; +} + +input::-ms-input-placeholder { + font-size: 13px; + color: #d9d9d9; +} + +.el-pagination { + button { + height: 28px; + line-height: 28px; + width: 38px; + border-radius: 4px !important; + } + + span { + height: 28px; + line-height: 28px; + } + + .el-input__suffix { + right: 12px; + } + + .el-pagination__total { + font-size: 13px !important; + font-family: "MiSans Regular", serif; + margin-right: 12px; + height: 28px; + line-height: 28px; + } + + .el-pagination__sizes { + height: 28px; + line-height: 28px; + margin-right: 32px; + } + + .el-select { + .el-input { + width: 136px; + margin: 0; + + .el-input__inner { + border-radius: 4px; + font-size: 13px !important; + font-family: "MiSans Regular", serif; + height: 28px; + line-height: 28px; + } + } + + .el-input__icon { + height: 100% !important; + } + + } + + .el-pager li { + height: 28px; + width: 38px; + line-height: 28px; + border-radius: 4px !important; + //background-color: #4d77d6 !important; + } + + //.el-pagination.is-background .el-pager li:not(.disabled){ + // background-color: #3E3E45 !important; + // color: #fff !important; + //} + //.el-pagination.is-background .el-pager li:not(.disabled).active { + // background-color: #FFBB46 !important; + // color: #fff !important; + //} + //.el-pager li.active+li { + // background-color: #f5f5f5 !important; + //} + //.el-pagination.is-background .el-pager li:not(.disabled).active { + // background-color: #4d77d6 !important; + //} + //.el-pagination.is-background .el-pager li:not(.disabled):hover { + // color: #4d77d6; + //} + //.el-pagination.is-background .el-pager li:not(.disabled).active { + //background-color: #FD7A3A; // 杩涜淇敼鑳屾櫙鍜屽瓧浣 + // color: #fff; + //} + //::v-deep { + // .el-pagination.is-background .el-pager li:not(.disabled) { + // background-color: #f5f5f5; // 杩涜淇敼鏈変腑鑳屾櫙鍜屽瓧浣 + // } + // .el-pagination.is-background .el-pager li:not(.disabled).active { + // background-color: #4d77d6; // 杩涜淇敼閫変腑椤硅儗鏅拰瀛椾綋 + // } + //} + + .el-pagination__jump { + font-size: 13px !important; + font-family: "MiSans Regular", serif; + margin-left: 22px; + } + + .el-pagination__editor { + border-radius: 4px !important; + font-size: 13px !important; + font-family: "MiSans Regular", serif; + padding: 0 8px; + margin: 0; + height: 28px; + width: 76px; + line-height: 28px; + } +} + +.el-pagination button, .el-pagination span:not([class*=suffix]) { + height: 28px; + line-height: 28px; +} + +.el-pagination__editor.el-input .el-input__inner { + //width: 60px; + height: 28px; +} + +.el-select-dropdown__item { + height: 34px; + line-height: 34px; + font-size: 13px; + font-family: "MiSans Regular", serif; +} + +.el-select-dropdown__item.selected { + color: #4d77d6 !important; +} + + +//鏆傛椂鎬цВ鍐砫iolag 闂 https://github.com/ElemeFE/element/issues/2461 +.el-dialog { + transform: none; + left: 0; + position: relative; + margin: 0 auto; + box-shadow: 0 0 8px 0 rgba(255, 255, 255, 0.15); + border-radius: 4px; +} + +.el-dialog__wrapper { + background-color: rgba(255, 255, 255, 0.15); +} + +.el-dialog__header { + //padding: 38px 20px 0 20px !important; + padding: 20px 20px 0 20px !important; +} + +.el-dialog__title { + font-family: "MiSans Demibold", serif; + font-size: 20px; +} + +.el-dialog--center .el-dialog__body { + padding: 8px 25px 25px 30px +} + +.el-dialog__wrapper .el-dialog__body { + padding: 20px 30px 0px 30px; +} + +.el-divider--horizontal { + margin: 0 0 29px 0; + background-color: #d9d9d9; +} + +.el-form-item__label { + font-size: 16px; + font-family: "MiSans Demibold", serif; +} + +.el-form-item.is-success .el-input__inner, .el-form-item.is-success .el-input__inner:focus, .el-form-item.is-success .el-textarea__inner, .el-form-item.is-success .el-textarea__inner:focus { + border-color: #4975d9 !important; +} + + +.el-menu-item { + font-size: 16px; +} + +.el-menu-item.is-active { + color: #5a80d8 !important; + + :before { + content: ''; + width: 4px; + height: 32px; + background-color: #354387; + border-radius: 2px; + top: 6px; + position: absolute; + left: 0; + } +} + +.el-menu-item:hover { + background-color: #e3edfe !important; + color: #5a80d8 !important; +} + +.el-menu-item, .el-submenu__title { + line-height: 42px; + height: 42px; + color: #8c8c8c !important; +} + +.el-scrollbar { + height: 100%; +} + +.el-submenu { + font-size: 16px; + + .el-menu-item { + height: 38px; + padding-left: 52px !important; + line-height: 38px; + } +} + +.el-submenu__title { + padding-left: 32px !important; + height: 38px; + font-size: 16px; + color: #262626 !important; + background-color: #F5F5F5 !important; +} + +.el-submenu__icon-arrow { + right: 34px; +} + +.el-icon-arrow-down:before { + content: '\25BC'; + color: #737797; +} + +.el-tabs__item { + width: 140px; + text-align: center; + font-size: 16px; + font-family: "MiSans Demibold", serif; + height: 40px; +} + +.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active { + color: #5a80d8; + border-right-color: #ebebeb; + border-left-color: #ebebeb; + border-top-color: #f0f3fa; + background-color: #f0f3fa; + //margin-bottom: 0; + //margin-top: 1px; +} + +.el-tabs--border-card > .el-tabs__header .el-tabs__item:not(.is-disabled):hover { + color: #5a80d8; +} + +.el-tabs--border-card > .el-tabs__header .el-tabs__item { + color: #595959; + border-bottom: 0; + margin-top: 0; +} + +.el-tabs__content { + background-color: #f0f3fa; +} + +.el-tabs__header { + height: 40px; +} + +.el-tabs--border-card { + border: 0; +} + +.el-range-editor.is-active, .el-range-editor.is-active:hover { + border-color: #5a80d8; +} + +.el-date-table td.end-date span, .el-date-table td.start-date span { + background-color: #5a80d8; +} + +.el-picker-panel__footer { + span { + //color: #5a80d8; + } + + button { + border: none !important; + } +} + +.el-date-table td.today span { + color: #5a80d8; +} + +.el-date-table td.available:hover { + color: #5a80d8; +} + +.el-time-panel__btn.confirm { + color: #5a80d8; +} + +.el-time-panel { + width: 140px; + margin: 5px 0 5px 5px; +} + + +.el-table--enable-row-hover .el-table__body tr:hover > td { + background-color: #e3edfe; +} + +.el-table__empty-text { + font-family: "MiSans Regular", serif; + font-size: 13px; +} + +.el-slider__runway { + margin: 5px 0; +} + +//to reset element-ui default css .el-upload { input[type="file"] { display: none !important; @@ -21,57 +570,67 @@ .upload-container { .el-upload { width: 100%; + .el-upload-dragger { width: 100%; height: 200px; } } } + //琛ㄥご鍏ㄥ眬鏍峰紡 - .el-table th{ - color: black;/*淇敼琛ㄦ牸澶撮儴鑳屾櫙*/ - line-height: 40px!important; - //font-family: YouYuan!important; - font-Size: 13px!important; - font-weight: 400!important; - } - .el-table__row{ - height: 36px!important; - } - .el-table__row td{ - padding: 3px 0!important; - } +.el-table th { + color: black; /*淇敼琛ㄦ牸澶撮儴鑳屾櫙*/ + //line-height: 40px !important; + //font-family: YouYuan!important; + font-Size: 13px !important; + font-weight: 400 !important; +} - .el-tree-node__content>.el-tree-node__expand-icon{ - display: none; - } - //鍗曞嚮琛ㄦ牸琛屽彉鑹 - .el-table__body tr.current-row>td{ - background-color: #d8e5f6 !important; - /* color: #f19944; */ /* 璁剧疆鏂囧瓧棰滆壊锛屽彲浠ラ夋嫨涓嶈缃 */ - } - //鑱氱劍琛ㄦ牸琛屽彉鑹 - .hover-row td{ - //background: RGB(236 245 255)!important; - background: #d8e5f6!important; +.el-table__row { + height: 36px !important; +} - } - .el-table--enable-row-hover .el-table__body tr:hover>td{ - background-color: #d8e5f6 !important; - } - //.el-table tbody tr:hover>td { background-color: RED } - //琛ㄦ牸琛岄鑹9745 - //.el-table td, .is-leaf{ - // background-color: rgb(255, 255, 255); - // color: black; - // font-weight:400 - //} - .el-table--striped .el-table__body tr.el-table__row--striped td{ - background-color: #d8dde6;/*淇敼鏂戦┈绾胯〃鏍艰儗鏅*/ - } - .el-table thead.is-group th{ - background-color: rgb(134, 172, 206); - } +.el-table__row td { + padding: 3px 0 !important; +} + +.el-tree-node__content > .el-tree-node__expand-icon { + display: none; +} + +//鍗曞嚮琛ㄦ牸琛屽彉鑹 +.el-table__body tr.current-row > td { + background-color: #d8e5f6 !important; + /* color: #f19944; */ + /* 璁剧疆鏂囧瓧棰滆壊锛屽彲浠ラ夋嫨涓嶈缃 */ +} + +//鑱氱劍琛ㄦ牸琛屽彉鑹 +.hover-row td { + //background: RGB(236 245 255)!important; + background: #d8e5f6 !important; + +} + +.el-table--enable-row-hover .el-table__body tr:hover > td { + background-color: #d8e5f6 !important; +} + +//.el-table tbody tr:hover>td { background-color: RED } +//琛ㄦ牸琛岄鑹9745 +//.el-table td, .is-leaf{ +// background-color: rgb(255, 255, 255); +// color: black; +// font-weight:400 +//} +.el-table--striped .el-table__body tr.el-table__row--striped td { + background-color: #ebebeb !important; /*淇敼鏂戦┈绾胯〃鏍艰儗鏅*/ +} + +.el-table thead.is-group th { + background-color: rgb(98, 157, 209); +} /* .el-textarea__inner, .el-radio__inner, diff --git a/src/styles/index.scss b/src/styles/index.scss index 5498cb6..b9bce3c 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -3,13 +3,14 @@ @import './transition.scss'; @import './element-ui.scss'; @import './sidebar.scss'; +@import "../assets/font/Misans.css"; body { height: 100%; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; - font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; + font-family: "MiSans Regular", serif; } label { @@ -21,10 +22,12 @@ html { box-sizing: border-box; } -#app{ +#app { height: 100%; - .sidebar-container{ - background-color: white; + + .sidebar-container { + z-index: 9999; + background-color: #2e296a; } } @@ -43,9 +46,9 @@ a:hover { text-decoration: none; } -div:focus{ +div:focus { outline: none; - } +} a:focus, a:active { @@ -71,290 +74,36 @@ a:hover { } } -//main-container鍏ㄥ眬鏍峰紡 -.app-main{ - min-height: 100% +.show-text { + font-family: "MiSans Regular", serif; + //margin-right: 5px; + font-size: 13px; + color: #595959; } -.el-card{ - margin: 5px; +.confirm-confirm-button { + width: 80px; + height: 40px +} + +.confirm-cancel-button { + width: 80px; + height: 40px +} + +//main-container鍏ㄥ眬鏍峰紡 +.app-main { + min-height: 100%; + //min-width: 1220px; + min-width: 100%; } .app-container { - padding: 20px; + //padding: 20px; + //background-color: #ebf1ee; } -.navbar{ - background-color: #fff!important; +.navbar { + //min-width: 1220px; + //max-width: 1808px; } -.submenu-title-noDropdown{ - background-color: #383e4b!important; - color: #cccccc!important; -} -.el-menu-item.is-active{ - color:#1576e8!important; -} -el-form-item__content{ - background-color: #383e4b!important; -} -.el-menu-item:hover{ - background-color: #cecdcd !important; -} -.el-menu-item, .el-submenu__title{ - padding-left: 38px !important; - line-height: 42px; - height: 42px; - //background-color: #2e296a!important; -} -.el-scrollbar{ - height: 100%; -} - -.el-submenu__title{ - //background-color: #2e296a!important; -} -.el-card__body{ - padding: 0 10px 0 10px !important; - margin: 5px !important; -} -.app-container{ - padding: 0px; -} -.el-pagination{ - padding: 0px; -} -el-card{ - padding: 5px; - margin: 0px; -} -.el-table__row{ - height: 5px; - padding: 0px; -} -.el-table--mini td, .el-table--mini th { - padding: 0px 0; -} -//.el-table .el-button{ -// font-size: 17px; -//} -.el-tabs__header { - padding: 0; - position: relative; - margin: 0px; -} -.el-table{ - margin: 3px 0px; -} -.el-table td.gutter,.el-table th.gutter{ - width: 15px; - border-right-width: 0; - border-bottom-width: 0; - padding: 0; - background: white; -} -.block{ - margin-bottom: 3px; -} -.el-button--baocun{ - background: #67C23A; - border-color: #67C23A; - color: white; - &:hover{ - background: #67C23A; - border-color: #67C23A; - color: white; - } - &:focus{ - background: #67C23A; - border-color: #67C23A; - color: white; - } -} -.el-button--baocun.is-disabled{ - background: LightGreen; - border-color: LightGreen; - color: white; - &:hover{ - background: LightGreen; - border-color: LightGreen; - color: white; - } - &:focus{ - background: LightGreen; - border-color: LightGreen; - color: white; - } -} -//鐧诲綍椤祃ogin杈撳叆妗嗕笂涓叉墍浠ュ睆钄 -.el-input__inner:focus { - border: 1px solid #2A71CB!important; - //height: 29px; -} -//.el-input--small .el-input__inner { -// height: 29px; -//} -.el-breadcrumb__separator { - color: #fff; -} -.el-table td, .el-table th { - padding: 0; -} -.el-table--striped .el-table__body tr.el-table__row--striped td { - //鏂戦┈绾归鑹 - background-color: rgb(235,235,235); -} -.el-card__header { - //card鐧芥潯瀹藉害 - padding: 5px 5px; -} -.subTableHeader { - th { - background: #8ff4ea !important; - color: black; - } - //tr.el-table__row td { - // background-color: #d8e5f6 !important; - //} - //tr.el-table__row.el-table__row--striped td { - // background: #e9f0f9 !important; - //} -} - -h3 { - height: 20px !important; - margin: 0px !important; -} -.el-table__footer { - height: 37px; -} -.el-table__footer-wrapper tbody td, .el-table__header-wrapper tbody td { - //background-color: rgb(126,172,237); - background-color: #e9f0f9; - font-weight:bold; - color: black; -} -//鐢熸垚 -.el-button--shengcheng{ - background: #ff9759; - border-color: #ff9759; - color: white; - &:hover{ - background: #ff9759; - border-color: #ff9759; - color: white; - } - &:focus{ - background: #ff9759; - border-color: #ff9759; - color: white; - } -} -.el-button--baocun.is-disabled{ - background: LightGreen; - border-color: LightGreen; - color: white; - &:hover{ - background: LightGreen; - border-color: LightGreen; - color: white; - } - &:focus{ - background: LightGreen; - border-color: LightGreen; - color: white; - } -} -.el-tabs--border-card>.el-tabs__content { - padding: 8px 8px 8px 8px!important; -} -input[type=number] { - -moz-appearance: textfield; -} -input[type=number]::-webkit-inner-spin-button, -input[type=number]::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} -//.el-table__header-wrapper { -// height: 25px!important; -//} -/* 璁剧疆琛ㄤ富浣撶殑楂樺害 */ -.el-table__body td,.el-table__body th{ - padding:1px!important; - height: 28px!important; -} -/* 璁剧疆琛ㄥご鐨勯珮搴 */ -.el-table__header td,.el-table__header th{ - padding:0px!important; -} - - -// 20200211 鍒樿矾鍔 鎸夐挳鏍峰紡 鏇存柊 -//鍒嗛厤鎸夐挳鏍峰紡 姗橀粍 鎮仠鍙樻贰 -.el-button--distribution{ - background:rgb(253,246,236); - border-color: #ff9759; - color: #ff9759; - &:hover{ - background: #ff9759; - border-color: #ff9759; - color: white; - } - &:focus{ - background: #ff9759; - border-color: #ff9759; - color: white; - } -} -// 20200211 鍒樿矾鍔 鎸夐挳鏍峰紡 鏇存柊 -//鎵撳洖 鎾ゅ洖 鍒犻櫎 绉婚櫎 鎸夐挳 鎸夐挳鏍峰紡 绾㈣壊 鎮仠鍙樻贰 -.el-button--repulse{ - background:rgb(253,246,236); - border-color: #F56C6C; - color: #F56C6C; - &:hover{ - background: #F56C6C; - border-color: #F56C6C; - color: white; - } - &:focus{ - background: #F56C6C; - border-color: #F56C6C; - color: white; - } -} -.el-table__body tr.current-row>td{ - background-color: #9bcaff !important; - color: white; -} -//缁熶竴鏍囧噯鍏ㄥ眬class 寮犱竵浜20200213 -.machineTool { // 鏈哄簥Select - .el-input{ - width:180px; - } -} -.el-button--mini, .el-button--small { - font-size: 13px; - border-radius: 3px; -} -.el-button--small, .el-button--small.is-round { - padding: 8px 15px; -} - span{ - font-size: 13px; - } - .menu-wrapper span { - font-size: 16px !important; - } -.el-table td, .el-table th.is-leaf,.el-table--border, .el-table--group{ - border-color: #DCDFE6!important; -} -.el-table--border::after, .el-table--group::after, .el-table::before{ - background-color: #DCDFE6!important; -} -// text 鎸夐挳绂佺敤鍚庤儗鏅鑹 20200309 -//.el-button.is-disabled.is-plain, .el-button.is-disabled.is-plain:focus, .el-button.is-disabled.is-plain:hover { -// background-color: rgba(255,255,255,0.0); -// border-color: #EBEEF5; -// color: #C0C4CC; -//} diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index 573c76d..9964f53 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -1,16 +1,16 @@ #app { // 涓讳綋鍖哄煙 .main-container { - min-width: 1360px; // div3鍥哄畾瀹藉害鍚庢柊澧 min-height: 100%; transition: margin-left .28s; - margin-left: 220px; + margin-left: 228px; position: relative; + background-color: #f0f3fa; } // 渚ц竟鏍 .sidebar-container { transition: width 0.28s; - width: 220px !important; + width: 228px !important; height: 100%; position: fixed; font-size: 0px; @@ -41,21 +41,23 @@ overflow: hidden; } .svg-icon { - margin-right: 16px; + margin-right: 8px; + //color: #bcc2ce; } .el-menu { border: none; height: 100%; - background: white!important; + background: #fafcff!important; width: 100% !important; + font-size: 16px; } } .hideSidebar { .sidebar-container { - width: 36px !important; + width: 80px !important; } .main-container { - margin-left: 36px; + margin-left: 80px; } .submenu-title-noDropdown { padding-left: 10px !important; @@ -67,7 +69,7 @@ .el-submenu { overflow: hidden; &>.el-submenu__title { - padding-left: 12px !important; + padding-left: 30px !important; .el-submenu__icon-arrow { display: none; } @@ -89,8 +91,8 @@ } .sidebar-container .nest-menu .el-submenu>.el-submenu__title, .sidebar-container .el-submenu .el-menu-item { - min-width: 200px !important; - background-color: white !important; + min-width: 228px !important; + background-color: $subMenuBg !important; &:hover { background-color: $menuHover !important; } diff --git a/src/styles/variables.scss b/src/styles/variables.scss index 2d578c4..23bf2b4 100644 --- a/src/styles/variables.scss +++ b/src/styles/variables.scss @@ -1,4 +1,4 @@ //sidebar -$menuBg:#152c7c; -$subMenuBg:rgb(29,53,149); -$menuHover: rgb(206, 205, 205); +$menuBg:#00893D; +$subMenuBg:#fafcff; +$menuHover:#e3edfe; diff --git a/src/utils/curd.js b/src/utils/curd.js index e0c97db..1ca8156 100644 --- a/src/utils/curd.js +++ b/src/utils/curd.js @@ -1,35 +1,88 @@ -import { ExcelDownLoad } from '@/utils/request' -import request from '@/utils/request' +import { type } from "./tool"; // type鍒ゆ柇浼犲叆鍊肩殑绫诲瀷锛屾瘮typeof鏇磋缁 +import { + ExcelDownLoad, + servicePlc_1, + servicePlc_2, + serviceDT_Process, + serviceDT_ProcessData +} from "@/utils/request"; +import request from "@/utils/request"; -import { type } from './tool' // type鍒ゆ柇浼犲叆鍊肩殑绫诲瀷锛屾瘮typeof鏇磋缁 export default { install(Vue) { - Vue.prototype.exportExcel_NPOI = function(param) { - console.log(param, 1) - download(`${ExcelDownLoad}?param=${param}`) - } + Vue.prototype.exportExcel_NPOI = function(param, blob) { + download(`${ExcelDownLoad}?param=${param}`, blob); + }; + // 鏂伴氳11/12---< + Vue.prototype.ExecDatabase = function(num) { + return request({ + url: "", + method: "post", + data: num + }); + }; + // 璇诲啓PLC + Vue.prototype.ExecPlc_1 = function(URL, params) { + return servicePlc_1({ + url: URL, + method: "get", + params: params + }); + }; + // 璇诲啓PLC + Vue.prototype.ExecPlc_2 = function(URL, params) { + return servicePlc_2({ + url: URL, + method: "get", + params: params + }); + }; + // 璇诲啓鏁板瓧瀛敓GET + Vue.prototype.ExecDT_Process_Get = function(URL, params) { + return serviceDT_Process({ + url: URL, + method: "get", + params: params + }); + }; + // 璇诲啓鏁板瓧瀛敓 POST + Vue.prototype.ExecDT_Process_Post = function(URL, params) { + return serviceDT_Process({ + url: URL, + method: "post", + data: params + }); + }; + // 璇诲啓鏁板瓧瀛敓 POST + Vue.prototype.ExecDT_ProcessData_Post = function(URL, params) { + return serviceDT_ProcessData({ + url: URL, + method: "post", + data: params + }); + }; // 鐢ㄤ簬鐢熸垚浼犻氳鏈嶅姟鍣ㄥ弬鏁般 // 浼犲叆鍙傛暟 - // 1锛塼ype锛11鏌ヨ锛12澧炲垹鏀癸紝蹇呴』 + // 1锛塼ype锛11鏌ヨ锛12澧炲垹鏀癸紝蹇呴』! // 2锛塶ame锛氬瓨鍌ㄨ繃绋嬪悕锛屽繀椤 // 3锛塪ata锛氬瓨鍌ㄨ繃绋嬪弬鏁板悕鍜屽搴斿硷紝渚嬪锛 - // param[0] = ['宸ヨ壓璁″垝娴佹按鍙', this.宸ヨ壓璁″垝娴佹按鍙穄 杈撳叆鍙傛暟 - // param[1] = ['PageCurrent', '1111', 'int', '1'] output鍙傛暟 + // this.param[0] = ['璁惧绫诲瀷缂栫爜', '3', 'string', '0'] + // this.param[1] = ['output', '3', 'int', '1']锛屽繀椤 // 鏁扮粍閲屽洓涓垎鍒搴旓細瀛樺偍杩囩▼鍙傛暟鍚嶏紙蹇呴』锛夛紱瀛樺偍杩囩▼鍙傛暟鍊硷紙蹇呴』锛夛紱鍙傛暟绫诲瀷锛堣嫢鏄痮utput蹇呴』锛夛紱鍙傛暟鏄惁涓簅utput锛0鍚1鏄級 // 4锛塸ageSize锛宲ageList锛氬垎椤典娇鐢紝鍙 Vue.prototype.CreateData = function(type, name, data, pageSize, pageList) { - var param_Str = '' - var param_array = [] - if (type === '7') { + var param_Str = ""; + var param_array = []; + if (type === "7") { data.map(v => { pageSize.map(h => { - const val = h.toString() + const val = h.toString(); if (!v[val]) { - this.$set(v, val, '') + this.$set(v, val, ""); } - }) - }) - param_Str = data + }); + }); + param_Str = data; } else { if (data !== undefined) { for (let i = 0; i < data.length; i++) { @@ -38,107 +91,86 @@ export default { value: data[i][1], type: data[i][2], output: data[i][3] - }) + }); } - param_Str = JSON.stringify(param_array) + param_Str = JSON.stringify(param_array); } } - var obj = [] - obj[0] = {} - obj[0].type = type - obj[0].name = name - obj[0].param = param_Str - obj[0].pageSize = pageSize - obj[0].pageList = pageList - // console.log(obj[0], 'obj[0]') - var numn = JSON.stringify(obj[0]) - return numn - } - // 鏂伴氳11/12---< - Vue.prototype.ExecDatabase = function(num) { - return request({ - url: '', - method: 'post', - data: num - }) - } - // 楂樼簿鍘烠reateData - // Vue.prototype.CreateData = function(type, name, data, pageSize, pageList) { - // var paramStr = '' - // var paramarray = [] - // if (data !== undefined) { - // for (let i = 0; i < data.length; i++) { - // paramarray.push({ - // name: data[i][0], - // value: data[i][1], - // type: data[i][2], - // output: data[i][3] - // }) - // } - // paramStr = JSON.stringify(paramarray) - // } - // var obj = [] - // obj[0] = {} - // obj[0].type = type - // obj[0].name = name - // obj[0].param = paramStr - // obj[0].pageSize = pageSize - // obj[0].pageList = pageList - // var numn = JSON.stringify(obj[0]) - // return numn - // } - + var obj = []; + obj[0] = {}; + obj[0].type = type; + obj[0].name = name; + obj[0].param = param_Str; + obj[0].pageSize = pageSize; + obj[0].pageList = pageList; + obj[0].pageList = pageList; + obj[0].UserID = this.id; + obj[0].ModularID = this.$router.currentRoute.path; + var numn = JSON.stringify(obj[0]); + return numn; + }; // 鐢ㄤ簬鎵撳紑澧炲姞妗嗭紝鏂规硶鑳介噸缃〃鍗曪紝骞朵娇琛ㄥ崟鍐呭鍥炲埌鍒濆鍖栫姸鎬併 // 浼犲叆鍙傛暟 // 1锛夎〃鍗曞悕绉帮紝瀛楃涓插舰寮忓'form'锛屽繀椤 // 2) 鎵撳紑琛ㄥ崟鍚庨渶瑕佸仛浠涔堬紝鍙互浼犳暟缁刐this.dialogvisiale = false锛 fetchData],涔熷彲浠ヤ紶鍥炶皟鍑芥暟function() { this.dialogvisiale = false } 鍙 Vue.prototype.addForm = function(form, callback) { - if (type(form) === 'string') { - if (this.$refs[form]) { // 鍒ゆ柇鏄惁闇瑕侀噸缃〃鍗曪紝濡傛灉闇瑕侀噸缃〃鍗 - this.$refs[form].resetFields() + if (type(form) === "string") { + if (this.$refs[form]) { + // 鍒ゆ柇鏄惁闇瑕侀噸缃〃鍗曪紝濡傛灉闇瑕侀噸缃〃鍗 + this.$refs[form].resetFields(); } - if (type(callback) === 'array') { // 鍒ゆ柇浼犲叆鏄惁涓烘暟缁勶紝濡傛灉鏄亶鍘嗘暟缁勶紝閬囧埌鍑芥暟灏嗗嚱鏁颁綋鍙樻垚鍑芥暟鎵ц锛屽叾浣欐甯告墽琛 + if (type(callback) === "array") { + // 鍒ゆ柇浼犲叆鏄惁涓烘暟缁勶紝濡傛灉鏄亶鍘嗘暟缁勶紝閬囧埌鍑芥暟灏嗗嚱鏁颁綋鍙樻垚鍑芥暟鎵ц锛屽叾浣欐甯告墽琛 if (callback && callback.length !== 0) { for (let i = 0, len = callback.length; i < len; i++) { - typeof callback[i] === 'function' ? callback[i]() : callback[i] + typeof callback[i] === "function" ? callback[i]() : callback[i]; } } - } else if (type(callback) === 'function') { // 鍒ゆ柇浼犲叆鏄惁涓哄洖璋冨嚱鏁 - callback.call(this) // 鍥炶皟鍑芥暟鎵ц锛岄渶灏唗his鏀逛负璇ョ粍浠 + } else if (type(callback) === "function") { + // 鍒ゆ柇浼犲叆鏄惁涓哄洖璋冨嚱鏁 + callback.call(this); // 鍥炶皟鍑芥暟鎵ц锛岄渶灏唗his鏀逛负璇ョ粍浠 } - this[form] = Object.assign(this.$data[form], this.$options.data()[form]) // 灏嗚〃鍗曚腑鐨勬暟鎹彉涓哄垵濮嬬姸鎬併傚叾涓,this.$options.data鏄墍鏈夊垵濮嬪寲鐨勬暟鎹紝this.$data鏄洰鍓嶇殑鏁版嵁 + this[form] = Object.assign( + this.$data[form], + this.$options.data()[form] + ); // 灏嗚〃鍗曚腑鐨勬暟鎹彉涓哄垵濮嬬姸鎬併傚叾涓,this.$options.data鏄墍鏈夊垵濮嬪寲鐨勬暟鎹紝this.$data鏄洰鍓嶇殑鏁版嵁 } else { - console.error('浼犲叆鍙傛暟閿欒') + console.error("浼犲叆鍙傛暟閿欒"); } - } + }; // 鐢ㄤ簬鎵撳紑缂栬緫妗嗭紝鏂规硶鑳借嚜鍔ㄤ紶鍏ヨ鐨勬暟鎹埌瀵瑰簲鐨勮〃鍗曚腑,骞跺皢琛ㄥ崟涓墍鏈夌函鏁板瓧杞垚int銆傚墠鎻愭槸琛岀殑鍚嶇О闇璺熻〃鍗曞悕绉颁竴鏍枫 // 浼犲叆鍙傛暟 // 1) 缂栬緫杩欎竴琛岀殑row // 2锛夎〃鍗曞悕绉帮紝瀛楃涓插舰寮忓'form' // 3) 鎵撳紑缂栬緫闇瑕佸仛浠涔堬紝鍚屾牱鏄痆] 鍜 function Vue.prototype.editForm = function(row, form, callback) { - if (type(row) === 'object' && type(form) === 'string') { - if (this.$refs[form]) { // 鍒ゆ柇鏄惁闇瑕侀噸缃〃鍗 - this.$refs[form].resetFields() + if (type(row) === "object" && type(form) === "string") { + if (this.$refs[form]) { + // 鍒ゆ柇鏄惁闇瑕侀噸缃〃鍗 + this.$refs[form].resetFields(); } - const isNum = /^[0-9]+$/ // 姝e垯琛ㄨ揪寮忥紝鏄惁鍏ㄩ兘涓虹函鏁板瓧 - for (const prop in this[form]) { // 閬嶅巻琛ㄥ崟锛屽綋琛ㄥ崟鍜宺ow涓睘鎬у悕涓鏍锋椂锛岃〃鍗時ow涓殑灞炴ц祴鍊肩粰form - isNum.lastIndex = 0 // 姝e垯姣忎竴娆″尮閰嶅悗鐨勭储寮曞綊0锛屽惁鍒欏惊鐜細閫犳垚闂 - isNum.exec(row[prop]) ? this[form][prop] = parseInt(row[prop]) : this[form][prop] = row[prop] // 閫氳繃姝e垯鍖归厤鏁板瓧锛屽綋鍖归厤鎴愬姛鍚庯紝灏嗗瓧绗︿覆杞负int銆傚綋鐒朵綘涔熶笉鐢ㄦ媴蹇冪┖杞垚NaN,鍥犱负''鍖归厤閫氫笉杩囷紒 + const isNum = /^[0-9]+$/; // 姝e垯琛ㄨ揪寮忥紝鏄惁鍏ㄩ兘涓虹函鏁板瓧 + for (const prop in this[form]) { + // 閬嶅巻琛ㄥ崟锛屽綋琛ㄥ崟鍜宺ow涓睘鎬у悕涓鏍锋椂锛岃〃鍗時ow涓殑灞炴ц祴鍊肩粰form + isNum.lastIndex = 0; // 姝e垯姣忎竴娆″尮閰嶅悗鐨勭储寮曞綊0锛屽惁鍒欏惊鐜細閫犳垚闂 + isNum.exec(row[prop]) + ? (this[form][prop] = parseInt(row[prop])) + : (this[form][prop] = row[prop]); // 閫氳繃姝e垯鍖归厤鏁板瓧锛屽綋鍖归厤鎴愬姛鍚庯紝灏嗗瓧绗︿覆杞负int銆傚綋鐒朵綘涔熶笉鐢ㄦ媴蹇冪┖杞垚NaN,鍥犱负''鍖归厤閫氫笉杩囷紒 } - if (type(callback) === 'array') { // 杩欓儴鍒嗗鐞嗕笌鎵撳紑琛ㄥ崟鐩稿悓 + if (type(callback) === "array") { + // 杩欓儴鍒嗗鐞嗕笌鎵撳紑琛ㄥ崟鐩稿悓 if (callback && callback.length !== 0) { for (let i = 0, len = callback.length; i < len; i++) { - typeof callback[i] === 'function' ? callback[i]() : callback[i] + typeof callback[i] === "function" ? callback[i]() : callback[i]; } } - } else if (type(callback) === 'function') { - callback.call(this) + } else if (type(callback) === "function") { + callback.call(this); } } else { - console.error('浼犲叆鍙傛暟閿欒') + console.error("浼犲叆鍙傛暟閿欒"); } - } + }; // 鐢ㄤ簬鑾峰彇涓嬫媺妗嗕腑鐨勬暟鎹 // 浼犲叆鍙傛暟 // 1锛夎姹傛暟鎹嚱鏁板紩鐢ㄥgetXXX锛屽繀椤 @@ -146,102 +178,113 @@ export default { // 3锛夐渶瑕佺敤鍝釜鏁扮粍鎺ユ敹杩欎釜缁撴灉锛屽瓧绗︿覆褰㈠紡銆傚鍦ㄧ粍浠朵篃闇瑕佺敤this.select,浼犲叆鍊煎氨涓'select'锛屽繀椤 // 4) 璇锋眰鍑芥暟浼犲叆鐨勫弬鏁帮紝鍙 Vue.prototype.getSelect = function(requestData, select, carrier, param) { - if (type(requestData) === 'function' && type(select) === 'array' && type(carrier) === 'string') { - if (type(param) === 'array') { - requestData(...param).then(response => { // 杩欎釜鏂规硶娌′粈涔堥毦搴︼紝涓嶆敞閲婁簡 - this[carrier] = [] + if ( + type(requestData) === "function" && + type(select) === "array" && + type(carrier) === "string" + ) { + if (type(param) === "array") { + requestData(...param).then(response => { + // 杩欎釜鏂规硶娌′粈涔堥毦搴︼紝涓嶆敞閲婁簡 + this[carrier] = []; for (let i = 0, len = response.data.length; i < len; i++) { if (select.length === 2) { this[carrier].push({ label: response.data[i][select[0]], value: response.data[i][select[1]] - }) + }); } else { this[carrier].push({ value: response.data[i][select[0]] - }) + }); } } - }) + }); } else { - requestData(param).then(response => { // 杩欎釜鏂规硶娌′粈涔堥毦搴︼紝涓嶆敞閲婁簡 - this[carrier] = [] + requestData(param).then(response => { + // 杩欎釜鏂规硶娌′粈涔堥毦搴︼紝涓嶆敞閲婁簡 + this[carrier] = []; for (let i = 0, len = response.data.length; i < len; i++) { if (select.length === 2) { this[carrier].push({ label: response.data[i][select[0]], value: response.data[i][select[1]] - }) + }); } else { this[carrier].push({ value: response.data[i][select[0]] - }) + }); } } - }) + }); } } else { - console.error('鍙傛暟浼犻掗敊璇') + console.error("鍙傛暟浼犻掗敊璇"); } - } + }; // 鏅氳幏鍙栨暟鎹 // 浼犲叆鍙傛暟 // 1) 璇锋眰鏁版嵁鍑芥暟寮曠敤濡俫etXXX锛屽繀椤 // 2) 闇瑕佺敤鍝釜鏁扮粍鎺ユ敹杩欎釜缁撴灉锛屽瓧绗︿覆褰㈠紡銆傚鍦ㄧ粍浠朵篃闇瑕佺敤this.select,浼犲叆鍊煎氨涓'select'锛屽繀椤 // 3) 璇锋眰鍑芥暟浼犲叆鐨勫弬鏁帮紝鍙 Vue.prototype.getData = function(requestData, carrier, param) { - if (type(requestData) === 'function' && type(carrier) === 'string') { - if (type(param) === 'undefined') { + if (type(requestData) === "function" && type(carrier) === "string") { + if (type(param) === "undefined") { requestData(param).then(response => { - const data = response.data - this[carrier] = data - }) + const data = response.data; + this[carrier] = data; + }); } else { - let Param = [] - if (type(param) !== 'array') { - Param.push(param) + let Param = []; + if (type(param) !== "array") { + Param.push(param); } else { - Param = param + Param = param; } requestData(...Param).then(response => { - const data = response.data - this[carrier] = data - }) + const data = response.data; + this[carrier] = data; + }); } } else { - console.error('浼犲叆鍙傛暟閿欒') + console.error("浼犲叆鍙傛暟閿欒"); } - } + }; // 鑾峰彇琛ㄦ牸鏁版嵁,灏嗚〃鏍间腑鐨勫勾鏈堟棩鏃跺垎绉掞紝杞崲鎴愬勾鏈堟棩 // 浼犲叆鍙傛暟 // 1锛夎姹傛暟鎹嚱鏁板紩鐢ㄥgetXXX锛屽繀椤 // 2锛夎姹傜殑鍙傛暟锛屽彲閫 // 3锛夋帴鍙楀硷紝鏁扮粍锛屼竴鑸槸['table','total','loading']椤哄簭涓嶈兘鍙 Vue.prototype.getTable = function(requestData, param, e) { - requestData(...param).then(response => { - const data = response.data.rows - this[e[0]] = [] - this[e[1]] = 0 - if (data && data.length > 0) { - const isTime = /^\d{4}([-\/.])\d{1,2}\1\d{1,2}/ // 鍒ゆ柇鏄惁鏄椂闂寸殑姝e垯琛ㄨ揪寮 - for (let i = 0, len = data.length; i < len; i++) { // 寰幆寰楀埌姣忎竴鏉℃暟鎹 - for (const prop in data[i]) { // 寰幆姣忎竴鏉$殑姣忎竴椤 - isTime.lastIndex = 0 // 姝e垯姣忎竴娆℃寚閽堝浣 - if (isTime.test(data[i][prop])) { // 鍒ゆ柇鏄惁鏄椂闂达紝濡傛灉鏄垏鍓 - data[i][prop] = data[i][prop].split(' ')[0] + requestData(...param) + .then(response => { + const data = response.data.rows; + this[e[0]] = []; + this[e[1]] = 0; + if (data && data.length > 0) { + const isTime = /^\d{4}([-\/.])\d{1,2}\1\d{1,2}/; // 鍒ゆ柇鏄惁鏄椂闂寸殑姝e垯琛ㄨ揪寮 + for (let i = 0, len = data.length; i < len; i++) { + // 寰幆寰楀埌姣忎竴鏉℃暟鎹 + for (const prop in data[i]) { + // 寰幆姣忎竴鏉$殑姣忎竴椤 + isTime.lastIndex = 0; // 姝e垯姣忎竴娆℃寚閽堝浣 + if (isTime.test(data[i][prop])) { + // 鍒ゆ柇鏄惁鏄椂闂达紝濡傛灉鏄垏鍓 + data[i][prop] = data[i][prop].split(" ")[0]; + } } } + this[e[0]] = data; + this[e[1]] = parseInt(response.data.total); + } else { + this[e[0]] = []; + // console.log('鏆傛棤鏁版嵁') } - this[e[0]] = data - this[e[1]] = parseInt(response.data.total) - } else { - this[e[0]] = [] - // console.log('鏆傛棤鏁版嵁') - } - }).then(() => { - this[e[2]] = false - }) - } + }) + .then(() => { + this[e[2]] = false; + }); + }; // 娣诲姞琛ㄦ牸鏁版嵁 // 浼犲叆鍙傛暟 // 1) 璇锋眰鏁版嵁鍑芥暟寮曠敤濡俫etXXX锛屽繀椤 @@ -249,26 +292,32 @@ export default { // 3) 楠岃瘉鐨勮〃鍗曞悕绉帮紝蹇呴』 // 4) 鍥炶皟鍑芥暟锛屽繀椤 Vue.prototype.addTable = function(requestData, param, form, callback) { - if (type(callback) === 'function' && type(requestData) === 'function' && type(form) === 'string') { - console.log(this.$refs[form]) - this.$refs[form].validate((valid) => { - console.log(valid) + if ( + type(callback) === "function" && + type(requestData) === "function" && + type(form) === "string" + ) { + console.log(this.$refs[form]); + this.$refs[form].validate(valid => { + console.log(valid); if (valid) { requestData(...param).then(response => { - if (response.data[0].result === '1') { - this.$message.success('澧炲姞鎴愬姛') - callback.call(this) - } else { this.$message.error('澧炲姞澶辫触') } - }) + if (response.data[0].result === "1") { + this.$message.success("澧炲姞鎴愬姛"); + callback.call(this); + } else { + this.$message.error("澧炲姞澶辫触"); + } + }); } else { - console.error('error submit!!') - return false + console.error("error submit!!"); + return false; } - }) + }); } else { - console.error('鍙傛暟浼犻掗敊璇') + console.error("鍙傛暟浼犻掗敊璇"); } - } + }; // 缂栬緫琛ㄦ牸鏁版嵁 // 浼犲叆鍙傛暟 // 1) 璇锋眰鏁版嵁鍑芥暟寮曠敤濡俫etXXX锛屽繀椤 @@ -276,160 +325,232 @@ export default { // 3) 楠岃瘉鐨勮〃鍗曞悕绉帮紝蹇呴』 // 4) 鍥炶皟鍑芥暟锛屽繀椤 Vue.prototype.editTable = function(requestData, param, form, callback) { - if (type(callback) === 'function' && type(requestData) === 'function' && type(form) === 'string') { - this.$refs[form].validate((valid) => { + if ( + type(callback) === "function" && + type(requestData) === "function" && + type(form) === "string" + ) { + this.$refs[form].validate(valid => { if (valid) { requestData(...param).then(response => { - if (response.data[0].result === '1') { - this.$message.success('淇敼鎴愬姛') - callback.call(this) // 鍥炶皟鍑芥暟淇this鎸囧悜缁勪欢鏈韩 - } else { this.$message.error('淇敼澶辫触') } - }) + if (response.data[0].result === "1") { + this.$message.success("淇敼鎴愬姛"); + callback.call(this); // 鍥炶皟鍑芥暟淇this鎸囧悜缁勪欢鏈韩 + } else { + this.$message.error("淇敼澶辫触"); + } + }); } else { - console.error('error submit!!') - return false + console.error("error submit!!"); + return false; } - }) + }); } else { - console.error('鍙傛暟浼犻掗敊璇') + console.error("鍙傛暟浼犻掗敊璇"); } - } + }; + + Vue.prototype.WebApi_Device = function(req_cmd, param) { + return request({ + url: window.dt_Config.deviceApiAddress, + headers: { + "Content-Type": "application/json", + target_client: "DL_MES_2025_01_23_001" + }, + method: "post", + data: { + code: 1000, + req_code: guid(), + req_from: "WEB_Manage", + req_cmd: req_cmd, + req_param: param + } + }).catch(function(error) { + // 濡傛灉鎺ュ彛璋冪敤澶辫触锛屽脊鍑洪敊璇脊绐 + this.$message.error("璇诲啓PLC鏁版嵁鎺ュ彛澶辫触: " + error.message); + }); + }; + // 鍒犻櫎琛ㄦ牸鏁版嵁 // 浼犲叆鍙傛暟 // 1) 璇锋眰鏁版嵁鍑芥暟寮曠敤濡俫etXXX锛屽繀椤 // 2) id浼犲叆鍒犻櫎鏉′欢锛屽繀椤 // 3) 鍥炶皟鍑芥暟锛屽繀椤 Vue.prototype.deleteRow = function(requestData, id, callback) { - if (type(callback) === 'function' && type(requestData) === 'function') { - if (this.tableData && this.tableData.length === 1 && this.pageCurrent > 1) { // 鍒ゆ柇鍒犻櫎鐨勬槸鍚︽槸鏈鍚庝竴椤垫渶鍚庝竴琛岋紝濡傛灉鏄笖涓嶆槸绗竴椤碉紝椤垫暟鍑忎竴 - this.pageCurrent-- + if (type(callback) === "function" && type(requestData) === "function") { + if ( + this.tableData && + this.tableData.length === 1 && + this.pageCurrent > 1 + ) { + // 鍒ゆ柇鍒犻櫎鐨勬槸鍚︽槸鏈鍚庝竴椤垫渶鍚庝竴琛岋紝濡傛灉鏄笖涓嶆槸绗竴椤碉紝椤垫暟鍑忎竴 + this.pageCurrent--; } - this.$confirm('姝ゆ搷浣滃皢姘镐箙鍒犻櫎璇ヨ, 鏄惁缁х画?', '鎻愮ず', { - confirmButtonText: '纭畾', - cancelButtonText: '鍙栨秷', - type: 'warning' - }).then(() => { - requestData(id).then(response => { - if (response.data[0].result === '1') { - this.$message.success('鍒犻櫎鎴愬姛') - callback.call(this) // 鍥炶皟鍑芥暟淇this鎸囧悜缁勪欢鏈韩 - } else { this.$message.error('鏁版嵁鍗犵敤') } - }) - }).catch(() => { - this.$message({ - type: 'info', - message: '宸插彇娑堝垹闄' - }) + this.$confirm("姝ゆ搷浣滃皢姘镐箙鍒犻櫎璇ヨ, 鏄惁缁х画?", "鎻愮ず", { + confirmButtonText: "纭畾", + cancelButtonText: "鍙栨秷", + type: "warning" }) + .then(() => { + requestData(id).then(response => { + if (response.data[0].result === "1") { + this.$message.success("鍒犻櫎鎴愬姛"); + callback.call(this); // 鍥炶皟鍑芥暟淇this鎸囧悜缁勪欢鏈韩 + } else { + this.$message.error("鏁版嵁鍗犵敤"); + } + }); + }) + .catch(() => { + this.$message({ + type: "info", + message: "宸插彇娑堝垹闄" + }); + }); } else { - console.error('鍙傛暟浼犻掗敊璇') + console.error("鍙傛暟浼犻掗敊璇"); } - } + }; + // 璁剧疆瀛楁瀹藉害 Vue.prototype.setColumnWidth = function(str) { - let columnWidth = 0 - if (str === '鏃ユ湡') { - columnWidth = 90 - } else if (str === '璁㈠崟缂栧彿' || str === '棰嗘枡鍗曞彿' || str === '璋冩嫧鍗曞彿' || str === '璁㈠崟鍙' || str === '鏈哄簥鍚嶇О') { - columnWidth = 140 - } else if (str === '鍚堝悓缂栧彿' || str === '琛ヨ揣鍗曞彿') { - columnWidth = 140 - } else if (str === '浜у搧鍚嶇О' || str === '閮ㄤ欢鍚嶇О') { - columnWidth = 110 - } else if (str === '搴忓彿') { - columnWidth = 60 - } else if (str === '鍗曚綅') { - columnWidth = 60 - } else if (str === '鏁伴噺' || str === '搴撳瓨') { - columnWidth = 80 - } else if (str === '鍗曚环') { - columnWidth = 90 - } else if (str === '閲戦') { - columnWidth = 120 - } else if (str === '鐘舵' || str === '绫诲瀷' || str === '閫夊叆' || str === '閫夊嚭') { - columnWidth = 80 - } else if (str === '浠樻鏂瑰紡') { - columnWidth = 100 - } else if (str === '涔版柟' || str === '涔版柟鍚嶇О') { - columnWidth = 150 - } else if (str === '澶栧崗鍘傚' || str === '璋冨叆浠撳簱' || str === '璋冨嚭浠撳簱') { - columnWidth = 150 - } else if (str === '濮撳悕') { - columnWidth = 80 - } else if (str === '鏃ユ湡鏃堕棿') { - columnWidth = 140 - } else if (str === '宸ュ簭') { - columnWidth = 80 - } else if (str === '鐗╂枡鍚嶇О' || str === '宸ヤ欢鍚嶇О' || str === '闆朵欢鍚嶇О') { - columnWidth = 140 - } else if (str === '鍥惧彿鎴栧瀷鍙' || str === '瑙勬牸' || str === '闆朵欢鍥惧彿' || str === '鍥惧彿' || str === '鍥惧彿/鍨嬪彿') { - columnWidth = 120 - } else if (str === '鐗╂枡缂栫爜' || str === '鐗╂枡缂栧彿') { - columnWidth = 120 - } else if (str === '鏉愭枡') { - columnWidth = 80 - } else if (str === '浠撲綅' || str === '搴撲綅') { - columnWidth = 90 - } else if (str === '鍝佸悕/瑙勬牸/鍨嬪彿') { - columnWidth = 140 - } else if (str === '澶囨敞') { - columnWidth = 120 - } else if (str === '宸ュ簭鍚嶇О') { - columnWidth = 150 - } else if (str === '宸ュ簭璇存槑') { - columnWidth = 300 - } else if (str === '鍔犲伐宸ユ椂M' || str === '鍔犲伐鏃堕暱H' || str === '鍔犲伐鏃堕暱M') { - columnWidth = 90 - } else if (str === '鍔犲伐璁惧') { - columnWidth = 130 - } else if (str === '浜у搧璇︽儏' || str === '璇︽儏') { - columnWidth = 340 - } else if (str === '鏈浣庡簱瀛') { - columnWidth = 110 - } else if (str === '鏈鍒拌揣鏁' || str === '鏈鍏ュ簱' || str === '琛ヨ揣鏁') { - columnWidth = 100 + let columnWidth = 0; + if (str === "宸ヤ綅鍙") { + columnWidth = 100; + } else if (str === "璁惧") { + columnWidth = 150; + } else if (str === "瀹㈡埛") { + columnWidth = 130; + } else if (str === "date") { + columnWidth = 130; + } else if (str === "datetime") { + columnWidth = 180; + } else if (str === "鎶ヨ绫诲瀷") { + columnWidth = 130; } else { - columnWidth = 110 + columnWidth = 110; } - return columnWidth - } + return columnWidth; + }; + + Vue.prototype.WebApi_ReadDevice = async function(TagList) { + const TagIdList = []; + for (const item of TagList) { + TagIdList.push({ TagID: item.TagID }); + } + const response = await WebApi_Device("Cmd_Opc_Read", { + TagList: JSON.stringify(TagIdList) + }); + if (response.data.code == 0) { + const resData = JSON.parse(response.data.res_data.StructSerialize); + if (resData[0].Code == -1) { + this.$message.error(resData[0].Message); + } + return TagList.map(item1 => { + resData.map(item2 => { + if (item2.TagID == item1.TagID) item1.鍊 = item2.TagValue; + }); + return item1; + }); + } else { + this.$message.error(response.data.msg); + } + }; + Vue.prototype.WebApi_WriteDevice = async function(TagList) { + const response = await WebApi_Device("Cmd_Opc_Write", { + TagList: JSON.stringify(TagList) + }); + if (response.data.code == 0) { + return "OK"; + } else { + return response.data.msg; + } + }; } -} -function download(url) { - getBlob(url, function(blob, filename) { - console.log(blob, filename, 2) - saveAs(blob, filename) - }) +}; + +function WebApi_Device(req_cmd, param) { + return request({ + url: window.dt_Config.deviceApiAddress, + headers: { + "Content-Type": "application/json", + target_client: "DL_MES_2025_01_23_001" + }, + method: "post", + data: { + req_code: guid(), + req_from: "WEB_Manage", + req_cmd: req_cmd, + req_param: param + } + }).catch(function(error) { + // 濡傛灉鎺ュ彛璋冪敤澶辫触锛屽脊鍑洪敊璇脊绐 + this.$message.error("璇诲啓PLC鏁版嵁鎺ュ彛澶辫触: " + error.message); + }); } -function getBlob(url, cb) { - var xhr = new XMLHttpRequest() - xhr.open('GET', url, true) - xhr.responseType = 'blob' +function guid() { + function S4() { + return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1); + } + + return ( + S4() + + S4() + + "-" + + S4() + + "-" + + S4() + + "-" + + S4() + + "-" + + S4() + + S4() + + S4() + ); +} + +function download(url, imgblob) { + getBlob( + url, + function(blob, filename) { + saveAs(blob, filename); + }, + imgblob + ); +} + +function getBlob(url, cb, imgblob) { + var xhr = new XMLHttpRequest(); + var fromData = new FormData(); + fromData.append("base64", imgblob); + xhr.open("POST", url, true); + xhr.responseType = "blob"; xhr.onload = function() { if (xhr.status === 200) { - const name = xhr.getResponseHeader('content-disposition').split('=')[1] - var filename = decodeURIComponent(name) - cb(xhr.response, filename) + const name = xhr.getResponseHeader("content-disposition").split("=")[1]; + var filename = decodeURIComponent(name); + cb(xhr.response, filename); } - } - xhr.send() + }; + // xhr.send() + xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); + xhr.send(fromData); } function saveAs(blob, filename) { if (window.navigator.msSaveOrOpenBlob) { - navigator.msSaveBlob(blob, filename) + navigator.msSaveBlob(blob, filename); } else { - var link = document.createElement('a') - var body = document.querySelector('body') - link.href = window.URL.createObjectURL(blob) - link.download = filename + var link = document.createElement("a"); + var body = document.querySelector("body"); + link.href = window.URL.createObjectURL(blob); + link.download = filename; // fix Firefox - link.style.display = 'none' - body.appendChild(link) - link.click() - body.removeChild(link) - window.URL.revokeObjectURL(link.href) + link.style.display = "none"; + body.appendChild(link); + link.click(); + body.removeChild(link); + window.URL.revokeObjectURL(link.href); } } - diff --git a/src/utils/index.js b/src/utils/index.js index 819c4ba..e97a8be 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -68,29 +68,3 @@ export function formatTime(time, option) { ) } } - -function zeroFill(i) { - if (i >= 0 && i <= 9) { - return '0' + i - } else { - return i - } -} - -export function getNowDAY() { // 榛樿鏄剧ず浠婂ぉ -// 鑾峰彇褰撳墠鏃堕棿 - const date = new Date() - const month = zeroFill(date.getMonth() + 1) - const day = zeroFill(date.getDate()) - const time = date.getFullYear() + '-' + month + '-' + day - return time -} - -export function get90DAY() { // 3涓湀鏄剧ず浠婂ぉ - var Data = new Date() - Data.setTime(Data.getTime() - 3600 * 1000 * 24 * 90) - const month = zeroFill(Data.getMonth() + 1) - const day = zeroFill(Data.getDate()) - const time = Data.getFullYear() + '-' + month + '-' + day - return time -} diff --git a/src/utils/request.js b/src/utils/request.js index 92949ec..05db337 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -1,101 +1,50 @@ import axios from 'axios' -import Cookies from 'js-cookie' -import store from '@/store' - -const wsuri_config = `ws://192.168.1.27:61101//WebMoudule//websocket` -const name_config = `OP8888` -const name1_config = `OP1000` -const name3_config = `OP2000` -const name4_config = `OP9999` -const readFile_config = window.g.baseURL + `/webpage/file/` // invoice -const readImg_config = window.g.baseURL + `/webpage/img/` // delivery/MS/performancebond -const upload_config = window.g.baseURL + `/submit/uploadFile.ashx` // ContractInformationManagement -const upload2_config = window.g.baseURL + `/submit/upload2.ashx` // delivery -const upload3_config = window.g.baseURL + `/submit/upload3.ashx` // performancebond -const uploadInvoiceScan_config = window.g.baseURL + `/submit/uploadInvoiceScan.ashx` // invoice -const uploadInvoiceScan1_config = window.g.baseURL + `/submit/uploadInvoiceScan1.ashx` // invoice(workshop) -const download_config = window.g.baseURL + `/submit/downloadFile.ashx` // ContractInformationManagement -const uploadPerson_config = window.g.baseURL + `/submit/uploadPerson.ashx` -const uploadOP_config = window.g.baseURL + `/submit/uploadOP.ashx` -const url_config = window.g.baseURL + `/submit/MESCommonBase.ashx` // 閲囪喘浠跺叆搴撱佺绾夸欢鍏ュ簱 -const ExcelDownLoad_config = window.g.baseURL + '/submit/MESCommonBase.ashx' // 瀵煎嚭excel -const ServerIP_config = window.g.baseURL + `/webpage/file/` -const uploadFileMachine_config = window.g.baseURL + `/submit/uploadFileMachine.ashx` // 鏈哄簥鎬诲浘 鍙戝竷鏃舵敼鎴0.231 -const downloadFileMachine_config = window.g.baseURL + `/submit/downloadFileMachine.ashx` // 鏈哄簥鎬诲浘 鍙戝竷鏃舵敼鎴0.231 -const MESUploadFile_config = window.g.baseURL + `/submit/MESUploadFileParts.ashx` -const MESUploadFileProduct_config = window.g.baseURL + `/submit/MESUploadFileProduct.ashx` -const MESDownloadFile_config = window.g.baseURL + `/submit/MESDownloadFile.ashx` -const MESUploadFileProject_config = window.g.baseURL + `/submit/MESUploadFileProject.ashx` -const MESUploadFileProcess_config = window.g.baseURL + `/submit/MESUploadFileProcess.ashx` -const request_config = window.g.baseURL + `/submit/MESCommonBase.ashx` - -export const wsuri = wsuri_config -export const name = name_config -export const name1 = name1_config -export const name3 = name3_config -export const name4 = name4_config - -export const readFile = readFile_config // invoice -export const readImg = readImg_config // delivery/MS/performancebond -export const upload = upload_config // ContractInformationManagement -export const upload2 = upload2_config // delivery -export const upload3 = upload3_config // performancebond -export const uploadInvoiceScan = uploadInvoiceScan_config // invoice -export const uploadInvoiceScan1 = uploadInvoiceScan1_config // invoice(workshop) -export const download = download_config // ContractInformationManagement -export const uploadPerson = uploadPerson_config -export const uploadOP = uploadOP_config -export const url = url_config // 閲囪喘浠跺叆搴撱佺绾夸欢鍏ュ簱 -export const ExcelDownLoad = ExcelDownLoad_config // 瀵煎嚭excel -// 鎶鏈腑蹇冪▼搴忓彂甯冩椂瑕佹洿鏀逛笅闈㈡墍鏈夌殑IP鍒0娈 -export const ServerIP = ServerIP_config -export const uploadFileMachine = uploadFileMachine_config // 鏈哄簥鎬诲浘 鍙戝竷鏃舵敼鎴0.231 -export const downloadFileMachine = downloadFileMachine_config // 鏈哄簥鎬诲浘 鍙戝竷鏃舵敼鎴0.231 -export const MESUploadFile = MESUploadFile_config -export const MESUploadFileProduct = MESUploadFileProduct_config -export const MESDownloadFile = MESDownloadFile_config -export const MESUploadFileProject = MESUploadFileProject_config -export const MESUploadFileProcess = MESUploadFileProcess_config +// 鍒涘缓axios瀹炰緥 const service = axios.create({ - baseURL: request_config, - timeout: 1500000 // 璇锋眰瓒呮椂鏃堕棿 + // baseURL: `http://127.0.0.1:41185/submit/MESCommonBase`, + baseURL: window.dt_Config.serverAddress, + // baseURL: `http://124.220.32.217:8015/submit/MESCommonBase.ashx`, + // baseURL: `http://192.168.113.111:8459/submit/MESCommonBase.ashx`, + timeout: 1500000 // 璇锋眰瓒呮椂闂 default service }) -// && config.data.name !== '鑿滃崟绯荤粺妯″潡_閫氱煡淇℃伅_鏌ヨ鏁版嵁' && config.data.name !== '鑿滃崟绯荤粺妯″潡_棣栭〉淇℃伅_鏌ヨ鏁版嵁1' && config.data.name !== '鑿滃崟绯荤粺妯″潡_棣栭〉淇℃伅_鏌ヨ鏁版嵁2' -service.interceptors.request.use(config => { - if (config.data.name !== '鑿滃崟绯荤粺妯″潡_鐢ㄦ埛鍚嶅瘑鐮乢鏌ヨ鏁版嵁_new2' && config.data.name !== '鑿滃崟绯荤粺妯″潡_鑾峰彇瑙掕壊妯″潡_鏌ヨ鏁版嵁') { - const id = Cookies.get('id') - if (typeof (id) === 'undefined') { - store.dispatch('FedLogOut').then(() => { - location.reload() // 涓轰簡閲嶆柊瀹炰緥鍖杤ue-router瀵硅薄 閬垮厤bug - alert('姝よ处鍙风櫥褰曞け鏁堬紝璇烽噸鏂扮櫥褰') - }) - } - } - return config -}, error => { - Promise.reject(error) +// const ExcelDownLoad = 'http://127.0.0.1:41185/submit/MESCommonBase' // 瀵煎嚭excel +const ExcelDownLoad = window.dt_Config.serverAddress // 瀵煎嚭excel +// const ExcelDownLoad = 'http://124.220.32.217:8015/submit/MESCommonBase.ashx' // 瀵煎嚭excel +// const ExcelDownLoad = 'http://192.168.113.111:8459/submit/MESCommonBase.ashx' // 瀵煎嚭excel + +const servicePlc_1 = axios.create({ + baseURL: `http://192.168.0.1:41186/api/PLC1`, + timeout: 1500000, // 璇锋眰瓒呮椂闂 default service, + method: 'GET' +}) + +const servicePlc_2 = axios.create({ + baseURL: `http://127.0.0.1:41185/api/PLC2`, + // baseURL: `http://124.220.32.217:41181/api/PLC2`, + // baseURL: `http://192.168.113.111:41181/api/PLC2`, + timeout: 1500000, // 璇锋眰瓒呮椂闂 default service, + method: 'GET' +}) + +const serviceDT_Process = axios.create({ + baseURL: `http://127.0.0.1:41185/api/SqlCraft`, + // baseURL: `http://124.220.32.217:41181/api/SqlCraft`, + // baseURL: `http://192.168.113.111:41181/api/SqlCraft`, + timeout: 1500000, // 璇锋眰瓒呮椂闂 default service, + method: 'GET' +}) + +const serviceDT_ProcessData = axios.create({ + baseURL: window.dt_Config.serviceProcessDataAddress, + // baseURL: `http://124.220.32.217:41181/api/GetPositionData`, + // baseURL: `http://192.168.113.111:41181/api/GetPositionData`, + timeout: 1500000, // 璇锋眰瓒呮椂闂 default service, + method: 'POST' }) export default service - -// async function getSession_id() { -// const id = Cookies.get('id') -// const session_id = Cookies.get('session_id') -// const param = { -// url: url, -// method: 'post', -// data: { -// type: '1', -// name: '鑿滃崟绯荤粺妯″潡_鐢ㄦ埛sessionID_鏌ヨ鏁版嵁', -// param: '浜哄憳缂栧彿=' + id -// } -// } -// const res = await axios(param) -// if (session_id !== res.data[0].session_id) { -// return 0 -// } else { -// return 1 -// } -// } -export const action = 'http://192.168.1.178:8082/submit/MESCommonBase.ashx' +axios.defaults.headers.post['Content-Type'] = 'application/json' +export { + servicePlc_1, servicePlc_2, ExcelDownLoad, serviceDT_Process, serviceDT_ProcessData +} diff --git a/src/utils/tool.js b/src/utils/tool.js index e2e59f6..c062f93 100644 --- a/src/utils/tool.js +++ b/src/utils/tool.js @@ -41,7 +41,7 @@ function zeroFill(i) { return i } } -// 鑾峰彇褰撳墠鏃堕棿(yyyy-mm-dd hh:mm:ss) +// 鑾峰彇褰撳墠鏃堕棿 export function getNowTime() { const date = new Date() const month = zeroFill(date.getMonth() + 1) @@ -52,131 +52,24 @@ export function getNowTime() { const time = date.getFullYear() + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second return time } -export function getNowTime2() { - const date66 = new Date() - const month66 = zeroFill(date66.getMonth() + 1) - const day66 = zeroFill(date66.getDate()) - const date = date66.getFullYear() + '-' + month66 + '-' + day66 - // var date = '2019-3-31' - var arr = date.split('-') - var year = arr[0] // 鑾峰彇褰撳墠鏃ユ湡鐨勫勾浠 - var month = arr[1] // 鑾峰彇褰撳墠鏃ユ湡鐨勬湀浠 - var day = arr[2] // 鑾峰彇褰撳墠鏃ユ湡鐨勬棩 - // var days = new Date(year, month, 0) - // days = days.getDate() // 鑾峰彇褰撳墠鏃ユ湡涓湀鐨勫ぉ鏁 - var year2 = year - var month2 = parseInt(month) - 1 - if (month2 === 0) { - year2 = parseInt(year2) - 1 - month2 = 12 - } - var day2 = day - var days2 = new Date(year2, month2, 0) - days2 = days2.getDate() - if (day2 > days2) { - day2 = days2 - } - if (month2 < 10) { - month2 = '0' + month2 - } - var t2 = year2 + '-' + month2 + '-' + day2 - return t2 -} -// 鑾峰彇褰撳墠鏃堕棿(yyyy-mm-dd) -export function getNowShotTime() { +// 鑾峰彇褰撳墠鏃堕棿 +export function getNowDate() { const date = new Date() const month = zeroFill(date.getMonth() + 1) const day = zeroFill(date.getDate()) const time = date.getFullYear() + '-' + month + '-' + day return time } -// 鑾峰彇褰撳墠鏃堕棿(yyyy/mm/dd) -export function getNowShotTime1() { - const date = new Date() - const month = zeroFill(date.getMonth() + 1) - const day = zeroFill(date.getDate()) - const time = date.getFullYear() + '/' + month + '/' + day - return time -} -// 鑾峰彇褰撳墠0鏅 -export function getNowTime1() { - const date = new Date() - const month = zeroFill(date.getMonth() + 1) - const year = zeroFill(date.getFullYear()) - const day = zeroFill(date.getDate()) - let hour = zeroFill(date.getHours()) - hour = hour < 10 ? ('0' + hour) : hour - let minute = zeroFill(date.getMinutes()) - minute = minute < 10 ? ('0' + minute) : minute - let second = zeroFill(date.getSeconds()) - second = second < 10 ? ('0' + second) : second - // const hour = '00' - // const minute = '00' - // const second = '00' - const time = year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second - return time -} -export function getNowTime3(date) { - const month = zeroFill2(date.getMonth() + 1) - const day = zeroFill(date.getDate()) - return date.getFullYear() + '-' + month + '-' + day -} -function zeroFill2(i) { - if (i >= 0 && i <= 9) { - if (i === 0) { - return '01' - } else { - return '0' + i - } - } else { - return i - } -} -// 宸ユ椂缁熻涓婁釜鏈26-鏈湀25 -export function getTime26() { - const date = new Date() - const day = date.getDate() - if (day >= 25) { - var month = zeroFill(date.getMonth() + 1) - if (month === 0) { - month = 12 - const day = 26 - const time = date.getFullYear() - 1 + '-' + month + '-' + day - return time - } else { - const day = 26 - const time = date.getFullYear() + '-' + month + '-' + day - return time - } - } else { - var month2 = zeroFill(date.getMonth() + 1) - 1 - if (month2 === 0) { - month2 = 12 - const day = 26 - const time = date.getFullYear() - 1 + '-' + month2 + '-' + day - return time - } else { - const day = 26 - const time = date.getFullYear() + '-' + month2 + '-' + day - return time - } - } -} -export function getTime25() { - const date = new Date() - const day = date.getDate() - if (day >= 25) { - const month = zeroFill(date.getMonth() + 2) - const day2 = 25 - const time = date.getFullYear() + '-' + month + '-' + day2 - return time - } else { - const month = zeroFill(date.getMonth() + 1) - const day2 = 25 - const time = date.getFullYear() + '-' + month + '-' + day2 - return time - } +// 鑾峰彇n澶╁墠鐨勬椂闂 +export function getOtherData(p_count) { + var dd = new Date() + dd.setDate(dd.getDate() + p_count) // 鑾峰彇p_count澶╁悗鐨勬棩鏈 + var y = zeroFill(dd.getFullYear()) + var m = zeroFill(dd.getMonth() + 1)// 鑾峰彇褰撳墠鏈堜唤鐨勬棩鏈 + var d = zeroFill(dd.getDate()) + return y + '-' + m + '-' + d } + // 鍒ゆ柇绫诲瀷 export function type(target) { const ret = typeof (target) @@ -230,103 +123,6 @@ export function sleep(time) { }) } -export function groupBy(datas, keys) { - const list = datas || [] - const groups = [] - const result = [] - list.forEach(v => { - const key = {} - keys.forEach(k => { - key[k] = v[k] - }) - let group = groups.find(v => { - return v._key === JSON.stringify(key) - }) - if (!group) { - group = { - _key: JSON.stringify(key), - key: key - } - groups.push(group) - } - group.data1 = group.data1 || 0 - group.key.鏁伴噺 = group.data1 += v.鏁伴噺 - group.data2 = group.data2 || '' - group.key.鏈哄簥鍥惧彿_缁勫彿 = group.data2 += (v.鏈哄簥鍥惧彿 || '') + '-' + (v.缁勫彿 ? v.缁勫彿.split('缁')[0] : '') + '
' - group.data3 = group.data3 || 0 - group.key.鍚堣 = group.data3 += v.鍚堣 - }) - groups.map(v => { - result.push(v.key) - }) - return result -} -// 鍘婚櫎js娴偣鍔犳硶bug -export function numAdd(arg1, arg2) { - var r1, r2, m - try { - r1 = arg1.toString().split('.')[1].length - } catch (e) { - r1 = 0 - } - try { - r2 = arg2.toString().split('.')[1].length - } catch (e) { - r2 = 0 - } - m = Math.pow(10, Math.max(r1, r2)) - return (arg1 * m + arg2 * m) / m -} -// 鍘婚櫎js娴偣鍑忔硶bug -export function numSubtract(arg1, arg2) { - var r1, r2, m, n - try { - r1 = arg1.toString().split('.')[1].length - } catch (e) { - r1 = 0 - } - try { - r2 = arg2.toString().split('.')[1].length - } catch (e) { - r2 = 0 - } - m = Math.pow(10, Math.max(r1, r2)) - n = (r1 >= r2) ? r1 : r2 - return ((arg1 * m - arg2 * m) / m).toFixed(n) -} -// 鍘婚櫎js娴偣涔樻硶bug -export function numMultiply(arg1, arg2) { - var m = 0 - var s1 = arg1.toString() - var s2 = arg2.toString() - try { - m += s1.split('.')[1].length - } catch (e) { - console.log(e) - } - try { - m += s2.split('.')[1].length - } catch (e) { - console.log(e) - } - return Number(s1.replace('.', '')) * Number(s2.replace('.', '')) / Math.pow(10, m) -} -// 鍘婚櫎js娴偣闄ゆ硶bug -export function numDivide(arg1, arg2) { - var t1 = 0 - var t2 = 0 - var r1, r2 - try { - t1 = arg1.toString().split('.')[1].length - } catch (e) { - console.log(e) - } - try { - t2 = arg2.toString().split('.')[1].length - } catch (e) { - console.log(e) - } - r1 = Math.Number(arg1.toString().replace('.', '')) - r2 = Math.Number(arg2.toString().replace('.', '')) - return (r1 / r2) * Math.pow(10, t2 - t1) +export function VerifyNumber(value) { + return value.replace(/[^\-?\d.]/g, '').replace(/^\./g, '').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace('-', '$#$').replace(/\-/g, '').replace('$#$', '-') } diff --git a/src/views/404.vue b/src/views/404.vue index aa9adcf..3a985b7 100644 --- a/src/views/404.vue +++ b/src/views/404.vue @@ -9,7 +9,8 @@
OOPS!
-
鐗堟潈鎵鏈杩堟濈鎶
+
鐗堟潈鎵鏈杩堟濈鎶 +
{{ message }}
璇锋鏌ユ偍杈撳叆鐨勭綉鍧鏄惁姝g‘锛岃鐐瑰嚮浠ヤ笅鎸夐挳杩斿洖涓婚〉鎴栬呭彂閫侀敊璇姤鍛
杩斿洖棣栭〉 @@ -38,192 +39,216 @@ export default { diff --git a/src/views/AlarmManagement/AlarmAnalysis/index.vue b/src/views/AlarmManagement/AlarmAnalysis/index.vue new file mode 100644 index 0000000..2c78935 --- /dev/null +++ b/src/views/AlarmManagement/AlarmAnalysis/index.vue @@ -0,0 +1,335 @@ + + + diff --git a/src/views/AlarmManagement/AlarmSearch/index.vue b/src/views/AlarmManagement/AlarmSearch/index.vue new file mode 100644 index 0000000..0ce9801 --- /dev/null +++ b/src/views/AlarmManagement/AlarmSearch/index.vue @@ -0,0 +1,168 @@ + + + diff --git a/src/views/AndonSystem/equipmentAndon/index.vue b/src/views/AndonSystem/equipmentAndon/index.vue deleted file mode 100644 index b0ab8ba..0000000 --- a/src/views/AndonSystem/equipmentAndon/index.vue +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - diff --git a/src/views/AndonSystem/equipmentAndonStatistics/index.vue b/src/views/AndonSystem/equipmentAndonStatistics/index.vue deleted file mode 100644 index 000c037..0000000 --- a/src/views/AndonSystem/equipmentAndonStatistics/index.vue +++ /dev/null @@ -1,405 +0,0 @@ - - - - - - - diff --git a/src/views/AndonSystem/materialAndon/index.vue b/src/views/AndonSystem/materialAndon/index.vue deleted file mode 100644 index a1bcfb0..0000000 --- a/src/views/AndonSystem/materialAndon/index.vue +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - diff --git a/src/views/AndonSystem/materialAndonStatistics/index.vue b/src/views/AndonSystem/materialAndonStatistics/index.vue deleted file mode 100644 index 5c33269..0000000 --- a/src/views/AndonSystem/materialAndonStatistics/index.vue +++ /dev/null @@ -1,405 +0,0 @@ - - - - - - - diff --git a/src/views/AndonSystem/qualityAndon/index.vue b/src/views/AndonSystem/qualityAndon/index.vue deleted file mode 100644 index f558deb..0000000 --- a/src/views/AndonSystem/qualityAndon/index.vue +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - diff --git a/src/views/AndonSystem/qualityAndonStatistics/index.vue b/src/views/AndonSystem/qualityAndonStatistics/index.vue deleted file mode 100644 index b4f8f06..0000000 --- a/src/views/AndonSystem/qualityAndonStatistics/index.vue +++ /dev/null @@ -1,405 +0,0 @@ - - - - - - - diff --git a/src/views/BasicData/DistributionStation/index.vue b/src/views/BasicData/DistributionStation/index.vue deleted file mode 100644 index a12e37e..0000000 --- a/src/views/BasicData/DistributionStation/index.vue +++ /dev/null @@ -1,193 +0,0 @@ - - - - - diff --git a/src/views/BasicData/EquipmentCapabilitySetting/index.vue b/src/views/BasicData/EquipmentCapabilitySetting/index.vue deleted file mode 100644 index aaf9fe2..0000000 --- a/src/views/BasicData/EquipmentCapabilitySetting/index.vue +++ /dev/null @@ -1,305 +0,0 @@ - - - - - diff --git a/src/views/BasicData/FactoryCalendar/index.vue b/src/views/BasicData/FactoryCalendar/index.vue deleted file mode 100644 index 95fd58c..0000000 --- a/src/views/BasicData/FactoryCalendar/index.vue +++ /dev/null @@ -1,257 +0,0 @@ - - - - - diff --git a/src/views/BasicData/MaintenanceEquipmentPerson/index.vue b/src/views/BasicData/MaintenanceEquipmentPerson/index.vue deleted file mode 100644 index 8fa29bc..0000000 --- a/src/views/BasicData/MaintenanceEquipmentPerson/index.vue +++ /dev/null @@ -1,248 +0,0 @@ - - - - - diff --git a/src/views/BasicData/MaterialMaintenance/index.vue b/src/views/BasicData/MaterialMaintenance/index.vue deleted file mode 100644 index bae4bed..0000000 --- a/src/views/BasicData/MaterialMaintenance/index.vue +++ /dev/null @@ -1,201 +0,0 @@ - - - - - diff --git a/src/views/BasicData/PartsNumberMaintenance/index.vue b/src/views/BasicData/PartsNumberMaintenance/index.vue deleted file mode 100644 index 6b2d0b2..0000000 --- a/src/views/BasicData/PartsNumberMaintenance/index.vue +++ /dev/null @@ -1,1470 +0,0 @@ - - - - - diff --git a/src/views/BasicData/PersonnelManagement/123.vue b/src/views/BasicData/PersonnelManagement/123.vue deleted file mode 100644 index fb6decc..0000000 --- a/src/views/BasicData/PersonnelManagement/123.vue +++ /dev/null @@ -1,1245 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/BasicData/PersonnelManagement/index.vue b/src/views/BasicData/PersonnelManagement/index.vue deleted file mode 100644 index 1b9fe46..0000000 --- a/src/views/BasicData/PersonnelManagement/index.vue +++ /dev/null @@ -1,1007 +0,0 @@ - - - - - - diff --git a/src/views/BasicData/ProjectManagementDisplay/index.vue b/src/views/BasicData/ProjectManagementDisplay/index.vue deleted file mode 100644 index f7191f1..0000000 --- a/src/views/BasicData/ProjectManagementDisplay/index.vue +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - diff --git a/src/views/BasicData/ShiftManagement/index.vue b/src/views/BasicData/ShiftManagement/index.vue deleted file mode 100644 index 231a1c1..0000000 --- a/src/views/BasicData/ShiftManagement/index.vue +++ /dev/null @@ -1,369 +0,0 @@ - - - - - - diff --git a/src/views/BasicData/SystemRrolemaintenance/index.vue b/src/views/BasicData/SystemRrolemaintenance/index.vue deleted file mode 100644 index 5c93b9f..0000000 --- a/src/views/BasicData/SystemRrolemaintenance/index.vue +++ /dev/null @@ -1,206 +0,0 @@ - - - - - diff --git a/src/views/BasicData/TimeLine/index.vue b/src/views/BasicData/TimeLine/index.vue deleted file mode 100644 index 239ddc6..0000000 --- a/src/views/BasicData/TimeLine/index.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - diff --git a/src/views/BasicData/UserRightsManagement/index.vue b/src/views/BasicData/UserRightsManagement/index.vue deleted file mode 100644 index f2420b5..0000000 --- a/src/views/BasicData/UserRightsManagement/index.vue +++ /dev/null @@ -1,262 +0,0 @@ - - - - - diff --git a/src/views/BasicData/WorkshopPersonnelRoleMana/index.vue b/src/views/BasicData/WorkshopPersonnelRoleMana/index.vue deleted file mode 100644 index 36440c0..0000000 --- a/src/views/BasicData/WorkshopPersonnelRoleMana/index.vue +++ /dev/null @@ -1,385 +0,0 @@ - - - - - - diff --git a/src/views/BasicData/WorkshopProcessMaintenance/index.vue b/src/views/BasicData/WorkshopProcessMaintenance/index.vue deleted file mode 100644 index e5925bf..0000000 --- a/src/views/BasicData/WorkshopProcessMaintenance/index.vue +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - diff --git a/src/views/BasicDataMaintenance/AlarmVariableMaintenance/index.vue b/src/views/BasicDataMaintenance/AlarmVariableMaintenance/index.vue deleted file mode 100644 index 1000e52..0000000 --- a/src/views/BasicDataMaintenance/AlarmVariableMaintenance/index.vue +++ /dev/null @@ -1,358 +0,0 @@ - - - - - diff --git a/src/views/BasicDataMaintenance/BasicVariableMaintenance/UploadExcel.vue b/src/views/BasicDataMaintenance/BasicVariableMaintenance/UploadExcel.vue deleted file mode 100644 index 4284efe..0000000 --- a/src/views/BasicDataMaintenance/BasicVariableMaintenance/UploadExcel.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - diff --git a/src/views/BasicDataMaintenance/BasicVariableMaintenance/index.vue b/src/views/BasicDataMaintenance/BasicVariableMaintenance/index.vue deleted file mode 100644 index c353054..0000000 --- a/src/views/BasicDataMaintenance/BasicVariableMaintenance/index.vue +++ /dev/null @@ -1,493 +0,0 @@ - - - - - - diff --git a/src/views/BasicDataMaintenance/BasicVariableQuery/index.vue b/src/views/BasicDataMaintenance/BasicVariableQuery/index.vue deleted file mode 100644 index bd2a8c4..0000000 --- a/src/views/BasicDataMaintenance/BasicVariableQuery/index.vue +++ /dev/null @@ -1,529 +0,0 @@ - - - - - diff --git a/src/views/BasicDataMaintenance/StationInformationMaintenance/UploadExcel.vue b/src/views/BasicDataMaintenance/StationInformationMaintenance/UploadExcel.vue deleted file mode 100644 index 4284efe..0000000 --- a/src/views/BasicDataMaintenance/StationInformationMaintenance/UploadExcel.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - diff --git a/src/views/BasicDataMaintenance/StationInformationMaintenance/index.vue b/src/views/BasicDataMaintenance/StationInformationMaintenance/index.vue deleted file mode 100644 index 91be6bf..0000000 --- a/src/views/BasicDataMaintenance/StationInformationMaintenance/index.vue +++ /dev/null @@ -1,2071 +0,0 @@ - - - - - - diff --git a/src/views/BasicDataMaintenance/VariableDeviceType/index.vue b/src/views/BasicDataMaintenance/VariableDeviceType/index.vue deleted file mode 100644 index 3c07dc9..0000000 --- a/src/views/BasicDataMaintenance/VariableDeviceType/index.vue +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - diff --git a/src/views/CraftManagement/CraftAnalysis/index.vue b/src/views/CraftManagement/CraftAnalysis/index.vue new file mode 100644 index 0000000..f695488 --- /dev/null +++ b/src/views/CraftManagement/CraftAnalysis/index.vue @@ -0,0 +1,421 @@ + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/page1.vue b/src/views/CraftManagement/CraftMaintain/components/page1.vue new file mode 100644 index 0000000..eddcfe4 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/page1.vue @@ -0,0 +1,395 @@ + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/page2.vue b/src/views/CraftManagement/CraftMaintain/components/page2.vue new file mode 100644 index 0000000..b6e0985 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/page2.vue @@ -0,0 +1,520 @@ + + + + + \ No newline at end of file diff --git a/src/views/CraftManagement/CraftMaintain/components/page24.vue b/src/views/CraftManagement/CraftMaintain/components/page24.vue new file mode 100644 index 0000000..b64ee9d --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/page24.vue @@ -0,0 +1,315 @@ + + + + + + \ No newline at end of file diff --git a/src/views/CraftManagement/CraftMaintain/components/page25.vue b/src/views/CraftManagement/CraftMaintain/components/page25.vue new file mode 100644 index 0000000..c16e2a7 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/page25.vue @@ -0,0 +1,330 @@ + + + + + + \ No newline at end of file diff --git a/src/views/CraftManagement/CraftMaintain/components/page3.vue b/src/views/CraftManagement/CraftMaintain/components/page3.vue new file mode 100644 index 0000000..7bf3e4e --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/page3.vue @@ -0,0 +1,543 @@ + + + + + \ No newline at end of file diff --git a/src/views/CraftManagement/CraftMaintain/components/page4.vue b/src/views/CraftManagement/CraftMaintain/components/page4.vue new file mode 100644 index 0000000..29ca864 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/page4.vue @@ -0,0 +1,281 @@ + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/page5.vue b/src/views/CraftManagement/CraftMaintain/components/page5.vue new file mode 100644 index 0000000..9adf4b4 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/page5.vue @@ -0,0 +1,238 @@ + + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/pageFst.vue b/src/views/CraftManagement/CraftMaintain/components/pageFst.vue new file mode 100644 index 0000000..a39803d --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/pageFst.vue @@ -0,0 +1,244 @@ + + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/process/process1-1.vue b/src/views/CraftManagement/CraftMaintain/components/process/process1-1.vue new file mode 100644 index 0000000..f81f060 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/process/process1-1.vue @@ -0,0 +1,605 @@ + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/process/process1-2.vue b/src/views/CraftManagement/CraftMaintain/components/process/process1-2.vue new file mode 100644 index 0000000..35a2d59 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/process/process1-2.vue @@ -0,0 +1,443 @@ + + + + + \ No newline at end of file diff --git a/src/views/CraftManagement/CraftMaintain/components/process/process2-1.vue b/src/views/CraftManagement/CraftMaintain/components/process/process2-1.vue new file mode 100644 index 0000000..c870bca --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/process/process2-1.vue @@ -0,0 +1,562 @@ + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/process/process3-1.vue b/src/views/CraftManagement/CraftMaintain/components/process/process3-1.vue new file mode 100644 index 0000000..fc9c564 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/process/process3-1.vue @@ -0,0 +1,531 @@ + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/process/process4-1.vue b/src/views/CraftManagement/CraftMaintain/components/process/process4-1.vue new file mode 100644 index 0000000..f2e269d --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/process/process4-1.vue @@ -0,0 +1,591 @@ + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/process/process5-1.vue b/src/views/CraftManagement/CraftMaintain/components/process/process5-1.vue new file mode 100644 index 0000000..ed22fe4 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/process/process5-1.vue @@ -0,0 +1,530 @@ + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/components/process/process5-2.vue b/src/views/CraftManagement/CraftMaintain/components/process/process5-2.vue new file mode 100644 index 0000000..8363f61 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/components/process/process5-2.vue @@ -0,0 +1,429 @@ + + + + + \ No newline at end of file diff --git a/src/views/CraftManagement/CraftMaintain/craftFlow.vue b/src/views/CraftManagement/CraftMaintain/craftFlow.vue new file mode 100644 index 0000000..095a6fa --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/craftFlow.vue @@ -0,0 +1,561 @@ + + + + + diff --git a/src/views/CraftManagement/CraftMaintain/index.vue b/src/views/CraftManagement/CraftMaintain/index.vue new file mode 100644 index 0000000..d941600 --- /dev/null +++ b/src/views/CraftManagement/CraftMaintain/index.vue @@ -0,0 +1,510 @@ + + + + diff --git a/src/views/CraftManagement/CraftSearch/index.vue b/src/views/CraftManagement/CraftSearch/index.vue new file mode 100644 index 0000000..963a060 --- /dev/null +++ b/src/views/CraftManagement/CraftSearch/index.vue @@ -0,0 +1,163 @@ + + + diff --git a/src/views/DeviceManagement/DeviceAnalysis/index.vue b/src/views/DeviceManagement/DeviceAnalysis/index.vue new file mode 100644 index 0000000..daeb1b9 --- /dev/null +++ b/src/views/DeviceManagement/DeviceAnalysis/index.vue @@ -0,0 +1,320 @@ + + + diff --git a/src/views/DeviceManagement/DeviceSearch/index.vue b/src/views/DeviceManagement/DeviceSearch/index.vue new file mode 100644 index 0000000..86eae12 --- /dev/null +++ b/src/views/DeviceManagement/DeviceSearch/index.vue @@ -0,0 +1,164 @@ + + + diff --git a/src/views/EquipmentOperationAnalysis/CurrentEquipmentMaintenancePlan/index.vue b/src/views/EquipmentOperationAnalysis/CurrentEquipmentMaintenancePlan/index.vue deleted file mode 100644 index e90bd3f..0000000 --- a/src/views/EquipmentOperationAnalysis/CurrentEquipmentMaintenancePlan/index.vue +++ /dev/null @@ -1,138 +0,0 @@ - - - - diff --git a/src/views/EquipmentOperationAnalysis/EquipmentAlarmStatistics/index.vue b/src/views/EquipmentOperationAnalysis/EquipmentAlarmStatistics/index.vue deleted file mode 100644 index d047f92..0000000 --- a/src/views/EquipmentOperationAnalysis/EquipmentAlarmStatistics/index.vue +++ /dev/null @@ -1,440 +0,0 @@ - - - - - - diff --git a/src/views/EquipmentOperationAnalysis/EquipmentMaintenanceContent/index.vue b/src/views/EquipmentOperationAnalysis/EquipmentMaintenanceContent/index.vue deleted file mode 100644 index 4aad77b..0000000 --- a/src/views/EquipmentOperationAnalysis/EquipmentMaintenanceContent/index.vue +++ /dev/null @@ -1,690 +0,0 @@ - - - - - - diff --git a/src/views/EquipmentOperationAnalysis/EquipmentMaintenancePlan/index.vue b/src/views/EquipmentOperationAnalysis/EquipmentMaintenancePlan/index.vue deleted file mode 100644 index ebdd42a..0000000 --- a/src/views/EquipmentOperationAnalysis/EquipmentMaintenancePlan/index.vue +++ /dev/null @@ -1,253 +0,0 @@ - - - - - diff --git a/src/views/EquipmentOperationAnalysis/EquipmentMaintenanceRecordManagement/index.vue b/src/views/EquipmentOperationAnalysis/EquipmentMaintenanceRecordManagement/index.vue deleted file mode 100644 index 54bc60c..0000000 --- a/src/views/EquipmentOperationAnalysis/EquipmentMaintenanceRecordManagement/index.vue +++ /dev/null @@ -1,652 +0,0 @@ - - - - - - diff --git a/src/views/EquipmentOperationAnalysis/Maintenancebasicequipmentinformation/index.vue b/src/views/EquipmentOperationAnalysis/Maintenancebasicequipmentinformation/index.vue deleted file mode 100644 index 8e37937..0000000 --- a/src/views/EquipmentOperationAnalysis/Maintenancebasicequipmentinformation/index.vue +++ /dev/null @@ -1,456 +0,0 @@ - - - - - - diff --git a/src/views/EquipmentOperationAnalysis/RealTimeStatusEquipment/index.vue b/src/views/EquipmentOperationAnalysis/RealTimeStatusEquipment/index.vue deleted file mode 100644 index af2d237..0000000 --- a/src/views/EquipmentOperationAnalysis/RealTimeStatusEquipment/index.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - - diff --git a/src/views/EquipmentOperationAnalysis/RoutineCheckInformationMaintenance/index.vue b/src/views/EquipmentOperationAnalysis/RoutineCheckInformationMaintenance/index.vue deleted file mode 100644 index c2ba9c4..0000000 --- a/src/views/EquipmentOperationAnalysis/RoutineCheckInformationMaintenance/index.vue +++ /dev/null @@ -1,609 +0,0 @@ - - - - - diff --git a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/DayCheck.vue b/src/views/EquipmentOperationAnalysis/SpotCheckRecord/DayCheck.vue deleted file mode 100644 index 498dd68..0000000 --- a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/DayCheck.vue +++ /dev/null @@ -1,195 +0,0 @@ - - - - - diff --git a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/MoonCheck.vue b/src/views/EquipmentOperationAnalysis/SpotCheckRecord/MoonCheck.vue deleted file mode 100644 index be58466..0000000 --- a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/MoonCheck.vue +++ /dev/null @@ -1,199 +0,0 @@ - - - - - diff --git a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/QuarterCheck.vue b/src/views/EquipmentOperationAnalysis/SpotCheckRecord/QuarterCheck.vue deleted file mode 100644 index 3d97a6f..0000000 --- a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/QuarterCheck.vue +++ /dev/null @@ -1,199 +0,0 @@ - - - - - diff --git a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/WeekCheck.vue b/src/views/EquipmentOperationAnalysis/SpotCheckRecord/WeekCheck.vue deleted file mode 100644 index e5309a7..0000000 --- a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/WeekCheck.vue +++ /dev/null @@ -1,201 +0,0 @@ - - - - - diff --git a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/YearCheck.vue b/src/views/EquipmentOperationAnalysis/SpotCheckRecord/YearCheck.vue deleted file mode 100644 index d271415..0000000 --- a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/YearCheck.vue +++ /dev/null @@ -1,200 +0,0 @@ - - - - - diff --git a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/index.vue b/src/views/EquipmentOperationAnalysis/SpotCheckRecord/index.vue deleted file mode 100644 index 7ea4f91..0000000 --- a/src/views/EquipmentOperationAnalysis/SpotCheckRecord/index.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - - - diff --git a/src/views/ProcessManagement/AndonMaintenance/UploadExcel.vue b/src/views/ProcessManagement/AndonMaintenance/UploadExcel.vue deleted file mode 100644 index 4284efe..0000000 --- a/src/views/ProcessManagement/AndonMaintenance/UploadExcel.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - diff --git a/src/views/ProcessManagement/AndonMaintenance/index.vue b/src/views/ProcessManagement/AndonMaintenance/index.vue deleted file mode 100644 index 53e44e2..0000000 --- a/src/views/ProcessManagement/AndonMaintenance/index.vue +++ /dev/null @@ -1,629 +0,0 @@ - - - - - - diff --git a/src/views/ProcessManagement/BomEngineManagement/BomList.vue b/src/views/ProcessManagement/BomEngineManagement/BomList.vue deleted file mode 100644 index 5e7d955..0000000 --- a/src/views/ProcessManagement/BomEngineManagement/BomList.vue +++ /dev/null @@ -1,680 +0,0 @@ - - - - - - - diff --git a/src/views/ProcessManagement/BomEngineManagement/BomListCompare.vue b/src/views/ProcessManagement/BomEngineManagement/BomListCompare.vue deleted file mode 100644 index 171733c..0000000 --- a/src/views/ProcessManagement/BomEngineManagement/BomListCompare.vue +++ /dev/null @@ -1,299 +0,0 @@ - - - - - diff --git a/src/views/ProcessManagement/BomEngineManagement/index.vue b/src/views/ProcessManagement/BomEngineManagement/index.vue deleted file mode 100644 index 8b39319..0000000 --- a/src/views/ProcessManagement/BomEngineManagement/index.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - - diff --git a/src/views/ProcessManagement/InterfaceModuleMaintenance/index.vue b/src/views/ProcessManagement/InterfaceModuleMaintenance/index.vue deleted file mode 100644 index ec2f4a9..0000000 --- a/src/views/ProcessManagement/InterfaceModuleMaintenance/index.vue +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - diff --git a/src/views/ProcessManagement/LabelLanguageMaintenance/index.vue b/src/views/ProcessManagement/LabelLanguageMaintenance/index.vue deleted file mode 100644 index dcf653c..0000000 --- a/src/views/ProcessManagement/LabelLanguageMaintenance/index.vue +++ /dev/null @@ -1,374 +0,0 @@ - - - - - - diff --git a/src/views/ProcessManagement/LabelLanguageMaintenance/index2.vue b/src/views/ProcessManagement/LabelLanguageMaintenance/index2.vue deleted file mode 100644 index 8fa8454..0000000 --- a/src/views/ProcessManagement/LabelLanguageMaintenance/index2.vue +++ /dev/null @@ -1,294 +0,0 @@ -