中南财经政法大学,ITSM3.0.2版本

seimin e875b1ca1f 院区的增删改查 %!s(int64=2) %!d(string=hai) anos
.vscode 55b3368751 项目初始化 %!s(int64=3) %!d(string=hai) anos
assets e875b1ca1f 院区的增删改查 %!s(int64=2) %!d(string=hai) anos
bower_components 28540c4264 巡检二期修改 %!s(int64=3) %!d(string=hai) anos
upload f6862c9bf4 华科开始-报表迁移-认证计费 %!s(int64=2) %!d(string=hai) anos
.DS_Store 55b3368751 项目初始化 %!s(int64=3) %!d(string=hai) anos
.gitignore 3ab5838a69 过滤tar文件 %!s(int64=3) %!d(string=hai) anos
README.md e064aa8ad9 更新readme %!s(int64=2) %!d(string=hai) anos
bower.json 55b3368751 项目初始化 %!s(int64=3) %!d(string=hai) anos
gulpfile.js 2611b49d32 优化 %!s(int64=2) %!d(string=hai) anos
index.html dd8a112993 优化代码 %!s(int64=2) %!d(string=hai) anos
package-lock.json 626bf85654 部署 %!s(int64=3) %!d(string=hai) anos
package.json f6862c9bf4 华科开始-报表迁移-认证计费 %!s(int64=2) %!d(string=hai) anos

README.md

中南财经政法大学ITSM-PC处理端

ITSM3.0.2版本升级

统一版本(记录数据库修改)

v1.0.1

2022年6月17日-v1.0.1

INSERT INTO `itsm_system_configurations` (`id`, `version`, `keyconfig`, `label`, `orders`, `valueconfig`) VALUES ('86', '2', 'wxBxQuestions', '微信报修常见问题链接', '39', '0');
INSERT INTO `itsm_system_configurations` (`id`, `version`, `keyconfig`, `label`, `orders`, `valueconfig`) VALUES ('87', '2', 'wxGuide', '微信报修服务指南链接', '40', '0');
INSERT INTO `itsm_system_configurations` (`id`, `version`, `keyconfig`, `label`, `orders`, `valueconfig`) VALUES ('88', '2', 'wxClQuestions', '微信处理常见问题链接', '41', '0');
INSERT INTO `itsm_system_configurations` (`id`, `version`, `keyconfig`, `label`, `orders`, `valueconfig`) VALUES ('89', '6', 'ifWorking', '是否开通上下班', '42', '0');

2022年6月22日-v1.0.1

