Blame view

admin-web-master/src/views/activity/activityHis.vue 110 KB
cc748250   杨鑫   '2'
1
  <template>
25e99daf   杨鑫   '最新'
2
3
4
  	<div style="background-color:#f7f7f7;padding:10px 10px;">
  		<div class="zhuti" v-if="ggXin==false && bianshow==false">
  			<div style="height:58px;line-height:58px;">
2f60abcc   杨鑫   最新
5
  				<div style="color:#0006"> <span>活动策划</span> <span style="padding:0 5px;">></span> <span
25e99daf   杨鑫   '最新'
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
  						style="color:#000000e6">活动策划调整</span></div>
  			</div>
  			<div>
  				<!-- 搜索 -->
  				<div class="formSearch">
  					<div class="demo-input-suffix">
  						<div v-if="searPei.name" style="display: flex;">
  							<div style="width: 68px;height:36px;line-height:36px;">方案名称</div>
  							<el-input placeholder="请输入" v-model="formSear.planName" style="width:168px;">
  							</el-input>
  						</div>
  						<!-- <div v-if="searPei.lei" style="display: flex;">
                <div style="width: 68px;height:36px;line-height:36px;">方案类型</div>
                <el-input placeholder="请输入"  v-model="planName" style="width:168px;">
                </el-input>
              </div> -->
  						<div v-if="searPei.staut" style="display: flex;">
  							<div style="width: 68px;height:36px;line-height:36px;">审批状态</div>
  							<el-select v-model="formSear.state" placeholder="请选择"
  								style="width: 100px;margin-right: 5px">
  								<el-option label="待提交" value="" />
  								<el-option label="待审核" value="1" />
  								<el-option label="已通过" value="5" />
  								<el-option label="已驳回" value="6" />
  							</el-select>
  							</el-input>
  						</div>
  
  
  					</div>
  					<div>
  
  						<el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff">查询
  						</el-button>
  						<el-button @click="resetting" class="buttonHover"
  							style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">重置
  						</el-button>
  					</div>
  				</div>
  				<div style="margin: 20px 0;">
  					<div style="display:flex;">
  						<!-- <el-button  style="background-color: #3F9B6A;color: #fff;" @click="setSearch">搜索关键词设置</el-button> -->
2d521f7d   杨鑫   最新2
48
49
  						<!-- <el-button style="background-color: #3F9B6A;color: #fff;" @click="duibi">效果对比</el-button> -->
  						<!-- <el-upload class="upload-demo" ref="upload" :limit="1" accept=".xlsx" :action="uploadFileUrl"
25e99daf   杨鑫   '最新'
50
51
52
53
  							:on-success="daoru" :file-list="daoData" :auto-upload="true" :show-file-list="false">
  							<el-button
  								style="background-color: #fff;color: #3F9B6A;border: 1px solid #dcdfe6;margin:0 15px;"
  								class="buttonHover">导入</el-button>
2d521f7d   杨鑫   最新2
54
  						</el-upload> -->
25e99daf   杨鑫   '最新'
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
  
  						<!-- <el-button  style="background-color: #3F9B6A;color: #fff;" @click="daochu">审核流程导出</el-button> -->
  						<!-- <el-button  style="background-color: #fff;color: #000;border: 1px solid #B1B1B1;"
                icon="el-icon-folder-add" class="buttonHover" @click="xinFenlei">活动分类管理</el-button> -->
  					</div>
  
  				</div>
  				<!-- 分栏 -->
  				<div class="fenlan">
  					<!-- 搜索分类 -->
  
  					<div class="tableList">
  
  						<!-- 表格 -->
  						<div>
52fc03a8   杨鑫   '最新'
70
  							<!-- @selection-change="handleSelectionChange" -->
25e99daf   杨鑫   '最新'
71
  							<el-table :data="tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
a8cf1417   杨鑫   '最新'
72
  								tooltip-effect="dark" align="left"
25e99daf   杨鑫   '最新'
73
74
  								:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
  								ref="mulTable">
52fc03a8   杨鑫   '最新'
75
76
  								<!-- <el-table-column type="selection" min-width="5%">
  								</el-table-column> -->
25e99daf   杨鑫   '最新'
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
  								<el-table-column label="方案名称" min-width="27%" show-overflow-tooltip prop="planName">
  								</el-table-column>
  								<el-table-column label="类型" prop="planType" min-width="10%">
  								</el-table-column>
  								<!-- <el-table-column label="发布状态" width="80" >
  
                  </el-table-column> -->
  								<el-table-column label="审批状态" min-width="12%">
  									<template slot-scope="scope">
  										{{scope.row.state == ''?'待提交':scope.row.state == '1'?'待审批':scope.row.state == '2'?'部门领导审批':scope.row.state == '3'?'公司领导审批':scope.row.state == '4'?'其他审批':scope.row.state == '5'?'审核通过':'已驳回'}}
  									</template>
  								</el-table-column>
  								<el-table-column label="创建时间" prop="createDate" min-width="15%">
  								</el-table-column>
  								<!-- <el-table-column prop="auditReminderTime" label="审核提醒时间" min-width="12%">
  
                  </el-table-column> -->
  								<el-table-column label="操作" min-width="28%" fixed="right">
  									<template slot-scope="scope">
  										<div @click="actBian(scope.row)" class="tableBtn greens"
  											v-if="scope.row.state == ''">方案编辑</div>
  										<!-- <div class="tableBtn greens">发布</div> -->
  										<div class="tableBtn greens" @click="handleEditForm(scope.row,1,false)">查看
  										</div>
  										<!-- <div class="tableBtn greens" @click="handleEditForm(scope.row,2,false)">执行情况</div> -->
  										<div class="tableBtn greens" @click="handleEditForm(scope.row,2,true)">执行调整
  										</div>
  										<div class="tableBtn greens" @click="handleEditForm(scope.row,3,false)">调整历史
  										</div>
2d521f7d   杨鑫   最新2
106
107
108
  										<div class="tableBtn greens" @click="xiaoguo(scope.row)"
  											v-if="scope.row.state == '5'">效果对比
  										</div>
25e99daf   杨鑫   '最新'
109
110
111
112
113
114
115
116
117
118
  										<div @click="actDelete(scope.row)" class="tableBtn greens">删除</div>
  										<!-- <div class="tableBtn greens" @click="handleEditForm(scope.row)">历史方案查看</div> -->
  
  										<!-- <div class="tableBtn greens">策略调整</div> -->
  										<!-- <div class="tableBtn greens" @click="koop(scope.row)">复制</div> -->
  									</template>
  								</el-table-column>
  							</el-table>
  							<div class="fenye">
  								<div>
a8cf1417   杨鑫   '最新'
119
  									<!-- 	<el-button @click="tableAll" class="buttonHover"
25e99daf   杨鑫   '最新'
120
121
122
123
  										style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;">选择全部
  									</el-button>
  									<el-button @click="toggleSelection(tableData)" class="buttonHover"
  										style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;">反向选择
52fc03a8   杨鑫   '最新'
124
  									</el-button> -->
25e99daf   杨鑫   '最新'
125
126
127
128
129
130
131
132
133
134
135
136
  								</div>
  								<el-pagination class="pagination" :hide-on-single-page="flag" background small
  									:current-page="currentPage" :page-size="pageSize" layout="prev,pager,next"
  									:total="total" @current-change="handleCurrentChange" />
  							</div>
  
  						</div>
  					</div>
  				</div>
  
  			</div>
  		</div>
8d583060   杨鑫   '最新'
137
  		<!-- 详情活动方案 -->
25e99daf   杨鑫   '最新'
138
  		<div v-if="ggXin" style="background-color:#fff;">
8d583060   杨鑫   '最新'
139
140
141
142
  			<div style="height:58px;line-height:58px;background-color:#fff;padding-left:20px;">
  				<div style="color:#0006"> <span>活动策划</span> <span style="padding:0 5px;">></span> <span
  						style="color:#000000e6">活动方案详情</span></div>
  			</div>
25e99daf   杨鑫   '最新'
143
144
  			<div ref="actXiang">
  				<div style="width: 100%;">
2d521f7d   杨鑫   最新2
145
  					<div style="padding:0px 20px 20px 20px; display: flex;">
25e99daf   杨鑫   '最新'
146
147
148
149
150
151
152
153
154
  						<div style="height: 80px;" v-if="secondData.coverPoster">
  							<img :src="$baseURL+secondData.coverPoster" alt="" style="height: 80px;" />
  						</div>
  						<div
  							style="display: flex;flex-direction: column;justify-content: space-around;padding: 0 10px;font-size: 12px;">
  							<span style="margin-bottom: 10px;">{{text}}</span>
  							<span>活动时间:{{tableData1[1].eventTheme}}至{{tableData1[1].planName}}</span>
  							<span>活动地点:{{tableData1[0].planName}}</span>
  						</div>
2d521f7d   杨鑫   最新2
155
156
157
158
  					</div>
  					<div style="width: 100%;background-color: #fff;">
  						<el-tabs v-model="activeName" @tab-click="handleClick" style="padding-left:20px;">
  							<el-tab-pane label="方案概况" name="first"></el-tab-pane>
0e38abb3   杨鑫   '最新'
159
  							<el-tab-pane label="方案调整" name="second"></el-tab-pane>
2d521f7d   杨鑫   最新2
160
161
162
163
164
165
  							<el-tab-pane label="历史记录列表" name="fourd"></el-tab-pane>
  							<!-- <el-tab-pane label="执行情况" name="five"></el-tab-pane> -->
  						</el-tabs>
  					</div>
  					<div v-if="activeName=='first'" style="display: flex;">
  						<div style="width: 100%;">
25e99daf   杨鑫   '最新'
166
  							<div style="width: 100%;">
2d521f7d   杨鑫   最新2
167
168
169
170
171
172
173
174
175
  								<div style="font-size: 14px;padding: 10px 20px 0px 20px;">基本信息</div>
  								<div style="padding: 10px 20px;">
  									<el-table :data="tableData1"
  										:header-cell-style="{fontSize: '14px', backgroundColor: '#fff',color:'#000',fontWeight: 'normal'}"
  										style="width: 100%;margin: auto;">
  										<el-table-column class-name="first-column-bg" label="方案编号" prop="name"
  											min-width="15%">
  										</el-table-column>
  										<el-table-column :label="id" prop="eventTheme" min-width="35%">
25e99daf   杨鑫   '最新'
176
  
2d521f7d   杨鑫   最新2
177
178
179
  										</el-table-column>
  										<el-table-column class-name="first-column-bg" label="方案名称" prop="text"
  											min-width="15%">
25e99daf   杨鑫   '最新'
180
  
2d521f7d   杨鑫   最新2
181
182
  										</el-table-column>
  										<el-table-column :label="text" prop="planName" min-width="35%">
25e99daf   杨鑫   '最新'
183
  
2d521f7d   杨鑫   最新2
184
185
  										</el-table-column>
  									</el-table>
25e99daf   杨鑫   '最新'
186
187
  
  
25e99daf   杨鑫   '最新'
188
  								</div>
2d521f7d   杨鑫   最新2
189
190
191
192
193
  							</div>
  							<div style="width: 100%;">
  								<div style="font-size: 14px;padding: 10px 20px 0px 20px;">活动明细信息</div>
  								<div style="padding: 10px 20px;">
  									<el-table :data="tableData2"
cdf6c4c9   杨鑫   最新
194
  					:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
2d521f7d   杨鑫   最新2
195
196
197
198
199
200
201
202
203
204
205
  										style="width: 100%;margin: auto;">
  										<el-table-column label="序号" min-width="5%" align='center'>
  											<template slot-scope="scope">
  												<span style="">{{ scope.$index +1}}</span>
  											</template>
  										</el-table-column>
  										<el-table-column label="明细项名称" prop="detailLtemName" min-width="28%">
  										</el-table-column>
  										<el-table-column label="预估数量" prop="estimatedQuantity" min-width="20%">
  
  										</el-table-column>
98d43fa2   杨鑫   '最新'
206
  										<el-table-column label="预估费用(元)" prop="estimatedCost" min-width="20%">
2d521f7d   杨鑫   最新2
207
208
209
210
211
  
  										</el-table-column>
  										<el-table-column label="备注" prop="notes" min-width="20%">
  										</el-table-column>
  									</el-table>
25e99daf   杨鑫   '最新'
212
  								</div>
2d521f7d   杨鑫   最新2
213
214
215
216
217
218
219
  							</div>
  							<div style="width: 100%;">
  								<div style="font-size: 14px;padding: 10px 20px 0px 20px;">活动成本信息</div>
  								<div style="padding:10px 20px;">
  									<el-table :data="tableData3"
  										:header-cell-style="{fontSize: '14px', backgroundColor: '#fff',color:'#000',fontWeight: 'normal'}"
  										style="width: 100%;margin: auto;">
98d43fa2   杨鑫   '最新'
220
  										<el-table-column class-name="first-column-bg" label="内部人力成本预估(元)" prop="name"
2d521f7d   杨鑫   最新2
221
222
223
224
225
226
  											min-width="15%">
  										</el-table-column>
  										<el-table-column :label="internalLaborCostEstimation" prop="eventTheme"
  											min-width="35%">
  
  										</el-table-column>
98d43fa2   杨鑫   '最新'
227
  										<el-table-column class-name="first-column-bg" label="外部人力成本预估(元)" prop="text"
2d521f7d   杨鑫   最新2
228
229
230
231
232
233
234
235
  											min-width="15%">
  
  										</el-table-column>
  										<el-table-column :label="externalLaborCostEstimation" prop="planName"
  											min-width="35%">
  
  										</el-table-column>
  									</el-table>
25e99daf   杨鑫   '最新'
236
  								</div>
2d521f7d   杨鑫   最新2
237
238
239
240
241
242
243
244
245
  							</div>
  							<div style="width: 100%;">
  								<div style="font-size: 14px;padding:10px 20px 0px 20px;">预估效果</div>
  								<div style="padding:10px 20px;">
  									<el-table :data="tableData4"
  										:header-cell-style="{fontSize: '14px', backgroundColor: '#fff',color:'#000',fontWeight: 'normal'}"
  										style="width: 100%;margin: auto;">
  										<el-table-column class-name="first-column-bg" label="预计吸引流量" prop="name"
  											min-width="15%">
25e99daf   杨鑫   '最新'
246
  										</el-table-column>
2d521f7d   杨鑫   最新2
247
248
249
250
251
252
253
254
255
256
257
258
259
  										<el-table-column :label="expectedAttractTraffic" prop="eventTheme"
  											min-width="35%">
  
  										</el-table-column>
  										<el-table-column class-name="first-column-bg" label="预计参与人数" prop="text"
  											min-width="15%">
  
  										</el-table-column>
  										<el-table-column :label="expectedParticipation" prop="planName" min-width="35%">
  
  										</el-table-column>
  									</el-table>
  									</el-table-column>
25e99daf   杨鑫   '最新'
260
  								</div>
2d521f7d   杨鑫   最新2
261
262
263
264
265
  							</div>
  							<div style="width: 100%;">
  								<div style="font-size: 14px;padding: 10px 20px 0px 20px;">相关附件信息</div>
  								<div style="padding:10px 20px;">
  									<el-table :data="tableData6"
cdf6c4c9   杨鑫   最新
266
  							:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
2d521f7d   杨鑫   最新2
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
  										style="width: 100%;margin: auto;">
  										<el-table-column label="序号" min-width="5%" align='center'>
  											<template slot-scope="scope">
  												<span style="">{{ scope.$index + 1 }}</span>
  											</template>
  										</el-table-column>
  										<el-table-column label="附件名称" prop="attachmentName" min-width="75%">
  										</el-table-column>
  										<el-table-column label="操作" min-width="20%">
  											<template slot-scope="scope">
  												<!-- <div class="tableBtn greens" @click="Down(scope.row)">下载</div> -->
  												<a class="tableBtn greens" :href="scope.row.attachmentUrl"
  													target="_blank" download>下载</a>
  											</template>
  										</el-table-column>
  
  									</el-table>
25e99daf   杨鑫   '最新'
284
  								</div>
2d521f7d   杨鑫   最新2
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
  							</div>
  							<div style="width: 100%;">
  								<div style="font-size: 14px;padding: 10px 20px 0px 20px;">系统信息</div>
  								<div style="padding:10px 20px;">
  									<el-table :data="tableData5"
  										:header-cell-style="{fontSize: '14px', backgroundColor: '#fff',color:'#000',fontWeight: 'normal'}"
  										style="width: 100%;margin: auto;">
  										<el-table-column class-name="first-column-bg" label="创建人" prop="name"
  											min-width="15%">
  										</el-table-column>
  										<el-table-column :label="createUser" prop="eventTheme" min-width="35%">
  
  										</el-table-column>
  										<el-table-column class-name="first-column-bg" label="创建时间" prop="text"
  											min-width="15%">
  
  										</el-table-column>
  										<el-table-column :label="createDate" prop="planName" min-width="35%">
  
  										</el-table-column>
  									</el-table>
25e99daf   杨鑫   '最新'
306
307
308
  								</div>
  							</div>
  						</div>
