|
@@ -1400,52 +1400,8 @@ $(function () {
|
1400
|
1400
|
//弹窗展示
|
1401
|
1401
|
pop1Handle({
|
1402
|
1402
|
title: "报修查看",
|
1403
|
|
- confirmTitle: "撤回",
|
1404
|
|
- cancelTitle: "取消",
|
1405
|
|
- onlyButton: false,
|
1406
|
|
- twoConfirmClose: false,
|
1407
|
|
- confirmHandle: function () {
|
1408
|
|
- // setTimeout(function () {
|
1409
|
|
- //填充弹窗数据
|
1410
|
|
- var html = template("back_detail_temp", {});
|
1411
|
|
- $("#pop1").html(html);
|
1412
|
|
- //placeholder
|
1413
|
|
- $(".back-textarea")
|
1414
|
|
- .on("focus", function () {
|
1415
|
|
- if ($(this).val() == "请输入撤回原因") {
|
1416
|
|
- $(this).val("");
|
1417
|
|
- }
|
1418
|
|
- })
|
1419
|
|
- .on("blur", function () {
|
1420
|
|
- if ($(this).val() == "") {
|
1421
|
|
- $(this).val("请输入撤回原因");
|
1422
|
|
- }
|
1423
|
|
- });
|
1424
|
|
- pop1Handle({
|
1425
|
|
- width: 340,
|
1426
|
|
- height: 230,
|
1427
|
|
- title: "撤回原因",
|
1428
|
|
- confirmTitle: "撤回",
|
1429
|
|
- cancelTitle: "取消",
|
1430
|
|
- onlyButton: false,
|
1431
|
|
- twoConfirmClose: false,
|
1432
|
|
- confirmHandle: function () {
|
1433
|
|
- if (
|
1434
|
|
- $.trim($("#pop1 .back-textarea").val()) != "" &&
|
1435
|
|
- $.trim($("#pop1 .back-textarea").val()) !=
|
1436
|
|
- "请输入撤回原因"
|
1437
|
|
- ) {
|
1438
|
|
- bxBack({
|
1439
|
|
- id: id,
|
1440
|
|
- retractReason: $("#pop1 .back-textarea").val(),
|
1441
|
|
- });
|
1442
|
|
- } else {
|
1443
|
|
- alert("撤回原因不能为空");
|
1444
|
|
- }
|
1445
|
|
- },
|
1446
|
|
- });
|
1447
|
|
- // }, 200)
|
1448
|
|
- },
|
|
1403
|
+ confirmTitle: "取消",
|
|
1404
|
+ onlyButton: true
|
1449
|
1405
|
});
|
1450
|
1406
|
} else if (resFilter.state.id == 0) {
|
1451
|
1407
|
//添加详情页流程数据
|
|
@@ -1463,51 +1419,8 @@ $(function () {
|
1463
|
1419
|
//弹窗展示
|
1464
|
1420
|
pop1Handle({
|
1465
|
1421
|
title: "报修查看",
|
1466
|
|
- confirmTitle: "撤回",
|
1467
|
|
- cancelTitle: "取消",
|
1468
|
|
- onlyButton: false,
|
1469
|
|
- confirmHandle: function () {
|
1470
|
|
- // setTimeout(function () {
|
1471
|
|
- //填充弹窗数据
|
1472
|
|
- var html = template("back_detail_temp", {});
|
1473
|
|
- $("#pop1").html(html);
|
1474
|
|
- //placeholder
|
1475
|
|
- $(".back-textarea")
|
1476
|
|
- .on("focus", function () {
|
1477
|
|
- if ($(this).val() == "请输入撤回原因") {
|
1478
|
|
- $(this).val("");
|
1479
|
|
- }
|
1480
|
|
- })
|
1481
|
|
- .on("blur", function () {
|
1482
|
|
- if ($(this).val() == "") {
|
1483
|
|
- $(this).val("请输入撤回原因");
|
1484
|
|
- }
|
1485
|
|
- });
|
1486
|
|
- pop1Handle({
|
1487
|
|
- width: 340,
|
1488
|
|
- height: 230,
|
1489
|
|
- title: "撤回原因",
|
1490
|
|
- confirmTitle: "撤回",
|
1491
|
|
- cancelTitle: "取消",
|
1492
|
|
- onlyButton: false,
|
1493
|
|
- twoConfirmClose: false,
|
1494
|
|
- confirmHandle: function () {
|
1495
|
|
- if (
|
1496
|
|
- $.trim($("#pop1 .back-textarea").val()) != "" ||
|
1497
|
|
- $.trim($("#pop1 .back-textarea").val()) !=
|
1498
|
|
- "请输入撤回原因"
|
1499
|
|
- ) {
|
1500
|
|
- bxBack({
|
1501
|
|
- id: id,
|
1502
|
|
- retractReason: $("#pop1 .back-textarea").val(),
|
1503
|
|
- });
|
1504
|
|
- } else {
|
1505
|
|
- alert("撤回原因不能为空");
|
1506
|
|
- }
|
1507
|
|
- },
|
1508
|
|
- });
|
1509
|
|
- // }, 200)
|
1510
|
|
- },
|
|
1422
|
+ confirmTitle: "取消",
|
|
1423
|
+ onlyButton: true
|
1511
|
1424
|
});
|
1512
|
1425
|
} else if (resFilter.state.id == 1594) {
|
1513
|
1426
|
//添加详情页流程数据
|