@titaui/pc 1.16.85 → 1.16.87

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.
@@ -7,11 +7,6 @@
7
7
  height: 20px;
8
8
  }
9
9
 
10
- .titaui-dingding-btn:hover {
11
- background-size: contain;
12
- background-image: url("./img/dingding-active.svg");
13
- }
14
-
15
10
  .titaui-dingding-btn:not(:empty) {
16
11
  margin: 0 8px;
17
12
  }
@@ -20,7 +15,7 @@
20
15
  width: 20px;
21
16
  height: 20px;
22
17
  background-size: contain;
23
- background-image: url("./img/dingding-active.svg");
18
+ background-image: url("./img/dingding-active.svg") !important;
24
19
  }
25
20
 
26
21
  .titaui-dingding-btn__img {
@@ -285,7 +285,7 @@ var DingdingBtn = function DingdingBtn(props) {
285
285
  setApply('任务');
286
286
  }
287
287
  }, []);
288
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
288
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isShowDingChat && /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
289
289
  overlay: tooltip,
290
290
  placement: "bottom"
291
291
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g fill="none" fill-rule="evenodd" stroke-width="16" transform="translate(35 31)"><path stroke="#141C28" stroke-linecap="round" d="M95.2914153,4.56833178 C91.9251129,4.16308426 88.4982735,3.95454545 85.0227273,3.95454545 C38.0659716,3.95454545 0,42.0205171 0,88.9772727 C0,135.934028 38.0659716,174 85.0227273,174 C131.979483,174 170.045455,135.934028 170.045455,88.9772727 C170.045455,85.4692371 169.832999,82.0108232 169.420252,78.614196"/><path stroke="#2879FF" stroke-linecap="round" stroke-linejoin="round" d="M33.6136364,88.9772727 C33.6136364,117.36973 56.6302704,140.386364 85.0227273,140.386364"/><circle cx="85.023" cy="88.977" r="15.818" stroke="#141C28"/><line x1="96.886" x2="122.591" y1="77.114" y2="51.409" stroke="#141C28" stroke-linecap="round"/><path stroke="#141C28" stroke-linejoin="round" d="M130.497889,14.0765415 L141.895924,20.2936516 L141.895924,20.2936516 L153.293959,14.0765415 C156.687898,12.2253024 160.939954,13.4759073 162.791193,16.8698456 C163.352041,17.8980658 163.645924,19.0505776 163.645924,20.2218105 L163.645924,39.8654926 C163.645924,42.4271021 162.246715,44.7841294 159.997889,46.0107616 L141.895924,55.8845607 L141.895924,55.8845607 L123.793959,46.0107616 C121.545134,44.7841294 120.145924,42.4271021 120.145924,39.8654926 L120.145924,20.2218105 C120.145924,16.3558173 123.279931,13.2218105 127.145924,13.2218105 C128.317157,13.2218105 129.469669,13.5156941 130.497889,14.0765415 Z" transform="rotate(45 141.896 32.157)"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g fill="none" fill-rule="evenodd"><path stroke="#141C28" stroke-linecap="round" stroke-linejoin="round" stroke-width="16" d="M154.744668,34.7886826 C144.02337,30.412183 132.292873,28 120,28 C94.5942,28 71.5942,38.2994 54.9468,54.9468 C38.2994,71.5942 28,94.5942 28,120 C28,145.4012 38.2994,168.4012 54.9468,185.0578 C71.5942,201.7052 94.5942,212 120,212 C145.4012,212 168.4012,201.7052 185.0578,185.0578 C201.7052,168.4012 212,145.4012 212,120 C212,106.343316 209.025304,93.381792 203.688227,81.7284576"/><path fill="#2879FF" d="M140.857169,58.6998355 C141.680912,58.8473716 142.325707,59.4921668 142.473244,60.3159105 L153.926977,124.25878 C154.21769,125.237547 154.404264,126.26112 154.473853,127.316654 L154.50457,127.490818 L154.484243,127.490568 C154.497737,127.742501 154.50457,127.996203 154.50457,128.251501 C154.50457,135.983488 148.236557,142.251501 140.50457,142.251501 C132.772584,142.251501 126.50457,135.983488 126.50457,128.251501 C126.50457,127.996203 126.511404,127.742501 126.524898,127.490568 L126.50457,127.490818 L126.534763,127.32465 C126.604124,126.263404 126.791736,125.234423 127.08455,124.250756 L138.535897,60.3159105 C138.730632,59.2286423 139.7699,58.5051008 140.857169,58.6998355 Z" transform="rotate(45 140.505 100.46)"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g fill="none" fill-rule="evenodd"><polygon points="0 240 240 240 240 0 0 0"/><path fill="#141C28" fill-rule="nonzero" d="M112,178 L112,62 C112,44.326888 97.673112,30 80,30 L62,30 C44.326888,30 30,44.326888 30,62 L30,178 C30,195.673112 44.326888,210 62,210 L80,210 C97.673112,210 112,195.673112 112,178 Z M96,62 L96,178 C96,186.836556 88.836556,194 80,194 L62,194 C53.163444,194 46,186.836556 46,178 L46,62 C46,53.163444 53.163444,46 62,46 L80,46 C88.836556,46 96,53.163444 96,62 Z M210,94 L210,62 C210,44.326888 195.673112,30 178,30 L160,30 C142.326888,30 128,44.326888 128,62 L128,94 C128,111.673112 142.326888,126 160,126 L178,126 C195.673112,126 210,111.673112 210,94 Z M194,62 L194,94 C194,102.836556 186.836556,110 178,110 L160,110 C151.163444,110 144,102.836556 144,94 L144,62 C144,53.163444 151.163444,46 160,46 L178,46 C186.836556,46 194,53.163444 194,62 Z"/><path fill="#2879FF" fill-rule="nonzero" d="M171,135 L167,135 C149.326888,135 135,149.326888 135,167 L135,185 C135,202.673112 149.326888,217 167,217 L171,217 C188.673112,217 203,202.673112 203,185 L203,167 C203,149.326888 188.673112,135 171,135 Z M167,151 L171,151 C179.836556,151 187,158.163444 187,167 L187,185 C187,193.836556 179.836556,201 171,201 L167,201 C158.163444,201 151,193.836556 151,185 L151,167 C151,158.163444 158.163444,151 167,151 Z" transform="rotate(90 169 176)"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g fill="none" fill-rule="evenodd"><polygon points="0 240 240 240 240 0 0 0" transform="rotate(90 120 120)"/><g fill-rule="nonzero" transform="translate(28 28.983)"><path fill="#141C28" d="M172.53582,0.806190151 C175.403691,-0.571663807 178.436272,-0.0839966344 180.662773,1.51608764 L180.982736,1.7581 C183.128285,3.46492073 184.420398,6.24742178 183.888282,9.35249911 L183.846077,9.58026465 L150.804051,175.426418 C149.715852,180.88836 143.537204,183.570238 138.819774,180.709882 L138.59974,180.571733 L100.417277,155.763122 L76.9878368,178.81094 C71.98686,183.730118 63.5717207,180.283451 63.3811134,173.348158 L63.3778182,173.107634 L63.3778182,122.576833 C63.3778182,120.452019 64.2228752,118.418914 65.7190993,116.921834 L65.9372544,116.711659 L127.557238,59.5526641 C130.796484,56.5479237 135.858236,56.7380281 138.862976,59.9772743 C141.805118,63.1490361 141.684146,68.0681564 138.636847,71.0925725 L138.438366,71.283012 L79.3772767,126.067122 L79.3772767,154.017122 L93.7780366,139.852244 C96.3868231,137.286128 100.392963,136.824603 103.508689,138.698349 L103.746566,138.847093 L137.418277,160.723122 L165.024277,22.1651223 L24.5572767,89.6511223 L50.1817186,105.677792 C53.8527597,107.973789 55.0185808,112.760203 52.8586704,116.476409 L52.7222686,116.702565 C50.4262723,120.373606 45.6398576,121.539427 41.9236515,119.379517 L41.6974962,119.243115 L3.75816552,95.5145435 C-1.50706168,92.221488 -1.15710867,84.4824753 4.28857987,81.6447078 L4.53582043,81.5209501 L172.53582,0.806190151 Z"/><path fill="#2879FF" d="M127.557238,59.5526641 C130.796484,56.5479237 135.858236,56.7380281 138.862976,59.9772743 C141.805118,63.1490361 141.684146,68.0681564 138.636847,71.0925725 L138.438366,71.283012 L79.3772767,126.067122 L79.3778182,173.107634 C79.3778182,177.442549 75.9299804,180.972177 71.6269975,181.103828 L71.3778182,181.107634 C67.0429039,181.107634 63.5132753,177.659797 63.381625,173.356814 L63.3778182,173.107634 L63.3778182,122.576833 C63.3778182,120.452019 64.2228752,118.418914 65.7190993,116.921834 L65.9372544,116.711659 L127.557238,59.5526641 Z"/></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g fill="none" fill-rule="evenodd"><path stroke="#141C28" stroke-width="16" d="M120,28 C145.402173,28 168.40262,38.3005283 185.058146,54.9468542 C201.705532,71.5942404 212,94.5943105 212,120 C212,145.402063 201.704472,168.40262 185.059709,185.056583 C168.40262,201.704472 145.402063,212 120,212 C119.706554,212 119.413428,211.998629 119.120628,211.995893 L119.120628,211.995893 L48.9705627,212 C47.8659932,212 46.8659932,211.552285 46.1421356,210.828427 C45.418278,210.104569 44.9705627,209.104569 44.9705627,208 C44.9705627,206.939134 45.3919901,205.921718 46.1424464,205.171262 L46.1424464,205.171262 L60.8429743,190.469119 C40.7656879,173.581379 28,148.278948 28,120 C28,94.5942 38.2994681,71.5942404 54.9468542,54.9468542 C71.5942404,38.2994681 94.5942,28 120,28 Z"/><path fill="#2879FF" d="M80,130 C85.5228475,130 90,125.522847 90,120 C90,114.477153 85.5228475,110 80,110 C74.4771525,110 70,114.477153 70,120 C70,125.522847 74.4771525,130 80,130 Z M120,130 C125.522847,130 130,125.522847 130,120 C130,114.477153 125.522847,110 120,110 C114.477153,110 110,114.477153 110,120 C110,125.522847 114.477153,130 120,130 Z M160,130 C165.522847,130 170,125.522847 170,120 C170,114.477153 165.522847,110 160,110 C154.477153,110 150,114.477153 150,120 C150,125.522847 154.477153,130 160,130 Z"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g fill="none" fill-rule="evenodd"><rect width="240" height="240"/><path fill="#141C28" fill-rule="nonzero" d="M158.000093,27 C185.338188,27 207.551855,48.9402858 207.993394,76.1731586 L208.000093,77 L208.000093,114.685455 C208.000093,119.103733 204.418371,122.685455 200.000093,122.685455 C195.665179,122.685455 192.13555,119.237618 192.0039,114.934635 L192.000093,114.685455 L192.000093,77 C192.000093,58.4100953 177.080699,43.3048019 158.562345,43.004555 L158.000093,43 L82,43 C63.4100953,43 48.3048019,57.9193944 48.004555,76.4377478 L48,77 L48,153.000093 C48,171.589998 62.9193944,186.695291 81.4377478,186.995538 L82,187.000093 L95.1401978,187.000093 C99.5584758,187.000093 103.140198,190.581815 103.140198,195.000093 C103.140198,199.335007 99.69236,202.864636 95.3893771,202.996286 L95.1401978,203.000093 L82,203.000093 C54.6619049,203.000093 32.4482381,181.059807 32.0066986,153.826934 L32,153.000093 L32,77 C32,49.6619049 53.9402858,27.4482381 81.1731586,27.0066986 L82,27 L158.000093,27 Z M94,106 C98.418278,106 102,109.581722 102,114 C102,118.418278 98.418278,122 94,122 L84,122 C79.581722,122 76,118.418278 76,114 C76,109.581722 79.581722,106 84,106 L94,106 Z M83,70 L157,70 C161.418278,70 165,73.581722 165,78 C165,82.418278 161.418278,86 157,86 L83,86 C78.581722,86 75,82.418278 75,78 C75,73.581722 78.581722,70 83,70 Z"/><path fill="#2879FF" fill-rule="nonzero" d="M153.055771,119.444496 C175.829191,119.444496 194.463111,137.428119 195.509316,160.014309 L195.555643,162.018812 L195.533642,163.332064 C195.279395,171.223302 192.868562,178.570927 188.871069,184.808101 L202.317702,198.254874 C205.894223,201.831395 205.894223,207.63008 202.317702,211.206601 C198.817277,214.707026 193.188242,214.781503 189.597238,211.430033 L175.919546,197.748101 C170.19505,201.411455 163.535676,203.74488 156.380602,204.311578 L153.675072,204.440421 L151.660546,204.422609 C128.797942,203.682151 110.555597,184.859789 110.555597,161.944827 C110.555597,138.501536 129.612544,119.444496 153.055771,119.444496 Z M153.05562,138.333395 C140.015556,138.333395 129.444496,148.904455 129.444496,161.944519 C129.444496,174.984583 140.015556,185.555643 153.05562,185.555643 C166.095684,185.555643 176.666744,174.984583 176.666744,161.944519 C176.666744,148.904455 166.095684,138.333395 153.05562,138.333395 Z"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g fill="none" fill-rule="evenodd"><path fill="#141C28" fill-rule="nonzero" d="M140,0 C161.870476,0 179.64141,17.5522287 179.994641,39.3385269 L180,40 L180,140 C180,161.870476 162.447771,179.64141 140.661473,179.994641 L140,180 L40,180 C18.1295239,180 0.358590478,162.447771 0.00535885717,140.661473 L0,140 L0,40 C0,18.1295239 17.5522287,0.358590478 39.3385269,0.00535885717 L40,0 L140,0 Z M140,16 L40,16 C26.8777143,16 16.2151543,26.5313372 16.0032153,39.6031161 L16,40 L16,140 C16,153.122286 26.5313372,163.784846 39.6031161,163.996785 L40,164 L140,164 C153.122286,164 163.784846,153.468663 163.996785,140.396884 L164,140 L164,40 C164,26.8777143 153.468663,16.2151543 140.396884,16.0032153 L140,16 Z M50,120 C54.418278,120 58,123.581722 58,128 C58,132.418278 54.418278,136 50,136 L46,136 C41.581722,136 38,132.418278 38,128 C38,123.581722 41.581722,120 46,120 L50,120 Z M134,120 C138.418278,120 142,123.581722 142,128 C142,132.418278 138.418278,136 134,136 L76,136 C71.581722,136 68,132.418278 68,128 C68,123.581722 71.581722,120 76,120 L134,120 Z M50,82 C54.418278,82 58,85.581722 58,90 C58,94.418278 54.418278,98 50,98 L46,98 C41.581722,98 38,94.418278 38,90 C38,85.581722 41.581722,82 46,82 L50,82 Z M134,82 C138.418278,82 142,85.581722 142,90 C142,94.418278 138.418278,98 134,98 L76,98 C71.581722,98 68,94.418278 68,90 C68,85.581722 71.581722,82 76,82 L134,82 Z" transform="translate(30 30)"/><path fill="#2879FF" fill-rule="nonzero" d="M120,30 C124.418278,30 128,33.581722 128,38 L128,126 C128,130.418278 124.418278,134 120,134 C115.581722,134 112,130.418278 112,126 L112,38 C112,33.581722 115.581722,30 120,30 Z" transform="rotate(90 120 82)"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g fill="none" fill-rule="evenodd"><path stroke="#141C28" stroke-linecap="round" stroke-linejoin="round" stroke-width="16" d="M185.0578,54.9468 C168.4012,38.2994 145.4012,28 120,28 C94.5942,28 71.5942,38.2994 54.9468,54.9468 C38.2994,71.5942 28,94.5942 28,120 C28,145.4012 38.2994,168.4012 54.9468,185.0578 C71.5942,201.7052 94.5942,212 120,212 C145.4012,212 168.4012,201.7052 185.0578,185.0578 C201.7052,168.4012 212,145.4012 212,120 C212,107.042057 209.321916,94.7099584 204.488803,83.5273694"/><path fill="#2879FF" fill-rule="nonzero" d="M168,67.4000511 C172.418278,67.4000511 176,70.9817731 176,75.4000511 C176,77.4137913 175.255966,79.2537531 174.027807,80.6600284 C174.055471,80.6687576 174.084135,80.6762987 174.112964,80.683423 C173.964684,80.8315791 173.813496,80.9826306 173.66096,81.1349972 L172.904614,81.8902649 C162.550132,92.2268234 146.393715,108.231478 127.137924,127.486641 C124.013695,130.6108 118.948377,130.610744 115.824217,127.486517 L115.824217,127.486517 L90.9757391,102.636763 L90.7808309,102.445522 C87.7788841,99.5776238 83.0224355,99.6287396 80.0785703,102.572605 C77.134705,105.51647 77.0835893,110.272919 79.8879693,113.209135 L79.8879693,113.209135 L80.0785703,113.404879 L112.929659,146.256751 L113.205446,146.526898 C115.370983,148.592701 118.165959,149.740809 121.017961,149.829612 L121.017961,149.829612 L121.365,149.836 L121.631,149.836 L121.800912,149.833478 C124.637508,149.758828 127.342683,148.700476 129.421239,146.841148 L129.421239,146.841148 L129.688761,146.5941 L129.96724,146.322927 L187.926106,88.3640511 L187.934106,88.3700511 L198.265256,77.9065028 C199.681399,76.2745832 201.74744,75.2218505 204.060605,75.1510789 L204.309784,75.1472721 C208.728062,75.1472721 212.309784,78.7289941 212.309784,83.1472721 C212.309784,85.792502 211.025939,88.1378739 209.047363,89.594273 L201.031766,97.8852463 L201.030106,97.8850511 L141.213503,157.703287 L140.79932,158.106982 C135.72115,162.949826 129.10968,165.646674 122.151688,165.829479 L122.151688,165.829479 L121.79874,165.83567 L121.146547,165.83567 L120.611479,165.824202 C113.767772,165.612291 107.20713,162.917337 102.093594,158.038538 L102.093594,158.038538 L101.682939,157.636665 L68.7007031,124.653693 L68.3824256,124.327323 C59.5120321,115.042317 59.6698833,100.353875 68.7648618,91.2588963 C77.8598403,82.1639178 92.5482825,82.0060667 101.899019,90.9399781 L101.899019,90.9399781 L102.224614,91.2589575 L121.481,110.515 L162.226606,69.7709089 L162.27856,69.8085237 C163.731083,68.3224665 165.75782,67.4000511 168,67.4000511 Z"/></g></svg>
@@ -170,6 +170,34 @@
170
170
  background-image: url("../images/survey-menu/involved.svg");