2d521f7d   杨鑫   最新2
309
310
311
312
313
314
315
  					</div>
  					<div v-if="activeName=='second'">
  						<div style="padding: 20px">
  							<div style="border: solid 1px #E5E5E5;border-radius: 5px">
  								<div style="border-bottom: 1px solid #E5E5E5;padding: 1px">
  									<div style="padding: 10px 20px;background-color: #FAFAFA;font-size: 14px;">
  										基本信息
25e99daf   杨鑫   '最新'
316
317
  									</div>
  								</div>
2d521f7d   杨鑫   最新2
318
  								<div style="padding: 20px 40px 20px 20px">
8dca79c8   杨鑫   1
319
320
  									<el-form label-position="top" ref="zhixingFormInfo" :rules="zhixingRules"
  										:model="zhixingList" label-width="120px" style="position: relative">
2d521f7d   杨鑫   最新2
321
322
323
  										<el-row :gutter="20">
  											<el-col :span="8">
  												<el-form-item label="活动名称" class="grid-content bg-purple device-from"
d5f60c72   杨鑫   '最新'
324
  													prop="planName">
2d521f7d   杨鑫   最新2
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
  													<el-input v-model="zhixingList.planName" placeholder="请输入"
  														:disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="8">
  												<el-form-item label="实际举办地点" class="grid-content bg-purple" prop="name">
  													<el-input v-model="zhixingList.eventAddrs" placeholder="请输入"
  														:disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  
  											<el-col :span="8">
  												<el-form-item label="实际举办时间" class="grid-content bg-purple"
  													prop="event_start_time" style="position: relative">
  													<el-date-picker style="width: 100%;" v-model="zhixingList.planTime"
8dca79c8   杨鑫   1
340
341
342
343
  														@change="formTime" @blur="blur" clear-icon="none"
  														value-format="yyyy-MM-dd HH:mm:ss" :disabled="!zhixingBian"
  														type="datetimerange" range-separator="至"
  														start-placeholder="开始日期" end-placeholder="结束日期" align="right">
2d521f7d   杨鑫   最新2
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
  													</el-date-picker>
  												</el-form-item>
  											</el-col>
  										</el-row>
  
  										<el-row :gutter="20">
  											<el-col :span="8">
  												<el-form-item label="活动主办方" class="grid-content bg-purple" prop="name">
  													<el-input v-model="zhixingList.sponsor" placeholder="请输入"
  														:disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="8">
  												<el-form-item label="活动实际参与方" class="grid-content bg-purple"
  													prop="name">
  													<el-input v-model="zhixingList.participants" placeholder="请输入"
  														:disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  										</el-row>
  									</el-form>
  								</div>
25e99daf   杨鑫   '最新'
366
  							</div>
2d521f7d   杨鑫   最新2
367
368
369
370
371
372
  						</div>
  						<div style="padding: 0px 20px 20px 20px">
  							<div style="border: solid 1px #E5E5E5;border-radius: 5px">
  								<div style="border-bottom: 1px solid #E5E5E5;padding: 1px;display: flex">
  									<div style="padding: 10px 20px;background-color: #FAFAFA;font-size: 14px;">
  										活动明细信息
25e99daf   杨鑫   '最新'
373
  									</div>
2d521f7d   杨鑫   最新2
374
375
  									<div style="color: #2d8a58;margin-top: 10px;font-size: 14px;" @click="tianMing">
  										添加明细
25e99daf   杨鑫   '最新'
376
377
  									</div>
  								</div>
2d521f7d   杨鑫   最新2
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
  								<!--          表格-->
  								<div style="padding: 20px 20px 20px 20px">
  									<el-table :data="tableDa"
  										:header-cell-style="{fontSize: '14px', backgroundColor: '#FAFAFA',color:'#000',fontWeight: 'normal'}"
  										style="width: 100%">
  										<el-table-column label="序号" width="auto" min-width="5%" prop="date"
  											align="center">
  											<template slot-scope="scope">
  												{{scope.$index +1}}
  											</template>
  										</el-table-column>
  										<el-table-column label="明细项名称" prop="detailLtemName" width="auto"
  											min-width="22%">
  
  										</el-table-column>
8dca79c8   杨鑫   1
393
  										<el-table-column label="实际数量" prop="estimatedQuantity" width="auto"
2d521f7d   杨鑫   最新2
394
395
396
  											min-width="15%">
  
  										</el-table-column>
8dca79c8   杨鑫   1
397
  										<el-table-column label="实际费用(元)" prop="estimatedCost" width="auto"
a8cf1417   杨鑫   '最新'
398
  											min-width="15%">
2d521f7d   杨鑫   最新2
399
400
401
402
403
404
405
406
407
408
409
410
411
412
  										</el-table-column>
  										<el-table-column prop="notes" label="备注" width="auto" min-width="15%">
  										</el-table-column>
  										<el-table-column label="操作" width="auto" min-width="18%" v-if="zhixingBian">
  											<template slot-scope="scope">
  												<!-- <div class="tableBtn greens">详情</div> -->
  												<div class="tableBtn greens"
  													@click="MingDelete(scope.$index,scope.row)">删除
  												</div>
  											</template>
  										</el-table-column>
  									</el-table>
  
  								</div>
25e99daf   杨鑫   '最新'
413
  							</div>
2d521f7d   杨鑫   最新2
414
415
416
417
418
419
  						</div>
  						<div style="padding: 20px">
  							<div style="border: solid 1px #E5E5E5;border-radius: 5px;padding-bottom: 20px;">
  								<div style="border-bottom: 1px solid #E5E5E5;padding: 1px">
  									<div style="padding: 10px 20px;background-color: #FAFAFA;font-size: 14px;">
  										实际花费成本
25e99daf   杨鑫   '最新'
420
421
  									</div>
  								</div>
2d521f7d   杨鑫   最新2
422
423
424
425
426
  								<div style="padding: 20px 40px 0px 20px">
  									<el-form label-position="top" ref="ruleFormInfo" :model="zhixingList"
  										label-width="120px" style="position: relative">
  										<el-row :gutter="20">
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
427
  												<el-form-item label="实际内部人力成本(元)"
2d521f7d   杨鑫   最新2
428
429
430
431
432
433
  													class="grid-content bg-purple device-from" prop="name">
  													<el-input v-model="zhixingList.internalLaborCostEstimation"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
434
  												<el-form-item label="实际外部人力成本(元)" class="grid-content bg-purple"
2d521f7d   杨鑫   最新2
435
436
437
438
439
440
441
  													prop="name">
  													<el-input v-model="zhixingList.externalLaborCostEstimation"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
442
  												<el-form-item label="实际商品成本(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
443
  													prop="name">
2d521f7d   杨鑫   最新2
444
445
446
447
448
449
450
451
  													<el-input v-model="zhixingList.costEstimationGoods"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  										</el-row>
  
  										<el-row :gutter="20">
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
452
  												<el-form-item label="实际设备成本(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
453
  													prop="name">
2d521f7d   杨鑫   最新2
454
455
456
457
458
  													<el-input v-model="zhixingList.setCostEstimate" placeholder="请输入"
  														:disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
459
  												<el-form-item label="实际宣传费用(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
460
  													prop="name">
2d521f7d   杨鑫   最新2
461
462
463
464
465
  													<el-input v-model="zhixingList.estimatedPromotionalExpenses"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
466
  												<el-form-item label="实际其他成本(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
467
  													prop="name">
2d521f7d   杨鑫   最新2
468
469
470
471
472
473
474
475
  													<el-input v-model="zhixingList.otherNecessaryEstimates"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  										</el-row>
  
  										<el-row :gutter="20">
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
476
  												<el-form-item label="实际总成本(元)" prop="name"
a8cf1417   杨鑫   '最新'
477
  													class="grid-content bg-purple">
2d521f7d   杨鑫   最新2
478
479
480
481
482
483
484
485
486
487
488
489
490
  													<el-input v-model="zhixingList.totalCostEstimation"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="16">
  												<el-form-item label="备注" prop="name" class="grid-content bg-purple">
  													<el-input v-model="zhixingList.notes" placeholder="请输入"
  														:disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  										</el-row>
  									</el-form>
  								</div>
25e99daf   杨鑫   '最新'
491
  							</div>
2d521f7d   杨鑫   最新2
492
  						</div>
25e99daf   杨鑫   '最新'
493
  
2d521f7d   杨鑫   最新2
494
495
496
497
498
  						<div style="padding: 20px">
  							<div style="border: solid 1px #E5E5E5;border-radius: 5px;padding-bottom: 20px;">
  								<div style="border-bottom: 1px solid #E5E5E5;padding: 1px">
  									<div style="padding: 10px 20px;background-color: #FAFAFA;font-size: 14px;">
  										活动执行效果
25e99daf   杨鑫   '最新'
499
500
  									</div>
  								</div>
2d521f7d   杨鑫   最新2
501
502
503
504
505
  								<div style="padding: 20px 40px 0px 20px">
  									<el-form label-position="top" ref="ruleFormInfo" :model="zhixingList"
  										label-width="120px" style="position: relative">
  										<el-row :gutter="20">
  											<el-col :span="8">
a8cf1417   杨鑫   '最新'
506
  												<el-form-item label="实际吸引流量" class="grid-content bg-purple device-from"
2d521f7d   杨鑫   最新2
507
508
509
510
511
512
  													prop="name">
  													<el-input v-model="zhixingList.expectedAttractTraffic"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="8">
a8cf1417   杨鑫   '最新'
513
  												<el-form-item label="实际参与人数" class="grid-content bg-purple" prop="name">
2d521f7d   杨鑫   最新2
514
515
516
517
518
519
  													<el-input v-model="zhixingList.expectedParticipation"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
520
  												<el-form-item label="实际直接收益(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
521
  													prop="name">
2d521f7d   杨鑫   最新2
522
523
524
525
526
527
528
  													<el-input v-model="zhixingList.expectedDirectBenefits"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  										</el-row>
  										<el-row :gutter="20">
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
529
  												<el-form-item label="实际间接收益(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
530
  													prop="name">
2d521f7d   杨鑫   最新2
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
  													<el-input v-model="zhixingList.expectedIndirectBenefits"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  
  										</el-row>
  										<el-row :gutter="20">
  											<el-col :span="24">
  												<el-form-item label="反馈内容" class="grid-content bg-purple" prop="name">
  													<el-upload class="upload-demo" ref="upload"
  														:on-remove="handleRemove" :action="uploadFileUrl"
  														:on-success="handleUploadSuccess" :file-list="fileData"
  														:show-file-list="true" v-if="zhixingBian">
  														<el-button
  															style="background-color: #fff;color: #3F9B6A;border: 1px solid #dcdfe6;"
  															class="buttonHover"
  															v-if="fileData.length==0">+点击上传</el-button>
  													</el-upload>
  													<div v-else>{{zhixingList.feedbackContent}}</div>
  												</el-form-item>
  											</el-col>
  
  										</el-row>
  									</el-form>
  								</div>
25e99daf   杨鑫   '最新'
556
  							</div>
2d521f7d   杨鑫   最新2
557
  						</div>
25e99daf   杨鑫   '最新'
558
  
2d521f7d   杨鑫   最新2
559
560
561
562
563
564
  					</div>
  					<div v-if="activeName=='fourd'">
  						<div style="display:flex;padding-left: 20px;">
  							<div style="margin-right:10px;line-height:200%;">历史活动策划方案搜索</div>
  							<el-select v-model="lishiList" placeholder="请选择" style="margin:0 20px 20px 20px;"
  								@change="lichange">
3d9acc2b   杨鑫   '最新'
565
566
  								<el-option v-for="(item,index) in effectivenessList" :key="item.id"
  									:label="item.operationType" :value="index">
2d521f7d   杨鑫   最新2
567
568
  								</el-option>
  							</el-select>
a8cf1417   杨鑫   '最新'
569
  							<!-- <el-button @click="tiaozheng" style="background-color: #3F9B6A;color: #fff"
2d521f7d   杨鑫   最新2
570
  								v-if="lishiList!=null">调整对比
a8cf1417   杨鑫   '最新'
571
  							</el-button> -->
25e99daf   杨鑫   '最新'
572
  						</div>
2d521f7d   杨鑫   最新2
573
574
575
576
  						<div style="width: 100%;" v-if="lishiList!=null" ref="lishiRef">
  							<div style="width: 100%;">
  								<div style="padding: 10px 20px;">
  									<el-descriptions class="margin-top" title="基本信息" :column="2" border
a8cf1417   杨鑫   '最新'
577
  										:labelStyle="labelStyle" :contentStyle="contentStyle">
2d521f7d   杨鑫   最新2
578
579
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
580
  												活动名称
2d521f7d   杨鑫   最新2
581
582
  											</template>
  
a18f16a9   杨鑫   提交1
583
  											<span>{{duibiList.planName || ''}}</span>
2d521f7d   杨鑫   最新2
584
585
586
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
587
  												实际举办地点
2d521f7d   杨鑫   最新2
588
  											</template>
a18f16a9   杨鑫   提交1
589
  											<span>{{duibiList.eventAddrs || ''}}</span>
2d521f7d   杨鑫   最新2
590
591
592
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
593
  												实际举办时间
2d521f7d   杨鑫   最新2
594
595
  											</template>
  
3d9acc2b   杨鑫   '最新'
596
  											<span>{{formatTimestampToDate(duibiList.eventStartTime)}}-{{formatTimestampToDate(duibiList.eventEndTime)}}</span>
2d521f7d   杨鑫   最新2
597
598
599
600
601
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
  												活动主办方
  											</template>
2d521f7d   杨鑫   最新2
602
  
3d9acc2b   杨鑫   '最新'
603
  											<span>{{duibiList.participants}}</span>
2d521f7d   杨鑫   最新2
604
605
606
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
607
  												活动实际参与方
2d521f7d   杨鑫   最新2
608
609
  											</template>
  
3d9acc2b   杨鑫   '最新'
610
  											<span>{{duibiList.sponsor}}</span>
2d521f7d   杨鑫   最新2
611
  										</el-descriptions-item>
3d9acc2b   杨鑫   '最新'
612
613
  
  
2d521f7d   杨鑫   最新2
614
  									</el-descriptions>
25e99daf   杨鑫   '最新'
615
  
25e99daf   杨鑫   '最新'
616
  								</div>
2d521f7d   杨鑫   最新2
617
  							</div>
a8cf1417   杨鑫   '最新'
618
  							<!-- <div style="width: 100%;">
2d521f7d   杨鑫   最新2
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
  								<div style="font-size: 14px;padding: 10px 20px 0px 20px;">活动明细信息</div>
  								<div style="padding: 10px 20px;">
  									<el-table :data="tableData2"
  										:header-cell-style="{fontSize: '14px', backgroundColor: '#FAFAFA',color:'#000',fontWeight: 'normal'}"
  										style="width: 100%;margin: auto;">
  										<el-table-column label="序号" min-width="5%" align='center'>
  											<template slot-scope="scope">
  												<span style="">{{ scope.$index +1}}</span>
  											</template>
  										</el-table-column>
  										<el-table-column label="明细项名称" prop="detailLtemName" min-width="28%">
  										</el-table-column>
  										<el-table-column label="预估数量" prop="estimatedQuantity" min-width="20%">
  
  										</el-table-column>
98d43fa2   杨鑫   '最新'
634
  										<el-table-column label="预估费用(元)" prop="estimatedCost" min-width="20%">
2d521f7d   杨鑫   最新2
635
636
637
638
639
  
  										</el-table-column>
  										<el-table-column label="备注" prop="notes" min-width="20%">
  										</el-table-column>
  									</el-table>
25e99daf   杨鑫   '最新'
640
  								</div>
a8cf1417   杨鑫   '最新'
641
  							</div> -->
2d521f7d   杨鑫   最新2
642
643
  							<div style="width: 100%;">
  								<div style="padding:10px 20px;">
a8cf1417   杨鑫   '最新'
644
645
  									<el-descriptions class="margin-top" title="实际花费成本" :column="2" border
  										:labelStyle="labelStyle" :contentStyle="contentStyle">
2d521f7d   杨鑫   最新2
646
647
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
648
  												实际内部人力成本(元)
2d521f7d   杨鑫   最新2
649
650
  											</template>
  
3d9acc2b   杨鑫   '最新'
651
  											<span>{{duibiList.internalLaborCostEstimation}}</span>
2d521f7d   杨鑫   最新2
652
653
654
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
655
  												实际外部人力成本(元)
2d521f7d   杨鑫   最新2
656
  											</template>
3d9acc2b   杨鑫   '最新'
657
658
659
  											<span>{{duibiList.externalLaborCostEstimation}}</span>
  
  
2d521f7d   杨鑫   最新2
660
661
662
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
663
  												实际商品成本(元)
2d521f7d   杨鑫   最新2
664
  											</template>
3d9acc2b   杨鑫   '最新'
665
666
  											<span>{{duibiList.costEstimationGoods}}</span>
  
2d521f7d   杨鑫   最新2
667
668
669
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
670
  												实际设备成本(元)
2d521f7d   杨鑫   最新2
671
  											</template>
3d9acc2b   杨鑫   '最新'
672
673
  											<span>{{duibiList.setCostEstimate}}</span>
  
2d521f7d   杨鑫   最新2
674
675
676
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
677
  												实际宣传费用(元)
2d521f7d   杨鑫   最新2
678
  											</template>
