eoss-mobiles 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/checkbox.js CHANGED
@@ -1457,8 +1457,11 @@ var toFunction = function toFunction(str) {
1457
1457
  if (str.indexOf('=>') > -1) {
1458
1458
  var renders = str.split('=>');
1459
1459
  var args = renders[0].replace('(', '').replace(')', '').split(',');
1460
+ var fnStr = renders[1].trim()
1460
1461
  // eslint-disable-next-line no-control-regex
1461
- var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
1462
+ .replace(new RegExp('\n', 'gm'), '')
1463
+ // eslint-disable-next-line no-control-regex
1464
+ .replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
1462
1465
  var fn = void 0;
1463
1466
  if (args.length) {
1464
1467
  fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
@@ -1471,6 +1474,200 @@ var toFunction = function toFunction(str) {
1471
1474
  return eval(str);
1472
1475
  }
1473
1476
  };
1477
+
1478
+ /**
1479
+ * calculateNetworkDays
1480
+ * @desc 工作日天数
1481
+ * @desc 计算两个日期之间的工作日天数,可以排除周末和指定的假期
1482
+ * @param {string} start_date - 开始日期字符串,格式为 "YYYY-MM-DD"
1483
+ * @param {string} end_date - 结束日期字符串,格式为 "YYYY-MM-DD"
1484
+ * @param {Array<string>} holidays - 假期日期字符串数组,格式为 "YYYY-MM-DD"
1485
+ * @return {number} 工作日天数
1486
+ **/
1487
+ var calculateNetworkDays = function calculateNetworkDays(start_date, end_date) {
1488
+ var holidays = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
1489
+
1490
+ if (typeof start_date !== 'string' || typeof end_date !== 'string') {
1491
+ throw new Error("Invalid input. Please provide valid date strings in the format 'YYYY-MM-DD'.");
1492
+ }
1493
+
1494
+ var startDateObj = new Date(start_date);
1495
+ var endDateObj = new Date(end_date);
1496
+
1497
+ if (isNaN(startDateObj.getTime()) || isNaN(endDateObj.getTime())) {
1498
+ throw new Error("Invalid date format. Please provide valid date strings in the format 'YYYY-MM-DD'.");
1499
+ }
1500
+
1501
+ if (startDateObj > endDateObj) {
1502
+ throw new Error('Start date should be earlier than or equal to end date.');
1503
+ }
1504
+
1505
+ var workdays = 0;
1506
+
1507
+ // Iterate through each day in the date range
1508
+
1509
+ var _loop = function _loop(currentDate) {
1510
+ // Check if the current day is a weekend (Saturday or Sunday)
1511
+ var isWeekend = currentDate.getDay() === 0 || currentDate.getDay() === 6;
1512
+
1513
+ // Check if the current day is a holiday
1514
+ var isHoliday = holidays.some(function (holiday) {
1515
+ var holidayDate = new Date(holiday);
1516
+ return currentDate.toDateString() === holidayDate.toDateString();
1517
+ });
1518
+
1519
+ // If it's a workday (not a weekend or holiday), increment the workdays count
1520
+ if (!isWeekend && !isHoliday) {
1521
+ workdays++;
1522
+ }
1523
+ };
1524
+
1525
+ for (var currentDate = new Date(startDateObj); currentDate <= endDateObj; currentDate.setDate(currentDate.getDate() + 1)) {
1526
+ _loop(currentDate);
1527
+ }
1528
+
1529
+ return workdays;
1530
+ };
1531
+
1532
+ /**
1533
+ * chunkToChinese
1534
+ * @desc 将四位数的整数转换为中文大写
1535
+ * @param {number} chunk - 数字
1536
+ **/
1537
+ function chunkToChinese(chunk) {
1538
+ var numberToChinese = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
1539
+ var capitalDigits = ['', '拾', '佰', '仟'];
1540
+
1541
+ var result = '';
1542
+ var digitIndex = 0;
1543
+
1544
+ while (chunk > 0) {
1545
+ var digit = chunk % 10;
1546
+ if (digit > 0) {
1547
+ result = numberToChinese[digit] + capitalDigits[digitIndex] + result;
1548
+ } else {
1549
+ // 当前数字是零,需要判断是否需要添加零
1550
+ if (result.charAt(0) !== '零') {
1551
+ result = '零' + result;
1552
+ }
1553
+ }
1554
+ chunk = Math.floor(chunk / 10);
1555
+ digitIndex++;
1556
+ }
1557
+
1558
+ return result;
1559
+ }
1560
+
1561
+ /**
1562
+ * concatenate
1563
+ * @desc 指定连接符合并文本
1564
+ * @desc 使用指定的连接符合并文本字符串
1565
+ * @author SuTao
1566
+ * @date 2023年12月14日
1567
+ * @param {string} separator - 指定的连接符
1568
+ * @param {...string} strings - 多个文本字符串
1569
+ * @return {string} 合并后的字符串
1570
+ **/
1571
+ var concatenate = function concatenate(separator) {
1572
+ for (var _len = arguments.length, strings = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1573
+ strings[_key - 1] = arguments[_key];
1574
+ }
1575
+
1576
+ if (typeof separator !== 'string' || !strings.every(function (str) {
1577
+ return typeof str === 'string';
1578
+ })) {
1579
+ throw new Error('Invalid input. Please provide a valid separator and valid strings.');
1580
+ }
1581
+ return strings.join(separator);
1582
+ };
1583
+
1584
+ /**
1585
+ * dateAddDays
1586
+ * @desc 加减日期天数
1587
+ * @desc 在给定的日期上加上或减去指定的天数
1588
+ * @param {string} start_date - 起始日期字符串,格式为 "YYYY-MM-DD"
1589
+ * @param {number} days - 要加上或减去的天数,正数表示加,负数表示减
1590
+ * @return {string} 计算后的日期字符串
1591
+ **/
1592
+ var dateAddDays = function dateAddDays(start_date, days) {
1593
+ if (typeof start_date !== 'string' || !Number.isInteger(days)) {
1594
+ throw new Error("Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD' and a valid integer for the number of days.");
1595
+ }
1596
+
1597
+ var startDateObj = new Date(start_date);
1598
+ if (isNaN(startDateObj.getTime())) {
1599
+ throw new Error("Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'.");
1600
+ }
1601
+
1602
+ var resultDateObj = new Date(startDateObj);
1603
+ resultDateObj.setDate(resultDateObj.getDate() + days);
1604
+
1605
+ var resultYear = resultDateObj.getFullYear();
1606
+ var resultMonth = String(resultDateObj.getMonth() + 1).padStart(2, '0');
1607
+ var resultDay = String(resultDateObj.getDate()).padStart(2, '0');
1608
+
1609
+ return resultYear + '-' + resultMonth + '-' + resultDay;
1610
+ };
1611
+
1612
+ /**
1613
+ * dateDiff
1614
+ * @desc 计算两个日期之间的差距
1615
+ * @author SuTao
1616
+ * @date 2023年12月14日
1617
+ * @param {String} start_date - 起始日期字符串
1618
+ * @param {String} end_date - 结束日期字符串
1619
+ * @param {String} [unit] - 计算的时间单位 ("y", "M", "d", "h", "m", "s")
1620
+ * @return {Number} 两个日期之间的差距
1621
+ **/
1622
+ var dateDiff = function dateDiff(start_date, end_date, unit) {
1623
+ // Assuming date strings are in "YYYY-MM-DD" format
1624
+ var startDate = new Date(start_date);
1625
+ var endDate = new Date(end_date);
1626
+
1627
+ // Calculate the difference in milliseconds
1628
+ var timeDifference = endDate - startDate;
1629
+
1630
+ // Convert milliseconds to the specified unit
1631
+ unit = unit || 'd'; // Set default unit to "d"
1632
+
1633
+ switch (unit) {
1634
+ case 'y':
1635
+ return endDate.getFullYear() - startDate.getFullYear();
1636
+ case 'M':
1637
+ return (endDate.getFullYear() - startDate.getFullYear()) * 12 + (endDate.getMonth() - startDate.getMonth());
1638
+ case 'd':
1639
+ return Math.floor(timeDifference / (1000 * 60 * 60 * 24));
1640
+ case 'h':
1641
+ return Math.floor(timeDifference / (1000 * 60 * 60));
1642
+ case 'm':
1643
+ return Math.floor(timeDifference / (1000 * 60));
1644
+ case 's':
1645
+ return Math.floor(timeDifference / 1000);
1646
+ default:
1647
+ throw new Error("Invalid unit. Supported units are 'y', 'M', 'd', 'h', 'm', 's'.");
1648
+ }
1649
+ };
1650
+
1651
+ /**
1652
+ * dayOfMonth
1653
+ * @desc 当月第几天
1654
+ * @desc 返回给定日期是所在月的第几天
1655
+ * @param {string} date - 日期字符串,格式为 "YYYY-MM-DD"
1656
+ * @return {number} 当月的第几天
1657
+ **/
1658
+ var dayOfMonth = function dayOfMonth(date) {
1659
+ if (typeof date !== 'string') {
1660
+ throw new Error("Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD'.");
1661
+ }
1662
+
1663
+ var dateObj = new Date(date);
1664
+ if (isNaN(dateObj.getTime())) {
1665
+ throw new Error("Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'.");
1666
+ }
1667
+
1668
+ return dateObj.getDate();
1669
+ };
1670
+
1474
1671
  /* harmony default export */ __webpack_exports__["a"] = ({
1475
1672
  esEncrypt: esEncrypt,
1476
1673
  esDecode: esDecode,
@@ -1518,7 +1715,14 @@ var toFunction = function toFunction(str) {
1518
1715
  exportXls: exportXls,
1519
1716
  generateUUID: generateUUID,
1520
1717
  uuid: uuid,
1521
- toFunction: toFunction
1718
+ toFunction: toFunction,
1719
+ toFixed: toFixed,
1720
+ calculateNetworkDays: calculateNetworkDays,
1721
+ chunkToChinese: chunkToChinese,
1722
+ concatenate: concatenate,
1723
+ dateAddDays: dateAddDays,
1724
+ dateDiff: dateDiff,
1725
+ dayOfMonth: dayOfMonth
1522
1726
  });
1523
1727
 
1524
1728
  /***/ }),
@@ -1456,8 +1456,11 @@ var toFunction = function toFunction(str) {
1456
1456
  if (str.indexOf('=>') > -1) {
1457
1457
  var renders = str.split('=>');
1458
1458
  var args = renders[0].replace('(', '').replace(')', '').split(',');
1459
+ var fnStr = renders[1].trim()
1459
1460
  // eslint-disable-next-line no-control-regex
1460
- var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
1461
+ .replace(new RegExp('\n', 'gm'), '')
1462
+ // eslint-disable-next-line no-control-regex
1463
+ .replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
1461
1464
  var fn = void 0;
1462
1465
  if (args.length) {
1463
1466
  fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
@@ -1470,6 +1473,200 @@ var toFunction = function toFunction(str) {
1470
1473
  return eval(str);
1471
1474
  }
1472
1475
  };
1476
+
1477
+ /**
1478
+ * calculateNetworkDays
1479
+ * @desc 工作日天数
1480
+ * @desc 计算两个日期之间的工作日天数,可以排除周末和指定的假期
1481
+ * @param {string} start_date - 开始日期字符串,格式为 "YYYY-MM-DD"
1482
+ * @param {string} end_date - 结束日期字符串,格式为 "YYYY-MM-DD"
1483
+ * @param {Array<string>} holidays - 假期日期字符串数组,格式为 "YYYY-MM-DD"
1484
+ * @return {number} 工作日天数
1485
+ **/
1486
+ var calculateNetworkDays = function calculateNetworkDays(start_date, end_date) {
1487
+ var holidays = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
1488
+
1489
+ if (typeof start_date !== 'string' || typeof end_date !== 'string') {
1490
+ throw new Error("Invalid input. Please provide valid date strings in the format 'YYYY-MM-DD'.");
1491
+ }
1492
+
1493
+ var startDateObj = new Date(start_date);
1494
+ var endDateObj = new Date(end_date);
1495
+
1496
+ if (isNaN(startDateObj.getTime()) || isNaN(endDateObj.getTime())) {
1497
+ throw new Error("Invalid date format. Please provide valid date strings in the format 'YYYY-MM-DD'.");
1498
+ }
1499
+
1500
+ if (startDateObj > endDateObj) {
1501
+ throw new Error('Start date should be earlier than or equal to end date.');
1502
+ }
1503
+
1504
+ var workdays = 0;
1505
+
1506
+ // Iterate through each day in the date range
1507
+
1508
+ var _loop = function _loop(currentDate) {
1509
+ // Check if the current day is a weekend (Saturday or Sunday)
1510
+ var isWeekend = currentDate.getDay() === 0 || currentDate.getDay() === 6;
1511
+
1512
+ // Check if the current day is a holiday
1513
+ var isHoliday = holidays.some(function (holiday) {
1514
+ var holidayDate = new Date(holiday);
1515
+ return currentDate.toDateString() === holidayDate.toDateString();
1516
+ });
1517
+
1518
+ // If it's a workday (not a weekend or holiday), increment the workdays count
1519
+ if (!isWeekend && !isHoliday) {
1520
+ workdays++;
1521
+ }
1522
+ };
1523
+
1524
+ for (var currentDate = new Date(startDateObj); currentDate <= endDateObj; currentDate.setDate(currentDate.getDate() + 1)) {
1525
+ _loop(currentDate);
1526
+ }
1527
+
1528
+ return workdays;
1529
+ };
1530
+
1531
+ /**
1532
+ * chunkToChinese
1533
+ * @desc 将四位数的整数转换为中文大写
1534
+ * @param {number} chunk - 数字
1535
+ **/
1536
+ function chunkToChinese(chunk) {
1537
+ var numberToChinese = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
1538
+ var capitalDigits = ['', '拾', '佰', '仟'];
1539
+
1540
+ var result = '';
1541
+ var digitIndex = 0;
1542
+
1543
+ while (chunk > 0) {
1544
+ var digit = chunk % 10;
1545
+ if (digit > 0) {
1546
+ result = numberToChinese[digit] + capitalDigits[digitIndex] + result;
1547
+ } else {
1548
+ // 当前数字是零,需要判断是否需要添加零
1549
+ if (result.charAt(0) !== '零') {
1550
+ result = '零' + result;
1551
+ }
1552
+ }
1553
+ chunk = Math.floor(chunk / 10);
1554
+ digitIndex++;
1555
+ }
1556
+
1557
+ return result;
1558
+ }
1559
+
1560
+ /**
1561
+ * concatenate
1562
+ * @desc 指定连接符合并文本
1563
+ * @desc 使用指定的连接符合并文本字符串
1564
+ * @author SuTao
1565
+ * @date 2023年12月14日
1566
+ * @param {string} separator - 指定的连接符
1567
+ * @param {...string} strings - 多个文本字符串
1568
+ * @return {string} 合并后的字符串
1569
+ **/
1570
+ var concatenate = function concatenate(separator) {
1571
+ for (var _len = arguments.length, strings = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1572
+ strings[_key - 1] = arguments[_key];
1573
+ }
1574
+
1575
+ if (typeof separator !== 'string' || !strings.every(function (str) {
1576
+ return typeof str === 'string';
1577
+ })) {
1578
+ throw new Error('Invalid input. Please provide a valid separator and valid strings.');
1579
+ }
1580
+ return strings.join(separator);
1581
+ };
1582
+
1583
+ /**
1584
+ * dateAddDays
1585
+ * @desc 加减日期天数
1586
+ * @desc 在给定的日期上加上或减去指定的天数
1587
+ * @param {string} start_date - 起始日期字符串,格式为 "YYYY-MM-DD"
1588
+ * @param {number} days - 要加上或减去的天数,正数表示加,负数表示减
1589
+ * @return {string} 计算后的日期字符串
1590
+ **/
1591
+ var dateAddDays = function dateAddDays(start_date, days) {
1592
+ if (typeof start_date !== 'string' || !Number.isInteger(days)) {
1593
+ throw new Error("Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD' and a valid integer for the number of days.");
1594
+ }
1595
+
1596
+ var startDateObj = new Date(start_date);
1597
+ if (isNaN(startDateObj.getTime())) {
1598
+ throw new Error("Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'.");
1599
+ }
1600
+
1601
+ var resultDateObj = new Date(startDateObj);
1602
+ resultDateObj.setDate(resultDateObj.getDate() + days);
1603
+
1604
+ var resultYear = resultDateObj.getFullYear();
1605
+ var resultMonth = String(resultDateObj.getMonth() + 1).padStart(2, '0');
1606
+ var resultDay = String(resultDateObj.getDate()).padStart(2, '0');
1607
+
1608
+ return resultYear + '-' + resultMonth + '-' + resultDay;
1609
+ };
1610
+
1611
+ /**
1612
+ * dateDiff
1613
+ * @desc 计算两个日期之间的差距
1614
+ * @author SuTao
1615
+ * @date 2023年12月14日
1616
+ * @param {String} start_date - 起始日期字符串
1617
+ * @param {String} end_date - 结束日期字符串
1618
+ * @param {String} [unit] - 计算的时间单位 ("y", "M", "d", "h", "m", "s")
1619
+ * @return {Number} 两个日期之间的差距
1620
+ **/
1621
+ var dateDiff = function dateDiff(start_date, end_date, unit) {
1622
+ // Assuming date strings are in "YYYY-MM-DD" format
1623
+ var startDate = new Date(start_date);
1624
+ var endDate = new Date(end_date);
1625
+
1626
+ // Calculate the difference in milliseconds
1627
+ var timeDifference = endDate - startDate;
1628
+
1629
+ // Convert milliseconds to the specified unit
1630
+ unit = unit || 'd'; // Set default unit to "d"
1631
+
1632
+ switch (unit) {
1633
+ case 'y':
1634
+ return endDate.getFullYear() - startDate.getFullYear();
1635
+ case 'M':
1636
+ return (endDate.getFullYear() - startDate.getFullYear()) * 12 + (endDate.getMonth() - startDate.getMonth());
1637
+ case 'd':
1638
+ return Math.floor(timeDifference / (1000 * 60 * 60 * 24));
1639
+ case 'h':
1640
+ return Math.floor(timeDifference / (1000 * 60 * 60));
1641
+ case 'm':
1642
+ return Math.floor(timeDifference / (1000 * 60));
1643
+ case 's':
1644
+ return Math.floor(timeDifference / 1000);
1645
+ default:
1646
+ throw new Error("Invalid unit. Supported units are 'y', 'M', 'd', 'h', 'm', 's'.");
1647
+ }
1648
+ };
1649
+
1650
+ /**
1651
+ * dayOfMonth
1652
+ * @desc 当月第几天
1653
+ * @desc 返回给定日期是所在月的第几天
1654
+ * @param {string} date - 日期字符串,格式为 "YYYY-MM-DD"
1655
+ * @return {number} 当月的第几天
1656
+ **/
1657
+ var dayOfMonth = function dayOfMonth(date) {
1658
+ if (typeof date !== 'string') {
1659
+ throw new Error("Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD'.");
1660
+ }
1661
+
1662
+ var dateObj = new Date(date);
1663
+ if (isNaN(dateObj.getTime())) {
1664
+ throw new Error("Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'.");
1665
+ }
1666
+
1667
+ return dateObj.getDate();
1668
+ };
1669
+
1473
1670
  /* harmony default export */ __webpack_exports__["a"] = ({
1474
1671
  esEncrypt: esEncrypt,
1475
1672
  esDecode: esDecode,
@@ -1517,7 +1714,14 @@ var toFunction = function toFunction(str) {
1517
1714
  exportXls: exportXls,
1518
1715
  generateUUID: generateUUID,
1519
1716
  uuid: uuid,
1520
- toFunction: toFunction
1717
+ toFunction: toFunction,
1718
+ toFixed: toFixed,
1719
+ calculateNetworkDays: calculateNetworkDays,
1720
+ chunkToChinese: chunkToChinese,
1721
+ concatenate: concatenate,
1722
+ dateAddDays: dateAddDays,
1723
+ dateDiff: dateDiff,
1724
+ dayOfMonth: dayOfMonth
1521
1725
  });
1522
1726
 
1523
1727
  /***/ }),
@@ -16676,8 +16880,8 @@ var StartFlow_component = normalizeComponent(
16676
16880
  )
16677
16881
 
16678
16882
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
16679
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=b58a476a
16680
- var Handlevue_type_template_id_b58a476a_render = function () {
16883
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=ff6baf78
16884
+ var Handlevue_type_template_id_ff6baf78_render = function () {
16681
16885
  var _vm = this
16682
16886
  var _h = _vm.$createElement
16683
16887
  var _c = _vm._self._c || _h
@@ -18292,11 +18496,11 @@ var Handlevue_type_template_id_b58a476a_render = function () {
18292
18496
  1
18293
18497
  )
18294
18498
  }
18295
- var Handlevue_type_template_id_b58a476a_staticRenderFns = []
18296
- Handlevue_type_template_id_b58a476a_render._withStripped = true
18499
+ var Handlevue_type_template_id_ff6baf78_staticRenderFns = []
18500
+ Handlevue_type_template_id_ff6baf78_render._withStripped = true
18297
18501
 
18298
18502
 
18299
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=b58a476a
18503
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=ff6baf78
18300
18504
 
18301
18505
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=1f631c2c
18302
18506
  var Rejectvue_type_template_id_1f631c2c_render = function () {
@@ -20287,7 +20491,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
20287
20491
  this.$toast('请选择催办通知方式');
20288
20492
  return;
20289
20493
  }
20290
- if ((this.isHideCurrentOrg || this.isHideOtherOrg) && !this.form.nextCurrentOrgObjJson && !this.form.nextOtherOrgObjJson && this.form.isAddSign != '1') {
20494
+ if ((this.isHideCurrentOrg || this.isHideOtherOrg) && (!this.form.nextCurrentOrgObjJson || this.form.nextCurrentOrgObjJson == '[]') && (!this.form.nextOtherOrgObjJson || this.form.nextOtherOrgObjJson == '[]') && this.form.isAddSign != '1') {
20291
20495
  // this.$toast(`请选择${this.currentOrgName || '本单位'}`);
20292
20496
  this.$toast('\u8BF7\u9009\u62E9\u529E\u7406\u5BF9\u8C61');
20293
20497
  return;
@@ -21142,8 +21346,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
21142
21346
 
21143
21347
  var Handle_component = normalizeComponent(
21144
21348
  components_Handlevue_type_script_lang_js,
21145
- Handlevue_type_template_id_b58a476a_render,
21146
- Handlevue_type_template_id_b58a476a_staticRenderFns,
21349
+ Handlevue_type_template_id_ff6baf78_render,
21350
+ Handlevue_type_template_id_ff6baf78_staticRenderFns,
21147
21351
  false,
21148
21352
  null,
21149
21353
  null,
@@ -23136,8 +23340,8 @@ var TaskRead_component = normalizeComponent(
23136
23340
  )
23137
23341
 
23138
23342
  /* harmony default export */ var TaskRead = (TaskRead_component.exports);
23139
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=4e5fd087
23140
- var taskUnionExaminevue_type_template_id_4e5fd087_render = function () {
23343
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=7172b5d0
23344
+ var taskUnionExaminevue_type_template_id_7172b5d0_render = function () {
23141
23345
  var _vm = this
23142
23346
  var _h = _vm.$createElement
23143
23347
  var _c = _vm._self._c || _h
@@ -23305,11 +23509,11 @@ var taskUnionExaminevue_type_template_id_4e5fd087_render = function () {
23305
23509
  ]),
23306
23510
  ])
23307
23511
  }
23308
- var taskUnionExaminevue_type_template_id_4e5fd087_staticRenderFns = []
23309
- taskUnionExaminevue_type_template_id_4e5fd087_render._withStripped = true
23512
+ var taskUnionExaminevue_type_template_id_7172b5d0_staticRenderFns = []
23513
+ taskUnionExaminevue_type_template_id_7172b5d0_render._withStripped = true
23310
23514
 
23311
23515
 
23312
- // CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=4e5fd087
23516
+ // CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=7172b5d0
23313
23517
 
23314
23518
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=script&lang=js
23315
23519
  var taskUnionExaminevue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -23528,6 +23732,9 @@ var taskUnionExaminevue_type_script_lang_js_extends = Object.assign || function
23528
23732
  } else {
23529
23733
  this.params = taskUnionExaminevue_type_script_lang_js_extends({}, this.params, this.selectorParams);
23530
23734
  }
23735
+ if (this.type == 'startDraf') {
23736
+ this.params.nofilid = this.orgId || JSON.parse(util["a" /* default */].getStorage('userInfo')).orgId;
23737
+ }
23531
23738
  this.params = taskUnionExaminevue_type_script_lang_js_extends({}, this.params);
23532
23739
  this.otherParams = taskUnionExaminevue_type_script_lang_js_extends({}, this.otherParams, this.selectorParams);
23533
23740
  // this.newMultiple = this.multiple;
@@ -24000,8 +24207,8 @@ var taskUnionExaminevue_type_script_lang_js_extends = Object.assign || function
24000
24207
 
24001
24208
  var taskUnionExamine_component = normalizeComponent(
24002
24209
  components_taskUnionExaminevue_type_script_lang_js,
24003
- taskUnionExaminevue_type_template_id_4e5fd087_render,
24004
- taskUnionExaminevue_type_template_id_4e5fd087_staticRenderFns,
24210
+ taskUnionExaminevue_type_template_id_7172b5d0_render,
24211
+ taskUnionExaminevue_type_template_id_7172b5d0_staticRenderFns,
24005
24212
  false,
24006
24213
  null,
24007
24214
  null,
@@ -32105,7 +32312,7 @@ if (typeof window !== 'undefined' && window.Vue) {
32105
32312
  }
32106
32313
 
32107
32314
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
32108
- version: '0.4.3',
32315
+ version: '0.4.5',
32109
32316
  install: install,
32110
32317
  Button: packages_button,
32111
32318
  ButtonGroup: button_group,