171
171
  }
172
172
 
173
+ .titaui-menus-tree__sub-menu-item-node-icon.dataset-activities {
174
+ background-image: url("../images/skynet-dataset-menu/dataset-activities.svg");
175
+ }
176
+
177
+ .titaui-menus-tree__sub-menu-item-node-icon.dataset-action {
178
+ background-image: url("../images/skynet-dataset-menu/dataset-action.svg");
179
+ }
180
+
181
+ .titaui-menus-tree__sub-menu-item-node-icon.dataset-activities-employee {
182
+ background-image: url("../images/skynet-dataset-menu/dataset-activities-employee.svg");
183
+ }
184
+
185
+ .titaui-menus-tree__sub-menu-item-node-icon.dataset-plan-comment {
186
+ background-image: url("../images/skynet-dataset-menu/dataset-plan-comment.svg");
187
+ }
188
+
189
+ .titaui-menus-tree__sub-menu-item-node-icon.dataset-project {
190
+ background-image: url("../images/skynet-dataset-menu/dataset-project.svg");
191
+ }
192
+
193
+ .titaui-menus-tree__sub-menu-item-node-icon.dataset-task {
194
+ background-image: url("../images/skynet-dataset-menu/dataset-task.svg");
195
+ }
196
+
197
+ .titaui-menus-tree__sub-menu-item-node-icon.dataset-plan {
198
+ background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
199
+ }
200
+
173
201
  .titaui-menus-tree__sub-menu-item-node-icon.survey-templated {
174
202
  background-image: url("../images/survey-menu/template.svg");
175
203
  }
