12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- (function (exports) {
- var operation = {
- //接收包列表
- tabArr: [{
- index: 0,
- name: '接收异常'
- },
- {
- index: 1,
- name: '解析异常'
- },
- {
- index: 2,
- name: '资源化异常'
- },
- {
- index: 3,
- name: '平台上传异常'
- },
- {
- index: 4,
- name: '平台上传失败'
- },
- ],
- clicktab: function (item) {
-
-
- setTimeout(function () {
- GlobalEventBus.$emit('setLoading', {
- loading: true
- }); //触发
- switch (item.index) {
- case 0:
- window.location.href='platform-receive.html'
- break;
- case 1:
- window.location.href='parse-fail.html'
- break;
- case 2:
- window.location.href='resources-abnormal.html'
- break;
- case 3:
- window.location.href='platform-abnormal.html'
- break;
- case 4:
- window.location.href='upload-faill.html'
- break;
- }
- }, 100)
-
- },
-
- }
- window.onload=function(){
- GlobalEventBus.$emit('setLoading', {
- loading: false
- }); //触发
- }
- exports.operation = operation;
- })(window)
|