3d9acc2b   杨鑫   '最新'
679
680
  											<span>{{duibiList.estimatedPromotionalExpenses}}</span>
  
2d521f7d   杨鑫   最新2
681
682
683
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
684
  												实际其他成本(元)
2d521f7d   杨鑫   最新2
685
  											</template>
3d9acc2b   杨鑫   '最新'
686
687
  											<span>{{duibiList.otherNecessaryEstimates}}</span>
  
2d521f7d   杨鑫   最新2
688
689
690
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
691
  												实际总成本(元)
2d521f7d   杨鑫   最新2
692
  											</template>
3d9acc2b   杨鑫   '最新'
693
694
  											<span>{{duibiList.totalCostEstimation}}</span>
  
2d521f7d   杨鑫   最新2
695
696
697
698
699
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
  												备注
  											</template>
3d9acc2b   杨鑫   '最新'
700
701
  											<span>{{duibiList.notes}}</span>
  
2d521f7d   杨鑫   最新2
702
703
  										</el-descriptions-item>
  									</el-descriptions>
25e99daf   杨鑫   '最新'
704
  								</div>
2d521f7d   杨鑫   最新2
705
706
707
708
  							</div>
  							<div style="width: 100%;">
  
  								<div style="padding:10px 20px;">
a8cf1417   杨鑫   '最新'
709
710
  									<el-descriptions class="margin-top" title="活动执行效果" :column="2" border
  										:labelStyle="labelStyle" :contentStyle="contentStyle">
2d521f7d   杨鑫   最新2
711
712
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
713
  												实际吸引流量
2d521f7d   杨鑫   最新2
714
  											</template>
3d9acc2b   杨鑫   '最新'
715
716
  											<span>{{duibiList.expectedAttractTraffic}}</span>
  
2d521f7d   杨鑫   最新2
717
718
719
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
3d9acc2b   杨鑫   '最新'
720
  												实际参与人数
2d521f7d   杨鑫   最新2
721
  											</template>
3d9acc2b   杨鑫   '最新'
722
723
  											<span>{{duibiList.expectedParticipation}}</span>
  
2d521f7d   杨鑫   最新2
724
725
726
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
727
  												实际直接收益(元)
2d521f7d   杨鑫   最新2
728
  											</template>
3d9acc2b   杨鑫   '最新'
729
730
  											<span>{{duibiList.expectedDirectBenefits}}</span>
  
2d521f7d   杨鑫   最新2
731
732
733
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
734
  												实际间接收益(元)
2d521f7d   杨鑫   最新2
735
  											</template>
3d9acc2b   杨鑫   '最新'
736
737
  											<span>{{duibiList.expectedIndirectBenefits}}</span>
  
2d521f7d   杨鑫   最新2
738
739
740
  										</el-descriptions-item>
  
  									</el-descriptions>
25e99daf   杨鑫   '最新'
741
  
25e99daf   杨鑫   '最新'
742
  								</div>
2d521f7d   杨鑫   最新2
743
  							</div>
a18f16a9   杨鑫   提交1
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
  							<div style="width: 100%;">
  							
  								<div style="padding:10px 20px;">
  									<el-descriptions class="margin-top" title="系统信息" :column="2" border
  										:labelStyle="labelStyle" :contentStyle="contentStyle">
  										<el-descriptions-item>
  											<template slot="label">
  												创建人
  											</template>
  											<span>{{duibiList.createUser}}</span>
  							
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
  												创建时间
  											</template>
  											<span>{{duibiList.createDate}}</span>
  							
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
  												更新人
  											</template>
  											<span>{{duibiList.updateUser}}</span>
  							
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
  												更新时间
  											</template>
  											<span>{{duibiList.updateDate}}</span>
  							
  										</el-descriptions-item>
  							
  									</el-descriptions>
  							
  								</div>
  							</div>
3d9acc2b   杨鑫   '最新'
782
  
25e99daf   杨鑫   '最新'
783
784
  						</div>
  					</div>
2d521f7d   杨鑫   最新2
785
786
787
  					<div v-if="activeName=='five'">
  						<div style="width: 100%;padding:20px;">
  							<wangEditor v-model="zhixingqingk" ref="editor"></wangEditor>
25e99daf   杨鑫   '最新'
788
  
2d521f7d   杨鑫   最新2
789
790
  						</div>
  					</div>
25e99daf   杨鑫   '最新'
791
  
2d521f7d   杨鑫   最新2
792
  				</div>
25e99daf   杨鑫   '最新'
793
  
2d521f7d   杨鑫   最新2
794
795
796
797
798
799
800
801
802
803
804
805
806
807
  			</div>
  			<div style="display: flex;justify-content: flex-end;padding:10px">
  				<el-button @click="ggXin = false" style="background-color: #3F9B6A;color: #fff">取消</el-button>
  				<!-- <el-button  @click="lishidownloadPdf"  style="background-color: #3F9B6A;color: #fff" v-if="activeName=='fourd'">导出
  			</el-button> -->
  				<!-- <el-button @click="downloadPdf" style="background-color: #3F9B6A;color: #fff"
  									v-if="activeName=='first'">活动策划调整方案导出
  								</el-button> -->
  
  				<!-- <el-button  @click="jiucuo"  style="background-color: #3F9B6A;color: #fff" v-if="activeName=='first'" >活动策划调整纠错
  			</el-button> -->
  				<el-button @click="bianji" style="background-color: #3F9B6A;color: #fff"
  					v-if="zhixingBian && activeName=='second'">保存
  				</el-button>
a18f16a9   杨鑫   提交1
808
809
  				<!-- <el-button @click="fivebian" style="background-color: #3F9B6A;color: #fff" v-if="activeName=='five'">保存
  				</el-button> -->
25e99daf   杨鑫   '最新'
810
  
25e99daf   杨鑫   '最新'
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
  			</div>
  		</div>
  		<!-- 调整对比 -->
  		<el-dialog title="调整对比" :visible.sync="tiaozhengShow" custom-class='xiang_css' style="padding: 0;" width="80%"
  			center :close-on-click-modal="false" :close-on-press-escape="false" @close="reshData">
  			<div>
  				<div style="display: flex;">
  					<div style="width: 50%;">
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">修改后</div>
  							<div style="padding: 10px 20px;">
  								<el-table :data="tableData1"
  									:header-cell-style="{fontSize: '14px', backgroundColor: '#fff',color:'#000',fontWeight: 'normal',width:'82px'}"
  									style="width: 100%;margin: auto;">
  									<el-table-column class-name="first-column-bg" label="方案编号" prop="name"
  										min-width="15%">
  									</el-table-column>
  									<el-table-column :label="id" prop="eventTheme" min-width="35%">
  
  									</el-table-column>
  									<el-table-column class-name="first-column-bg" label="方案名称" prop="text"
  										min-width="15%">
  
  									</el-table-column>
  									<el-table-column :label="text" prop="planName" min-width="35%">
  
  									</el-table-column>
  								</el-table>
  
  
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">活动明细信息</div>
  							<div style="padding: 10px 20px;">
  								<el-table :data="tableData2"
  									:header-cell-style="{fontSize: '14px', backgroundColor: '#FAFAFA',color:'#000',fontWeight: 'normal'}"
  									style="width: 100%;margin: auto;">
  									<el-table-column label="序号" min-width="7%" align='center'>
  										<template slot-scope="scope">
  											<span style="">{{ scope.$index +1}}</span>
  										</template>
  									</el-table-column>
  									<el-table-column label="明细项名称" prop="detailLtemName" min-width="25%">
  									</el-table-column>
  									<el-table-column label="预估数量" prop="estimatedQuantity" min-width="18%">
  
  									</el-table-column>
98d43fa2   杨鑫   '最新'
859
  									<el-table-column label="预估费用(元)" prop="estimatedCost" min-width="20%">
25e99daf   杨鑫   '最新'
860
861
862
863
864
865
866
867
868
869
870
871
872
  
  									</el-table-column>
  									<el-table-column label="备注" prop="notes" min-width="20%">
  									</el-table-column>
  								</el-table>
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">活动成本信息</div>
  							<div style="padding:10px 20px;">
  								<el-table :data="tableData3"
  									:header-cell-style="{fontSize: '14px', backgroundColor: '#fff',color:'#000',fontWeight: 'normal'}"
  									style="width: 100%;margin: auto;">
98d43fa2   杨鑫   '最新'
873
  									<el-table-column class-name="first-column-bg" label="内部人力成本预估(元)" prop="name"
25e99daf   杨鑫   '最新'
874
875
876
877
878
879
  										min-width="15%">
  									</el-table-column>
  									<el-table-column :label="internalLaborCostEstimation" prop="eventTheme"
  										min-width="35%">
  
  									</el-table-column>
98d43fa2   杨鑫   '最新'
880
  									<el-table-column class-name="first-column-bg" label="外部人力成本预估(元)" prop="text"