@@ -314,6 +342,34 @@
314
342
  background-image: url("../images/survey-menu/involved.svg");
315
343
  }
316
344
 
345
+ .titaui-menus-tree__menu-item-node-icon.dataset-activities {
346
+ background-image: url("../images/skynet-dataset-menu/dataset-activities.svg");
347
+ }
348
+
349
+ .titaui-menus-tree__menu-item-node-icon.dataset-action {
350
+ background-image: url("../images/skynet-dataset-menu/dataset-action.svg");
351
+ }
352
+
353
+ .titaui-menus-tree__menu-item-node-icon.dataset-activities-employee {
354
+ background-image: url("../images/skynet-dataset-menu/dataset-activities-employee.svg");
355
+ }
356
+
357
+ .titaui-menus-tree__menu-item-node-icon.dataset-plan-comment {
358
+ background-image: url("../images/skynet-dataset-menu/dataset-plan-comment.svg");
359
+ }
360
+
361
+ .titaui-menus-tree__menu-item-node-icon.dataset-project {
362
+ background-image: url("../images/skynet-dataset-menu/dataset-project.svg");
363
+ }
364
+
365
+ .titaui-menus-tree__menu-item-node-icon.dataset-task {
366
+ background-image: url("../images/skynet-dataset-menu/dataset-task.svg");
367
+ }
368
+
369
+ .titaui-menus-tree__menu-item-node-icon.dataset-plan {
370
+ background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
371
+ }
372
+
317
373
  .titaui-menus-tree__menu-item-node-icon.survey-templated {
318
374
  background-image: url("../images/survey-menu/template.svg");
319
375
  }
