商丘12345 前端

addAppealOrder.html 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <script src="../Script/Common/huayi.load.js"></script>
  6. <script src="../Script/Common/huayi.config.js"></script>
  7. <!--<link href="../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />-->
  8. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  9. <link rel="stylesheet" href="../css/init.css" />
  10. <link rel="stylesheet" href="../css/notification/css/notifucation.css" />
  11. <link rel="stylesheet" href="../css/notification/css/addNotifucation.css">
  12. <title></title>
  13. <style type="text/css">
  14. .xl{
  15. right: -32px;
  16. }
  17. .orderType{
  18. /*width: 196px;*/
  19. height: 35px;
  20. padding: 0;
  21. border-color: rgb(169, 169, 169);
  22. }
  23. ul li{
  24. list-style: none;
  25. }
  26. .inpBox {
  27. border: 1px solid #cccccc;
  28. height: 31px;
  29. width: 75%;
  30. display: inline-block;
  31. position: relative;
  32. vertical-align: middle;
  33. position: absolute;
  34. /*left: 0px;
  35. top: 0px;*/
  36. z-index: 111;
  37. }
  38. .selDpart1{
  39. position: absolute;
  40. left: 0px;
  41. top: 30px;
  42. z-index: 11111;
  43. width: 220px;
  44. line-height: 30px;
  45. background: #FFFFFF;
  46. display: none;
  47. }
  48. #sponsor{
  49. width: 218px;
  50. border: 1px solid #00a1cb;
  51. margin: 0;
  52. padding: 0;
  53. list-style: none;
  54. max-height: 212px;
  55. overflow-x: hidden;
  56. overflow-y: scroll;
  57. }
  58. #sponsor li{
  59. margin: 0;
  60. padding-left: 10px;
  61. width: 220px;
  62. height: 30px;
  63. line-height: 30px;
  64. list-style: none;
  65. }
  66. #sponsor li:hover{
  67. background: #00a1cb;
  68. }
  69. .addTree {
  70. background: #fff;
  71. position: absolute;
  72. width: 100%;
  73. border: 1px solid darkgrey;
  74. right: 0;
  75. top: 29px;
  76. display: none;
  77. z-index: 222;
  78. }
  79. .xl {
  80. display: inline-block;
  81. background: url(../../img/dropDown.png) no-repeat;
  82. height: 100%;
  83. background-position: center center;
  84. width: 20px;
  85. position: absolute;
  86. right: 0;
  87. top: 0px;
  88. /* background-color: #f7bc8b; */
  89. cursor: pointer;
  90. }
  91. .ztree li span {
  92. border: none;
  93. padding: 0;
  94. }
  95. .inps {
  96. width: 76%;
  97. height: 29px;
  98. outline: none;
  99. border: 0;
  100. border-image-width: 0;
  101. padding: 0;
  102. padding-left: 3px;
  103. }
  104. .xl {
  105. display: inline-block;
  106. background: url(../img/dropDown.png) no-repeat;
  107. height: 100%;
  108. background-position: center center;
  109. width: 20px;
  110. position: absolute;
  111. right: 0;
  112. top: 0px;
  113. /* background-color: #f7bc8b; */
  114. cursor: pointer;
  115. }
  116. .Cleans {
  117. display: inline-block;
  118. width: 20px;
  119. position: absolute;
  120. right: 21px;
  121. top: 8px;
  122. display: none;
  123. }
  124. .reasons{
  125. display: none;
  126. }
  127. .other_reasons{
  128. width: 75%;
  129. }
  130. .remark{
  131. width: 75%;
  132. }
  133. .appeal-input{
  134. width: 75%;
  135. height: 34px;
  136. }
  137. #scwj{
  138. background-color: #FFF;
  139. background-image: none;
  140. border: 1px solid #ccc;
  141. border-radius: 1px;
  142. color: inherit;
  143. padding: 6px 12px!important;
  144. }
  145. .table tr td input[type="text"]{
  146. width: 100%;
  147. height: 30px;
  148. /* background: #f3f3f4; */
  149. border: 0;
  150. outline: none;
  151. }
  152. .radio-inline input[type=radio]{
  153. margin-top: 2px;
  154. }
  155. .table tr td textarea{
  156. width: 100%;
  157. height: 100%;
  158. /* background: #f3f3f4; */
  159. border: 0;
  160. resize: none;
  161. }
  162. .datil_ul {
  163. padding-left: 5%;
  164. }
  165. .datil_ul li {
  166. width: 30%;
  167. padding: 5px;
  168. float: left;
  169. font-size: 14px;
  170. }
  171. </style>
  172. </head>
  173. <body>
  174. <div class="container" style="margin-left: 15px;">
  175. <div class="container-fluid wrapper-content animated fadeInRight">
  176. <div class="clearfix">
  177. <ul class="clearfix datil_ul">
  178. <li>
  179. <span>工单编号:</span>
  180. <span class="work-order-number-text"></span>
  181. </li>
  182. <li>
  183. <span>申诉部门:</span>
  184. <span class="appeal-department-txet"></span>
  185. </li>
  186. <li>
  187. <span>申诉信息:</span>
  188. <span class="appeal-information-text"></span>
  189. </li>
  190. <li class="appeal-reason-wrapper" style="display: none;">
  191. <span>通报原因:</span>
  192. <span class="appeal-reason-text"></span>
  193. </li>
  194. <li class="other-reason-text-wrapper" style="display: none;">
  195. <span>其他原因:</span>
  196. <span class="other-reason-text"></span>
  197. </li>
  198. </ul>
  199. </div>
  200. </div>
  201. <div class="tab_contents" id="tab_user_contents">
  202. <ul class="project_items form-horizontal showtabs">
  203. <!-- <li class="form-group">
  204. <label for="customer_layer" class="col-md-2" >申诉部门:</label>
  205. <div class="inpBox">
  206. <input type="text" class="inps" onkeyup="darptSearch()"/>
  207. <i class="Cleans fa fa-close"></i>
  208. <i class="xl xl_one"></i>
  209. <div class="addTree xlAdd">
  210. <ul id="addTreeDemo" class="ztree"></ul>
  211. </div>
  212. </div>
  213. </li>
  214. <li class="form-group">
  215. <label for="customer_layer" class="col-md-2 appeal-reason-title" style="float: left;">申诉原因:</label>
  216. <div class="col-md-9" style="width: 75%; float: left; padding: 0;">
  217. <select name="" class="form-control orderType">
  218. <option value="0">请选择通报原因</option>
  219. </select>
  220. </div>
  221. </li> -->
  222. <!-- <li class="form-group drop_down reasons">
  223. <label for="customer_layer" class="col-md-2" style="float: left;">其他原因:</label>
  224. <textarea name="" rows="" cols="" class="other_reasons"></textarea>
  225. </li> -->
  226. <li class="form-group">
  227. <label for="customer_layer" class="col-md-2" style="float: left;">申诉依据:</label>
  228. <input class="appeal-input" id="addBasis" />
  229. </li>
  230. <li class="form-group">
  231. <label for="customer_layer" class="col-md-2" style="float: left;">申诉要求:</label>
  232. <input class="appeal-input" id="addRequirement" />
  233. </li>
  234. <li class="form-group drop_down">
  235. <label class="col-md-2" style="float: left;">申诉详情:</label>
  236. <textarea name="" rows="" cols="" class="remark"></textarea>
  237. </li>
  238. <li>
  239. <label for="customer_layer" class="col-md-2" style="float: left; text-align: right;">证明材料:</label>
  240. <div class="fileBox">
  241. </div>
  242. <input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
  243. <input class="input" type="button" value="上传" id="scwj" />
  244. <input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
  245. <input type="hidden" id="file" />
  246. <span style="color:#FF0000; border: none;">
  247. (文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
  248. </span>
  249. </li>
  250. </ul>
  251. <div class="form-group clearfix">
  252. <div class="col-md-offset-5 col-md-10">
  253. <button class="project_save btn btn-primary" id="save_btns" type="submit">保存</button>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. <input type="hidden" id="Dpment" />
  259. <script type="text/javascript">
  260. $(function(){
  261. var id = helper.request.queryString("ids"); //工单id
  262. var wid = helper.request.queryString("wid"); //工单编号
  263. var assessment_list = helper.request.queryString("assessment_list"); //申诉信息
  264. var fid = helper.request.queryString("fid"); //考核工单id
  265. var depName = decodeURI(helper.request.queryString("depName")); //申诉部门
  266. var depid = helper.request.queryString("depid"); //申诉id
  267. tree();
  268. //申诉分类
  269. appealInformationClassify(assessment_list);
  270. //所属分类下拉
  271. $('.inps').focus(function () {
  272. $('.xlAdd').css('display', 'block')
  273. })
  274. $('.xl').click(function () {
  275. if ($('.xlAdd').css('display') == 'block') {
  276. $('.xlAdd').css('display', 'none')
  277. } else {
  278. $('.xlAdd').css('display', 'block')
  279. }
  280. })
  281. $('.addTree').mouseleave(function () {
  282. $(this).css('display', 'none')
  283. })
  284. //清除
  285. $(".Cleans ").click(function () {
  286. $('.inps').val("");
  287. $("#PID").val("");
  288. $("#Dpment").val("");
  289. })
  290. //上传附件
  291. $("#scwj").click(function() {
  292. $("#upFile").trigger("click");
  293. })
  294. $("#upFile").change(function() {
  295. upload();
  296. })
  297. //获取部门
  298. function tree() {
  299. $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
  300. "token": $.cookie("token"),
  301. // "pid": pid
  302. }, function (result) {
  303. result = $.parseJSON(result);
  304. $.fn.zTree.init($("#addTreeDemo"), setting1, result.data); //实例化树形图
  305. });
  306. }
  307. var setting1 = {
  308. data: {
  309. key: {
  310. name: "F_DeptName"
  311. },
  312. simpleData: {
  313. enable: true,
  314. idKey: "F_DeptId",
  315. pIdKey: "F_PartentId",
  316. rootPId: 0
  317. }
  318. },
  319. callback: {
  320. onClick: zTreeOnClick
  321. }
  322. };
  323. function zTreeOnClick(event, treeId, treeNode) {
  324. if (treeNode.level >= 2) {
  325. $('.inps').val(treeNode.F_DeptName);
  326. $("#PID").val(treeNode.F_DeptId);
  327. $("#Dpment").val(treeNode.F_DeptId);
  328. $(".Cleans").show();
  329. }
  330. };
  331. //通报原因
  332. getOrderType();
  333. function getOrderType() {
  334. $.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
  335. "token": $.cookie("token"),
  336. pid: 69
  337. }, function(result) {
  338. result = $.parseJSON(result);
  339. var Count = result.data;
  340. $(Count).each(function(i, n) {
  341. $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(".orderType"));
  342. })
  343. });
  344. }
  345. $('.orderType').change(function() {
  346. if($('.orderType').val()==77){
  347. $('.reasons').css('display','block')
  348. }else{
  349. $('.reasons').css('display','none')
  350. }
  351. })
  352. /*
  353. assessment_list
  354. 申诉信息分类(1为办理情况,2为查收情况,3为办理规范,4为回访情况,5为退回情况,6为知识库索要更新不及时,7为知识库纠错情况,8为通报)
  355. */
  356. function appealInformationClassify(assessment_list) {
  357. if (assessment_list === "1") {
  358. $(".appeal-department-txet").text(depName);
  359. $(".appeal-department-txet").attr("depid", depid)
  360. $(".work-order-number-text").text(wid);
  361. $(".appeal-information-text").text("办理情况");
  362. } else if (assessment_list === "2") {
  363. $(".appeal-department-txet").text(depName);
  364. $(".appeal-department-txet").attr("depid", depid)
  365. $(".work-order-number-text").text(wid);
  366. $(".appeal-information-text").text("查收情况");
  367. } else if (assessment_list === "3") {
  368. $(".appeal-department-txet").text(depName);
  369. $(".appeal-department-txet").attr("depid", depid)
  370. $(".work-order-number-text").text(wid);
  371. $(".appeal-information-text").text("办理规范");
  372. } else if (assessment_list === "4") {
  373. $(".appeal-department-txet").text(depName);
  374. $(".appeal-department-txet").attr("depid", depid)
  375. $(".work-order-number-text").text(wid);
  376. $(".appeal-information-text").text("回访情况");
  377. } else if (assessment_list === "5") {
  378. $(".appeal-department-txet").text(depName);
  379. $(".appeal-department-txet").attr("depid", depid)
  380. $(".work-order-number-text").text(wid);
  381. $(".appeal-information-text").text("退回情况");
  382. } else if (assessment_list === "6") {
  383. $(".appeal-department-txet").text(depName);
  384. $(".appeal-department-txet").attr("depid", depid)
  385. $(".work-order-number-text").text(wid);
  386. $(".appeal-information-text").text("知识库索引跟新不及时");
  387. } else if (assessment_list === "7") {
  388. $(".appeal-department-txet").text(depName);
  389. $(".appeal-department-txet").attr("depid", depid)
  390. $(".work-order-number-text").text(wid);
  391. $(".appeal-information-text").text("知识库纠错");
  392. } else if (assessment_list === "8") {
  393. $(".appeal-reason-wrapper").show();
  394. $.get(huayi.config.callcenter_url + 'NoticeCriticism/GetNotice', {
  395. nid: fid,
  396. "token": $.cookie("token")
  397. }, function(result) {
  398. result = $.parseJSON(result);
  399. if(result.state.toLowerCase() == "success") {
  400. var con = result.data;
  401. if(con.dModel.F_NoticeID==77){
  402. $(".other-reason-text-wrapper").show();
  403. }
  404. $('.appeal-department-txet').text(con.NoticeDeptName);//部门名称
  405. $(".appeal-department-txet").attr("depid", con.dModel.F_DeptIds)//部门id
  406. $('.appeal-reason-text').val(con.dModel.F_NoticeID);//通报原因
  407. $('.other-reason-text').val(con.dModel.F_Content);//其他原因
  408. }
  409. })
  410. }
  411. }
  412. /*
  413. 保存
  414. 判断 添加、修改
  415. */
  416. $('#save_btns').click(function() {
  417. // var customertype=$('.orderType').val();
  418. // var noticeinfo=$('.orderType option:selected').text();
  419. // if(customertype==0){
  420. // layer.msg('请填写通报原因');
  421. // return
  422. // customertype='';
  423. // noticeinfo=''
  424. // }else if(customertype==77 && !$('.other_reasons').val()){
  425. // layer.msg('请填写其他原因')
  426. // return
  427. // }
  428. if(id){
  429. $.post(huayi.config.callcenter_url + 'Appeal/EditAppeal', {
  430. nid:id,
  431. deptids: $(".appeal-department-txet").attr("depid"),
  432. // noticeid: "", //通报原因id
  433. // content: "",//其他原因
  434. // noticeinfo: "",//通报内容
  435. remark: $(".remark").val(),//申诉详情
  436. basis: $("#addBasis").val(), //申诉依据
  437. requirement: $("#addRequirement").val(), //申诉要求
  438. files: $('#file').val(), //证明材料附件
  439. type: assessment_list, //申诉信息分类
  440. typeid: fid, //申诉信息id
  441. "token": $.cookie("token"),
  442. }, function(result) {
  443. result = $.parseJSON(result);
  444. if(result.state.toLowerCase() == "success") {
  445. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  446. parent.layer.close(index); //再执行关闭
  447. parent.layer.msg("修改成功!");
  448. parent.$('#table1').bootstrapTable('refresh');
  449. }
  450. })
  451. } else {
  452. $.post(huayi.config.callcenter_url + 'Appeal/AddAppeal', {
  453. deptids: $(".appeal-department-txet").attr("depid"),
  454. // noticeid: "", //通报原因id
  455. // content: "",//其他原因
  456. // noticeinfo: "",//通报内容
  457. workorderid: wid, //工单编号
  458. remark: $(".remark").val(),//申诉详情
  459. basis: $("#addBasis").val(), //申诉依据
  460. requirement: $("#addRequirement").val(), //申诉要求
  461. files:$('#file').val(), //证明材料附件
  462. type: assessment_list, //申诉信息分类
  463. typeid: fid, //申诉信息id
  464. "token": $.cookie("token"),
  465. }, function(result) {
  466. result = $.parseJSON(result);
  467. if(result.state.toLowerCase() == "success") {
  468. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  469. parent.layer.close(index); //再执行关闭
  470. parent.layer.msg("保存成功!");
  471. if(assessment_list=='1'){
  472. parent.$('#feedlist').bootstrapTable('refresh');
  473. }else if(assessment_list=='2'){
  474. debugger
  475. parent.$('#asslist').bootstrapTable('refresh');
  476. }else if(assessment_list=='3'){
  477. parent.$('#gdgflist').bootstrapTable('refresh');
  478. }else if(assessment_list=='4'){
  479. parent.$('#visitlist').bootstrapTable('refresh');
  480. }else if(assessment_list=='5'){
  481. parent.$('#backlist').bootstrapTable('refresh');
  482. }else if(assessment_list=='6'){
  483. parent.$('#knowledge_update').bootstrapTable('refresh');
  484. }else if(assessment_list=='7'){
  485. parent.$('#zskjclist').bootstrapTable('refresh');
  486. }
  487. }
  488. })
  489. }
  490. })
  491. // 申诉详情
  492. if(id) {
  493. $.get(huayi.config.callcenter_url + 'Appeal/GetAppeal', {
  494. nid: id,
  495. "token": $.cookie("token")
  496. }, function(result) {
  497. result = $.parseJSON(result);
  498. if(result.state.toLowerCase() == "success") {
  499. var con = result.data;
  500. if(con.dt[0].F_NoticeID==77){
  501. $('.reasons').css('display','block')
  502. }else{
  503. $('.reasons').css('display','none')
  504. }
  505. $('.appeal-department-txet').text(con.NoticeDeptName);//部门名称
  506. $(".appeal-department-txet").attr("depid", con.dt[0].F_DeptIds);//部门id
  507. // $('.orderType').val(con.dt[0].F_NoticeID);//通报原因
  508. // $('.other_reasons').val(con.dt[0].F_Content);//其他原因
  509. $('.remark').val(con.dt[0].F_Remark);//申诉详情
  510. $("#addBasis").val(con.dt[0].F_Basis);//申诉依据
  511. $("#addRequirement").val(con.dt[0].F_Requirement);//申诉要求
  512. $(".work-order-number-text").text(con.dt[0].F_WorkOrderId);//工单编号
  513. fid = con.dt[0].F_TypeID; //申诉信息id;
  514. /*
  515. 申诉信息分类(1为办理情况,2为查收情况,3为办理规范,4为回访情况,5为退回情况,6为知识库索要更新不及时,7为知识库纠错情况,8为通报)
  516. */
  517. assessment_list = con.dt[0].F_Type; //申诉信息分类
  518. if (assessment_list === 1) {
  519. $(".appeal-information-text").text("办理情况");
  520. } else if (assessment_list === 2) {
  521. $(".appeal-information-text").text("查收情况");
  522. } else if (assessment_list === 3) {
  523. $(".appeal-information-text").text("办理规范");
  524. } else if (assessment_list === 4) {
  525. $(".appeal-information-text").text("回访情况");
  526. } else if (assessment_list === 5) {
  527. $(".appeal-information-text").text("退回情况");
  528. } else if (assessment_list === 6) {
  529. $(".appeal-information-text").text("知识库索引更新不及时");
  530. } else if (assessment_list === 7) {
  531. $(".appeal-information-text").text("知识库纠错情况");
  532. } else if (assessment_list === 8) {
  533. $(".appeal-information-text").text("办理情况");
  534. }
  535. $(con.dt[0].File).each(function(k,q){
  536. var strs='<span class="files" fiel-num="'+ q.F_FileId +'">'+ q.F_FileName.substring(19) +'<i class="fa fa-remove del_file"></i></span>'
  537. $(strs).appendTo($('.fileBox')).find('.del_file').click(function(event){
  538. event.stopPropagation();
  539. $(this).parent().remove();
  540. file_num()
  541. console.log($('.fileBox').find('.del_file'))
  542. })
  543. file_num()
  544. })
  545. }
  546. })
  547. }
  548. //上传文件
  549. function upload() {
  550. var Files = document.getElementById("upFile").files;
  551. if(Files.length > 0) {
  552. var formData = new FormData();
  553. for(var i = 0; i < Files.length; i++) {
  554. formData.append('file' + i, Files[i]);;
  555. }
  556. console.log(formData)
  557. formData.append("token", $.cookie("token"));
  558. var typeName=Files[0].name.split('.')[1];
  559. if (typeName=="png"||typeName=='jpg'||typeName=='mp4'||typeName=='mp3'||typeName=='pdf'||typeName=='doc'||typeName=='docx'||typeName=='xls'||typeName=='xlsx') {
  560. $.ajax({
  561. url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
  562. type: "POST",
  563. data: formData,
  564. /**
  565. *必须false才会自动加上正确的Content-Type
  566. */
  567. contentType: false,
  568. /**
  569. * 必须false才会避开jQuery对 formdata 的默认处理
  570. * XMLHttpRequest会对 formdata 进行正确的处理
  571. */
  572. processData: false,
  573. success: function(result) {
  574. document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
  575. $("#upFile").change(function() {
  576. upload();
  577. });
  578. var r = $.parseJSON(result);
  579. if(r.state.toLowerCase() == "success") {
  580. // $(".fjnr").text(r.data[0].F_FileName);
  581. var a = r.data;
  582. $(a).each(function(i, n) {
  583. var strs = '<span class="files" fiel-num="' + n.F_FileId + '">' + n.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
  584. $(strs).appendTo($('.fileBox')).find('.del_file').click(function(event) {
  585. event.stopPropagation();
  586. $(this).parent().remove();
  587. file_num()
  588. })
  589. })
  590. file_num()
  591. }
  592. }
  593. });
  594. }else{
  595. layer.msg("格式不正确");
  596. }
  597. } else {
  598. layer.confirm('请上传文件!', {
  599. btn: ['确定']
  600. });
  601. }
  602. }
  603. //上传文件隐藏域值
  604. function file_num() {
  605. var str = '';
  606. var Str;
  607. $('.fileBox .files').each(function(j, m) {
  608. var aa = $(m).attr("fiel-num")
  609. console.log(aa);
  610. str += aa + ",";
  611. Str = (str.substring(str.length - 1) == ',') ? str.substring(0, str.length - 1) : str;
  612. })
  613. $("#file").val(Str);
  614. }
  615. })
  616. </script>
  617. <!--<script src="../js/bootstrap-select/js/bootstrap-select.js"></script>-->
  618. <script src="../js/laydate/laydate.js"></script>
  619. <script src="../js/zTree/jquery.ztree.core.js"></script>
  620. </body>
  621. </html>