25e99daf   杨鑫   '最新'
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
  										min-width="15%">
  
  									</el-table-column>
  									<el-table-column :label="externalLaborCostEstimation" prop="planName"
  										min-width="35%">
  
  									</el-table-column>
  								</el-table>
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding:10px 20px 0px 20px;">预估效果</div>
  							<div style="padding:10px 20px;">
  								<el-table :data="tableData4"
  									:header-cell-style="{fontSize: '14px', backgroundColor: '#fff',color:'#000',fontWeight: 'normal'}"
  									style="width: 100%;margin: auto;">
  									<el-table-column class-name="first-column-bg" label="预计吸引流量" prop="name"
  										min-width="15%">
  									</el-table-column>
  									<el-table-column :label="expectedAttractTraffic" prop="eventTheme" min-width="35%">
  
  									</el-table-column>
  									<el-table-column class-name="first-column-bg" label="预计参与人数" prop="text"
  										min-width="15%">
  
  									</el-table-column>
  									<el-table-column :label="expectedParticipation" prop="planName" min-width="35%">
  
  									</el-table-column>
  								</el-table>
  								</el-table-column>
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">相关附件信息</div>
  							<div style="padding:10px 20px;">
  								<el-table :data="tableData6"
  									:header-cell-style="{fontSize: '14px', backgroundColor: '#FAFAFA',color:'#000',fontWeight: 'normal'}"
  									style="width: 100%;margin: auto;">
  									<el-table-column label="序号" min-width="7%" align='center'>
  										<template slot-scope="scope">
  											<span style="">{{ scope.$index + 1 }}</span>
  										</template>
  									</el-table-column>
  									<el-table-column label="附件名称" prop="attachmentName" min-width="70%">
  									</el-table-column>
  									<el-table-column label="操作" min-width="20%">
  										<template slot-scope="scope">
  											<!-- <div class="tableBtn greens" @click="Down(scope.row)">下载</div> -->
  											<a class="tableBtn greens" :href="scope.row.attachmentUrl" target="_blank"
  												download>下载</a>
  										</template>
  									</el-table-column>
  
  								</el-table>
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">系统信息</div>
  							<div style="padding:10px 20px;">
  								<el-table :data="tableData5"
  									:header-cell-style="{fontSize: '14px', backgroundColor: '#fff',color:'#000',fontWeight: 'normal'}"
  									style="width: 100%;margin: auto;">
  									<el-table-column class-name="first-column-bg" label="创建人" prop="name"
  										min-width="15%">
  									</el-table-column>
  									<el-table-column :label="createUser" prop="eventTheme" min-width="35%">
  
  									</el-table-column>
  									<el-table-column class-name="first-column-bg" label="创建时间" prop="text"
  										min-width="15%">
  
  									</el-table-column>
  									<el-table-column :label="createDate" prop="planName" min-width="35%">
  
  									</el-table-column>
  								</el-table>
  							</div>
  						</div>
  					</div>
  					<div style="width: 50%;">
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">修改前</div>
  							<div style="padding: 6px 20px;">
  								<el-descriptions class="margin-top" :column="2" border :labelStyle="labelStyleOne"
  									:contentStyle="contentClassNameOne">
  									<el-descriptions-item>
  										<template slot="label">
  											方案编号
  										</template>
  										{{lixiang.id}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											方案名称
  										</template>
  										{{lixiang.planName}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											类型
  										</template>
  										{{lixiang.planType}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											活动地点
  										</template>
  										{{lixiang.eventAddrs}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											活动开始时间
  										</template>
  										{{lixiang.eventStartTime}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											活动结束时间
  										</template>
  										{{lixiang.eventEndTime}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											活动主题
  										</template>
  										{{lixiang.eventTheme}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											活动主办方
  										</template>
  										{{lixiang.sponsor}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											活动参与方
  										</template>
  										{{lixiang.participants}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											活动主要目的
  										</template>
  										{{lixiang.mainPurpose}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											范围设置
  										</template>
  										{{lixiang.rangeSetting}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											状态
  										</template>
  										{{getStatus(lixiang.state)}}
  
  									</el-descriptions-item>
  								</el-descriptions>
  
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">活动明细信息</div>
  							<div style="padding: 10px 20px;">
  								<el-table :data="tableData2"
  									:header-cell-style="{fontSize: '14px', backgroundColor: '#FAFAFA',color:'#000',fontWeight: 'normal'}"
  									style="width: 100%;margin: auto;">
  									<el-table-column label="序号" min-width="7%" align='center'>
  										<template slot-scope="scope">
  											<span style="">{{ scope.$index +1}}</span>
  										</template>
  									</el-table-column>
  									<el-table-column label="明细项名称" prop="detailLtemName" min-width="25%">
  									</el-table-column>
  									<el-table-column label="预估数量" prop="estimatedQuantity" min-width="18%">
  
  									</el-table-column>
98d43fa2   杨鑫   '最新'
1060
  									<el-table-column label="预估费用(元)" prop="estimatedCost" min-width="20%">
25e99daf   杨鑫   '最新'
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
  
  									</el-table-column>
  									<el-table-column label="备注" prop="notes" min-width="20%">
  									</el-table-column>
  								</el-table>
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">活动成本信息</div>
  							<div style="padding:10px 20px;">
  								<el-descriptions class="margin-top" :column="2" border :labelStyle="labelStyleOne">
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1074
  											内部人力成本预估(元)
25e99daf   杨鑫   '最新'
1075
1076
1077
1078
1079
  										</template>
  										{{lixiang.internalLaborCostEstimation}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1080
  											外部人力成本预估(元)
25e99daf   杨鑫   '最新'
1081
1082
1083
1084
1085
  										</template>
  										{{lixiang.externalLaborCostEstimation}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1086
  											商品成本预估(元)
25e99daf   杨鑫   '最新'
1087
1088
1089
1090
1091
  										</template>
  										{{lixiang.costEstimationGoods}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1092
  											设备成本预估(元)
25e99daf   杨鑫   '最新'
1093
1094
1095
1096
1097
  										</template>
  										{{lixiang.setCostEstimate}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1098
  											宣传费用预估(元)
25e99daf   杨鑫   '最新'
1099
1100
1101
1102
1103
  										</template>
  										{{lixiang.estimatedPromotionalExpenses}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1104
  											其他必要成本预估(元)
25e99daf   杨鑫   '最新'
1105
1106
1107
1108
1109
  										</template>
  										{{lixiang.otherNecessaryEstimates}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1110
  											总成本预估(元)
25e99daf   杨鑫   '最新'
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
  										</template>
  										{{lixiang.totalCostEstimation}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											备注
  										</template>
  										{{lixiang.notes}}
  									</el-descriptions-item>
  								</el-descriptions>
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">预估效果</div>
  							<div style="padding:10px 20px;">
  								<el-descriptions class="margin-top" :column="2" border :labelStyle="labelStyleOne">
  									<el-descriptions-item>
  										<template slot="label">
  											预计吸引流量
  										</template>
  										{{lixiang.expectedAttractTraffic}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
  											预计参与人数
  										</template>
  										{{lixiang.expectedParticipation}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1141
  											预计直接收益(元)
25e99daf   杨鑫   '最新'
1142
1143
1144
1145
1146
  										</template>
  										{{lixiang.expectedDirectBenefits}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1147
  											预计间接收益(元)
25e99daf   杨鑫   '最新'
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
  										</template>
  										{{lixiang.expectedIndirectBenefits}}
  									</el-descriptions-item>
  
  								</el-descriptions>
  
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">相关附件信息</div>
  							<div style="padding:10px 20px;">
  								<el-table :data="tableData6"
  									:header-cell-style="{fontSize: '14px', backgroundColor: '#FAFAFA',color:'#000',fontWeight: 'normal'}"
  									style="width: 100%;margin: auto;">
  									<el-table-column label="序号" min-width="7%" align='center'>
  										<template slot-scope="scope">
  											<span style="">{{ scope.$index + 1 }}</span>
  										</template>
  									</el-table-column>
  									<el-table-column label="附件名称" prop="attachmentName" min-width="70%">
  									</el-table-column>
  									<el-table-column label="操作" min-width="20%">
  										<template slot-scope="scope">
  											<!-- <div class="tableBtn greens" @click="Down(scope.row)">下载</div> -->
  											<a class="tableBtn greens" :href="scope.row.attachmentUrl" target="_blank"
  												download>下载</a>
  										</template>
  									</el-table-column>
  
  								</el-table>
  							</div>
  						</div>
  						<div style="width: 100%;">
  							<div style="font-size: 14px;padding: 10px 20px 0px 20px;">系统信息</div>
  							<div style="padding:10px 20px;">
  								<el-table :data="tableData5"
  									:header-cell-style="{fontSize: '14px', backgroundColor: '#fff',color:'#000',fontWeight: 'normal'}"
  									style="width: 100%;margin: auto;">
  									<el-table-column class-name="first-column-bg" label="创建人" prop="name"
  										min-width="15%">
  									</el-table-column>
  									<el-table-column :label="createUser" prop="eventTheme" min-width="35%">
  
  									</el-table-column>
  									<el-table-column class-name="first-column-bg" label="创建时间" prop="text"
  										min-width="15%">
  
  									</el-table-column>
  									<el-table-column :label="createDate" prop="planName" min-width="35%">
  
  									</el-table-column>
  								</el-table>
  							</div>
  						</div>
  					</div>
  				</div>
  
  
  			</div>
  		</el-dialog>
  
  		<el-dialog title="新增明细" :visible.sync="addMing" custom-class='dialog_css' style="padding: 0;" width="50%"
  			append-to-body center :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false">
  			<div style="padding: 15px;width:100%">
  				<div style="">
  					<div style="padding: 15px;">
  						<el-form label-position="right" ref="ruleFormInfo" :model="mingFrom" label-width="140px"
  							style="position: relative">
  							<el-form-item label="明细项名称" class="grid-content bg-purple device-from" prop="planName">
  								<el-input v-model="mingFrom.detailLtemName" placeholder="请输入" />
  							</el-form-item>
8dca79c8   杨鑫   1
1219
  							<el-form-item label="实际数量" class="grid-content bg-purple" prop=" planType">
25e99daf   杨鑫   '最新'
1220
1221
1222
  								<el-input v-model="mingFrom.estimatedQuantity" placeholder="请输入" />
  							</el-form-item>
  
8dca79c8   杨鑫   1
1223
  							<el-form-item label="实际费用(元)" class="grid-content bg-purple" prop="eventAddrs">
25e99daf   杨鑫   '最新'
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
  								<el-input v-model="mingFrom.estimatedCost" placeholder="请输入" />
  							</el-form-item>
  							<el-form-item label="备注" class="grid-content bg-purple device-from" prop="planName">
  								<el-input v-model="mingFrom.notes" placeholder="请输入" />
  							</el-form-item>
  						</el-form>
  					</div>
  				</div>
  
  			</div>
  			<div style="display: flex;justify-content: flex-end;padding: 10px 20px 10px 0">
  				<el-button plain @click="addMing=false" style="background-color: #3F9B6A;color: #fff;">取消
  				</el-button>
2d521f7d   杨鑫   最新2
1237
  				<el-button plain @click="minSev" style="background-color: #3F9B6A;color: #fff;">确定
25e99daf   杨鑫   '最新'
1238
1239
  				</el-button>
  
8d583060   杨鑫   '最新'
1240
  			</div>
25e99daf   杨鑫   '最新'
1241
1242
  		</el-dialog>
  		<!-- 效果对比 -->
d5f60c72   杨鑫   '最新'
1243
  		<el-dialog :visible.sync="xiaoDui" title="效果对比" width="55%" center :close-on-click-modal="false"
2d521f7d   杨鑫   最新2
1244
  			:close-on-press-escape="false">
d5f60c72   杨鑫   '最新'
1245
  			<div style="display:flex;padding:20px 20px 0px 20px;width:100%;justify-content: center;">
3a1f257b   杨鑫   最新
1246
1247
1248
1249
  				<!-- @change="lichangeOne" -->
  				<el-input v-model="ListOne"  style="width: 26%;" disabled/>
  				<!-- <el-select v-model="ListOne" placeholder="请选择" style="margin:0 20px 20px 20px;" >
  					<el-option  :label="effectivenessListOne.planName" :value="effectivenessListOne.planName">
a8cf1417   杨鑫   '最新'
1250
  					</el-option>
3a1f257b   杨鑫   最新
1251
1252
  				</el-select> -->
  			
a8cf1417   杨鑫   '最新'
1253
  				<div style="line-height:200%;">
d5f60c72   杨鑫   '最新'
1254
  					<img src="../../assets/images/vs.png" alt="" style="height: 100px;width: 100px;margin-top: -29px;">
a8cf1417   杨鑫   '最新'
1255
  				</div>
3a1f257b   杨鑫   最新
1256
  				<el-select v-model="ListTwo" placeholder="请选择" style="margin:0 20px 20px 20px;width: 26%;" @change="lichangeTwo">
a8cf1417   杨鑫   '最新'
1257
  					<el-option v-for="(item,index) in effectivenessList" :key="item.id" :label="item.operationType"
d5f60c72   杨鑫   '最新'
1258
  						:value="index">
a8cf1417   杨鑫   '最新'
1259
1260
1261
1262
1263
1264
  					</el-option>
  				</el-select>
  				<!-- <el-button @click="tiaozheng" style="background-color: #3F9B6A;color: #fff"
  						>对比
  					</el-button> -->
  			</div>
3d9acc2b   杨鑫   '最新'
1265
  			<div style="padding: 15px 40px;">
8dca79c8   杨鑫   1
1266
1267
  				<div
  					style="display:flex;width:100%;justify-content: center;border: 1px solid #DEDEDE;border-radius: 5px;padding: 0px 10px;">
3d9acc2b   杨鑫   '最新'
1268
  					<div style="width: 38%;">
a18f16a9   杨鑫   提交1
1269
  						<div style="color:#3F9B6A;text-align: center;padding: 10px 0;">预估成本</div>
3d9acc2b   杨鑫   '最新'
1270
1271
1272
1273
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>内部人力</div>
  							<div>
8dca79c8   杨鑫   1
1274
  								{{effectivenessListOne.internalLaborCostEstimation?effectivenessListOne.internalLaborCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1275
  							</div>
a8cf1417   杨鑫   '最新'
1276
  						</div>
3d9acc2b   杨鑫   '最新'
1277
1278
1279
1280
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>外部人力</div>
  							<div>
8dca79c8   杨鑫   1
1281
  								{{effectivenessListOne.externalLaborCostEstimation?effectivenessListOne.externalLaborCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1282
  							</div>
a8cf1417   杨鑫   '最新'
1283
  						</div>
3d9acc2b   杨鑫   '最新'
1284
1285
1286
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>商品成本</div>
8dca79c8   杨鑫   1
1287
1288
  							<div>
  								{{effectivenessListOne.costEstimationGoods?effectivenessListOne.costEstimationGoods:''}}元
3d9acc2b   杨鑫   '最新'
1289
  							</div>
a8cf1417   杨鑫   '最新'
1290
  						</div>
3d9acc2b   杨鑫   '最新'
1291
1292
1293
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>设备成本</div>
8dca79c8   杨鑫   1
1294
  							<div>{{effectivenessListOne.setCostEstimate?effectivenessListOne.setCostEstimate:''}}元</div>
a8cf1417   杨鑫   '最新'
1295
  						</div>
3d9acc2b   杨鑫   '最新'
1296
1297
1298
1299
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>宣传费用</div>
  							<div>
8dca79c8   杨鑫   1
1300
  								{{effectivenessListOne.estimatedPromotionalExpenses?effectivenessListOne.estimatedPromotionalExpenses:''}}元
3d9acc2b   杨鑫   '最新'
1301
  							</div>
a8cf1417   杨鑫   '最新'
1302
  						</div>
3d9acc2b   杨鑫   '最新'
1303
1304
1305
1306
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>其他成本</div>
  							<div>
8dca79c8   杨鑫   1
1307
  								{{effectivenessListOne.otherNecessaryEstimates?effectivenessListOne.otherNecessaryEstimates:''}}元
3d9acc2b   杨鑫   '最新'
1308
  							</div>
a8cf1417   杨鑫   '最新'
1309
  						</div>
3d9acc2b   杨鑫   '最新'
1310
1311
1312
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>总成本</div>
8dca79c8   杨鑫   1
1313
1314
  							<div>
  								{{effectivenessListOne.totalCostEstimation?effectivenessListOne.totalCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1315
  							</div>
a8cf1417   杨鑫   '最新'
1316
1317
  						</div>
  					</div>
3d9acc2b   杨鑫   '最新'
1318
1319
1320
1321
  					<div style="width: 15%;margin: 0 20px;">
  						<div style="color:#3F9B6A;text-align: center;padding: 10px 0;">增长率</div>
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1322
  							{{effectivenessListOne.sumNei?effectivenessListOne.sumNei:''}}%
a8cf1417   杨鑫   '最新'
1323
  						</div>
3d9acc2b   杨鑫   '最新'
1324
1325
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1326
  							{{effectivenessListOne.sumWai?effectivenessListOne.sumWai:''}}%
a8cf1417   杨鑫   '最新'
1327
  						</div>
3d9acc2b   杨鑫   '最新'
1328
1329
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1330
  							{{effectivenessListOne.sumShop?effectivenessListOne.sumShop:''}}%
a8cf1417   杨鑫   '最新'
1331
  						</div>
3d9acc2b   杨鑫   '最新'
1332
1333
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1334
  							{{effectivenessListOne.sumSe?effectivenessListOne.sumSe:''}}%
3d9acc2b   杨鑫   '最新'
1335
1336
1337
  						</div>
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1338
  							{{effectivenessListOne.sumXuan?effectivenessListOne.sumXuan:''}}%
3d9acc2b   杨鑫   '最新'
1339
1340
1341
  						</div>
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1342
  							{{effectivenessListOne.sumQi?effectivenessListOne.sumQi:''}}%
3d9acc2b   杨鑫   '最新'
1343
1344
1345
  						</div>
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1346
  							{{effectivenessListOne.sumAll?effectivenessListOne.sumAll:''}}%
a8cf1417   杨鑫   '最新'
1347
  						</div>
8dca79c8   杨鑫   1
1348
1349
  
  
a8cf1417   杨鑫   '最新'
1350
  					</div>
3d9acc2b   杨鑫   '最新'
1351
1352
1353
1354
1355
1356
  					<div style="width: 38%;">
  						<div style="color:#3F9B6A;text-align: center;padding: 10px 0;">实际成本</div>
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>内部人力</div>
  							<div>
8dca79c8   杨鑫   1
1357
  								{{effectivenessListTwo.internalLaborCostEstimation?effectivenessListTwo.internalLaborCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1358
1359
1360
1361
1362
1363
  							</div>
  						</div>
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>外部人力</div>
  							<div>
8dca79c8   杨鑫   1
1364
  								{{effectivenessListTwo.externalLaborCostEstimation?effectivenessListTwo.externalLaborCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1365
1366
1367
1368
1369
  							</div>
  						</div>
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>商品成本</div>
8dca79c8   杨鑫   1
1370
1371
  							<div>
  								{{effectivenessListTwo.costEstimationGoods?effectivenessListTwo.costEstimationGoods:''}}元
3d9acc2b   杨鑫   '最新'
1372
1373
1374
1375
1376
  							</div>
  						</div>
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>设备成本</div>
8dca79c8   杨鑫   1
1377
  							<div>{{effectivenessListTwo.setCostEstimate?effectivenessListTwo.setCostEstimate:''}}元</div>
3d9acc2b   杨鑫   '最新'
1378
1379
1380
1381
1382
  						</div>
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>宣传费用</div>
  							<div>
8dca79c8   杨鑫   1
1383
  								{{effectivenessListTwo.estimatedPromotionalExpenses?effectivenessListTwo.estimatedPromotionalExpenses:''}}元
3d9acc2b   杨鑫   '最新'
1384
1385
1386
1387
1388
1389
  							</div>
  						</div>
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>其他成本</div>
  							<div>
8dca79c8   杨鑫   1
1390
  								{{effectivenessListTwo.otherNecessaryEstimates?effectivenessListTwo.otherNecessaryEstimates:''}}元
3d9acc2b   杨鑫   '最新'
1391
1392
1393
1394
1395
  							</div>
  						</div>
  						<div
  							style="padding:10px 10px;display:flex;justify-content: space-between;border: 1px solid #DEDEDE;margin-top:10px;border-radius: 5px;">
  							<div>总成本</div>
8dca79c8   杨鑫   1
1396
1397
  							<div>
  								{{effectivenessListTwo.totalCostEstimation?effectivenessListTwo.totalCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1398
  							</div>
a8cf1417   杨鑫   '最新'
1399
1400
1401
1402
1403
  						</div>
  					</div>
  				</div>
  			</div>
  			<!-- <div style="width:30%">
25e99daf   杨鑫   '最新'
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
  					<div style="display: flex;">
  						<div style="margin-right: 10px;padding: 10px 0;">
  							<div>调整前方案</div>
  							<div style="font-size: 22px;color: #3F9B6A;font-weight: 600;margin: 10px 0;">
  								{{xiaoduiObj.biliOne}}
  							</div>
  							<div style="font-size: 16px;color: #3F9B6A;font-weight: 600;">投入产出比</div>
  						</div>
  						<el-progress type="circle" :percentage="xiaoduiObj.bilis" :show-text="false" :width="100">
  						</el-progress>
  					</div>
  					<div style="padding:30px 0">计划任务(完成度)</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">直接收入</div>
25e99daf   杨鑫   '最新'
1418
1419
1420
1421
1422
1423
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiOne.expectedDirectBenefits)" status="success"
  							:format="() => customFormat(duibiOne.expectedDirectBenefits)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">间接收入</div>
a8cf1417   杨鑫   '最新'
1424
  
25e99daf   杨鑫   '最新'
1425
1426
1427
1428
1429
1430
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiOne.expectedIndirectBenefits)" status="success"
  							:format="() => customFormat(duibiOne.expectedIndirectBenefits)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">人力</div>
25e99daf   杨鑫   '最新'
1431
1432
1433
1434
1435
1436
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiOne.internalLaborCostEstimation)" status="success"
  							:format="() => customFormat(duibiOne.internalLaborCostEstimation)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">设备</div>
25e99daf   杨鑫   '最新'
1437
1438
1439
1440
1441
1442
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiOne.setCostEstimate)" status="success"
  							:format="() => customFormat(duibiOne.setCostEstimate)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">宣传</div>
a8cf1417   杨鑫   '最新'
1443
  
25e99daf   杨鑫   '最新'
1444
1445
1446
1447
1448
1449
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiOne.estimatedPromotionalExpenses)" status="success"
  							:format="() => customFormat(duibiOne.estimatedPromotionalExpenses)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">其他</div>
a8cf1417   杨鑫   '最新'
1450
  
25e99daf   杨鑫   '最新'
1451
1452
1453
1454
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiOne.otherNecessaryEstimates)" status="success"
  							:format="() => customFormat(duibiOne.otherNecessaryEstimates)"></el-progress>
  					</div>
a8cf1417   杨鑫   '最新'
1455
1456
  				</div> -->
  			<!-- <div style="width:30%">
25e99daf   杨鑫   '最新'
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
  					<div style="display: flex;">
  						<div style="margin-right: 10px;padding: 10px 0;">
  							<div>调整后方案</div>
  							<div style="font-size: 22px;color: #3F9B6A;font-weight: 600;margin: 10px 0;">
  								{{xiaoduiObj.biliTwo}}
  							</div>
  							<div style="font-size: 16px;color: #3F9B6A;font-weight: 600;">投入产出比</div>
  						</div>
  						<el-progress type="circle" :percentage="xiaoduiObj.biliT" :show-text="false" :width="100">
  						</el-progress>
  					</div>
  					<div style="padding:30px 0">计划任务(完成度)</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">直接收入</div>
a8cf1417   杨鑫   '最新'
1471
  					
25e99daf   杨鑫   '最新'
1472
1473
1474
1475
1476
1477
1478
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiTwo.expectedDirectBenefits==undefined?'':duibiTwo.expectedDirectBenefits)"
  							status="success"
  							:format="() => customFormat(duibiTwo.expectedDirectBenefits==undefined?'':duibiTwo.expectedDirectBenefits)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">间接收入</div>
a8cf1417   杨鑫   '最新'
1479
  					
25e99daf   杨鑫   '最新'
1480
1481
1482
1483
1484
1485
1486
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiTwo.expectedIndirectBenefits==undefined?'':duibiTwo.expectedIndirectBenefits)"
  							status="success"
  							:format="() => customFormat(duibiTwo.expectedIndirectBenefits==undefined?'':duibiTwo.expectedIndirectBenefits)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">人力</div>
a8cf1417   杨鑫   '最新'
1487
  					
25e99daf   杨鑫   '最新'
1488
1489
1490
1491
1492
1493
1494
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiTwo.internalLaborCostEstimation==undefined?'':duibiTwo.internalLaborCostEstimation)"
  							status="success"
  							:format="() => customFormat(duibiTwo.internalLaborCostEstimation==undefined?'':duibiTwo.internalLaborCostEstimation)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">设备</div>
a8cf1417   杨鑫   '最新'
1495
  			
25e99daf   杨鑫   '最新'
1496
1497
1498
1499
1500
1501
1502
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiTwo.setCostEstimate==undefined?'':duibiTwo.setCostEstimate)"
  							status="success"
  							:format="() => customFormat(duibiTwo.setCostEstimate==undefined?'':duibiTwo.setCostEstimate)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">宣传</div>
a8cf1417   杨鑫   '最新'
1503
  				
25e99daf   杨鑫   '最新'
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiTwo.estimatedPromotionalExpenses==undefined?'':duibiTwo.estimatedPromotionalExpenses)"
  							status="success"
  							:format="() => customFormat(duibiTwo.estimatedPromotionalExpenses==undefined?'':duibiTwo.estimatedPromotionalExpenses)"></el-progress>
  					</div>
  					<div class="jindutiao">
  						<div style="margin-right:10px;width:56px">其他</div>
  						<el-progress style="width: 150px;" :text-inside="true" :stroke-width="20"
  							:percentage="baifenbi(duibiTwo.otherNecessaryEstimates==undefined?'':duibiTwo.otherNecessaryEstimates)"
  							status="success"
  							:format="() => customFormat(duibiTwo.otherNecessaryEstimates==undefined?'':duibiTwo.otherNecessaryEstimates)"></el-progress>
  					</div>
a8cf1417   杨鑫   '最新'
1516
1517
  				</div> -->
  
25e99daf   杨鑫   '最新'
1518
1519
  		</el-dialog>
  
8d583060   杨鑫   '最新'
1520
  
25e99daf   杨鑫   '最新'
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
  		<!-- 复制 -->
  		<el-dialog :visible.sync="copyShow" custom-class='xiaoguo_css' style="padding: 0;" width="50%" center
  			:close-on-click-modal="false" :close-on-press-escape="false" :show-close="false">
  			<div
  				style="padding:15px;background-color:#F9F9F9;font-size:14px;border:1px solid #ECECEC;margin-bottom:20px;display: flex;justify-content: space-between;">
  				<div>复制页</div>
  			</div>
  			<div style="padding:0 36px;">
  				<el-form label-position="right" :model="copy" label-width="120px" style="position: relative">
  					<el-form-item label="新方案名称" class="grid-content bg-purple device-from" prop="planName">
  						<el-input v-model="copy.planName" placeholder="请输入" />
  					</el-form-item>
  				</el-form>
  			</div>
  
  			<div style="display: flex;justify-content: flex-end;padding: 10px 20px 10px 0">
  				<el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
  					@click="copyClose">返回</el-button>
  				<el-button plain @click="copysev" style="background-color: #3F9B6A;color: #fff;">保存
8d583060   杨鑫   '最新'
1540
  				</el-button>
25e99daf   杨鑫   '最新'
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
  			</div>
  		</el-dialog>
  		<el-dialog :visible.sync="searchShow" custom-class='xiaoguo_css' style="padding: 0;" width="50%" center
  			:close-on-click-modal="false" :close-on-press-escape="false" :show-close="false">
  			<div
  				style="padding:15px;background-color:#F9F9F9;font-size:14px;border:1px solid #ECECEC;margin-bottom:20px;display: flex;justify-content: space-between;">
  				<div>搜索关键词配置</div>
  			</div>
  			<div style="padding:0 36px;">
  				<el-checkbox v-model="searPei.name">方案名称</el-checkbox>
  				<!-- <el-checkbox v-model="searPei.lei">方案类型</el-checkbox> -->
  				<el-checkbox v-model="searPei.staut">审核状态</el-checkbox>
  			</div>
cc748250   杨鑫   '2'
1554
  
25e99daf   杨鑫   '最新'
1555
1556
1557
1558
1559
  			<div style="display: flex;justify-content: flex-end;padding: 10px 20px 10px 0">
  				<el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
  					@click="searchQuit">取消</el-button>
  				<el-button plain @click="searchShow=false" style="background-color: #3F9B6A;color: #fff;">保存
  				</el-button>
8d583060   杨鑫   '最新'
1560
  			</div>
25e99daf   杨鑫   '最新'
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
  		</el-dialog>
  		<el-dialog :visible.sync="jiucuoShow" custom-class='bian_css' style="padding: 0;" width="50%"
  			:close-on-press-escape="false" center :close-on-click-modal="false" class="dialog_css_Xq"
  			:show-close="false">
  			<div style="padding:20px;">
  				<div style="font-size: 14px;padding-bottom: 20px;color: #000;">活动策划调整纠错</div>
  				<wangEditor v-model="jiuMsg" ref="editor"></wangEditor>
  				<div style="padding-top:20px;display:flex;justify-content: flex-end;">
  					<el-button style="background-color: #3F9B6A;color: #fff" @click="jiuCheck">确定</el-button>
  					<el-button @click="jiucuoShow = false"
  						style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
  						class="buttonHover">取消</el-button>
  
  				</div>
  
  			</div>
  
  		</el-dialog>
cc748250   杨鑫   '2'
1579
  
25e99daf   杨鑫   '最新'
1580
1581
  
  		<actbians v-if="bianshow" :showBian="actbianMsg" @BianchildClose='BianchildClose'></actbians>
8d583060   杨鑫   '最新'
1582
  	</div>
cc748250   杨鑫   '2'
1583
1584
1585
  </template>
  
  <script>
8d583060   杨鑫   '最新'
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
  	import {
  		deleteById,
  		queryByPage,
  		xiangByPage,
  		fujiaTable,
  		mingTable,
  		danqueryById,
  		xiangedit,
  		actEdit,
  		actAdd,
  		actPage,
  		MingAdd,
  		MingDel,
  		cereGet,
  		cereAdd,
  		cereEdit,
  		cereDel,
  		copy,
  		excelQueryByPage,
  		excelAdd,
  		effectEvaluation,
a8cf1417   杨鑫   '最新'
1607
1608
  		lishiDeta,
  		effectivenessLog
8d583060   杨鑫   '最新'
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
  	} from '../../api/activityBz'
  	import actbians from "./activityBian"
  	import * as echarts from 'echarts'
  	import Vue from 'vue'
  	import html2canvas from 'html2canvas'
  	import jsPDF from 'jspdf'
  	import wangEditor from "@/components/editor/index";
  	import {
  		uploadUrl
  	} from '@/utils/request'
  	export default {
  		components: {
  			actbians,
  			wangEditor
95f61c80   杨鑫   '最新'
1623
  		},
8d583060   杨鑫   '最新'
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
  		data() {
  			return {
  				uploadFileUrl: uploadUrl, // 请求地址
  				daoData: [],
  				actbianMsg: {},
  				bianshow: false, //编辑页
  				fileData: [],
  				fenlei: [],
  				secondData: {},
  
  				formSear: {
  					planName: '',
  					state: null,
  					dataOwnership: '1',
  					pageNumber: 1,
  					pageSize: 10,
3d9acc2b   杨鑫   '最新'
1640
  					isDraft: 0,
8dca79c8   杨鑫   1
1641
  					state: '5'
8d583060   杨鑫   '最新'
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
  				},
  
  				planFen: '',
  				eventTheme: '',
  				currentPage: 1,
  				total: 100,
  				flag: false,
  				pageSize: 10,
  				ggXin: false,
  				radio: '1',
  				shan: '',
  				activeName: 'first',
  				rules: {
  					coDe: [{
  							required: true,
  							message: '请输入活动名称',
  							trigger: 'blur'
  						},
  
  					],
  				},
  				formInline: {
  					merchantName: '', // 商家名称
  					storeId: '', // 编码
  					contacts: '', // 联系人
  					businessEntity: '', //经营主体
  					page: 1, // 当前页
  					pageSize: 10 // 每页记录数
  				},
  				tableData: [],
  				id: '',
  				text: '123',
  				tableData1: [{
  					id: 0,
  					name: '类型',
  					planName: '',
  					text: '活动地点',
  					eventTheme: ''
  				}, {
  					id: 0,
  					name: '活动开始时间',
  					planName: '',
  					text: '活动结束时间',
  					eventTheme: ''
  				}, {
  					id: 0,
  					name: '活动主题',
  					planName: '',
  					text: '活动主办方',
  					eventTheme: ''
  				}, {
  					id: 0,
  					name: '活动参与方',
  					planName: '',
  					text: '活动主要目的',
  					eventTheme: ''
  				}, {
  					id: 0,
  					name: '范围设置',
  					planName: '',
  					text: '状态',
  					eventTheme: ''
  				}],
  				internalLaborCostEstimation: '',
  				externalLaborCostEstimation: '',
  				tableData3: [{
  					id: 0,
98d43fa2   杨鑫   '最新'
1709
  					name: '商品成本预估(元)',
8d583060   杨鑫   '最新'
1710
  					planName: '',
98d43fa2   杨鑫   '最新'
1711
  					text: '设备成本预估(元)',
8d583060   杨鑫   '最新'
1712
1713
1714
  					eventTheme: ''
  				}, {
  					id: 0,
98d43fa2   杨鑫   '最新'
1715
  					name: '宣传费用预估(元)',
8d583060   杨鑫   '最新'
1716
  					planName: '',
98d43fa2   杨鑫   '最新'
1717
  					text: '其他必要成本预估(元)',
8d583060   杨鑫   '最新'
1718
1719
1720
  					eventTheme: ''
  				}, {
  					id: 0,
98d43fa2   杨鑫   '最新'
1721
  					name: '总成本预估(元)',
8d583060   杨鑫   '最新'
1722
1723
1724
1725
1726
1727
1728
1729
  					planName: '',
  					text: '备注',
  					eventTheme: ''
  				}],
  				expectedAttractTraffic: '',
  				expectedParticipation: '',
  				tableData4: [{
  					id: 0,
98d43fa2   杨鑫   '最新'
1730
  					name: '预计直接收益(元)',
8d583060   杨鑫   '最新'
1731
  					planName: '',
98d43fa2   杨鑫   '最新'
1732
  					text: '预计间接收益(元)',
8d583060   杨鑫   '最新'
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
  					eventTheme: '-'
  				}],
  				createUser: '',
  				createDate: '',
  				tableData5: [{
  					id: 0,
  					name: '更新人',
  					planName: '',
  					text: '更新时间',
  					eventTheme: '-'
  				}],
  				tableData2: [], //基本信息明细列表
  				tableData6: [], //基本信息附件列表
  				addMing: false, //执行效果添加明细
  				zhixingBian: false, //判断是否编辑执行效果
  				tableDa: [], //执行效果明细列表
  				zhiXing: true, //判断是否是新增的执行效果
  				mingFrom: {
  					detailLtemName: '',
  					estimatedQuantity: '',
  					estimatedCost: '',
  					notes: ''
  				},
  				planTime: [],
  				zhixingList: {
  					planTime: [],
  					planName: '', //活动名称
  					eventAddrs: '', //实际举办地点
  					eventStartTime: 0, //实际开始时间
  					eventEndTime: 0, //实际结束时间
  					sponsor: '', //实际主办方
  					participants: '', //实际参与方
  					internalLaborCostEstimation: '', //内部人工成本
  					externalLaborCostEstimation: '', //外部人工成本
  					costEstimationGoods: '', //商品成本
  					setCostEstimate: '', //设备成本
  					estimatedPromotionalExpenses: '', //宣传费用预估
  					otherNecessaryEstimates: '', //其他成本预估
  					totalCostEstimation: '', //总成本预估
  					notes: '', //备注
  					expectedAttractTraffic: '', //吸引流量
  					expectedParticipation: '', //参与人数
  					expectedDirectBenefits: '', //直接收益
  					expectedIndirectBenefits: '', //间接收益
  					createDate: '', //创建时间
  					feedbackContent: ''
  				}, //执行效果列表
  				pageindex: {
  					pageNumber: 1,
  					pageSize: 10,
  					dataOwnership: '1',
a8cf1417   杨鑫   '最新'
1784
1785
  					isDraft: 0,
  					state: '5'
8d583060   杨鑫   '最新'
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
  				},
  				multipleSelection: [],
  				options: [],
  				xinADD: {
  					classificationName: '',
  					parentId: '',
  					classificationType: '0'
  				},
  				value: '',
  				xiaoDui: false, //效果对比
  				dataList: [],
  
  				fenleiDelId: null, //删除的分类ID
  				xiaoduiObj: {
  					biliOne: '0%',
  					bilis: 0,
  					biliTwo: '0%',
  					biliT: 0
  				}, //效果对比数据
  				fujiLei: '',
  				defaultProps: {
  					children: 'children',
  					label: 'classificationName'
  				},
  
  				copy: {
  					planName: ''
  				},
  				copyShow: false,
  				duibiOne: {},
  				duibiTwo: {},
  				searchShow: false,
  				searPei: {
  					name: true,
  					lei: false,
  					staut: false,
  				},
  				lishiList: null,
  				labelStyle: {
a8cf1417   杨鑫   '最新'
1825
  					width: '250px',
8d583060   杨鑫   '最新'
1826
1827
  					height: '42px',
  				},
a8cf1417   杨鑫   '最新'
1828
1829
  				contentStyle: {
  					width: '300px',
3d9acc2b   杨鑫   '最新'
1830
  
a8cf1417   杨鑫   '最新'
1831
1832
  					// height:'42px',
  				},
8d583060   杨鑫   '最新'
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
  				labelStyleOne: {
  					width: '94px',
  					height: '42px',
  					color: '#000',
  				},
  				contentClassNameOne: {
  					width: '219px',
  					padding: '9px 10px',
  					// height:'42px',
  				},
  				lidata: [],
  				lixiang: {},
  				duibiList: {},
  				tiaozhengShow: false,
  				jiucuoShow: false,
  				jiuMsg: '',
  				editId: '',
a8cf1417   杨鑫   '最新'
1850
1851
1852
1853
1854
  				zhixingqingk: '',
  				effectivenessList: [],
  				ListOne: '',
  				ListTwo: '',
  				effectivenessListOne: {},
d5f60c72   杨鑫   '最新'
1855
  				effectivenessListTwo: {},
3d9acc2b   杨鑫   '最新'
1856
  				zhixingRules: {
d5f60c72   杨鑫   '最新'
1857
1858
1859
1860
1861
  					planName: [{
  						required: true,
  						message: '请输入活动名称',
  						trigger: 'blur'
  					}],
8dca79c8   杨鑫   1
1862
1863
  				},
  				numBerList:0
8d583060   杨鑫   '最新'
1864
1865
  			}
  		},
8dca79c8   杨鑫   1
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
  		watch: {
  		      tableDa: {
  		          handler(newVal, oldVal) {
  								this.numBerList +=1
  								
  		          },
  		          deep: true
  		      },
  		      zhixingList: {
  		          handler(newVal, oldVal) {
  								this.numBerList +=1
  								
  		          },
  		          deep: true
  		      }
  		  },
8d583060   杨鑫   '最新'
1882
1883
  		created() {
  			this.getAll()
cc748250   杨鑫   '2'
1884
  
8d583060   杨鑫   '最新'
1885
1886
  		},
  		computed: {
cc748250   杨鑫   '2'
1887
  
8d583060   杨鑫   '最新'
1888
1889
1890
1891
1892
1893
1894
1895
  		},
  		methods: {
  			getStatus(state) {
  				switch (state) {
  					case '':
  						return '待提交';
  					case '1':
  						return '待审核';
8d583060   杨鑫   '最新'
1896
  					case '5':
cdf6c4c9   杨鑫   最新
1897
1898
  						return '审核通过';
  					case '6':
8d583060   杨鑫   '最新'
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
  						return '审核不通过'
  				}
  			},
  			//查询全数据
  			async getAll() {
  				const res = await queryByPage(this.pageindex)
  				this.tableData = res.data.content
  				this.total = res.data.content.length
  
  			},
  			//删除记录按钮
  			handleDelete(val) {
  				if (this.multipleSelection.length == 1) {
  
  					const h = this.$createElement;
  					this.$msgbox({
  						title: '消息',
  						message: h('p', null, [
  							h('span', null, '是否删除 '),
  						]),
  						showCancelButton: true,
  						showClose: false,
  						confirmButtonText: '确定',
  						cancelButtonText: '取消',
  						customClass: 'oe-dialog-btn',
  						beforeClose: (action, instance, done) => {
  							if (action === 'confirm') {
  								deleteById({
  									id: this.multipleSelection[0].id
  								}).then(res => {
  									this.getAll()
  									done();
  								})
  							} else {
  								done();
  							}
  						}
  					})
  				} else {
  					this.$message({
  						message: '请选择一个文件删除',
  						customClass: 'custom-message',
  						offset: 100
  					})
  				}
  			},
  			actDelete(item) {
  				const h = this.$createElement;
  				this.$msgbox({
  					title: '消息',
  					message: h('p', null, [
  						h('span', null, '是否删除 '),
  					]),
  					showCancelButton: true,
  					showClose: false,
  					confirmButtonText: '确定',
  					cancelButtonText: '取消',
  					customClass: 'oe-dialog-btn',
  					beforeClose: (action, instance, done) => {
  						if (action === 'confirm') {
  							deleteById({
  								id: item.id
  							}).then(res => {
  								this.getAll()
  								done();
  							})
  						} else {
  							done();
  						}
  					}
  				})
  
  			},
  			//查询
  			async onSubmit() {
  				const res = await danqueryById(this.formSear)
  				this.tableData = res.data.content
  			},
a8cf1417   杨鑫   '最新'
1977
  			formatTimestampToDate(timestamp) {
a18f16a9   杨鑫   提交1
1978
1979
1980
1981
  				console.log(timestamp,'timestamp')
  				if(timestamp == undefined ){
  					return ''
  				}
3d9acc2b   杨鑫   '最新'
1982
1983
1984
1985
1986
1987
1988
  				const date = new Date(timestamp);
  				const year = date.getFullYear();
  				const month = String(date.getMonth() + 1).padStart(2, '0');
  				const day = String(date.getDate()).padStart(2, '0');
  				const hours = String(date.getHours()).padStart(2, '0');
  				const minutes = String(date.getMinutes()).padStart(2, '0');
  				const seconds = String(date.getSeconds()).padStart(2, '0');
a18f16a9   杨鑫   提交1
1989
  				return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`
a8cf1417   杨鑫   '最新'
1990
  			},
8d583060   杨鑫   '最新'
1991
1992
1993
1994
1995
1996
1997
1998
  			//重置按钮
  			resetting() {
  				this.formSear = {
  					planName: '',
  					state: null,
  					dataOwnership: '1',
  					pageNumber: 1,
  					pageSize: 10,
3d9acc2b   杨鑫   '最新'
1999
  					isDraft: 0,
8dca79c8   杨鑫   1
2000
  					state: '5'
8d583060   杨鑫   '最新'
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
  				}
  				this.getAll()
  			},
  			//编辑页
  			BianchildClose(msg) {
  				this.bianshow = msg
  				this.getAll()
  			},
  			actBian(item) {
  				this.actbianMsg = item
  				this.bianshow = true
  			},
  			//详情点击
  			handleEditForm(item, val, flag) {
  				if (val == 1) {
  					this.zhixingBian = flag
  					this.activeName = 'first'
  				} else if (val == 2 || flag) {
  					this.zhixingBian = flag
  					this.activeName = 'second'
  				} else if (val == 3) {
  					this.zhixingBian = flag
  					this.activeName = 'fourd'
3d9acc2b   杨鑫   '最新'
2024
  
8d583060   杨鑫   '最新'
2025
  				}
a8cf1417   杨鑫   '最新'
2026
2027
2028
2029
  				effectivenessLog({
  					activityEffectivenessId: item.id
  				}).then(res => {
  					this.effectivenessList = res.data
d5f60c72   杨鑫   '最新'
2030
  					// let actName = this.effectivenessList.operationType.split('')
a18f16a9   杨鑫   提交1
2031
2032
2033
2034
  					// this.effectivenessList.map((item, index) => {
  					// 	let actName = item.operationType.split(' ')
  					// 	this.effectivenessList[index].operationType = actName[0]
  					// })
d5f60c72   杨鑫   '最新'
2035
2036
  					// console.log(this.effectivenessList.operationType,'actName')
  					// 	this.effectivenessList.operationType  = actName[0]
a8cf1417   杨鑫   '最新'
2037
  				})
8d583060   杨鑫   '最新'
2038
  				this.liData = []
25e99daf   杨鑫   '最新'
2039
  
8d583060   杨鑫   '最新'
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
  				this.editId = item.id
  
  				this.lixiang = {}
  				this.lishiList = null
  				this.fileData = []
  				this.zhixingList = {
  					planTime: [],
  					planName: '', //活动名称
  					eventAddrs: '', //实际举办地点
  					eventStartTime: 0, //实际开始时间
  					eventEndTime: 0, //实际结束时间
  					sponsor: '', //实际主办方
  					participants: '', //实际参与方
  					internalLaborCostEstimation: '', //内部人工成本
  					externalLaborCostEstimation: '', //外部人工成本
  					costEstimationGoods: '', //商品成本
  					setCostEstimate: '', //设备成本
  					estimatedPromotionalExpenses: '', //宣传费用预估
  					otherNecessaryEstimates: '', //其他成本预估
  					totalCostEstimation: '', //总成本预估
  					notes: '', //备注
  					expectedAttractTraffic: '', //吸引流量
  					expectedParticipation: '', //参与人数
  					expectedDirectBenefits: '', //直接收益
  					expectedIndirectBenefits: '', //间接收益
  					createDate: '', //创建时间
  					feedbackContent: ''
  				} //执行效果列表
  				actPage({
  					detailsId: item.id,
a18f16a9   杨鑫   提交1
2070
  					pageNumber: 0,
8d583060   杨鑫   '最新'
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
  					pageSize: 10,
  				}).then(res => {
  					console.log(res.data.content)
  					if (res.data.content.length == 0) {
  						this.zhiXing = true
  					} else {
  						mingTable({
  							detailsId: res.data.content[0].id,
  							pageNumber: 1,
  							pageSize: 10,
  						}).then(res => {
  							this.tableDa = res.data.content
  						})
  						this.zhiXing = false
  						this.zhixingList = res.data.content[0]
  						if ((typeof this.zhixingList.eventStartTime) == 'object' || (typeof this.zhixingList
  								.eventEndTime) == 'object') {
  							this.zhixingList.planTime = []
  						} else {
  							console.log(typeof this.zhixingList.eventStartTime)
8dca79c8   杨鑫   1
2091
  
8d583060   杨鑫   '最新'
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
  							this.zhixingList.planTime = [this.zhixingList.eventStartTime, this.zhixingList
  								.eventEndTime
  							]
  						}
  
  					}
  				})
  				let that = this
  				this.planTime = [item.eventStartTime, item.eventEndTime]
  				fujiaTable({
  					detailsId: item.id,
  					pageNumber: 1,
  					pageSize: 10,
  				}).then(res => {
  					this.tableData6 = res.data.content
  				})
  				mingTable({
  					detailsId: item.id,
  					pageNumber: 1,
  					pageSize: 10,
  				}).then(res => {
  					this.tableData2 = res.data.content
  				})
  
  
  				danqueryById({
  					id: item.id,
  					dataOwnership: '1',
  					pageNumber: 1,
  					pageSize: 10,
  				}).then(res => {
  					this.secondData = res.data.content[0]
  					//基本信息
a8cf1417   杨鑫   '最新'
2125
  					that.id = res.data.content[0].id
8d583060   杨鑫   '最新'
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
  					that.text = res.data.content[0].planName
  					that.tableData1[0].eventTheme = res.data.content[0].planType
  					that.tableData1[0].planName = res.data.content[0].eventAddrs
  					that.tableData1[1].eventTheme = res.data.content[0].eventStartTime
  					that.tableData1[1].planName = res.data.content[0].eventEndTime
  					that.tableData1[2].eventTheme = res.data.content[0].eventTheme
  					that.tableData1[2].planName = res.data.content[0].sponsor
  					that.tableData1[3].eventTheme = res.data.content[0].participants
  					that.tableData1[3].planName = res.data.content[0].mainPurpose
  					that.tableData1[4].planName = this.getStatus(res.data.content[0].state)
  					that.tableData1[4].eventTheme = res.data.content[0].rangeSetting
  					//活动成本信息
  					that.internalLaborCostEstimation = res.data.content[0].internalLaborCostEstimation
  					that.externalLaborCostEstimation = res.data.content[0].externalLaborCostEstimation
  					that.tableData3[0].eventTheme = res.data.content[0].costEstimationGoods
  					that.tableData3[0].planName = res.data.content[0].setCostEstimate
  					that.tableData3[1].eventTheme = res.data.content[0].estimatedPromotionalExpenses
  					that.tableData3[1].planName = res.data.content[0].otherNecessaryEstimates
  					that.tableData3[2].eventTheme = res.data.content[0].totalCostEstimation
  					that.tableData3[2].planName = res.data.content[0].notes
  					//预估效果
  					that.expectedAttractTraffic = res.data.content[0].expectedAttractTraffic
  					that.expectedParticipation = res.data.content[0].expectedParticipation
  					that.tableData4[0].eventTheme = res.data.content[0].expectedDirectBenefits
  					that.tableData4[0].planName = res.data.content[0].expectedIndirectBenefits
  					//系统信息
a8cf1417   杨鑫   '最新'
2152
2153
2154
2155
  					that.createUser = res.data.content[0].createUser
  					that.createDate = res.data.content[0].createDate
  					that.tableData5[0].planName = res.data.content[0].updateDate
  					that.tableData5[0].eventTheme = res.data.content[0].updateUser
8d583060   杨鑫   '最新'
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
  
  				}).catch(err => {
  					console.log(err)
  
  				})
  				if (!item) {
  					this.formItem = {}
  				} else {
  					this.formItem = item
  				}
  				lishiDeta({
  					eventDetailsId: item.id
  				}).then(res => {
  					this.liData = res.data
  				})
8dca79c8   杨鑫   1
2171
  				this.numBerList = 0
25e99daf   杨鑫   '最新'
2172
  				this.ggXin = true
8d583060   杨鑫   '最新'
2173
2174
2175
  			},
  			formTime(data) {
  				this.zhixingList.planTime = data
8dca79c8   杨鑫   1
2176
  
98d43fa2   杨鑫   '最新'
2177
  			},
8dca79c8   杨鑫   1
2178
  			blur() {
98d43fa2   杨鑫   '最新'
2179
  				this.$forceUpdate()
8d583060   杨鑫   '最新'
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
  			},
  			removeEmptyValues(obj) {
  				if (typeof obj !== 'object' || obj === null) {
  					return obj;
  				}
  
  				const newObj = Array.isArray(obj) ? [] : {};
  
  				for (const key in obj) {
  					if (Object.prototype.hasOwnProperty.call(obj, key)) {
  						const value = obj[key];
  						if (value !== null && value !== undefined && value !== '' && !this.isEmptyObject(value)) {
  							if (Array.isArray(newObj)) {
  								newObj.push(this.removeEmptyValues(value));
  							} else {
  								newObj[key] = this.removeEmptyValues(value);
  							}
  						}
  					}
  				}
  
  				return newObj;
  			},
  			isEmptyObject(obj) {
  				return Object.keys(obj).length === 0 && obj.constructor === Object;
  			},
  			//获取当前时间
  			updateCurrentTime() {
  				const now = new Date();
  				const year = now.getFullYear();
  				const month = (now.getMonth() + 1).toString().padStart(2, '0');
  				const day = now.getDate().toString().padStart(2, '0');
  				const hours = now.getHours().toString().padStart(2, '0');
  				const minutes = now.getMinutes().toString().padStart(2, '0');
  				const seconds = now.getSeconds().toString().padStart(2, '0');
  
a18f16a9   杨鑫   提交1
2216
  				return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`
8d583060   杨鑫   '最新'
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
  			},
  
  			handleCurrentChange(val) {
  				this.currentPage = val
  			},
  			handleSizeChange(val) {
  				this.pageSize = val
  			},
  			closeFn() {
  				this.ggXin = false
  			},
  			handleClick(val) {
  				console.log(val)
  				if (val == 'foud') {
  					lishiDeta({
  						eventDetailsId: item.id
  					}).then(res => {
  						this.liData = res.data
  					})
  				}
  			},
  			refreshData() {
  				// console.log('12123')
  				this.tableDa = []
  				this.activeName = 'first'
  				this.zhixingBian = false
  			},
  			reshData() {
  				this.tableDa = []
  				this.tiaozhengShow = false
  			},
  
  			handleSelectionChange(val) {
  				this.multipleSelection = val;
  			},
  			toggleSelection(rows) {
  				if (rows) {
  					rows.forEach(row => {
  						this.$refs.mulTable.toggleRowSelection(row);
  					});
  				}
  			},
  			tableAll() {
  				this.$refs.mulTable.clearSelection(); // 清除所有选项
  				const allRows = this.$refs.mulTable.data; // 获取所有行数据
  				allRows.forEach(row => {
  					this.$refs.mulTable.toggleRowSelection(row, true); // 全选所有项
  				});
  			},
  			TabClick(tab, event) {
  				console.log(tab, event)
  				if (tab.index == '0') {
  					this.getAll()
  				} else {
  					this.tableData = []
  				}
  			},
  			minSev() {
  				if (this.zhiXing) {
  					this.tableDa.push(this.mingFrom)
  				} else {
  					this.mingFrom.detailsId = this.zhixingList.id
  					MingAdd(this.mingFrom).then(res => {
  						this.mingcha(this.zhixingList.id)
  					})
  				}
  				this.mingFrom = {
  					detailLtemName: '',
  					estimatedQuantity: '',
  					estimatedCost: '',
  					notes: ''
  				}
  				this.addMing = false
  			},
  			// 查询执行明细
  			mingcha(id) {
  				mingTable({
  					detailsId: id,
  					pageNumber: 1,
  					pageSize: 10
  				}).then(res => {
  					this.tableDa = res.data.content
  				})
  			},
  			MingDelete(index, item) {
  				const h = this.$createElement;
  				this.$msgbox({
  					title: '消息',
  					message: h('p', null, [
  						h('span', null, '是否删除 '),
  					]),
  					showCancelButton: true,
  					showClose: false,
  					confirmButtonText: '确定',
  					cancelButtonText: '取消',
  					customClass: 'oe-dialog-btn',
  					beforeClose: (action, instance, done) => {
  						if (action === 'confirm') {
  							if (this.zhiXing) {
  								this.tableDa.splice(item, 1);
  							} else {
  								MingDel({
  									id: item.id
  								}).then(res => {
  									this.mingcha(this.zhixingList.id)
  								})
  							}
  							done();
  						} else {
  							done();
  						}
  					}
  				})
  			},
  			tianMing() {
  				if (this.zhixingBian) {
  					this.addMing = true
  				}
  			},
  
  			duibi() {
  				if (this.multipleSelection.length == 1) {
  					this.xiaoDui = true
  					this.duibiOne = this.multipleSelection[0]
  					console.log(this.multipleSelection[0])
  					let that = this
  					actPage({
  						detailsId: this.multipleSelection[0].id,
a18f16a9   杨鑫   提交1
2345
  						pageNumber: 0,
8d583060   杨鑫   '最新'
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
  						pageSize: 10,
  					}).then(res => {
  						this.duibiTwo = res.data.content[0] === undefined ? {} : res.data.content[0];
  						console.log(this.duibiTwo)
  						if (res.data.content[0] === undefined || res.data.content[0].totalCostEstimation == '') {
  							that.xiaoduiObj.biliTwo = '0%'
  							that.xiaoduiObj.biliT = 0
  						} else {
  							that.xiaoduiObj.biliT = that.duibiTwo.internalLaborCostEstimation / that.duibiTwo
  								.totalCostEstimation * 100
  							that.xiaoduiObj.biliTwo =
  								`${Math.round(that.duibiTwo.internalLaborCostEstimation  / that.duibiTwo.totalCostEstimation*100)}%`
  						}
  
  					})
  					if (that.duibiOne.totalCostEstimation == '') {
  						that.xiaoduiObj.biliOne = '0%'
  						that.xiaoduiObj.bilis = 0
  					} else {
  						that.xiaoduiObj.bilis = that.duibiOne.internalLaborCostEstimation / that.duibiOne
  							.totalCostEstimation * 100
  						that.xiaoduiObj.biliOne =
  							`${Math.round(that.duibiOne.internalLaborCostEstimation  / that.duibiOne.totalCostEstimation*100)}%`
  					}
  
  				} else {
  					this.$message({
  						message: '请选择一个文件对比',
  						customClass: 'custom-message',
  						offset: 100
  					})
  				}
  
  			},
2d521f7d   杨鑫   最新2
2380
  			xiaoguo(item) {
3a1f257b   杨鑫   最新
2381
2382
  this.effectivenessListOne = item
  this.ListOne = item.planName
2d521f7d   杨鑫   最新2
2383
2384
2385
2386
  				this.xiaoDui = true
  				this.duibiOne = item
  				console.log(item)
  				let that = this
a8cf1417   杨鑫   '最新'
2387
2388
  				effectivenessLog({
  					activityEffectivenessId: item.id
2d521f7d   杨鑫   最新2
2389
  				}).then(res => {
3d9acc2b   杨鑫   '最新'
2390
  
a8cf1417   杨鑫   '最新'
2391
  					this.effectivenessList = res.data
3d9acc2b   杨鑫   '最新'
2392
2393
2394
2395
  					this.effectivenessList.map((item, index) => {
  						let actName = item.operationType.split(' ')
  						this.effectivenessList[index].operationType = actName[0]
  					})
2d521f7d   杨鑫   最新2
2396
  				})
3a1f257b   杨鑫   最新
2397
  				// this.ListOne = ''
a8cf1417   杨鑫   '最新'
2398
  				this.ListTwo = ''
3a1f257b   杨鑫   最新
2399
  				// this.effectivenessListOne = {}
a8cf1417   杨鑫   '最新'
2400
2401
2402
2403
  				this.effectivenessListTwo = {}
  
  				// actPage({
  				// 	detailsId: item.id,
a18f16a9   杨鑫   提交1
2404
  				// 	pageNumber: 0,
a8cf1417   杨鑫   '最新'
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
  				// 	pageSize: 10,
  				// }).then(res => {
  				// 	this.duibiTwo = res.data.content[0] === undefined ? {} : res.data.content[0];
  				// 	if (res.data.content[0] === undefined || res.data.content[0].totalCostEstimation == '') {
  				// 		that.xiaoduiObj.biliTwo = '0%'
  				// 		that.xiaoduiObj.biliT = 0
  				// 	} else {
  				// 		that.xiaoduiObj.biliT = that.duibiTwo.internalLaborCostEstimation / that.duibiTwo
  				// 			.totalCostEstimation * 100
  				// 		that.xiaoduiObj.biliTwo =
  				// 			`${Math.round(that.duibiTwo.internalLaborCostEstimation  / that.duibiTwo.totalCostEstimation*100)}%`
  				// 	}
  
  				// })
  				// if (that.duibiOne.totalCostEstimation == '') {
  				// 	that.xiaoduiObj.biliOne = '0%'
  				// 	that.xiaoduiObj.bilis = 0
  				// } else {
  				// 	that.xiaoduiObj.bilis = that.duibiOne.internalLaborCostEstimation / that.duibiOne
  				// 		.totalCostEstimation * 100
  				// 	that.xiaoduiObj.biliOne =
  				// 		`${Math.round(that.duibiOne.internalLaborCostEstimation  / that.duibiOne.totalCostEstimation*100)}%`
  				// }
2d521f7d   杨鑫   最新2
2428
2429
2430
2431
2432
  
  
  
  
  			},
8d583060   杨鑫   '最新'
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
  			koop(item) {
  				this.copy.id = item.id
  				this.copyShow = true
  			},
  			copyClose() {
  				this.copyShow = false
  				this.copy.planName = ''
  			},
  			copysev() {
  				if (this.copy.planName == '') {
  					this.$message({
  						message: '请填写数据',
  						customClass: 'custom-message',
  						offset: 100
  					})
  					return;
  				} else {
  					copy(this.copy).then(res => {
  						this.copyShow = false
  						this.getAll()
  					})
  				}
  			},
  
  
  			fenleiChange(value) {
  				this.xinADD.parentId = value[value.length - 1]
  			},
  
  
a8cf1417   杨鑫   '最新'
2463
2464
2465
2466
2467
2468
2469
2470
  			// customFormat(percentage) {
  			// 	let zong
  			// 	if (percentage == undefined || percentage === null || percentage == '') {
  			// 		percentage = 0
  			// 		zong = 10000
  			// 	}
  			// 	return `${percentage} / ${percentage==''?zong:parseInt(percentage) *10}`;
  			// },
8d583060   杨鑫   '最新'
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
  			baifenbi(item) {
  
  				let zong
  				if (item == undefined || item === null || item == '') {
  					item = 0
  					zong = 10000
  					return Math.round(item / (item * 10) * 100);
  				} else {
  					return Math.round(item / zong * 100);
  				}
  
  			},
  			handleUploadSuccess(response, file, fileList) {
  				const fileMsg = {
  					name: file.name,
  					url: file.response.data.url,
  				}
  				// 将文件地址存储在 uploadedFiles 数组中
  				this.fileData.push(fileMsg);
  			},
  			handleRemove() {
  				this.fileData = []
  			},
  			daoru(response, file, fileList) {
  				this.daoData.push(file.raw)
  				const formDate = new FormData()
  				formDate.append('file', this.daoData[0])
  				excelAdd(formDate).then(res => {
  					this.getAll()
  				})
  			},
  
  
  			async daochu() {
  				let res = await excelQueryByPage(this.pageindex)
  				if (!res) {
  					return
  				}
  				const blob = new Blob([res], {
  					type: 'application/vnd.ms-excel'
  				})
  				const fileName = '审核流程.xls'
  				if ('download' in document.createElement('a')) {
  					// 非IE下载
  					const elink = document.createElement('a')
  					elink.download = fileName
  					elink.style.display = 'none'
  					elink.href = URL.createObjectURL(blob)
  					document.body.appendChild(elink)
  					elink.click()
  					URL.revokeObjectURL(elink.href) // 释放URL 对象
  					document.body.removeChild(elink)
  				} else {
  					// IE10+下载
  					navigator.msSaveBlob(blob, fileName)
  				}
  				this.$message({
  					message: '导出成功',
  					type: 'success'
  				})
  
  
  			},
  			// 下载
  			async downloadPdf() {
  				const content = this.$refs.actXiang
25e99daf   杨鑫   '最新'
2537
  
8d583060   杨鑫   '最新'
2538
2539
  				// 使用 html2canvas 将 div 渲染为画布
  				const canvas = await html2canvas(content)
25e99daf   杨鑫   '最新'
2540
  
8d583060   杨鑫   '最新'
2541
2542
  				// 获取画布的图像数据
  				const imgData = canvas.toDataURL('image/png')
25e99daf   杨鑫   '最新'
2543
2544
2545
2546
2547
2548
  				// 创建一个 img 元素
  				const img = document.createElement('img')
  				img.src = imgData
  				img.style.maxWidth = '100%'
  				const imgContainer = this.$refs.imgces
  				imgContainer.appendChild(img)
8d583060   杨鑫   '最新'
2549
2550
2551
  				// console.log(imgData,'图片11111')
  				// 创建一个新的 PDF 文档
  				const pdf = new jsPDF('p', 'mm', 'a4')
25e99daf   杨鑫   '最新'
2552
  
8d583060   杨鑫   '最新'
2553
2554
2555
  				// 添加图像到 PDF,第二个参数是图像格式,第三个参数是缩放比例
  				const imgWidth = 190; // 图像的宽度(mm)
  				const imgHeight = (canvas.height * imgWidth) / canvas.width // 保持图像的宽高比
25e99daf   杨鑫   '最新'
2556
  
8d583060   杨鑫   '最新'
2557
  				pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight) // 10, 10 是图像在 PDF 中的位置(mm)
25e99daf   杨鑫   '最新'
2558
  
8d583060   杨鑫   '最新'
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
  				// 保存 PDF 文件
  				pdf.save('活动方案.pdf');
  			},
  			// 下载
  			async lishidownloadPdf() {
  				const content = this.$refs.lishiRef;
  
  				// 使用 html2canvas 将 div 渲染为画布
  				const canvas = await html2canvas(content);
  
  				// 获取画布的图像数据
  				const imgData = canvas.toDataURL('image/png');
  
  				// 创建一个新的 PDF 文档
  				const pdf = new jsPDF('p', 'mm', 'a4');
  
  				// 添加图像到 PDF,第二个参数是图像格式,第三个参数是缩放比例
  				const imgWidth = 190; // 图像的宽度(mm)
  				const imgHeight = (canvas.height * imgWidth) / canvas.width; // 保持图像的宽高比
  
  				pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight); // 10, 10 是图像在 PDF 中的位置(mm)
  
  				// 保存 PDF 文件
  				pdf.save('历史方案.pdf');
  			},
  			setSearch() {
  				this.searchShow = true
  			},
  			lichange(e) {
3d9acc2b   杨鑫   '最新'
2588
  
a8cf1417   杨鑫   '最新'
2589
2590
2591
  				// this.lishiList = e
  				let msg = this.effectivenessList[e]
  				// this.duibiList = JSON.parse(msg.modifyContent)
a18f16a9   杨鑫   提交1
2592
  		
a8cf1417   杨鑫   '最新'
2593
  				this.duibiList = JSON.parse(msg.modifiedData)
d5f60c72   杨鑫   '最新'
2594
  
a8cf1417   杨鑫   '最新'
2595
  			},
3a1f257b   杨鑫   最新
2596
2597
2598
2599
2600
2601
2602
  			// lichangeOne(e) {
  			// 	let msg = this.effectivenessList[e]
  			// 	if (typeof msg.modifiedData == 'string') {
  			// 		this.effectivenessListOne = JSON.parse(msg.modifiedData)
  			// 	} else {
  			// 		this.effectivenessListOne = msg.modifiedData
  			// 	}
3d9acc2b   杨鑫   '最新'
2603
  
3a1f257b   杨鑫   最新
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
  			// 	if (this.effectivenessListOne.internalLaborCostEstimation != undefined && this.effectivenessListTwo
  			// 		.internalLaborCostEstimation != undefined && this.effectivenessListOne.internalLaborCostEstimation !=
  			// 		'' && this.effectivenessListTwo
  			// 		.internalLaborCostEstimation != '') {
  			// 		let sum = (Number(this.effectivenessListTwo.internalLaborCostEstimation) - Number(this
  			// 			.effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListTwo
  			// 			.internalLaborCostEstimation) * 100
  			// 		this.effectivenessListOne.sumNei = sum.toFixed(2)
  			// 	}
  			// 	if (this.effectivenessListOne.externalLaborCostEstimation != undefined && this.effectivenessListTwo
  			// 		.externalLaborCostEstimation != undefined && this.effectivenessListOne.externalLaborCostEstimation !=
  			// 		'' && this.effectivenessListTwo
  			// 		.externalLaborCostEstimation != '') {
  			// 		let sum = (Number(this.effectivenessListTwo.externalLaborCostEstimation) - Number(this
  			// 			.effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListTwo
  			// 			.externalLaborCostEstimation) * 100
  			// 		this.effectivenessListOne.sumWai = sum.toFixed(2)
3d9acc2b   杨鑫   '最新'
2621
  
3a1f257b   杨鑫   最新
2622
2623
2624
2625
2626
2627
2628
2629
  			// 	}
  			// 	if (this.effectivenessListOne.costEstimationGoods != undefined && this.effectivenessListTwo
  			// 		.costEstimationGoods != undefined && this.effectivenessListOne.costEstimationGoods != '' && this
  			// 		.effectivenessListTwo
  			// 		.costEstimationGoods != '') {
  			// 		let sum = (Number(this.effectivenessListTwo.costEstimationGoods) - Number(this.effectivenessListOne
  			// 			.costEstimationGoods)) / Number(this.effectivenessListTwo.costEstimationGoods) * 100
  			// 		this.effectivenessListOne.sumShop = sum.toFixed(2)
3d9acc2b   杨鑫   '最新'
2630
  
3a1f257b   杨鑫   最新
2631
2632
2633
2634
2635
2636
2637
  			// 	}
  			// 	if (this.effectivenessListOne.setCostEstimate != undefined && this.effectivenessListTwo.setCostEstimate !=
  			// 		undefined && this.effectivenessListOne.setCostEstimate != '' && this.effectivenessListTwo
  			// 		.setCostEstimate != '') {
  			// 		let sum = (Number(this.effectivenessListTwo.setCostEstimate) - Number(this.effectivenessListOne
  			// 			.setCostEstimate)) / Number(this.effectivenessListTwo.setCostEstimate) * 100
  			// 		this.effectivenessListOne.sumSe = sum.toFixed(2)
3d9acc2b   杨鑫   '最新'
2638
  
3a1f257b   杨鑫   最新
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
  			// 	}
  			// 	if (this.effectivenessListOne.estimatedPromotionalExpenses != undefined && this.effectivenessListTwo
  			// 		.estimatedPromotionalExpenses != undefined && this.effectivenessListOne.estimatedPromotionalExpenses !=
  			// 		'' && this.effectivenessListTwo
  			// 		.estimatedPromotionalExpenses != '') {
  			// 		let sum = (Number(this.effectivenessListTwo.estimatedPromotionalExpenses) - Number(this
  			// 			.effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListTwo
  			// 			.estimatedPromotionalExpenses) * 100
  
  			// 		this.effectivenessListOne.sumXuan = sum.toFixed(2)
  			// 	}
  			// 	if (this.effectivenessListOne.otherNecessaryEstimates != undefined && this.effectivenessListTwo
  			// 		.otherNecessaryEstimates != undefined && this.effectivenessListOne.otherNecessaryEstimates != '' &&
  			// 		this.effectivenessListTwo
  			// 		.otherNecessaryEstimates != '') {
  			// 		let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListTwo.otherNecessaryEstimates) * 100
  			// 		this.effectivenessListOne.sumQi = sum.toFixed(2)
  			// 	}
  			// 	if (this.effectivenessListOne.totalCostEstimation != undefined && this.effectivenessListTwo
  			// 		.totalCostEstimation != undefined && this.effectivenessListOne.totalCostEstimation != '' && this
  			// 		.effectivenessListTwo
  			// 		.totalCostEstimation != '') {
  			// 		let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListTwo.totalCostEstimation) * 100
  			// 		this.effectivenessListOne.sumAll = sum.toFixed(2)
  			// 	}
  			// 	// sumNei
  			// 	// sumWai
  			// 	// sumShop
  			// 	// sumSe
  			// 	// sumXuan
  			// 	// sumQi
  			// 	// sumAll
  			// 	// internalLaborCostEstimation
  			// 	// externalLaborCostEstimation
  			// 	// costEstimationGoods
  			// 	// setCostEstimate
  			// 	// estimatedPromotionalExpenses
  			// 	// otherNecessaryEstimates
  			// 	// totalCostEstimation
a8cf1417   杨鑫   '最新'
2678
  
3a1f257b   杨鑫   最新
2679
  			// },
a8cf1417   杨鑫   '最新'
2680
  			lichangeTwo(e) {
d5f60c72   杨鑫   '最新'
2681
  				let msg = this.effectivenessList[e]
3d9acc2b   杨鑫   '最新'
2682
  				if (typeof msg.modifiedData == 'string') {
d5f60c72   杨鑫   '最新'
2683
  					this.effectivenessListTwo = JSON.parse(msg.modifiedData)
3d9acc2b   杨鑫   '最新'
2684
  				} else {
d5f60c72   杨鑫   '最新'
2685
  					this.effectivenessListTwo = msg.modifiedData
a8cf1417   杨鑫   '最新'
2686
  				}
8dca79c8   杨鑫   1
2687
  				
3d9acc2b   杨鑫   '最新'
2688
2689
2690
2691
  				if (this.effectivenessListOne.internalLaborCostEstimation != undefined && this.effectivenessListTwo
  					.internalLaborCostEstimation != undefined && this.effectivenessListOne.internalLaborCostEstimation !=
  					'' && this.effectivenessListTwo
  					.internalLaborCostEstimation != '') {
8dca79c8   杨鑫   1
2692
  					let sum = (Number(this.effectivenessListTwo.internalLaborCostEstimation) - Number(this
3a1f257b   杨鑫   最新
2693
  						.effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListOne
3d9acc2b   杨鑫   '最新'
2694
2695
2696
2697
2698
2699
2700
  						.internalLaborCostEstimation) * 100
  					this.effectivenessListOne.sumNei = sum.toFixed(2)
  				}
  				if (this.effectivenessListOne.externalLaborCostEstimation != undefined && this.effectivenessListTwo
  					.externalLaborCostEstimation != undefined && this.effectivenessListOne.externalLaborCostEstimation !=
  					'' && this.effectivenessListTwo
  					.externalLaborCostEstimation != '') {
8dca79c8   杨鑫   1
2701
  					let sum = (Number(this.effectivenessListTwo.externalLaborCostEstimation) - Number(this
3a1f257b   杨鑫   最新
2702
  						.effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListOne
3d9acc2b   杨鑫   '最新'
2703
  						.externalLaborCostEstimation) * 100
3d9acc2b   杨鑫   '最新'
2704
  					this.effectivenessListOne.sumWai = sum.toFixed(2)
8dca79c8   杨鑫   1
2705
  				
3d9acc2b   杨鑫   '最新'
2706
2707
2708
2709
2710
  				}
  				if (this.effectivenessListOne.costEstimationGoods != undefined && this.effectivenessListTwo
  					.costEstimationGoods != undefined && this.effectivenessListOne.costEstimationGoods != '' && this
  					.effectivenessListTwo
  					.costEstimationGoods != '') {
8dca79c8   杨鑫   1
2711
  					let sum = (Number(this.effectivenessListTwo.costEstimationGoods) - Number(this.effectivenessListOne
3a1f257b   杨鑫   最新
2712
  						.costEstimationGoods)) / Number(this.effectivenessListOne.costEstimationGoods) * 100
3d9acc2b   杨鑫   '最新'
2713
  					this.effectivenessListOne.sumShop = sum.toFixed(2)
8dca79c8   杨鑫   1
2714
  				
3d9acc2b   杨鑫   '最新'
2715
2716
2717
2718
  				}
  				if (this.effectivenessListOne.setCostEstimate != undefined && this.effectivenessListTwo.setCostEstimate !=
  					undefined && this.effectivenessListOne.setCostEstimate != '' && this.effectivenessListTwo
  					.setCostEstimate != '') {
8dca79c8   杨鑫   1
2719
  					let sum = (Number(this.effectivenessListTwo.setCostEstimate) - Number(this.effectivenessListOne
3a1f257b   杨鑫   最新
2720
  						.setCostEstimate)) / Number(this.effectivenessListOne.setCostEstimate) * 100
3d9acc2b   杨鑫   '最新'
2721
  					this.effectivenessListOne.sumSe = sum.toFixed(2)
8dca79c8   杨鑫   1
2722
  				
3d9acc2b   杨鑫   '最新'
2723
2724
2725
2726
2727
  				}
  				if (this.effectivenessListOne.estimatedPromotionalExpenses != undefined && this.effectivenessListTwo
  					.estimatedPromotionalExpenses != undefined && this.effectivenessListOne.estimatedPromotionalExpenses !=
  					'' && this.effectivenessListTwo
  					.estimatedPromotionalExpenses != '') {
8dca79c8   杨鑫   1
2728
  					let sum = (Number(this.effectivenessListTwo.estimatedPromotionalExpenses) - Number(this
3a1f257b   杨鑫   最新
2729
  						.effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListOne
3d9acc2b   杨鑫   '最新'
2730
  						.estimatedPromotionalExpenses) * 100
8dca79c8   杨鑫   1
2731
  				
3d9acc2b   杨鑫   '最新'
2732
2733
2734
2735
2736
2737
  					this.effectivenessListOne.sumXuan = sum.toFixed(2)
  				}
  				if (this.effectivenessListOne.otherNecessaryEstimates != undefined && this.effectivenessListTwo
  					.otherNecessaryEstimates != undefined && this.effectivenessListOne.otherNecessaryEstimates != '' &&
  					this.effectivenessListTwo
  					.otherNecessaryEstimates != '') {
3a1f257b   杨鑫   最新
2738
  					let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListOne.otherNecessaryEstimates) * 100
3d9acc2b   杨鑫   '最新'
2739
2740
2741
2742
2743
2744
  					this.effectivenessListOne.sumQi = sum.toFixed(2)
  				}
  				if (this.effectivenessListOne.totalCostEstimation != undefined && this.effectivenessListTwo
  					.totalCostEstimation != undefined && this.effectivenessListOne.totalCostEstimation != '' && this
  					.effectivenessListTwo
  					.totalCostEstimation != '') {
3a1f257b   杨鑫   最新
2745
  					let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListOne.totalCostEstimation) * 100
3d9acc2b   杨鑫   '最新'
2746
2747
  					this.effectivenessListOne.sumAll = sum.toFixed(2)
  				}
8dca79c8   杨鑫   1
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
  				// sumNei
  				// sumWai
  				// sumShop
  				// sumSe
  				// sumXuan
  				// sumQi
  				// sumAll
  				// internalLaborCostEstimation
  				// externalLaborCostEstimation
  				// costEstimationGoods
  				// setCostEstimate
  				// estimatedPromotionalExpenses
  				// otherNecessaryEstimates
  				// totalCostEstimation
8d583060   杨鑫   '最新'
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
  			},
  			tiaozheng() {
  				this.tiaozhengShow = true
  			},
  			jiucuo() {
  				this.jiuMsg = ''
  				this.jiucuoShow = true
  			},
  			jiuCheck() {
  				xiangedit({
  					id: this.editId,
  					isErrorCorrection: this.jiuMsg
  				}).then(res => {
  					this.jiucuoShow = false
  				})
  			},
  			//执行效果保存
  			async bianji() {
8dca79c8   杨鑫   1
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
  				if(this.numBerList>3){
  									 
  				}else{
  									this.$message({
  										message: '请填写或修改数据',
  										type: 'error',
  										offset: 100
  									})
  									return false; 
  				}
3d9acc2b   杨鑫   '最新'
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
  				this.$refs.zhixingFormInfo.validate((valid) => {
  					if (valid) {
  						if (this.fileData.length != 0) {
  							this.zhixingList.feedbackContent = this.fileData[0].url
  						}
  						if (this.zhiXing) {
  							this.zhixingList.eventStartTime = this.zhixingList.planTime[0]
  							this.zhixingList.eventEndTime = this.zhixingList.planTime[1]
  							this.zhixingList.detailsId = this.secondData.id
  							this.zhixingList.createDate = this.updateCurrentTime()
a18f16a9   杨鑫   提交1
2800
  							this.zhixingList.createUser = localStorage.getItem('roleName')
3d9acc2b   杨鑫   '最新'
2801
2802
2803
2804
  							actAdd(this.zhixingList).then(res => {
  								for (let i = 0; i < this.tableDa.length; i++) {
  									this.tableDa[i].detailsId = res.data.id
  									MingAdd(this.tableDa[i]).then(res => {
2f60abcc   杨鑫   最新
2805
  										
3d9acc2b   杨鑫   '最新'
2806
2807
  									})
  								}
2f60abcc   杨鑫   最新
2808
2809
2810
  								this.ggXin = false
  								this.zhixingBian = false
  								this.getAll()
3d9acc2b   杨鑫   '最新'
2811
2812
2813
2814
2815
2816
2817
2818
  							})
  
  						} else {
  							let that = this
  							Vue.delete(that.zhixingList, 'createDate')
  							this.zhixingList.eventStartTime = this.zhixingList.planTime[0]
  							this.zhixingList.eventEndTime = this.zhixingList.planTime[1]
  							Vue.delete(that.zhixingList, 'planTime')
a18f16a9   杨鑫   提交1
2819
2820
2821
  							// this.zhixingList.updateDate = ''
  							this.zhixingList.updateDate = this.updateCurrentTime()
  							this.zhixingList.updateUser = localStorage.getItem('roleName')
3d9acc2b   杨鑫   '最新'
2822
2823
  							actEdit(this.zhixingList).then(() => {
  								this.ggXin = false
2f60abcc   杨鑫   最新
2824
  								this.zhixingBian = false
3d9acc2b   杨鑫   '最新'
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
  								this.getAll()
  							})
  						}
  
  
  					} else {
  						this.$message({
  							message: '请填写数据',
  							type: 'error',
  							offset: 100
  						})
  						return false;
  					}
  				})
  
8d583060   杨鑫   '最新'
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
  			},
  			searchQuit() {
  				this.searPei = {
  					name: true,
  					lei: false,
  					staut: false,
  				}
  				this.searchShow = false
  			},
  
  		}
5d752fd3   杨鑫   '最新'
2851
  	}
25e99daf   杨鑫   '最新'
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
  </script>
  
  <style scoped>
  	.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell {
  		line-height: normal !important;
  	}
  
  	.custom-tree-node {
  		flex: 1;
  		display: flex;
  		align-items: center;
  		justify-content: space-between;
  		font-size: 14px;
  		padding-right: 8px;
  	}
  
  	/deep/ .first-column-bg {
  		background-color: #f4f4f5 !important;
  	}
  
  	.zhuti {
  		padding: 0 20px 20px 20px;
  		min-height: calc(100vh - 50px - 20px);
  		background-color: #Fff;
  
  	}
  
  	::v-deep .el-form-item {
  		margin-bottom: 16px;
  	}
  
  	/deep/ .el-form-item__content {
  		line-height: 0;
  	}
  
  	.tableBtn {
  		display: inline-block;
  		margin-right: 10px;
  	}
  
  	.formSearch {
  		display: flex;
  		width: 100%;
  		font-size: 14px;
  		justify-content: space-between;
  		padding-bottom: 10px;
  		align-items: center;
  	}
  
  	.greens {
  		color: #3F9B6A;
  	}
  
  	/deep/ .el-table__row {
  		font-size: 14px;
  		color: #000000e6;
  		height: 42px;
  	}
  
  	.fenye {
  		margin-top: 20px;
  		display: flex;
  		justify-content: space-between;
  		position: relative;
  	}
  
  	/deep/ .el-pagination.is-background .el-pager li:not(.disabled).active {
  		background-color: #3F9B6A;
  	}
  
  	.el-row {
  		margin-bottom: 20px;
  	}
  
  	:last-child {
  		margin-bottom: 0;
  	}
  
  	.el-col {
  		border-radius: 4px;
  	}
  
  	.bg-purple-dark {
  		background: #99a9bf;
  	}
  
  	.bg-purple {
  		/* background: #d3dce6; */
  	}
  
  	.bg-purple-light {
  		background: #e5e9f2;
  	}
  
  	.grid-content {
  		border-radius: 4px;
  		min-height: 36px;
  	}
  
  	.row-bg {
  		padding: 10px 0;
  		background-color: #f9fafc;
  	}
  
  	/deep/ .bg-purple[data-v-0e3fe4ec] {
  		background: #fff;
  		height: 50px;
  	}
  
  	/deep/ .el-form--label-top .el-form-item__label {
  		padding: 0;
  	}
  
  
  	.pagination {
  		text-align: right;
  		line-height: 20px;
  	}
  
  	/deep/ .el-pagination__total {
  		margin-top: 4px;
  	}
  
  	::v-deep .xiang_css {
  		margin-top: 11vh !important;
  		margin-left: 13%;
  		max-height: 600px;
  		overflow-y: auto;
  	}
  
  	/deep/ .dialog_css {
  		margin-top: 11vh;
  		margin-left: 25%;
  		padding: 0px;
  
  		.el-dialog__title {
  			font-size: 14px;
  			color: #000000e6;
  		}
  	}
  
  	/deep/.el-dialog__body {
  		padding: 0px;
  	}
  
  	/deep/ .el-dialog__header {
  		background-color: #fff;
  	}
  
  	/deep/.el-dialog__title {
  		font-size: 14px;
  		color: #000000e6;
  	}
  
  	.el-row {
  		margin-bottom: 20px;
  
  		&:last-child {
  			margin-bottom: 0;
  		}
  	}
  
  	/deep/ .avatar-uploader .el-upload {
  		border: 1px dashed #d9d9d9;
  		border-radius: 6px;
  		cursor: pointer;
  		position: relative;
  		overflow: hidden;
  	}
  
  	.avatar-uploader .el-upload:hover {
  		border-color: #409EFF;
  	}
  
  	.avatar-uploader-icon {
  		font-size: 28px;
  		color: #8c939d;
  		width: 108px;
  		height: 108px;
  		line-height: 108px;
  		/*text-align: center;*/
  	}
  
  	.avatar {
  		width: 108px;
  		height: 108px;
  		display: block;
  	}
  
  	::v-deep .el-tabs__item.is-active {
  		color: #3F9B6A;
  		opacity: 1;
  	}
  
  	/deep/ .el-tabs__nav-wrap::after {
  		background-color: #fff;
  	}
  
  	::v-deep .el-tabs__item:hover {
  		color: #3F9B6A;
  		cursor: pointer;
  		opacity: 1;
  	}
  
  	/deep/ .el-tabs__active-bar {
  		background-color: #389865;
  	}
  
  	/deep/ .el-table_2_column_13 {
  		font-weight: 100;
  	}
  
  	::v-deep .el-input__inner {
  		height: 32px;
  		line-height: 32px;
  	}
  
  	::v-deep .el-input__inner:focus {
  		border: #3F9B6A 1px solid;
  	}
  
  	::v-deep .el-input__inner:hover {
  		border: #3F9B6A 1px solid;
  	}
  
  	::v-deep .el-select .el-input.is-focus .el-input__inner {
  		border-color: #3F9B6A
  	}
  
  	::v-deep .el-form-item__label {
  		font-weight: 100;
  		font-size: 14px;
  		color: #000000e6;
  	}
  
  	/* ::v-deep .el-steps .el-step__head.is-wait {
    background-color: red; /* 修改为你想要的颜色 */
  
  	/* 修改未进行步骤的描述文字颜色 */
  	::v-deep .el-steps .el-step__description.is-wait {
  		color: #999;
  		/* 修改为你想要的颜色 */
  	}
  
  	/* 修改未进行步骤的图标颜色 */
  	::v-deep .el-steps .el-step__icon.is-text.is-wait {
  		color: #999;
  		/* 修改为你想要的颜色 */
  	}
  
  	/* 修改未进行步骤的边框色 */
  	::v-deep .el-steps .el-step__line.is-wait {
  		border-color: #eee;
  		/* 修改为你想要的颜色 */
  	}
  
  	::v-deep .el-steps .is-process .el-step__line {
  		background-color: #3F9B6A;
  		/* 修改线的颜色 */
  	}
  
  	::v-deep .el-steps .is-process .el-step__title {
  		color: #fe7b6a;
  		/* 修改进行中步骤的标题颜色 */
  	}
  
  	::v-deep .el-steps .is-process .el-step__icon {
  		color: #fff;
  		/* 修改进行中步骤的图标颜色 */
  		background: #3F9B6A;
  		/* 修改进行中步骤图标的边框颜色 */
  		border: 0px;
  	}
  
  	::v-deep .el-step__icon-inner {
  		line-height: 0
  	}
  
  	/* 线条长度 */
  	::v-deep .el-step.is-vertical .el-step__line {
  		top: 30px;
  		height: 60px;
  	}
  
  	.fenlan {
  		display: flex;
  	}
  
  	.souLei {
  		border: 1px solid #d7d7d7;
  		background-color: #fff;
  		width: 300px;
  		margin-right: 20px;
  
  	}
  
  	::v-deep .el-menu {
  		border-right: 0px;
  	}
  
  	::v-deep .el-menu-item {
  		height: 36px;
  		line-height: 33px;
  	}
  
  	::v-deep .el-submenu__title {
  		height: 36px;
  		line-height: 33px;
  		font-weight: 600;
  		border-radius: 4px;
  		margin: 4px 0;
  	}
  
  	::v-deep .el-menu-item-group__title {
  		padding: 0px
  	}
  
  	::v-deep .fudan {
  		font-weight: 600;
  		border-radius: 4px;
  		padding-left: 29px !important;
  		margin: 4px 0;
  	}
  
  	::v-deep .chinddan {
  		margin: 5px 0;
  	}
  </style>
  <style lang="scss" scoped>
  	::v-deep .el-table tr:hover {
  		background-color: #F0F7F3 !important;
  	}
  
  	::v-deep .souTabs {
  		padding: 0 15px 0 12px;
  
  		.el-submenu {
  			padding: 0px;
  		}
  
  		.el-menu-item:focus,
  		.el-menu-item:hover {
  			background-color: #3F9B6A !important;
  		}
  
  		.el-menu-item:hover {
  			background-color: #3f9b6a1a !important;
  			color: #000 !important;
  		}
  
  		.el-tabs--left .el-tabs__header.is-left {
  			width: 100%;
  			margin-right: 0px;
  		}
  
  		.el-tabs--left .el-tabs__item.is-left {
  			text-align: center;
  		}
  
  		.el-tabs__item.is-active {
  			background-color: #DEEBE2;
  		}
  	}
  
  	::v-deep .tableList {
  		width: 100%;
  	}
  
  	::v-deep .fenxi_css {
  		margin-top: 9vh !important;
  		margin-left: 10%;
  
  		.el-dialog__header {
  			padding: 0;
  		}
  
  		.el-tabs--border-card {
  			border: none;
  			-webkit-box-shadow: none;
  			box-shadow: none;
  
  			.el-tabs__content {
  				border: 1px solid #E4E7ED;
  				padding: 0;
  			}
  
  			.el-tabs__header {
  				background-color: #fff;
  				border-bottom: none;
  			}
  
  			.el-tabs__content {
  				border: none;
  			}
  
  			.el-tabs__header .el-tabs__item {
  				border: none;
  				margin-right: 10px;
  				background-color: #F2F2F2;
  				font-size: 12px;
  				border-top-left-radius: 8px;
  				border-top-right-radius: 8px;
  				padding: 0 15px;
  			}
  
  			.el-tabs__header .el-tabs__item.is-active {
  				color: #fff;
  				background-color: #3F9B6A;
  			}
  
  			.el-tabs__header .el-tabs__item:not(.is-disabled):hover {
  				color: #3F9B6A;
  			}
  		}
  
  	}
  
  	::v-deep .xiaoguo_css {
  		margin-top: 30vh !important;
  		margin-left: 25%;
  
  		.el-dialog__header {
  			padding: 0;
  		}
  
  		.el-tabs--border-card {
  			border: none;
  			-webkit-box-shadow: none;
  			box-shadow: none;
  
  			.el-tabs__content {
  				border: 1px solid #E4E7ED;
  				padding: 0;
  			}
  
  			.el-tabs__header {
  				background-color: #fff;
  				border-bottom: none;
  			}
  
  			.el-tabs__content {
  				border: none;
  			}
  
  			.el-tabs__header .el-tabs__item {
  				border: none;
  				margin-right: 10px;
  				background-color: #F2F2F2;
  				font-size: 12px;
  				border-top-left-radius: 8px;
  				border-top-right-radius: 8px;
  				padding: 0 15px;
  			}
  
  			.el-tabs__header .el-tabs__item.is-active {
  				color: #fff;
  				background-color: #3F9B6A;
  			}
  
  			.el-tabs__header .el-tabs__item:not(.is-disabled):hover {
  				color: #3F9B6A;
  			}
  		}
  	}
  
  	::v-deep .demo-input-suffix {
  		display: flex;
  		margin-right: 20px;
2d521f7d   杨鑫   最新2
3320
  
25e99daf   杨鑫   '最新'
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
  		.el-input__inner {
  			height: 32px;
  		}
  	}
  
  	::v-deep .el-input__icon {
  		line-height: 25px;
  	}
  
  	::v-deep .el-input--mini .el-input__icon {
  		line-height: 33px;
  	}
  
  	::v-deep .buttonHover:hover {
  		color: #3f9b6a !important;
  		border-color: #c5e1d2 !important;
  		background-color: #ecf5f0 !important;
  		outline: none;
  	}
  
  	::v-deep .DelBtnHover:hover {
  		color: #fff !important;
  		border-color: rgb(226, 78, 90) !important;
  		background-color: rgb(226, 78, 90) !important;
  		outline: none;
  	}
  
  	::v-deep .el-menu-item.is-active {
  		background-color: #3F9B6A !important;
  	}
  
  	::v-deep .jindutiao {
  		display: flex;
  		align-items: center;
  		margin-bottom: 15px;
  
  		.el-progress-bar__outer {
  			border-radius: 0px;
  		}
  
  		.el-progress-bar__inner {
  			border-radius: 0px;
  		}
  	}
  </style>