@@ -458,6 +514,34 @@
458
514
  background-image: url("../images/survey-menu/involved.svg");
459
515
  }
460
516
 
517
+ .titaui-menus-tree__parent-menu-node-icon.dataset-activities {
518
+ background-image: url("../images/skynet-dataset-menu/dataset-activities.svg");
519
+ }
520
+
521
+ .titaui-menus-tree__parent-menu-node-icon.dataset-action {
522
+ background-image: url("../images/skynet-dataset-menu/dataset-action.svg");
523
+ }
524
+
525
+ .titaui-menus-tree__parent-menu-node-icon.dataset-activities-employee {
526
+ background-image: url("../images/skynet-dataset-menu/dataset-activities-employee.svg");
527
+ }
528
+
529
+ .titaui-menus-tree__parent-menu-node-icon.dataset-plan-comment {
530
+ background-image: url("../images/skynet-dataset-menu/dataset-plan-comment.svg");
531
+ }
532
+
533
+ .titaui-menus-tree__parent-menu-node-icon.dataset-project {
534
+ background-image: url("../images/skynet-dataset-menu/dataset-project.svg");
535
+ }
536
+
537
+ .titaui-menus-tree__parent-menu-node-icon.dataset-task {
538
+ background-image: url("../images/skynet-dataset-menu/dataset-task.svg");
539
+ }
540
+
541
+ .titaui-menus-tree__parent-menu-node-icon.dataset-plan {
542
+ background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
543
+ }
544
+
461
545
  .titaui-menus-tree__parent-menu-node-icon.survey-templated {
462
546
  background-image: url("../images/survey-menu/template.svg");
463
547
  }