UPDATE `itsm_ui_model` SET `ID`='134946', `VERSION`='1', `_key`='houseNumber', `hidden`='0', `MODEL`='incident', `readonly`='0', `required`='0', `STYLE`='col-xs-4', `VALIDATEPATTERN`=NULL, `VIEW`=NULL, `uiwidgetId`='2', `extjson`='{\"templateOptions\":{\"pkey\":\"incident\"}}', `LABEL`='详细地址', `LAYOUT`='18', `PLACEHOLDER`=NULL, `FORMID`='30', `module_`='2', `delete_flag`='0' WHERE (`ID`='134946');
UPDATE `itsm_ui_model` SET `ID`='134948', `VERSION`='1', `_key`='id', `hidden`='0', `MODEL`='incident', `readonly`='0', `required`='0', `STYLE`='col-xs-4', `VALIDATEPATTERN`=NULL, `VIEW`=NULL, `uiwidgetId`='4', `extjson`='{\"templateOptions\":{\"pkey\":\"incident.place\",\"valueProp\":\"id\",\"labelProp\":\"place\",\"optionsUrl\":\"data/fetchDataList/place\",\"optionsDataKey\":\"list\",\"ApiService\":\"api_user_data\",\"APIService\":\"api_user_data\",\"Restangular\":\"UserRestangular\",\"onChange\":\"(function(item,opts,ts,event,model){console.log(ts.$parent.$parent.$parent.model.incident,\'caca\');if(ts.$parent.$parent.$parent.model.incident.place!=null){opts.templateOptions.linkage(\'room\',{\'room\':{\'place\': {\'id\':item}}},ts.$parent.$parent.$parent.$parent,\'incident\',\'room\');}for(var i=0;i<opts.templateOptions.options.length;i++){if(opts.templateOptions.options[i].id== item){ts.$parent.$parent.$parent.model.incident.area.id=opts.templateOptions.options[i].place.area.id}}})\",\"refresh\":\"(function(searchVal,field,model){api_user_data. fetchDataList(\'place\',{ \'idx\': 0, \'sum\': 1000 ,\'place\':{\'areaId\': model.$parent.$parent.$parent.model.incident.area.id,\'place\': searchVal,\'selectType\':\'pinyin_qs\'}}).then(function(response) {field.templateOptions.options=response.list})})\"},\"hideExpression\":\"\'(model[\\\"isplace\\\"])\'\"}', `LABEL`='地点选择', `LAYOUT`='16', `PLACEHOLDER`=NULL, `FORMID`='30', `module_`='2', `delete_flag`='0' WHERE (`ID`='134948');
INSERT INTO `itsm_ui_model` (`ID`, `VERSION`, `_key`, `hidden`, `MODEL`, `readonly`, `required`, `STYLE`, `VALIDATEPATTERN`, `VIEW`, `uiwidgetId`, `extjson`, `LABEL`, `LAYOUT`, `PLACEHOLDER`, `FORMID`, `module_`, `delete_flag`) VALUES ('135159', '1', 'id', '0', 'incident', '0', '0', 'col-xs-4', NULL, NULL, '4', '{\"templateOptions\":{\"pkey\":\"incident.room\",\"valueProp\":\"id\",\"labelProp\":\"room\",\"optionsUrl\":\"data/fetchDataList/room\",\"optionsDataKey\":\"list\",\"ApiService\":\"api_user_data\",\"APIService\":\"api_user_data\",\"Restangular\":\"UserRestangular\",\"refresh\":\"(function(searchVal,field,model){api_user_data.fetchDataList(\'room\',{ \'idx\': 0, \'sum\': 1000 ,\'room\':{\'place\': {\'id\':model.$parent.$parent.$parent.model.incident.place.id}}}).then(function(response) {field.templateOptions.options=response.list})})\",\"onChange\":\"(function(item,opts,ts,event,model){console.log(item,opts,ts,event,model,\'房间号\',ts.$parent.$parent.$parent.model.incident.houseNumber,model.room);var obj = opts.templateOptions.options.find(v=>v.id == item);ts.$parent.$parent.$parent.model.incident.houseNumber = obj?obj.room:\'\';})\"},\"hideExpression\":\"\'!(model[\\\"isRoom\\\"])\'\"}', '房间号', '17', NULL, '30', '2', '0');

2022年6月24日-v1.0.1

INSERT INTO `itsm_system_configurations` (`id`, `version`, `keyconfig`, `label`, `orders`, `valueconfig`) VALUES ('91', '13', 'integralMechanism', '积分机制', '44', '0');
INSERT INTO `itsm_uc_role_menu` (`roleid`, `menuid`) VALUES ('1', '1339');
INSERT INTO `itsm_uc_role_menu` (`roleid`, `menuid`) VALUES ('17', '1339');
INSERT INTO `itsm_uc_menu` (`id`, `version`, `icon`, `css`, `link`, `title`, `parentId`, `orders`, `event`) VALUES ('1339', '1', 'fa-th-list', NULL, 'app.incident.integral', '积分管理', '2', '121', '1');

2022年6月29日

