buli
2023-06-05 e9b970ea36eea5dcf93fd5b965bf13d7010ce0ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
<template>
  
  <div>
    <div class="exampleHolder" if:true={IsLoading}>
      <lightning-spinner alternative-text="Loading" size="large"></lightning-spinner>
    </div>
          <!-- 成功 -->
      <div class="demo-only demo-only_viewport" style="height:4.5rem" if:true = {Tongzhishow}>
        <div class="slds-notification-container">
          <div aria-live="assertive" aria-atomic="true" class="slds-assistive-text">提示</div>
          <section class="slds-notification" role="dialog" aria-labelledby="noti77" aria-describedby="dialog-body-id-43">
            <div class="slds-notification__body" id="dialog-body-id-43">
              <a class="slds-notification__target slds-media" href="#">
                <span class="slds-icon_container slds-icon-standard-task slds-media__figure" title="task">
                  <svg class="slds-icon slds-icon_small" aria-hidden="true">
                    <use xlink:href="/assets/icons/standard-sprite/svg/symbols.svg#task"></use>
                  </svg>
                </span>
                <div class="slds-media__body">
                  <h2 class="slds-text-heading_small slds-m-bottom_xx-small" id="noti77">
                    <span class="slds-assistive-text">task notification:</span>提示</h2>
                  <p>{SaveShowText}</p>
                </div>
              </a>
            </div>
          </section>
        </div>
      </div>
 
    <article class="slds-card bodyFont" style="width:1370px" if:true={IsLoadingEnd}>
      <div class="slds-card__header slds-grid" >
        <header class="slds-media slds-media_center slds-has-flexi-truncate">
          <div class="slds-media__figure">
            <!-- <span class="slds-icon_container slds-icon-standard-account" title="account">
              <svg class="slds-icon slds-icon_small" aria-hidden="true">
                <use xlink:href="/assets/icons/standard-sprite/svg/symbols.svg#account"></use>
              </svg>
              <span class="slds-assistive-text">account</span>
            </span> -->
          </div>
          <div class="slds-media__body">
            <h2 class="slds-card__header-title" style="background:#5ac8fa;height:33px">
 
              <a href="#" class="slds-card__header-link slds-truncate" title="Accounts"  style="margin-left: 560px">
                <span style="color:#fff;width:100px">活动进度管理</span>
              </a>
              <!-- <span  onclick={OnSaveClick}  style="color:#fff;float:right">保存</span> -->
              <button class="slds-button slds-button_success"  onclick={OnSaveClick} style="margin-left: 560px;" >保存</button>
            </h2>
          </div>
        </header>
      </div>
      <div class="slds-card__body slds-card__body_inner"  >
        <ul class="slds-accordion"  style="width:1000px" >
          <li class="slds-accordion__list-item">
            <section class="slds-accordion__section slds-is-open">
              <div class="slds-accordion__summary">
                <h2 class="slds-accordion__summary-heading">
                  <button onclick={NotCompleteShowFn} class="slds-button slds-button_reset slds-accordion__summary-action" aria-controls="referenceId-45" aria-expanded="true" title="Accordion summary">
                    <svg class="slds-accordion__summary-action-icon slds-button__icon slds-button__icon_left" aria-hidden="true">
                      <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#switch"></use>
                    </svg>
                    <span class="slds-accordion__summary-content">进行中</span>
                  </button>
                </h2>
              </div>
              <div if:true={NotCompleteShow} class="slds-accordion__content" id="referenceId-45">
                <table class="slds-table slds-table_cell-buffer slds-table_bordered">
                  <thead>
                  <tr class="slds-line-height_reset">
                  <th class="" scope="col" style="background:#facca5;">
                  <div class="" title="医院名" style="width:100px">医院名</div>
                  </th>
                  <th class="" scope="col" style="background:#facca5;">
                  <div class="" title="目标ET" style="width:100px" >目标ET</div>
                  </th>
                  
                  <th class="" scope="col" style="background:#facca5;">
                    <div class="" title="目标购入数量(件)" style="width:110px">目标购入数量(件)</div>
                  </th>
                  <th class="" scope="col" style="background:#facca5;">
                    <div class="" title="目标设定日" style="width:100px">目标设定日</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="" title="实施-内容"  style="width:100px" >实施-内容</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="实施-日期"  style="width:80px">实施-日期</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="检查-购入意向"  style="width:100px">检查-购入意向</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="检查-日期"  style="width:80px">检查-日期</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="处理-内容"  style="width:100px">处理-内容</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="处理-日期"  style="width:80px">处理-日期</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="结果"  style="width:60px">结果</div>
                  </th>
                  <th class="" scope="col" style="background:#facca5">
                    <div class="slds-truncate" title="结束"  style="width:80px">结束</div>
                  </th>
                    
                  </tr>
                  </thead>
                  <tbody>
                    <template for:each={jzDataNotCompleteShow} for:item="item">
                    <tr class="slds-hint-parent" key={item.Id}>
                      <td data-label="demo1">
                      <div class="" title={item.Hospital_Name__c} style="width:100px;white-space:normal">{item.Hospital_Name__c}</div>
                      </td>
                      <td data-label="demo2">
                      <div class=""  title={item.Category4__c} style="width:100px;white-space:normal" >
                        {item.Category4__c}
                      </div>
                      </td>
                      <td data-label="demo2">
                      <div class="slds-truncate" title={item.Qty__c}>{item.Qty__c}</div>
                      </td>
                      <td data-label="demo2">
                      <div class="slds-truncate" title={item.Plan_Date__c}>{item.Plan_Date__c}</div>
                      </td>
                      <td data-label="demo2"  style="background:#e89b29"> 
                        <div class="slds-select_container">
                          <select  class="slds-select"  onchange={changeSSNR} name={item.Id}>
                            <option>{item.Do_Content__c}</option>
                            <option>不选</option>
                            <template for:each={DoContentList} for:item="DoItem">
                              <option key={DoItem.value} >{DoItem.value}</option>
                            </template>
                          </select>
                        </div>
                      </td>
                      <td data-label="demo2" >
                      <div class="slds-truncate" title={item.Do_Date__c} >{item.Do_Date__c}</div>
                      </td>
                      <td data-label="demo2"   style="background:#e89b29">
                        <div class="slds-select_container" if:true={item.Do_ContentFlag}> 
                          <select  class="slds-select"   onchange={changeJCGRYX} name={item.Id} >
                            <option>{item.Check_Purchase__c}</option>
                            <option>不选</option>
                            <template for:each={CheckPurchaseList} for:item="CPItem">
                              <option key={CPItem.value} >{CPItem.value}</option>
                            </template>
                          </select>
                        </div>
                      </td>
                      <td data-label="demo2">
                      <div class="slds-truncate" title={item.Check_Date__c} >{item.Check_Date__c}</div>
                      </td>
                      <td data-label="demo2"  style="background:#e89b29">
                        <div class="slds-select_container" if:true={item.Check_PurchaseFlag}>
                          <select  class="slds-select"  onchange={changeCLNR} name={item.Id} >
                            <option>{item.Action_Content__c}</option>
                            <option>不选</option>
                            <template for:each={ActionContent} for:item="ACItem">
                              <option key={ACItem.value} >{ACItem.value}</option>
                            </template>
                          </select>
                        </div>
                      </td>
                      <td data-label="demo2">
                      <div class="slds-truncate" title={item.Action_Date__c} >{item.Action_Date__c}</div>
                      </td>
                      <td data-label="demo2"  style="background:#e89b29">
                        <div >   
                        <!-- 去掉选择框 -->
                        <!--  if:true={item.ResultShow} -->
                        <!-- <div class="slds-select_container"  if:true={item.IsResultChack}>
                          <select  class="slds-select"   onchange={changeResult} name={item.Id} >
                            <option>{item.Result__c}</option>
                            <option>不选</option>
                            <template for:each={ResultCheckList} for:item="RSItem"  >
                              <option key={RSItem.value} >{RSItem.value}</option>
                            </template>
                          </select>
                        </div> -->
                        <!-- <p if:false={item.IsResultChack} >{item.Result__c}</p> -->
                        <p>{item.Result__c}</p>
                        </div>
                      </td>
                      <td data-label="demo2"  >
                      <div class="slds-truncate" title={item.ResultS} style="display: inline;">
                        <p >{item.ResultS}</p>
                        <!-- <div style="float: left;">结束&nbsp;&nbsp;&nbsp; </div> -->
                        
                        <!-- <div style="color:blue" onclick={RevokeChangeFn} name={item.Id} if:true={item.IsBetWeen}> 撤销</div> -->
                      </div>
                   
                      </td>
                    </tr>
                  </template>
                  </tbody>
                  </table>
              </div>
            </section>
          </li>
 
          <li class="slds-accordion__list-item"  style="width:1000px">
            <section class="slds-accordion__section slds-is-open">
              <div class="slds-accordion__summary">
                <h2 class="slds-accordion__summary-heading">
                  <button onclick={CompleteShowFn} class="slds-button slds-button_reset slds-accordion__summary-action" aria-controls="referenceId-45" aria-expanded="true" title="Accordion summary">
                    <svg class="slds-accordion__summary-action-icon slds-button__icon slds-button__icon_left" aria-hidden="true">
                      <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#switch"></use>
                    </svg>
                    <span class="slds-accordion__summary-content">已完成</span>
                  </button>
                </h2>
              </div>
              <div if:true={CompleteShow} class="slds-accordion__content" id="referenceId-46">
                <table class="slds-table slds-table_cell-buffer slds-table_bordered" >
                  <thead>
                  <tr class="slds-line-height_reset">
                  <th class="" scope="col" style="background:#facca5" >
                  <div class="slds-truncate" title="医院名" style="width:100px">医院名</div>
                  </th>
                  <th class="" scope="col" style="background:#facca5;">
                  <div class="slds-truncate" title="目标ET" style="width:100px">目标ET</div>
                  </th>
                  
                  <th class="" scope="col" style="background:#facca5;">
                    <div class="slds-truncate" title="目标购入数量(件)" style="width:110px">目标购入数量(件)</div>
                  </th>
                  <th class="" scope="col" style="background:#facca5;">
                    <div class="slds-truncate" title="目标设定日"  style="width:100px">目标设定日</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="实施-内容"  style="width:100px" >实施-内容</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="实施-日期"  style="width:80px">实施-日期</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="检查-购入意向"  style="width:100px">检查-购入意向</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="检查-日期"  style="width:80px">检查-日期</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="处理-内容"  style="width:100px">处理-内容</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="处理-日期"  style="width:80px">处理-日期</div>
                  </th>
                  <th class="" scope="col" style="background:#149feb">
                    <div class="slds-truncate" title="结果"  style="width:60px">结果</div>
                  </th>
                  <th class="" scope="col" style="background:#facca5">
                    <div class="slds-truncate" title="结束"  style="width:80px">结束</div>
                  </th>
                    
                  </tr>
                  </thead>
                  <tbody>
                    <template for:each={jzDataCompleteShow} for:item="item">
                    <tr class="slds-hint-parent" key={item.Id} >
                      <td data-label="demo1" >
                      <div class="" title={item.Hospital_Name__c}  style="width:100px;white-space:normal" >{item.Hospital_Name__c}</div>
                      </td>
                      <td data-label="demo2">
                      <div class="" title={item.Category4__c} style="width:100px;white-space:normal" >{item.Category4__c}</div>
                      </td>
                      <td data-label="demo2">
                      <div class="" title={item.Qty__c}  >{item.Qty__c}</div>
                      </td>
                      <td data-label="demo2">
                      <div class="" title={item.Plan_Date__c}>{item.Plan_Date__c}</div>
                      </td>
                      <td data-label="demo2" style="background:#e89b29"> 
                        <div class="" title={item.Do_Content__c}>{item.Do_Content__c}</div>
                      </td>
                      <td data-label="demo2">
                      <div class="" title={item.Do_Date__c}>{item.Do_Date__c}</div>
                      </td>
                      <td data-label="demo2" style="background:#e89b29">
                        <div class="" title={item.Check_Purchase__c}>{item.Check_Purchase__c}</div>
                      </td>
                      <td data-label="demo2">
                      <div class="" title={item.Check_Date__c}>{item.Check_Date__c}</div>
                      </td>
                      <td data-label="demo2" style="background:#e89b29">
                        <div class="" title={item.Action_Content__c}>{item.Action_Content__c}</div>
                      </td>
                      <td data-label="demo2">
                      <div class="" title={item.Action_Date__c} >{item.Action_Date__c}</div>
                      </td>
                      <td data-label="demo2" style="background:#e89b29">
                      <div class="" title={item.Result__c} >{item.Result__c}</div>
                      </td>
                      <td data-label="demo2"  >
                      <div class="" title="demo2" style="display: inline;">
                        <div style="float: left;">结束&nbsp;&nbsp;&nbsp; </div>
                        
                        <div style="color:blue" onclick={RevokeChangeFn} title={item.Id} if:true={item.IsBetWeen}> 撤销</div>
                      </div>
                   
                      </td>
                    </tr>
                  </template>
                  </tbody>
                  </table>
              </div>
            </section>
          </li>
 
        
        </ul>
 
      </div>
     
    </article>
   
  </div>
 
</template>