@@ -674,6 +758,34 @@
674
758
  background-image: url("../images/survey-menu/involved.svg");
675
759
  }
676
760
 
761
+ .titaui-menus-tree__company-all-node-icon.dataset-activities {
762
+ background-image: url("../images/skynet-dataset-menu/dataset-activities.svg");
763
+ }
764
+
765
+ .titaui-menus-tree__company-all-node-icon.dataset-action {
766
+ background-image: url("../images/skynet-dataset-menu/dataset-action.svg");
767
+ }
768
+
769
+ .titaui-menus-tree__company-all-node-icon.dataset-activities-employee {
770
+ background-image: url("../images/skynet-dataset-menu/dataset-activities-employee.svg");
771
+ }
772
+
773
+ .titaui-menus-tree__company-all-node-icon.dataset-plan-comment {
774
+ background-image: url("../images/skynet-dataset-menu/dataset-plan-comment.svg");
775
+ }
776
+
777
+ .titaui-menus-tree__company-all-node-icon.dataset-project {
778
+ background-image: url("../images/skynet-dataset-menu/dataset-project.svg");
779
+ }
780
+
781
+ .titaui-menus-tree__company-all-node-icon.dataset-task {
782
+ background-image: url("../images/skynet-dataset-menu/dataset-task.svg");
783
+ }
784
+
785
+ .titaui-menus-tree__company-all-node-icon.dataset-plan {
786
+ background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
787
+ }
788
+
677
789
  .titaui-menus-tree__company-all-node-icon.survey-templated {
678
790
  background-image: url("../images/survey-menu/template.svg");
679
791
  }