UPDATE `itsm_ui_model` SET `ID`='134454', `VERSION`='1', `_key`='handlerType', `hidden`='0', `MODEL`='incident', `readonly`='0', `required`='0', `STYLE`='col-xs-3 noLabel margin-top--15', `VALIDATEPATTERN`=NULL, `VIEW`='', `uiwidgetId`='16', `extjson`='{\"templateOptions\":{\"onClick\":\"(function(val, options, field, event ,model){model.msgflag=\'申请关闭\';model.handlerType =-1;model.handler_code=\'resolve\';model.submit=\'申请关闭\';return;})\"},\"hideExpression\":\"\'!(model.handlerType==0||model.handlerType==1)\'\"}', `LABEL`='取消', `LAYOUT`='32', `PLACEHOLDER`=NULL, `FORMID`='32', `module_`='4', `delete_flag`='0' WHERE (`ID`='134454');
UPDATE `itsm_ui_model` SET `ID`='3624', `VERSION`='1', `_key`='handleDescription', `hidden`='0', `MODEL`='incident', `readonly`='0', `required`='1', `STYLE`='col-xs-12', `VALIDATEPATTERN`=NULL, `VIEW`='form', `uiwidgetId`='1128', `extjson`='{\"templateOptions\":{\"pkey\":\"incident\",\"APIService\":\"api_common_incident\"},\"hideExpression\":\"\'(model.incident.category.hasSimple||(model.handlerType==0||model.handlerType==1||model.handlerType==2))\'\"}', `LABEL`='处理方案', `LAYOUT`='25', `PLACEHOLDER`='*填写字段为500字以内。', `FORMID`='32', `module_`='4', `delete_flag`='0' WHERE (`ID`='3624');

2022年6月30日

