orgInspectCtrl.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. angular.module('push')
  2. .controller('orgInspectCtrl', function ($scope, dataToolsService, $ionicActionSheet, $sce, $ionicPopup, ionicDatePicker, $stateParams, UserService, AccountService, CommentService, UtilService, $timeout, CommonService, ConfigService) {
  3. $scope.stateParamsValue = $stateParams.value;
  4. $scope.value = $stateParams.value ? $stateParams.value : 1;
  5. $scope.params = {};
  6. $scope.highorginspection = {};
  7. $scope.threeyearinfo = {};
  8. $scope.category = {};
  9. $scope.obtainway = {};
  10. $scope.basicname = "基本信息";
  11. $scope.intellecname = "知识产权";
  12. $scope.balancename = "收支信息";
  13. $scope.othername = "其他信息";
  14. $scope.year = new Date().getFullYear();
  15. $scope.saleflag = true;
  16. $scope.changesaleflag = function () {
  17. $scope.saleflag = !$scope.saleflag;
  18. }
  19. $scope.assetflag = true;
  20. $scope.changeasset = function () {
  21. $scope.assetflag = !$scope.assetflag;
  22. }
  23. $scope.researchmoneyflag = true;
  24. $scope.changeresearchmoney = function () {
  25. $scope.researchmoneyflag = !$scope.researchmoneyflag;
  26. }
  27. $scope.chinaresearchmoneyflag = true;
  28. $scope.changechinaresearchmoney = function () {
  29. $scope.chinaresearchmoneyflag = !$scope.chinaresearchmoneyflag;
  30. }
  31. $scope.collectway = true;
  32. $scope.changecollectway = function () {
  33. $scope.collectway = !$scope.collectway;
  34. }
  35. $scope.islogin = ConfigService.islogin;
  36. if (!$scope.islogin) {
  37. if (localStorage.wxFlag == "true") {
  38. if (localStorage.isUserBindWx == 0) {
  39. var wxFlag = JSON.parse(localStorage.params);
  40. if (wxFlag.weChatModel) {
  41. $scope.go('bindPhone', {
  42. params: localStorage.params,
  43. comfrom: 'maincontroller',
  44. url: window.location.href.split('#/')[1]
  45. });
  46. } else {
  47. $scope.go('login');
  48. return;
  49. }
  50. } else {
  51. $scope.go('login');
  52. return;
  53. }
  54. } else {
  55. $scope.go('login');
  56. return;
  57. }
  58. }
  59. $scope.showcategorylist = function () {
  60. var categorylist = [];
  61. AccountService.getDomainInfo(0, UserService.node).then(function (res) {
  62. if (res.code == 3350) {
  63. // console.log(res);
  64. angular.forEach(res.data, function (val) {
  65. categorylist.push({
  66. text: '<a class="action-sheet-push">' + val.name + '</a>',
  67. itemkey: val.id,
  68. itemvalue: val.name, //名字,
  69. itemcode: val.code
  70. })
  71. })
  72. $ionicActionSheet.show({
  73. cancelOnStateChange: true,
  74. cssClass: 'action_s',
  75. cancelText: '取消',
  76. buttons: categorylist,
  77. buttonClicked: function (index) {
  78. $scope.highorginspection.category = categorylist[index].itemvalue;
  79. return true;
  80. }
  81. });
  82. } else {
  83. }
  84. })
  85. };
  86. $scope.showobtainlist = function () {
  87. var obtainlist = [];
  88. dataToolsService.getTypeEntryListByTypeName("highorgobtainway").then(function (res) {
  89. if (res.code == 3350) {
  90. angular.forEach(res.data, function (val) {
  91. obtainlist.push({
  92. text: '<a class="action-sheet-push">' + val.itemkey + '</a>',
  93. itemkey: val.id,
  94. itemvalue: val.itemkey, //名字,
  95. itemcode: val.itemvalue
  96. })
  97. })
  98. $ionicActionSheet.show({
  99. cancelOnStateChange: true,
  100. cssClass: 'action_s',
  101. cancelText: '取消',
  102. buttons: obtainlist,
  103. buttonClicked: function (index) {
  104. $scope.highorginspection.obtainway = obtainlist[index].itemvalue;
  105. return true;
  106. }
  107. });
  108. }
  109. })
  110. };
  111. var isparticipatestandard = false;
  112. $scope.watchIsChange = function () {
  113. if (isparticipatestandard == false) {
  114. isparticipatestandard = true;
  115. $scope.highorginspection.isparticipatestandard = true;
  116. } else {
  117. isparticipatestandard = false;
  118. $scope.highorginspection.isparticipatestandard = false;
  119. }
  120. };
  121. $scope.technicaladvanced = 1;
  122. $scope.changetechnical = function (index) {
  123. $scope.technicaladvanced = index;
  124. $scope.highorginspection.technicaladvanced = index;
  125. }
  126. $scope.coresupport = 1;
  127. $scope.changesupportrole = function (index) {
  128. $scope.coresupport = index;
  129. $scope.highorginspection.coresupport = index;
  130. }
  131. $scope.convertaverage = 1;
  132. $scope.changetechnicaltransform = function (index) {
  133. $scope.convertaverage = index;
  134. $scope.highorginspection.convertaverage = index;
  135. }
  136. var otherindevelopfee = false;
  137. $scope.watchPercentIsChange = function () {
  138. if (otherindevelopfee == false) {
  139. otherindevelopfee = true;
  140. $scope.threeyearinfo.otherindevelopfee = true;
  141. } else {
  142. otherindevelopfee = false;
  143. $scope.threeyearinfo.otherindevelopfee = false;
  144. }
  145. };
  146. $scope.showtaxway1 = function () {
  147. var taxwaylist = [];
  148. dataToolsService.getTypeEntryListByTypeName("expropriationmethod").then(function (res) {
  149. if (res.code == 3350) {
  150. angular.forEach(res.data, function (val) {
  151. taxwaylist.push({
  152. text: '<a class="action-sheet-push">' + val.itemkey + '</a>',
  153. itemkey: val.id,
  154. itemvalue: val.itemkey, //名字,
  155. itemcode: val.itemvalue
  156. })
  157. })
  158. $ionicActionSheet.show({
  159. cancelOnStateChange: true,
  160. cssClass: 'action_s',
  161. cancelText: '取消',
  162. buttons: taxwaylist,
  163. buttonClicked: function (index) {
  164. $scope.threeyearinfo.collectway1 = taxwaylist[index].itemvalue;
  165. return true;
  166. }
  167. });
  168. }
  169. })
  170. };
  171. $scope.showtaxway2 = function () {
  172. var taxwaylist = [];
  173. dataToolsService.getTypeEntryListByTypeName("expropriationmethod").then(function (res) {
  174. if (res.code == 3350) {
  175. angular.forEach(res.data, function (val) {
  176. taxwaylist.push({
  177. text: '<a class="action-sheet-push">' + val.itemkey + '</a>',
  178. itemkey: val.id,
  179. itemvalue: val.itemkey, //名字,
  180. itemcode: val.itemvalue
  181. })
  182. })
  183. $ionicActionSheet.show({
  184. cancelOnStateChange: true,
  185. cssClass: 'action_s',
  186. cancelText: '取消',
  187. buttons: taxwaylist,
  188. buttonClicked: function (index) {
  189. $scope.threeyearinfo.collectway2 = taxwaylist[index].itemvalue;
  190. return true;
  191. }
  192. });
  193. }
  194. })
  195. };
  196. $scope.showtaxway3 = function () {
  197. var taxwaylist = [];
  198. dataToolsService.getTypeEntryListByTypeName("expropriationmethod").then(function (res) {
  199. if (res.code == 3350) {
  200. angular.forEach(res.data, function (val) {
  201. taxwaylist.push({
  202. text: '<a class="action-sheet-push">' + val.itemkey + '</a>',
  203. itemkey: val.id,
  204. itemvalue: val.itemkey, //名字,
  205. itemcode: val.itemvalue
  206. })
  207. })
  208. $ionicActionSheet.show({
  209. cancelOnStateChange: true,
  210. cssClass: 'action_s',
  211. cancelText: '取消',
  212. buttons: taxwaylist,
  213. buttonClicked: function (index) {
  214. $scope.threeyearinfo.collectway3 = taxwaylist[index].itemvalue;
  215. return true;
  216. }
  217. });
  218. }
  219. })
  220. };
  221. $scope.gobackpage = function () {
  222. if (!$stateParams.value) {
  223. if ($scope.value != 1) {
  224. $scope.value--;
  225. } else {
  226. $scope.go('tab.activityIndex');
  227. }
  228. } else {
  229. $scope.go('orgInspectList', {isuserlist: false});
  230. }
  231. }
  232. $scope.isRelateUl = false;
  233. $scope.companylist = [];
  234. $scope.selectOrgname = function (orgname) {
  235. if (orgname) {
  236. $timeout(function () {
  237. dataToolsService.getOrganizationModelByOrgname(orgname, 0, 0).then(function (response) {
  238. $scope.companylist = response.data;
  239. $scope.isRelateUl = true;
  240. }, function () {
  241. })
  242. }, 1000);
  243. } else {
  244. $scope.isRelateUl = false;
  245. $scope.companylist = [];
  246. }
  247. }
  248. $scope.ttt = function (tmptitle) {
  249. return $sce.trustAsHtml(tmptitle);
  250. }
  251. $scope.fatherdata = {};
  252. $scope.setCompanyName = function (organizationInfo) {
  253. $scope.organizationInfo = organizationInfo;
  254. $scope.highorginspection.orgname = organizationInfo.name;
  255. if (organizationInfo.registrationdate) {
  256. $scope.highorginspection.registerdate = organizationInfo.registrationdate.split(/\s+/)[0];
  257. }
  258. $scope.highorginspection.orgcode = organizationInfo.orgcode;
  259. $scope.category.value = organizationInfo.categoryid;
  260. $scope.isRelateUl = false;
  261. }
  262. $scope.regex=/^[+-]?\d+(\.\d+)?$/
  263. $scope.pdregex=/1[3|4|5|7|8|9][0-9]{9}/
  264. $scope.tpdregex=/^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/
  265. $scope.goNextPage = function () {
  266. if ($scope.value != 4) {
  267. //必填项没有填的话就不可以点击下一步
  268. if ($scope.value == 1) {
  269. if (!$scope.highorginspection.orgname || !$scope.highorginspection.registerdate || !$scope.highorginspection.contracttel||!$scope.highorginspection.declaredate) {
  270. $ionicPopup.alert({
  271. title: '提示',
  272. template: '请填写必填项!'
  273. });
  274. return;
  275. }
  276. if($scope.highorginspection.contracttel!=undefined){
  277. if(!$scope.pdregex.test($scope.highorginspection.contracttel)||$scope.highorginspection.contracttel.length!=11){
  278. $ionicPopup.alert({
  279. title: '提示',
  280. template: '请填正确手机号码!'
  281. });
  282. return;
  283. }
  284. }
  285. if($scope.highorginspection.workercount!=undefined){
  286. if(!$scope.regex.test($scope.highorginspection.workercount)){
  287. $ionicPopup.alert({
  288. title: '提示',
  289. template: '请填正确数值!'
  290. });
  291. return;
  292. }
  293. }
  294. if($scope.highorginspection.technicalcount!=undefined){
  295. if(!$scope.regex.test($scope.highorginspection.technicalcount)){
  296. $ionicPopup.alert({
  297. title: '提示',
  298. template: '请填正确数值!'
  299. });
  300. return;
  301. }
  302. }
  303. }
  304. //必填项没有填的话就不可以点击下一步
  305. if ($scope.value == 2) {
  306. if (!$scope.highorginspection.oneintellectualcount || !$scope.highorginspection.twointellectualcount || !$scope.highorginspection.obtainway) {
  307. $ionicPopup.alert({
  308. title: '提示',
  309. template: '请填写必填项!'
  310. });
  311. return;
  312. }
  313. if($scope.highorginspection.oneintellectualcount!=undefined){
  314. console.log( $scope.highorginspection.patentcount)
  315. if(!$scope.regex.test($scope.highorginspection.oneintellectualcount)){
  316. $ionicPopup.alert({
  317. title: '提示',
  318. template: '请填正确数值!'
  319. });
  320. return;
  321. }
  322. }
  323. if($scope.highorginspection.twointellectualcount!=undefined){
  324. if(!$scope.regex.test($scope.highorginspection.twointellectualcount)){
  325. $ionicPopup.alert({
  326. title: '提示',
  327. template: '请填正确数值!'
  328. });
  329. return;
  330. }
  331. }
  332. if($scope.highorginspection.patentcount!=undefined){
  333. if(!$scope.regex.test($scope.highorginspection.patentcount)){
  334. $ionicPopup.alert({
  335. title: '提示',
  336. template: '请填正确数值!'
  337. });
  338. return;
  339. }
  340. }
  341. if($scope.highorginspection.practicalpatentcount!=undefined){
  342. console.log( $scope.highorginspection.patentcount)
  343. if(!$scope.regex.test($scope.highorginspection.practicalpatentcount)){
  344. $ionicPopup.alert({
  345. title: '提示',
  346. template: '请填正确数值!'
  347. });
  348. return;
  349. }
  350. }
  351. if($scope.highorginspection.appearancepatentcount!=undefined){
  352. if(!$scope.regex.test($scope.highorginspection.appearancepatentcount)){
  353. $ionicPopup.alert({
  354. title: '提示',
  355. template: '请填正确数值!'
  356. });
  357. return;
  358. }
  359. }
  360. }
  361. if($scope.value == 3){
  362. if($scope.threeyearinfo.sale3!=undefined){
  363. if(!$scope.regex.test($scope.threeyearinfo.sale3)){
  364. $ionicPopup.alert({
  365. title: '提示',
  366. template: '请填正确数值!'
  367. });
  368. return;
  369. }
  370. }
  371. if($scope.threeyearinfo.sale2!=undefined){
  372. if(!$scope.regex.test($scope.threeyearinfo.sale2)){
  373. $ionicPopup.alert({
  374. title: '提示',
  375. template: '请填正确数值!'
  376. });
  377. return;
  378. }
  379. }
  380. if($scope.threeyearinfo.sale1!=undefined){
  381. if(!$scope.regex.test($scope.threeyearinfo.sale1)){
  382. $ionicPopup.alert({
  383. title: '提示',
  384. template: '请填正确数值!'
  385. });
  386. return;
  387. }
  388. }
  389. if($scope.threeyearinfo.asset3!=undefined){
  390. if(!$scope.regex.test($scope.threeyearinfo.sale3)){
  391. $ionicPopup.alert({
  392. title: '提示',
  393. template: '请填正确数值!'
  394. });
  395. return;
  396. }
  397. }
  398. if($scope.threeyearinfo.asset2!=undefined){
  399. if(!$scope.regex.test($scope.threeyearinfo.asset2)){
  400. $ionicPopup.alert({
  401. title: '提示',
  402. template: '请填正确数值!'
  403. });
  404. return;
  405. }
  406. }
  407. if($scope.threeyearinfo.asset1!=undefined){
  408. if(!$scope.regex.test($scope.threeyearinfo.asset1)){
  409. $ionicPopup.alert({
  410. title: '提示',
  411. template: '请填正确数值!'
  412. });
  413. return;
  414. }
  415. }
  416. if($scope.threeyearinfo.researchmoney3!=undefined){
  417. if(!$scope.regex.test($scope.threeyearinfo.researchmoney3)){
  418. $ionicPopup.alert({
  419. title: '提示',
  420. template: '请填正确数值!'
  421. });
  422. return;
  423. }
  424. }
  425. if($scope.threeyearinfo.researchmoney2!=undefined){
  426. if(!$scope.regex.test($scope.threeyearinfo.researchmoney2)){
  427. $ionicPopup.alert({
  428. title: '提示',
  429. template: '请填正确数值!'
  430. });
  431. return;
  432. }
  433. }
  434. if($scope.threeyearinfo.researchmoney1!=undefined){
  435. if(!$scope.regex.test($scope.threeyearinfo.researchmoney1)){
  436. $ionicPopup.alert({
  437. title: '提示',
  438. template: '请填正确数值!'
  439. });
  440. return;
  441. }
  442. }
  443. if($scope.threeyearinfo.chinaresearchmoney3!=undefined){
  444. if(!$scope.regex.test($scope.threeyearinfo.chinaresearchmoney3)){
  445. $ionicPopup.alert({
  446. title: '提示',
  447. template: '请填正确数值!'
  448. });
  449. return;
  450. }
  451. }
  452. if($scope.threeyearinfo.chinaresearchmoney2!=undefined){
  453. if(!$scope.regex.test($scope.threeyearinfo.chinaresearchmoney2)){
  454. $ionicPopup.alert({
  455. title: '提示',
  456. template: '请填正确数值!'
  457. });
  458. return;
  459. }
  460. }
  461. if($scope.threeyearinfo.chinaresearchmoney1!=undefined){
  462. if(!$scope.regex.test($scope.threeyearinfo.chinaresearchmoney1)){
  463. $ionicPopup.alert({
  464. title: '提示',
  465. template: '请填正确数值!'
  466. });
  467. return;
  468. }
  469. }
  470. if($scope.threeyearinfo.income!=undefined){
  471. if(!$scope.regex.test($scope.threeyearinfo.income)){
  472. $ionicPopup.alert({
  473. title: '提示',
  474. template: '请填正确数值!'
  475. });
  476. return;
  477. }
  478. }
  479. if($scope.threeyearinfo.techincome!=undefined){
  480. if(!$scope.regex.test($scope.threeyearinfo.techincome)){
  481. $ionicPopup.alert({
  482. title: '提示',
  483. template: '请填正确数值!'
  484. });
  485. return;
  486. }
  487. }
  488. if($scope.threeyearinfo.intellectureincome!=undefined){
  489. if(!$scope.regex.test($scope.threeyearinfo.intellectureincome)){
  490. $ionicPopup.alert({
  491. title: '提示',
  492. template: '请填正确数值!'
  493. });
  494. return;
  495. }
  496. }
  497. }
  498. $scope.value++;
  499. } else {
  500. //表单参数验证
  501. if (!$scope.highorginspection.orgname || !$scope.highorginspection.registerdate || !$scope.highorginspection.contracttel || !$scope.highorginspection.oneintellectualcount || !$scope.highorginspection.twointellectualcount ||
  502. !$scope.highorginspection.obtainway) {
  503. $ionicPopup.alert({
  504. title: '提示',
  505. template: '输入数据有误!请检查'
  506. });
  507. return;
  508. }
  509. if($scope.highorginspection.establishaccountsystem!=undefined){
  510. if(!$scope.regex.test($scope.highorginspection.establishaccountsystem)||$scope.highorginspection.establishaccountsystem>6){
  511. $ionicPopup.alert({
  512. title: '提示',
  513. template: '请填正确数值!'
  514. });
  515. return;
  516. }
  517. }
  518. if($scope.highorginspection.universityindustrycooperation!=undefined){
  519. if(!$scope.regex.test($scope.highorginspection.universityindustrycooperation)||$scope.highorginspection.universityindustrycooperation>6){
  520. $ionicPopup.alert({
  521. title: '提示',
  522. template: '请填正确数值!'
  523. });
  524. return;
  525. }
  526. }
  527. if($scope.highorginspection.buildinnovationplatform!=undefined){
  528. if(!$scope.regex.test($scope.highorginspection.buildinnovationplatform)||$scope.highorginspection.buildinnovationplatform>4){
  529. $ionicPopup.alert({
  530. title: '提示',
  531. template: '请填正确数值!'
  532. });
  533. return;
  534. }
  535. }
  536. if($scope.highorginspection.establishrewardsystem!=undefined){
  537. if(!$scope.regex.test($scope.highorginspection.establishrewardsystem)||$scope.highorginspection.establishrewardsystem>4){
  538. $ionicPopup.alert({
  539. title: '提示',
  540. template: '请填正确数值!'
  541. });
  542. return;
  543. }
  544. }
  545. //开始检测
  546. if (!$scope.highorginspection.technicaladvanced) {
  547. $scope.highorginspection.technicaladvanced = 1;
  548. }
  549. if (!$scope.highorginspection.coresupport) {
  550. $scope.highorginspection.coresupport = 1;
  551. }
  552. if (!$scope.highorginspection.convertaverage) {
  553. $scope.highorginspection.convertaverage = 1;
  554. }
  555. $scope.highorginspection.isparticipatestandard = $scope.highorginspection.isparticipatestandard == true ? 1 : 0;
  556. $scope.highorginspection.otherindevelopfee = $scope.highorginspection.otherindevelopfee == true ? 1 : 0;
  557. $scope.highorginspection.data = $scope.threeyearinfo;
  558. //通过接口发送至后台,用于存入数据库
  559. $scope.params.data = $scope.highorginspection;
  560. $scope.params.node = UserService.node;
  561. $scope.params.userid = UserService.id;
  562. AccountService.insertHighInspect($scope.params).then(function (res) {
  563. if (res.code == 3350) {
  564. $scope.go("orgSelfReport", {
  565. data: $scope.params,
  566. scoreConnid: res.data,
  567. highorginspection: $stateParams.highorginspection,
  568. registerdate:$scope.highorginspection.registerdate
  569. });
  570. }else {
  571. $ionicPopup.alert({
  572. title: '提示',
  573. template: res.message
  574. });
  575. }
  576. })
  577. }
  578. }
  579. // 时间日期
  580. // 日期选择
  581. $scope.validedTime = new Date();
  582. //打开日期选择框
  583. $scope.openDatePicker = function (obj) {
  584. var datePickerObj = {
  585. //选择日期后的回掉
  586. callback: function (val) {
  587. if (typeof (val) === 'undefined') {
  588. } else {
  589. var date = new Date(val);
  590. if (date.toLocaleString().charAt(/\s+/) != -1) {
  591. var temp = date.toLocaleString().replace(/\//g, "-");
  592. $scope.highorginspection[obj]= temp;
  593. }
  594. datePickerObj.inputDate = new Date(val); //更新日期弹框上的日期
  595. }
  596. },
  597. disabledDates: [
  598. new Date(2016, 2, 16),
  599. new Date(2015, 3, 16),
  600. new Date(2015, 4, 16),
  601. new Date(2015, 5, 16),
  602. new Date('Wednesday, August 12, 2015'),
  603. new Date("2016-08-16"),
  604. new Date(1439676000000)
  605. ],
  606. from: new Date(1949, 1, 1),
  607. to: new Date(2050, 11, 31),
  608. inputDate: new Date(),
  609. mondayFirst: true,
  610. disableWeekdays: [], //设置不能选中
  611. closeOnSelect: false,
  612. dateFormat: 'yyyy-MM-dd',
  613. templateType: 'popup',
  614. }
  615. ionicDatePicker.openDatePicker(datePickerObj);
  616. };
  617. $scope.choiceToggle = true;
  618. $scope.changeToggle = function () {
  619. $scope.choiceToggle = !$scope.choiceToggle;
  620. }
  621. if ($stateParams.highorginspection) {
  622. $scope.highorginspection = $stateParams.highorginspection;
  623. $scope.threeyearinfo = $scope.highorginspection.data;
  624. $scope.category.value = $scope.highorginspection.category;
  625. $scope.obtainway.value = $scope.highorginspection.obtainway;
  626. $scope.technicaladvanced = $scope.highorginspection.technicaladvanced;
  627. $scope.coresupport = $scope.highorginspection.coresupport;
  628. $scope.convertaverage = $scope.highorginspection.convertaverage;
  629. }
  630. })
  631. ;