@@ -818,6 +930,34 @@
818
930
  background-image: url("../images/survey-menu/involved.svg");
819
931
  }
820
932
 
933
+ .titaui-menus-tree__ass-template-node-icon.dataset-activities {
934
+ background-image: url("../images/skynet-dataset-menu/dataset-activities.svg");
935
+ }
936
+
937
+ .titaui-menus-tree__ass-template-node-icon.dataset-action {
938
+ background-image: url("../images/skynet-dataset-menu/dataset-action.svg");
939
+ }
940
+
941
+ .titaui-menus-tree__ass-template-node-icon.dataset-activities-employee {
942
+ background-image: url("../images/skynet-dataset-menu/dataset-activities-employee.svg");
943
+ }
944
+
945
+ .titaui-menus-tree__ass-template-node-icon.dataset-plan-comment {
946
+ background-image: url("../images/skynet-dataset-menu/dataset-plan-comment.svg");
947
+ }
948
+
949
+ .titaui-menus-tree__ass-template-node-icon.dataset-project {
950
+ background-image: url("../images/skynet-dataset-menu/dataset-project.svg");
951
+ }
952
+
953
+ .titaui-menus-tree__ass-template-node-icon.dataset-task {
954
+ background-image: url("../images/skynet-dataset-menu/dataset-task.svg");
955
+ }
956
+
957
+ .titaui-menus-tree__ass-template-node-icon.dataset-plan {
958
+ background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
959
+ }
960
+
821
961
  .titaui-menus-tree__ass-template-node-icon.survey-templated {
822
962
  background-image: url("../images/survey-menu/template.svg");
823
963
  }