UPDATE `itsm_ui_model` SET `ID`='134790', `VERSION`='1', `_key`='handleDescription', `hidden`='0', `MODEL`='incident', `readonly`='0', `required`='1', `STYLE`='col-xs-12 bg-footer', `VALIDATEPATTERN`=NULL, `VIEW`=NULL, `uiwidgetId`='1128', `extjson`='{\"templateOptions\":{\"pkey\":\"incident\",\"APIService\":\"api_common_incident\"},\"hideExpression\":\"\'(model.isHasSimple==true)||(model.directClose==true)||(model.isRepeat==true)||(model[\\\"start_code\\\"]==\\\"notService\\\")||(model[\\\"start_code\\\"]==\\\"associationType\\\")\'\"}', `LABEL`='处理方案', `LAYOUT`='34', `PLACEHOLDER`=NULL, `FORMID`='30', `module_`='4', `delete_flag`='0' WHERE (`ID`='134790');
UPDATE `itsm_ui_model` SET `ID`='431', `VERSION`='1', `_key`='category', `hidden`='0', `MODEL`='incident', `readonly`='0', `required`='1', `STYLE`='col-xs-4', `VALIDATEPATTERN`=NULL, `VIEW`=NULL, `uiwidgetId`='14', `extjson`='{\"templateOptions\":{\"pkey\":\"incident\",\"isMultiSelect\":false,\"selLeafs\":true,\"bala\":\"(function(APIService,k){return APIService.fetchDataList(\'incidentcategory\',{\'idx\':0,\'sum\':1000,\'incidentcategory\':{\'selectType\':\'pinyin_qs\',\'category\':k}});})\",\"onChange\":\"(function(item,opts,ts,event,model){console.log(112,item);if(ts.$parent.$parent.$parent.model.incident.category!=null){opts.templateOptions.linkage(\'title\',{\'title\':{\'category\': {\'id\':item}}},ts.$parent.$parent.$parent,\'incident\',\'priority\');}})\",\"refreshData\":\"(function(APIService){return APIService.fetchDataList(\'incidentcategory\',{\'idx\':0,\'sum\':1000});})\",\"APIService\":\"api_bpm_data\",\"labelProp\":\"category\",\"optionsDataKey\":\"list\",\"refreshDelay\":1000,\"onDataCallback\":\"(function(item,selectItems,options,field,model){console.log(113,item,selectItems);console.log(field.$parent.$parent.$parent.model,\'头部\');if(item.hasSimple == 1){field.$parent.$parent.$parent.model.isHasSimple=true;}else{field.$parent.$parent.$parent.model.isHasSimple=false;}if(item.userOrGroupType===1){field.$parent.$parent.$parent.model.start_code=\'assignment\';field.$parent.$parent.$parent.model.incident.handlerUser={id:item.handleUser?item.handleUser.id:undefined};field.$parent.$parent.$parent.model.directClose=true;field.$parent.$parent.$parent.model.isHandlerUser=false;setTimeout(function(){field.$parent.$parent.$parent.model.isHandlerUser=true;},0)}else if(item.userOrGroupType===2){field.$parent.$parent.$parent.model.start_code=\'assignment\';field.$parent.$parent.$parent.model.candidateGroups=item.group;field.$parent.$parent.$parent.model.directClose=true;field.$parent.$parent.$parent.model.isHandlerUser=false;}else{field.$parent.$parent.$parent.model.start_code=\'close\';field.$parent.$parent.$parent.model.directClose=false;field.$parent.$parent.$parent.model.isHandlerUser=false;delete field.$parent.$parent.$parent.model.candidateGroups;delete field.$parent.$parent.$parent.model.incident.handlerUser}console.log(field.$parent.$parent.$parent.model,\'第一\');field.$parent.$parent.$parent.model.incident.title=item.category;if(item.children&&item.children.length>0){}else{if(field.$parent.$parent.$parent.model.incident.description&&field.$parent.$parent.$parent.model.incident.description!=\'\'&&field.$parent.$parent.$parent.model.incident.description!=item.category){console.log($modal);var modalInstance=$modal.open({size:\'sm\',templateUrl:\'assets/views/delete.html\',controller:function($scope,$modalInstance){$scope.title=\'提示\';$scope.connect=\'确定要覆盖事件描述?\';$scope.ok=function(){$modalInstance.close()};$scope.cancel=function(){if(field.$parent.$parent.$parent.model.incident.requester){field.$parent.$parent.$parent.model[\'repeatIncidentShow\']=true};$modalInstance.dismiss(\'cancel\')}}});modalInstance.result.then(function(){field.$parent.$parent.$parent.model.incident.description=item.category;if(field.$parent.$parent.$parent.model.incident.requester){field.$parent.$parent.$parent.model[\'repeatIncidentShow\']=false;setTimeout(()=>{field.$parent.$parent.$parent.model[\'repeatIncidentShow\']=true},100)};console.log(field.$parent.$parent.$parent.model)})}else{field.$parent.$parent.$parent.model.incident.description=item.category;if(field.$parent.$parent.$parent.model.incident.requester){field.$parent.$parent.$parent.model[\'repeatIncidentShow\']=true};console.log(field.$parent.$parent.$parent.model,\'标记\')};model[options.key]={id:item.id};if(item.priority){field.$parent.$parent.$parent.model.incident.priority.id=item.priority.id;field.$parent.$parent.$parent.model.isPriority=true};if(item.hasArea&&item.hasArea==1){for(var i=0;i<field.fields.length;i++){if(field.fields[i].templateOptions.labelProp&&field.fields[i].templateOptions.labelProp==\'area\'){field.$parent.$parent.$parent.model.isarea=true}}}else{for(var i=0;i<field.fields.length;i++){if(field.fields[i].templateOptions.labelProp&&field.fields[i].templateOptions.labelProp==\'area\'){field.$parent.$parent.$parent.model.isarea=false}}};if(item.hasPlace&&item.hasPlace==1){for(var i=0;i<field.fields.length;i++){if(field.fields[i].templateOptions.labelProp&&field.fields[i].templateOptions.labelProp==\'place\'){field.$parent.$parent.$parent.model.isplace=true}}}else{for(var i=0;i<field.fields.length;i++){if(field.fields[i].templateOptions.labelProp&&field.fields[i].templateOptions.labelProp==\'place\'){field.$parent.$parent.$parent.model.isplace=false}}}}})\"},\"expressionProperties\":{\"templateOptions.required\":\"\'(model.incident. category.id)\'\"}}', `LABEL`='事件分类', `LAYOUT`='8', `PLACEHOLDER`=NULL, `FORMID`='30', `module_`='3', `delete_flag`='0' WHERE (`ID`='431');