@@ -972,6 +1112,34 @@
972
1112
  background-image: url("../images/survey-menu/involved.svg");
973
1113
  }
974
1114
 
1115
+ .titaui-menus-tree__ass-manage-node-icon.dataset-activities {
1116
+ background-image: url("../images/skynet-dataset-menu/dataset-activities.svg");
1117
+ }
1118
+
1119
+ .titaui-menus-tree__ass-manage-node-icon.dataset-action {
1120
+ background-image: url("../images/skynet-dataset-menu/dataset-action.svg");
1121
+ }
1122
+
1123
+ .titaui-menus-tree__ass-manage-node-icon.dataset-activities-employee {
1124
+ background-image: url("../images/skynet-dataset-menu/dataset-activities-employee.svg");
1125
+ }
1126
+
1127
+ .titaui-menus-tree__ass-manage-node-icon.dataset-plan-comment {
1128
+ background-image: url("../images/skynet-dataset-menu/dataset-plan-comment.svg");
1129
+ }
1130
+
1131
+ .titaui-menus-tree__ass-manage-node-icon.dataset-project {
1132
+ background-image: url("../images/skynet-dataset-menu/dataset-project.svg");
1133
+ }
1134
+
1135
+ .titaui-menus-tree__ass-manage-node-icon.dataset-task {
1136
+ background-image: url("../images/skynet-dataset-menu/dataset-task.svg");
1137
+ }
1138
+
1139
+ .titaui-menus-tree__ass-manage-node-icon.dataset-plan {
1140
+ background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
1141
+ }
1142
+
975
1143
  .titaui-menus-tree__ass-manage-node-icon.survey-templated {
976
1144
  background-image: url("../images/survey-menu/template.svg");
977
1145
  }
@@ -1127,6 +1295,34 @@
1127
1295
  background-image: url("../images/survey-menu/involved.svg");
1128
1296
  }
1129
1297
 
1298
+ .titaui-menus-tree__user-concern-node-icon.dataset-activities {
1299
+ background-image: url("../images/skynet-dataset-menu/dataset-activities.svg");
1300
+ }
1301
+
1302
+ .titaui-menus-tree__user-concern-node-icon.dataset-action {
1303
+ background-image: url("../images/skynet-dataset-menu/dataset-action.svg");
1304
+ }
1305
+
1306
+ .titaui-menus-tree__user-concern-node-icon.dataset-activities-employee {
1307
+ background-image: url("../images/skynet-dataset-menu/dataset-activities-employee.svg");
1308
+ }
1309
+
1310
+ .titaui-menus-tree__user-concern-node-icon.dataset-plan-comment {
1311
+ background-image: url("../images/skynet-dataset-menu/dataset-plan-comment.svg");
1312
+ }
1313
+
1314
+ .titaui-menus-tree__user-concern-node-icon.dataset-project {
1315
+ background-image: url("../images/skynet-dataset-menu/dataset-project.svg");
1316
+ }
1317
+
1318
+ .titaui-menus-tree__user-concern-node-icon.dataset-task {
1319
+ background-image: url("../images/skynet-dataset-menu/dataset-task.svg");
1320
+ }
1321
+
1322
+ .titaui-menus-tree__user-concern-node-icon.dataset-plan {
1323
+ background-image: url("../images/skynet-dataset-menu/dataset-plan.svg");
1324
+ }
1325
+
1130
1326
  .titaui-menus-tree__user-concern-node-icon.survey-templated {
1131
1327
  background-image: url("../images/survey-menu/template.svg");
1132
1328
  }
@@ -50,7 +50,7 @@ function SurveyMenus(props) {
50
50
  onSelect = _props$onSelect === void 0 ? function () {} : _props$onSelect,
51
51
  history = props.history,
52
52
  _props$defaultMenus = props.defaultMenus,
53
- defaultMenus = _props$defaultMenus === void 0 ? [] : _props$defaultMenus;
53
+ defaultMenus = _props$defaultMenus === void 0 ? [] : _props$defaultMenus; // console.log('yikaishi',defaultMenus);
54
54
 
55
55
  var _useState = (0, _react.useState)({}),
56
56
  _useState2 = _slicedToArray(_useState, 2),
@@ -363,7 +363,20 @@ function _default(props) {
363
363
  }).then(function (res) {
364
364
  setEditing(false);
365
365
 
366
- _toast["default"].Success((0, _getLocale.getLocale)('Mod_Successfuloperat'));
366
+ if (res) {
367
+ _toast["default"].Success((0, _getLocale.getLocale)('Mod_Successfuloperat'));
368
+ } else {
369
+ setKrNameData(function () {
370
+ var mileStoneName = data.mileStoneName,
371
+ mileStoneNameRichText = data.mileStoneNameRichText;
372
+ return {
373
+ pureText: mileStoneName,
374
+ pureTextExcludeAt: mileStoneName,
375
+ richText: mileStoneNameRichText ? JSON.parse(mileStoneNameRichText) : (0, _richEditor.TitaRichEditorInitTextState)(mileStoneName),
376
+ mentionUsers: []
377
+ };
378
+ });
379
+ }
367
380
  });
368
381
  };
369
382
 
@@ -129,8 +129,10 @@ function _default(props) {
129
129
  mileStoneName: val,
130
130
  workId: data.workId,
131
131
  workMileStoneId: data.mileStoneId
132
- }).then(function () {
133
- _toast["default"].Success("修改成功");
132
+ }).then(function (res) {
133
+ if (res) {
134
+ _toast["default"].Success("修改成功");
135
+ }
134
136
  });
135
137
  };
136
138
 
@@ -11,6 +11,8 @@ var _qs = _interopRequireDefault(require("qs"));
11
11
 
12
12
  var _request = require("../../utils/request");
13
13
 
14
+ var _toast = _interopRequireDefault(require("../toast"));
15
+
14
16
  var _getLocale = require("../../utils/getLocale");
15
17
 
16
18
  var _BSGlobal$loginUserIn;
@@ -272,7 +274,15 @@ var deleteKr = function deleteKr(mileStoneId) {
272
274
  exports.deleteKr = deleteKr;
273
275
 
274
276
  var updateKrName = function updateKrName(params) {
275
- return (0, _request.rpost)('v1')("WorkMileStone/UpdateName?workMileStoneId=".concat(params.workMileStoneId), params);
277
+ return (0, _request.rpost)('v1')("WorkMileStone/UpdateName?workMileStoneId=".concat(params.workMileStoneId), params).then(function (res) {
278
+ if (res.Code) {
279
+ return res;
280
+ } else {
281
+ _toast["default"].Error(res.Message || '操作异常,请刷新重试或联系客服');
282
+
283
+ return false;
284
+ }
285
+ });
276
286
  };
277
287
 
278
288
  exports.updateKrName = updateKrName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.16.85",
3
+ "version": "1.16.87",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",