Blame view

admin-web-master/src/views/activity/activityHis.vue 111 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
  						style="color:#000000e6">活动策划调整</span></div>
  			</div>
  			<div>
  				<!-- 搜索 -->
  				<div class="formSearch">
  					<div class="demo-input-suffix">
a67407bc   杨鑫   最新
12
  						<!-- <div v-if="searPei.name" style="display: flex;">
25e99daf   杨鑫   '最新'
13
14
15
  							<div style="width: 68px;height:36px;line-height:36px;">方案名称</div>
  							<el-input placeholder="请输入" v-model="formSear.planName" style="width:168px;">
  							</el-input>
a67407bc   杨鑫   最新
16
17
18
19
20
21
22
23
24
25
  						</div> -->
  						<div style="width: 68px;height:36px;line-height:36px;">方案名称</div>
  						<el-input placeholder="请输入" v-model="pageindex.planName" style="width:168px;">
  						</el-input>
  						<div style="width: 68px;height:36px;line-height:36px;margin-left: 10px;">活动地点</div>
  						<el-input placeholder="请输入" v-model="pageindex.eventAddrs" style="width:168px;">
  						</el-input>
  						<div style="width: 75px;height:36px;line-height:36px;margin-left: 10px;">活动主办方</div>
  						<el-input placeholder="请输入" v-model="pageindex.sponsor" style="width:168px;">
  						</el-input>
25e99daf   杨鑫   '最新'
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
  						<!-- <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
57
58
  						<!-- <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   杨鑫   '最新'
59
60
61
62
  							: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
63
  						</el-upload> -->
25e99daf   杨鑫   '最新'
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
  
  						<!-- <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   杨鑫   '最新'
79
  							<!-- @selection-change="handleSelectionChange" -->
25e99daf   杨鑫   '最新'
80
  							<el-table :data="tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
a8cf1417   杨鑫   '最新'
81
  								tooltip-effect="dark" align="left"
25e99daf   杨鑫   '最新'
82
83
  								:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
  								ref="mulTable">
52fc03a8   杨鑫   '最新'
84
85
  								<!-- <el-table-column type="selection" min-width="5%">
  								</el-table-column> -->
25e99daf   杨鑫   '最新'
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
  								<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
115
116
117
  										<div class="tableBtn greens" @click="xiaoguo(scope.row)"
  											v-if="scope.row.state == '5'">效果对比
  										</div>
25e99daf   杨鑫   '最新'
118
119
120
121
122
123
124
125
126
127
  										<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   杨鑫   '最新'
128
  									<!-- 	<el-button @click="tableAll" class="buttonHover"
25e99daf   杨鑫   '最新'
129
130
131
132
  										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   杨鑫   '最新'
133
  									</el-button> -->
25e99daf   杨鑫   '最新'
134
135
136
137
138
139
140
141
142
143
144
145
  								</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   杨鑫   '最新'
146
  		<!-- 详情活动方案 -->
25e99daf   杨鑫   '最新'
147
  		<div v-if="ggXin" style="background-color:#fff;">
8d583060   杨鑫   '最新'
148
149
150
151
  			<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   杨鑫   '最新'
152
153
  			<div ref="actXiang">
  				<div style="width: 100%;">
2d521f7d   杨鑫   最新2
154
  					<div style="padding:0px 20px 20px 20px; display: flex;">
25e99daf   杨鑫   '最新'
155
156
157
158
159
160
161
162
163
  						<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
164
165
166
167
  					</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   杨鑫   '最新'
168
  							<el-tab-pane label="方案调整" name="second"></el-tab-pane>
2d521f7d   杨鑫   最新2
169
170
171
172
173
174
  							<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   杨鑫   '最新'
175
  							<div style="width: 100%;">
2d521f7d   杨鑫   最新2
176
177
178
179
180
181
182
183
184
  								<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   杨鑫   '最新'
185
  
2d521f7d   杨鑫   最新2
186
187
188
  										</el-table-column>
  										<el-table-column class-name="first-column-bg" label="方案名称" prop="text"
  											min-width="15%">
25e99daf   杨鑫   '最新'
189
  
2d521f7d   杨鑫   最新2
190
191
  										</el-table-column>
  										<el-table-column :label="text" prop="planName" min-width="35%">
25e99daf   杨鑫   '最新'
192
  
2d521f7d   杨鑫   最新2
193
194
  										</el-table-column>
  									</el-table>
25e99daf   杨鑫   '最新'
195
196
  
  
25e99daf   杨鑫   '最新'
197
  								</div>
2d521f7d   杨鑫   最新2
198
199
200
201
202
  							</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   杨鑫   最新
203
  					:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
2d521f7d   杨鑫   最新2
204
  										style="width: 100%;margin: auto;">
a67407bc   杨鑫   最新
205
  										<!-- <el-table-column label="序号" min-width="5%" align='center'>
2d521f7d   杨鑫   最新2
206
207
208
  											<template slot-scope="scope">
  												<span style="">{{ scope.$index +1}}</span>
  											</template>
a67407bc   杨鑫   最新
209
  										</el-table-column> -->
2d521f7d   杨鑫   最新2
210
211
212
213
214
  										<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   杨鑫   '最新'
215
  										<el-table-column label="预估费用(元)" prop="estimatedCost" min-width="20%">
2d521f7d   杨鑫   最新2
216
217
218
219
220
  
  										</el-table-column>
  										<el-table-column label="备注" prop="notes" min-width="20%">
  										</el-table-column>
  									</el-table>
25e99daf   杨鑫   '最新'
221
  								</div>
2d521f7d   杨鑫   最新2
222
223
224
225
226
227
228
  							</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   杨鑫   '最新'
229
  										<el-table-column class-name="first-column-bg" label="内部人力成本预估(元)" prop="name"
2d521f7d   杨鑫   最新2
230
231
232
233
234
235
  											min-width="15%">
  										</el-table-column>
  										<el-table-column :label="internalLaborCostEstimation" prop="eventTheme"
  											min-width="35%">
  
  										</el-table-column>
98d43fa2   杨鑫   '最新'
236
  										<el-table-column class-name="first-column-bg" label="外部人力成本预估(元)" prop="text"
2d521f7d   杨鑫   最新2
237
238
239
240
241
242
243
244
  											min-width="15%">
  
  										</el-table-column>
  										<el-table-column :label="externalLaborCostEstimation" prop="planName"
  											min-width="35%">
  
  										</el-table-column>
  									</el-table>
25e99daf   杨鑫   '最新'
245
  								</div>
2d521f7d   杨鑫   最新2
246
247
248
249
250
251
252
253
254
  							</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   杨鑫   '最新'
255
  										</el-table-column>
2d521f7d   杨鑫   最新2
256
257
258
259
260
261
262
263
264
265
266
267
268
  										<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   杨鑫   '最新'
269
  								</div>
2d521f7d   杨鑫   最新2
270
271
272
273
274
  							</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   杨鑫   最新
275
  							:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
2d521f7d   杨鑫   最新2
276
  										style="width: 100%;margin: auto;">
a67407bc   杨鑫   最新
277
  										<!-- <el-table-column label="序号" min-width="5%" align='center'>
2d521f7d   杨鑫   最新2
278
279
280
  											<template slot-scope="scope">
  												<span style="">{{ scope.$index + 1 }}</span>
  											</template>
a67407bc   杨鑫   最新
281
  										</el-table-column> -->
2d521f7d   杨鑫   最新2
282
283
284
285
286
287
288
289
290
291
292
  										<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   杨鑫   '最新'
293
  								</div>
2d521f7d   杨鑫   最新2
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
  							</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   杨鑫   '最新'
315
316
317
  								</div>
  							</div>
  						</div>
2d521f7d   杨鑫   最新2
318
319
320
321
322
323
324
  					</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   杨鑫   '最新'
325
326
  									</div>
  								</div>
2d521f7d   杨鑫   最新2
327
  								<div style="padding: 20px 40px 20px 20px">
8dca79c8   杨鑫   1
328
329
  									<el-form label-position="top" ref="zhixingFormInfo" :rules="zhixingRules"
  										:model="zhixingList" label-width="120px" style="position: relative">
2d521f7d   杨鑫   最新2
330
331
332
  										<el-row :gutter="20">
  											<el-col :span="8">
  												<el-form-item label="活动名称" class="grid-content bg-purple device-from"
d5f60c72   杨鑫   '最新'
333
  													prop="planName">
2d521f7d   杨鑫   最新2
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
  													<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
349
350
351
352
  														@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
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
  													</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   杨鑫   '最新'
375
  							</div>
2d521f7d   杨鑫   最新2
376
377
378
379
380
381
  						</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   杨鑫   '最新'
382
  									</div>
2d521f7d   杨鑫   最新2
383
384
  									<div style="color: #2d8a58;margin-top: 10px;font-size: 14px;" @click="tianMing">
  										添加明细
25e99daf   杨鑫   '最新'
385
386
  									</div>
  								</div>
2d521f7d   杨鑫   最新2
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
  								<!--          表格-->
  								<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
402
  										<el-table-column label="实际数量" prop="estimatedQuantity" width="auto"
2d521f7d   杨鑫   最新2
403
404
405
  											min-width="15%">
  
  										</el-table-column>
8dca79c8   杨鑫   1
406
  										<el-table-column label="实际费用(元)" prop="estimatedCost" width="auto"
a8cf1417   杨鑫   '最新'
407
  											min-width="15%">
2d521f7d   杨鑫   最新2
408
409
410
411
412
413
414
415
416
417
418
419
420
421
  										</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   杨鑫   '最新'
422
  							</div>
2d521f7d   杨鑫   最新2
423
424
425
426
427
428
  						</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   杨鑫   '最新'
429
430
  									</div>
  								</div>
2d521f7d   杨鑫   最新2
431
432
433
434
435
  								<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   杨鑫   '最新'
436
  												<el-form-item label="实际内部人力成本(元)"
2d521f7d   杨鑫   最新2
437
438
439
440
441
442
  													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   杨鑫   '最新'
443
  												<el-form-item label="实际外部人力成本(元)" class="grid-content bg-purple"
2d521f7d   杨鑫   最新2
444
445
446
447
448
449
450
  													prop="name">
  													<el-input v-model="zhixingList.externalLaborCostEstimation"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
451
  												<el-form-item label="实际商品成本(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
452
  													prop="name">
2d521f7d   杨鑫   最新2
453
454
455
456
457
458
459
460
  													<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   杨鑫   '最新'
461
  												<el-form-item label="实际设备成本(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
462
  													prop="name">
2d521f7d   杨鑫   最新2
463
464
465
466
467
  													<el-input v-model="zhixingList.setCostEstimate" placeholder="请输入"
  														:disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
468
  												<el-form-item label="实际宣传费用(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
469
  													prop="name">
2d521f7d   杨鑫   最新2
470
471
472
473
474
  													<el-input v-model="zhixingList.estimatedPromotionalExpenses"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="8">
98d43fa2   杨鑫   '最新'
475
  												<el-form-item label="实际其他成本(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
476
  													prop="name">
2d521f7d   杨鑫   最新2
477
478
479
480
481
482
483
484
  													<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   杨鑫   '最新'
485
  												<el-form-item label="实际总成本(元)" prop="name"
a8cf1417   杨鑫   '最新'
486
  													class="grid-content bg-purple">
2d521f7d   杨鑫   最新2
487
488
489
490
491
492
493
494
495
496
497
498
499
  													<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   杨鑫   '最新'
500
  							</div>
2d521f7d   杨鑫   最新2
501
  						</div>
25e99daf   杨鑫   '最新'
502
  
2d521f7d   杨鑫   最新2
503
504
505
506
507
  						<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   杨鑫   '最新'
508
509
  									</div>
  								</div>
2d521f7d   杨鑫   最新2
510
511
512
513
514
  								<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   杨鑫   '最新'
515
  												<el-form-item label="实际吸引流量" class="grid-content bg-purple device-from"
2d521f7d   杨鑫   最新2
516
517
518
519
520
521
  													prop="name">
  													<el-input v-model="zhixingList.expectedAttractTraffic"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  											<el-col :span="8">
a8cf1417   杨鑫   '最新'
522
  												<el-form-item label="实际参与人数" class="grid-content bg-purple" prop="name">
2d521f7d   杨鑫   最新2
523
524
525
526
527
528
  													<el-input v-model="zhixingList.expectedParticipation"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  
  											<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
  													<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   杨鑫   '最新'
538
  												<el-form-item label="实际间接收益(元)" class="grid-content bg-purple"
a8cf1417   杨鑫   '最新'
539
  													prop="name">
2d521f7d   杨鑫   最新2
540
541
542
543
544
545
  													<el-input v-model="zhixingList.expectedIndirectBenefits"
  														placeholder="请输入" :disabled="!zhixingBian" />
  												</el-form-item>
  											</el-col>
  
  										</el-row>
6c268f28   杨鑫   最新1
546
  										<!-- <el-row :gutter="20">
2d521f7d   杨鑫   最新2
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
  											<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>
  
6c268f28   杨鑫   最新1
562
  										</el-row> -->
2d521f7d   杨鑫   最新2
563
564
  									</el-form>
  								</div>
25e99daf   杨鑫   '最新'
565
  							</div>
2d521f7d   杨鑫   最新2
566
  						</div>
25e99daf   杨鑫   '最新'
567
  
2d521f7d   杨鑫   最新2
568
569
570
571
572
573
  					</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   杨鑫   '最新'
574
575
  								<el-option v-for="(item,index) in effectivenessList" :key="item.id"
  									:label="item.operationType" :value="index">
2d521f7d   杨鑫   最新2
576
577
  								</el-option>
  							</el-select>
a8cf1417   杨鑫   '最新'
578
  							<!-- <el-button @click="tiaozheng" style="background-color: #3F9B6A;color: #fff"
2d521f7d   杨鑫   最新2
579
  								v-if="lishiList!=null">调整对比
a8cf1417   杨鑫   '最新'
580
  							</el-button> -->
25e99daf   杨鑫   '最新'
581
  						</div>
2d521f7d   杨鑫   最新2
582
583
584
585
  						<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   杨鑫   '最新'
586
  										:labelStyle="labelStyle" :contentStyle="contentStyle">
2d521f7d   杨鑫   最新2
587
588
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
589
  												活动名称
2d521f7d   杨鑫   最新2
590
591
  											</template>
  
a18f16a9   杨鑫   提交1
592
  											<span>{{duibiList.planName || ''}}</span>
2d521f7d   杨鑫   最新2
593
594
595
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
596
  												实际举办地点
2d521f7d   杨鑫   最新2
597
  											</template>
a18f16a9   杨鑫   提交1
598
  											<span>{{duibiList.eventAddrs || ''}}</span>
2d521f7d   杨鑫   最新2
599
600
601
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
602
  												实际举办时间
2d521f7d   杨鑫   最新2
603
604
  											</template>
  
3d9acc2b   杨鑫   '最新'
605
  											<span>{{formatTimestampToDate(duibiList.eventStartTime)}}-{{formatTimestampToDate(duibiList.eventEndTime)}}</span>
2d521f7d   杨鑫   最新2
606
607
608
609
610
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
  												活动主办方
  											</template>
2d521f7d   杨鑫   最新2
611
  
3d9acc2b   杨鑫   '最新'
612
  											<span>{{duibiList.participants}}</span>
2d521f7d   杨鑫   最新2
613
614
615
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
616
  												活动实际参与方
2d521f7d   杨鑫   最新2
617
618
  											</template>
  
3d9acc2b   杨鑫   '最新'
619
  											<span>{{duibiList.sponsor}}</span>
2d521f7d   杨鑫   最新2
620
  										</el-descriptions-item>
3d9acc2b   杨鑫   '最新'
621
622
  
  
2d521f7d   杨鑫   最新2
623
  									</el-descriptions>
25e99daf   杨鑫   '最新'
624
  
25e99daf   杨鑫   '最新'
625
  								</div>
2d521f7d   杨鑫   最新2
626
  							</div>
a8cf1417   杨鑫   '最新'
627
  							<!-- <div style="width: 100%;">
2d521f7d   杨鑫   最新2
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
  								<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   杨鑫   '最新'
643
  										<el-table-column label="预估费用(元)" prop="estimatedCost" min-width="20%">
2d521f7d   杨鑫   最新2
644
645
646
647
648
  
  										</el-table-column>
  										<el-table-column label="备注" prop="notes" min-width="20%">
  										</el-table-column>
  									</el-table>
25e99daf   杨鑫   '最新'
649
  								</div>
a8cf1417   杨鑫   '最新'
650
  							</div> -->
2d521f7d   杨鑫   最新2
651
652
  							<div style="width: 100%;">
  								<div style="padding:10px 20px;">
a8cf1417   杨鑫   '最新'
653
654
  									<el-descriptions class="margin-top" title="实际花费成本" :column="2" border
  										:labelStyle="labelStyle" :contentStyle="contentStyle">
2d521f7d   杨鑫   最新2
655
656
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
657
  												实际内部人力成本(元)
2d521f7d   杨鑫   最新2
658
659
  											</template>
  
3d9acc2b   杨鑫   '最新'
660
  											<span>{{duibiList.internalLaborCostEstimation}}</span>
2d521f7d   杨鑫   最新2
661
662
663
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
664
  												实际外部人力成本(元)
2d521f7d   杨鑫   最新2
665
  											</template>
3d9acc2b   杨鑫   '最新'
666
667
668
  											<span>{{duibiList.externalLaborCostEstimation}}</span>
  
  
2d521f7d   杨鑫   最新2
669
670
671
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
672
  												实际商品成本(元)
2d521f7d   杨鑫   最新2
673
  											</template>
3d9acc2b   杨鑫   '最新'
674
675
  											<span>{{duibiList.costEstimationGoods}}</span>
  
2d521f7d   杨鑫   最新2
676
677
678
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
679
  												实际设备成本(元)
2d521f7d   杨鑫   最新2
680
  											</template>
3d9acc2b   杨鑫   '最新'
681
682
  											<span>{{duibiList.setCostEstimate}}</span>
  
2d521f7d   杨鑫   最新2
683
684
685
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
686
  												实际宣传费用(元)
2d521f7d   杨鑫   最新2
687
  											</template>
3d9acc2b   杨鑫   '最新'
688
689
  											<span>{{duibiList.estimatedPromotionalExpenses}}</span>
  
2d521f7d   杨鑫   最新2
690
691
692
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
693
  												实际其他成本(元)
2d521f7d   杨鑫   最新2
694
  											</template>
3d9acc2b   杨鑫   '最新'
695
696
  											<span>{{duibiList.otherNecessaryEstimates}}</span>
  
2d521f7d   杨鑫   最新2
697
698
699
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
700
  												实际总成本(元)
2d521f7d   杨鑫   最新2
701
  											</template>
3d9acc2b   杨鑫   '最新'
702
703
  											<span>{{duibiList.totalCostEstimation}}</span>
  
2d521f7d   杨鑫   最新2
704
705
706
707
708
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
  												备注
  											</template>
3d9acc2b   杨鑫   '最新'
709
710
  											<span>{{duibiList.notes}}</span>
  
2d521f7d   杨鑫   最新2
711
712
  										</el-descriptions-item>
  									</el-descriptions>
25e99daf   杨鑫   '最新'
713
  								</div>
2d521f7d   杨鑫   最新2
714
715
716
717
  							</div>
  							<div style="width: 100%;">
  
  								<div style="padding:10px 20px;">
a8cf1417   杨鑫   '最新'
718
719
  									<el-descriptions class="margin-top" title="活动执行效果" :column="2" border
  										:labelStyle="labelStyle" :contentStyle="contentStyle">
2d521f7d   杨鑫   最新2
720
721
  										<el-descriptions-item>
  											<template slot="label">
a8cf1417   杨鑫   '最新'
722
  												实际吸引流量
2d521f7d   杨鑫   最新2
723
  											</template>
3d9acc2b   杨鑫   '最新'
724
725
  											<span>{{duibiList.expectedAttractTraffic}}</span>
  
2d521f7d   杨鑫   最新2
726
727
728
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
3d9acc2b   杨鑫   '最新'
729
  												实际参与人数
2d521f7d   杨鑫   最新2
730
  											</template>
3d9acc2b   杨鑫   '最新'
731
732
  											<span>{{duibiList.expectedParticipation}}</span>
  
2d521f7d   杨鑫   最新2
733
734
735
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
736
  												实际直接收益(元)
2d521f7d   杨鑫   最新2
737
  											</template>
3d9acc2b   杨鑫   '最新'
738
739
  											<span>{{duibiList.expectedDirectBenefits}}</span>
  
2d521f7d   杨鑫   最新2
740
741
742
  										</el-descriptions-item>
  										<el-descriptions-item>
  											<template slot="label">
98d43fa2   杨鑫   '最新'
743
  												实际间接收益(元)
2d521f7d   杨鑫   最新2
744
  											</template>
3d9acc2b   杨鑫   '最新'
745
746
  											<span>{{duibiList.expectedIndirectBenefits}}</span>
  
2d521f7d   杨鑫   最新2
747
748
749
  										</el-descriptions-item>
  
  									</el-descriptions>
25e99daf   杨鑫   '最新'
750
  
25e99daf   杨鑫   '最新'
751
  								</div>
2d521f7d   杨鑫   最新2
752
  							</div>
a18f16a9   杨鑫   提交1
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
782
783
784
785
786
787
788
789
790
  							<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   杨鑫   '最新'
791
  
25e99daf   杨鑫   '最新'
792
793
  						</div>
  					</div>
2d521f7d   杨鑫   最新2
794
795
796
  					<div v-if="activeName=='five'">
  						<div style="width: 100%;padding:20px;">
  							<wangEditor v-model="zhixingqingk" ref="editor"></wangEditor>
25e99daf   杨鑫   '最新'
797
  
2d521f7d   杨鑫   最新2
798
799
  						</div>
  					</div>
25e99daf   杨鑫   '最新'
800
  
2d521f7d   杨鑫   最新2
801
  				</div>
25e99daf   杨鑫   '最新'
802
  
2d521f7d   杨鑫   最新2
803
804
805
806
807
808
809
810
811
812
813
814
815
816
  			</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
817
818
  				<!-- <el-button @click="fivebian" style="background-color: #3F9B6A;color: #fff" v-if="activeName=='five'">保存
  				</el-button> -->
25e99daf   杨鑫   '最新'
819
  
25e99daf   杨鑫   '最新'
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
  			</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;">
a67407bc   杨鑫   最新
858
  									<!-- <el-table-column label="序号" min-width="7%" align='center'>
25e99daf   杨鑫   '最新'
859
860
861
  										<template slot-scope="scope">
  											<span style="">{{ scope.$index +1}}</span>
  										</template>
a67407bc   杨鑫   最新
862
  									</el-table-column> -->
25e99daf   杨鑫   '最新'
863
864
865
866
867
  									<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   杨鑫   '最新'
868
  									<el-table-column label="预估费用(元)" prop="estimatedCost" min-width="20%">
25e99daf   杨鑫   '最新'
869
870
871
872
873
874
875
876
877
878
879
880
881
  
  									</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   杨鑫   '最新'
882
  									<el-table-column class-name="first-column-bg" label="内部人力成本预估(元)" prop="name"
25e99daf   杨鑫   '最新'
883
884
885
886
887
888
  										min-width="15%">
  									</el-table-column>
  									<el-table-column :label="internalLaborCostEstimation" prop="eventTheme"
  										min-width="35%">
  
  									</el-table-column>
98d43fa2   杨鑫   '最新'
889
  									<el-table-column class-name="first-column-bg" label="外部人力成本预估(元)" prop="text"
25e99daf   杨鑫   '最新'
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
  										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;">
a67407bc   杨鑫   最新
929
  									<!-- <el-table-column label="序号" min-width="7%" align='center'>
25e99daf   杨鑫   '最新'
930
931
932
  										<template slot-scope="scope">
  											<span style="">{{ scope.$index + 1 }}</span>
  										</template>
a67407bc   杨鑫   最新
933
  									</el-table-column> -->
25e99daf   杨鑫   '最新'
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
  									<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;">
a67407bc   杨鑫   最新
1059
  									<!-- <el-table-column label="序号" min-width="7%" align='center'>
25e99daf   杨鑫   '最新'
1060
1061
1062
  										<template slot-scope="scope">
  											<span style="">{{ scope.$index +1}}</span>
  										</template>
a67407bc   杨鑫   最新
1063
  									</el-table-column> -->
25e99daf   杨鑫   '最新'
1064
1065
1066
1067
1068
  									<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   杨鑫   '最新'
1069
  									<el-table-column label="预估费用(元)" prop="estimatedCost" min-width="20%">
25e99daf   杨鑫   '最新'
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
  
  									</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   杨鑫   '最新'
1083
  											内部人力成本预估(元)
25e99daf   杨鑫   '最新'
1084
1085
1086
1087
1088
  										</template>
  										{{lixiang.internalLaborCostEstimation}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1089
  											外部人力成本预估(元)
25e99daf   杨鑫   '最新'
1090
1091
1092
1093
1094
  										</template>
  										{{lixiang.externalLaborCostEstimation}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1095
  											商品成本预估(元)
25e99daf   杨鑫   '最新'
1096
1097
1098
1099
1100
  										</template>
  										{{lixiang.costEstimationGoods}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1101
  											设备成本预估(元)
25e99daf   杨鑫   '最新'
1102
1103
1104
1105
1106
  										</template>
  										{{lixiang.setCostEstimate}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1107
  											宣传费用预估(元)
25e99daf   杨鑫   '最新'
1108
1109
1110
1111
1112
  										</template>
  										{{lixiang.estimatedPromotionalExpenses}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1113
  											其他必要成本预估(元)
25e99daf   杨鑫   '最新'
1114
1115
1116
1117
1118
  										</template>
  										{{lixiang.otherNecessaryEstimates}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1119
  											总成本预估(元)
25e99daf   杨鑫   '最新'
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
  										</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   杨鑫   '最新'
1150
  											预计直接收益(元)
25e99daf   杨鑫   '最新'
1151
1152
1153
1154
1155
  										</template>
  										{{lixiang.expectedDirectBenefits}}
  									</el-descriptions-item>
  									<el-descriptions-item>
  										<template slot="label">
98d43fa2   杨鑫   '最新'
1156
  											预计间接收益(元)
25e99daf   杨鑫   '最新'
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
  										</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;">
a67407bc   杨鑫   最新
1171
  									<!-- <el-table-column label="序号" min-width="7%" align='center'>
25e99daf   杨鑫   '最新'
1172
1173
1174
  										<template slot-scope="scope">
  											<span style="">{{ scope.$index + 1 }}</span>
  										</template>
a67407bc   杨鑫   最新
1175
  									</el-table-column> -->
25e99daf   杨鑫   '最新'
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
1219
1220
1221
1222
1223
1224
1225
1226
1227
  									<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
1228
  							<el-form-item label="实际数量" class="grid-content bg-purple" prop=" planType">
25e99daf   杨鑫   '最新'
1229
1230
1231
  								<el-input v-model="mingFrom.estimatedQuantity" placeholder="请输入" />
  							</el-form-item>
  
8dca79c8   杨鑫   1
1232
  							<el-form-item label="实际费用(元)" class="grid-content bg-purple" prop="eventAddrs">
25e99daf   杨鑫   '最新'
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
  								<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
1246
  				<el-button plain @click="minSev" style="background-color: #3F9B6A;color: #fff;">确定
25e99daf   杨鑫   '最新'
1247
1248
  				</el-button>
  
8d583060   杨鑫   '最新'
1249
  			</div>
25e99daf   杨鑫   '最新'
1250
1251
  		</el-dialog>
  		<!-- 效果对比 -->
d5f60c72   杨鑫   '最新'
1252
  		<el-dialog :visible.sync="xiaoDui" title="效果对比" width="55%" center :close-on-click-modal="false"
2d521f7d   杨鑫   最新2
1253
  			:close-on-press-escape="false">
d5f60c72   杨鑫   '最新'
1254
  			<div style="display:flex;padding:20px 20px 0px 20px;width:100%;justify-content: center;">
3a1f257b   杨鑫   最新
1255
1256
1257
1258
  				<!-- @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   杨鑫   '最新'
1259
  					</el-option>
3a1f257b   杨鑫   最新
1260
1261
  				</el-select> -->
  			
a8cf1417   杨鑫   '最新'
1262
  				<div style="line-height:200%;">
d5f60c72   杨鑫   '最新'
1263
  					<img src="../../assets/images/vs.png" alt="" style="height: 100px;width: 100px;margin-top: -29px;">
a8cf1417   杨鑫   '最新'
1264
  				</div>
3a1f257b   杨鑫   最新
1265
  				<el-select v-model="ListTwo" placeholder="请选择" style="margin:0 20px 20px 20px;width: 26%;" @change="lichangeTwo">
a8cf1417   杨鑫   '最新'
1266
  					<el-option v-for="(item,index) in effectivenessList" :key="item.id" :label="item.operationType"
d5f60c72   杨鑫   '最新'
1267
  						:value="index">
a8cf1417   杨鑫   '最新'
1268
1269
1270
1271
1272
1273
  					</el-option>
  				</el-select>
  				<!-- <el-button @click="tiaozheng" style="background-color: #3F9B6A;color: #fff"
  						>对比
  					</el-button> -->
  			</div>
3d9acc2b   杨鑫   '最新'
1274
  			<div style="padding: 15px 40px;">
8dca79c8   杨鑫   1
1275
1276
  				<div
  					style="display:flex;width:100%;justify-content: center;border: 1px solid #DEDEDE;border-radius: 5px;padding: 0px 10px;">
3d9acc2b   杨鑫   '最新'
1277
  					<div style="width: 38%;">
a18f16a9   杨鑫   提交1
1278
  						<div style="color:#3F9B6A;text-align: center;padding: 10px 0;">预估成本</div>
3d9acc2b   杨鑫   '最新'
1279
1280
1281
1282
  						<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
1283
  								{{effectivenessListOne.internalLaborCostEstimation?effectivenessListOne.internalLaborCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1284
  							</div>
a8cf1417   杨鑫   '最新'
1285
  						</div>
3d9acc2b   杨鑫   '最新'
1286
1287
1288
1289
  						<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
1290
  								{{effectivenessListOne.externalLaborCostEstimation?effectivenessListOne.externalLaborCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1291
  							</div>
a8cf1417   杨鑫   '最新'
1292
  						</div>
3d9acc2b   杨鑫   '最新'
1293
1294
1295
  						<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
1296
1297
  							<div>
  								{{effectivenessListOne.costEstimationGoods?effectivenessListOne.costEstimationGoods:''}}元
3d9acc2b   杨鑫   '最新'
1298
  							</div>
a8cf1417   杨鑫   '最新'
1299
  						</div>
3d9acc2b   杨鑫   '最新'
1300
1301
1302
  						<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
1303
  							<div>{{effectivenessListOne.setCostEstimate?effectivenessListOne.setCostEstimate:''}}元</div>
a8cf1417   杨鑫   '最新'
1304
  						</div>
3d9acc2b   杨鑫   '最新'
1305
1306
1307
1308
  						<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
1309
  								{{effectivenessListOne.estimatedPromotionalExpenses?effectivenessListOne.estimatedPromotionalExpenses:''}}元
3d9acc2b   杨鑫   '最新'
1310
  							</div>
a8cf1417   杨鑫   '最新'
1311
  						</div>
3d9acc2b   杨鑫   '最新'
1312
1313
1314
1315
  						<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
1316
  								{{effectivenessListOne.otherNecessaryEstimates?effectivenessListOne.otherNecessaryEstimates:''}}元
3d9acc2b   杨鑫   '最新'
1317
  							</div>
a8cf1417   杨鑫   '最新'
1318
  						</div>
3d9acc2b   杨鑫   '最新'
1319
1320
1321
  						<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
1322
1323
  							<div>
  								{{effectivenessListOne.totalCostEstimation?effectivenessListOne.totalCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1324
  							</div>
a8cf1417   杨鑫   '最新'
1325
1326
  						</div>
  					</div>
3d9acc2b   杨鑫   '最新'
1327
1328
1329
1330
  					<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
1331
  							{{effectivenessListOne.sumNei?effectivenessListOne.sumNei:''}}%
a8cf1417   杨鑫   '最新'
1332
  						</div>
3d9acc2b   杨鑫   '最新'
1333
1334
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1335
  							{{effectivenessListOne.sumWai?effectivenessListOne.sumWai:''}}%
a8cf1417   杨鑫   '最新'
1336
  						</div>
3d9acc2b   杨鑫   '最新'
1337
1338
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1339
  							{{effectivenessListOne.sumShop?effectivenessListOne.sumShop:''}}%
a8cf1417   杨鑫   '最新'
1340
  						</div>
3d9acc2b   杨鑫   '最新'
1341
1342
  						<div
  							style="padding:10px 0px;text-align: center;margin:10px;border: 1px solid #3F9B6A;border-radius: 5px;background-color: #3F9B6A;color: #fff;">
8dca79c8   杨鑫   1
1343
  							{{effectivenessListOne.sumSe?effectivenessListOne.sumSe:''}}%
3d9acc2b   杨鑫   '最新'
1344
1345
1346
  						</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
1347
  							{{effectivenessListOne.sumXuan?effectivenessListOne.sumXuan:''}}%
3d9acc2b   杨鑫   '最新'
1348
1349
1350
  						</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
1351
  							{{effectivenessListOne.sumQi?effectivenessListOne.sumQi:''}}%
3d9acc2b   杨鑫   '最新'
1352
1353
1354
  						</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
1355
  							{{effectivenessListOne.sumAll?effectivenessListOne.sumAll:''}}%
a8cf1417   杨鑫   '最新'
1356
  						</div>
8dca79c8   杨鑫   1
1357
1358
  
  
a8cf1417   杨鑫   '最新'
1359
  					</div>
3d9acc2b   杨鑫   '最新'
1360
1361
1362
1363
1364
1365
  					<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
1366
  								{{effectivenessListTwo.internalLaborCostEstimation?effectivenessListTwo.internalLaborCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1367
1368
1369
1370
1371
1372
  							</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
1373
  								{{effectivenessListTwo.externalLaborCostEstimation?effectivenessListTwo.externalLaborCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1374
1375
1376
1377
1378
  							</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
1379
1380
  							<div>
  								{{effectivenessListTwo.costEstimationGoods?effectivenessListTwo.costEstimationGoods:''}}元
3d9acc2b   杨鑫   '最新'
1381
1382
1383
1384
1385
  							</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
1386
  							<div>{{effectivenessListTwo.setCostEstimate?effectivenessListTwo.setCostEstimate:''}}元</div>
3d9acc2b   杨鑫   '最新'
1387
1388
1389
1390
1391
  						</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
1392
  								{{effectivenessListTwo.estimatedPromotionalExpenses?effectivenessListTwo.estimatedPromotionalExpenses:''}}元
3d9acc2b   杨鑫   '最新'
1393
1394
1395
1396
1397
1398
  							</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
1399
  								{{effectivenessListTwo.otherNecessaryEstimates?effectivenessListTwo.otherNecessaryEstimates:''}}元
3d9acc2b   杨鑫   '最新'
1400
1401
1402
1403
1404
  							</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
1405
1406
  							<div>
  								{{effectivenessListTwo.totalCostEstimation?effectivenessListTwo.totalCostEstimation:''}}元
3d9acc2b   杨鑫   '最新'
1407
  							</div>
a8cf1417   杨鑫   '最新'
1408
1409
1410
1411
1412
  						</div>
  					</div>
  				</div>
  			</div>
  			<!-- <div style="width:30%">
25e99daf   杨鑫   '最新'
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
  					<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   杨鑫   '最新'
1427
1428
1429
1430
1431
1432
  						<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   杨鑫   '最新'
1433
  
25e99daf   杨鑫   '最新'
1434
1435
1436
1437
1438
1439
  						<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   杨鑫   '最新'
1440
1441
1442
1443
1444
1445
  						<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   杨鑫   '最新'
1446
1447
1448
1449
1450
1451
  						<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   杨鑫   '最新'
1452
  
25e99daf   杨鑫   '最新'
1453
1454
1455
1456
1457
1458
  						<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   杨鑫   '最新'
1459
  
25e99daf   杨鑫   '最新'
1460
1461
1462
1463
  						<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   杨鑫   '最新'
1464
1465
  				</div> -->
  			<!-- <div style="width:30%">
25e99daf   杨鑫   '最新'
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
  					<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   杨鑫   '最新'
1480
  					
25e99daf   杨鑫   '最新'
1481
1482
1483
1484
1485
1486
1487
  						<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   杨鑫   '最新'
1488
  					
25e99daf   杨鑫   '最新'
1489
1490
1491
1492
1493
1494
1495
  						<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   杨鑫   '最新'
1496
  					
25e99daf   杨鑫   '最新'
1497
1498
1499
1500
1501
1502
1503
  						<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   杨鑫   '最新'
1504
  			
25e99daf   杨鑫   '最新'
1505
1506
1507
1508
1509
1510
1511
  						<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   杨鑫   '最新'
1512
  				
25e99daf   杨鑫   '最新'
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
  						<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   杨鑫   '最新'
1525
1526
  				</div> -->
  
25e99daf   杨鑫   '最新'
1527
1528
  		</el-dialog>
  
8d583060   杨鑫   '最新'
1529
  
25e99daf   杨鑫   '最新'
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
  		<!-- 复制 -->
  		<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   杨鑫   '最新'
1549
  				</el-button>
25e99daf   杨鑫   '最新'
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
  			</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'
1563
  
25e99daf   杨鑫   '最新'
1564
1565
1566
1567
1568
  			<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   杨鑫   '最新'
1569
  			</div>
25e99daf   杨鑫   '最新'
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
  		</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'
1588
  
25e99daf   杨鑫   '最新'
1589
1590
  
  		<actbians v-if="bianshow" :showBian="actbianMsg" @BianchildClose='BianchildClose'></actbians>
8d583060   杨鑫   '最新'
1591
  	</div>
cc748250   杨鑫   '2'
1592
1593
1594
  </template>
  
  <script>
8d583060   杨鑫   '最新'
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
  	import {
  		deleteById,
  		queryByPage,
  		xiangByPage,
  		fujiaTable,
  		mingTable,
  		danqueryById,
  		xiangedit,
  		actEdit,
  		actAdd,
  		actPage,
  		MingAdd,
  		MingDel,
  		cereGet,
  		cereAdd,
  		cereEdit,
  		cereDel,
  		copy,
  		excelQueryByPage,
  		excelAdd,
  		effectEvaluation,
a8cf1417   杨鑫   '最新'
1616
1617
  		lishiDeta,
  		effectivenessLog
8d583060   杨鑫   '最新'
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
  	} 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   杨鑫   '最新'
1632
  		},
8d583060   杨鑫   '最新'
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
  		data() {
  			return {
  				uploadFileUrl: uploadUrl, // 请求地址
  				daoData: [],
  				actbianMsg: {},
  				bianshow: false, //编辑页
  				fileData: [],
  				fenlei: [],
  				secondData: {},
  
  				formSear: {
  					planName: '',
  					state: null,
  					dataOwnership: '1',
  					pageNumber: 1,
  					pageSize: 10,
3d9acc2b   杨鑫   '最新'
1649
  					isDraft: 0,
8dca79c8   杨鑫   1
1650
  					state: '5'
8d583060   杨鑫   '最新'
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
1709
1710
1711
1712
1713
1714
1715
1716
1717
  				},
  
  				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   杨鑫   '最新'
1718
  					name: '商品成本预估(元)',
8d583060   杨鑫   '最新'
1719
  					planName: '',
98d43fa2   杨鑫   '最新'
1720
  					text: '设备成本预估(元)',
8d583060   杨鑫   '最新'
1721
1722
1723
  					eventTheme: ''
  				}, {
  					id: 0,
98d43fa2   杨鑫   '最新'
1724
  					name: '宣传费用预估(元)',
8d583060   杨鑫   '最新'
1725
  					planName: '',
98d43fa2   杨鑫   '最新'
1726
  					text: '其他必要成本预估(元)',
8d583060   杨鑫   '最新'
1727
1728
1729
  					eventTheme: ''
  				}, {
  					id: 0,
98d43fa2   杨鑫   '最新'
1730
  					name: '总成本预估(元)',
8d583060   杨鑫   '最新'
1731
1732
1733
1734
1735
1736
1737
1738
  					planName: '',
  					text: '备注',
  					eventTheme: ''
  				}],
  				expectedAttractTraffic: '',
  				expectedParticipation: '',
  				tableData4: [{
  					id: 0,
98d43fa2   杨鑫   '最新'
1739
  					name: '预计直接收益(元)',
8d583060   杨鑫   '最新'
1740
  					planName: '',
98d43fa2   杨鑫   '最新'
1741
  					text: '预计间接收益(元)',
8d583060   杨鑫   '最新'
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
1784
1785
1786
1787
1788
1789
  					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: {
a67407bc   杨鑫   最新
1790
1791
1792
  					planName:'',
  					eventAddrs:'',
  					sponsor:'',
8d583060   杨鑫   '最新'
1793
1794
1795
  					pageNumber: 1,
  					pageSize: 10,
  					dataOwnership: '1',
a8cf1417   杨鑫   '最新'
1796
1797
  					isDraft: 0,
  					state: '5'
8d583060   杨鑫   '最新'
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
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
  				},
  				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   杨鑫   '最新'
1837
  					width: '250px',
8d583060   杨鑫   '最新'
1838
1839
  					height: '42px',
  				},
a8cf1417   杨鑫   '最新'
1840
1841
  				contentStyle: {
  					width: '300px',
3d9acc2b   杨鑫   '最新'
1842
  
a8cf1417   杨鑫   '最新'
1843
1844
  					// height:'42px',
  				},
8d583060   杨鑫   '最新'
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
  				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   杨鑫   '最新'
1862
1863
1864
1865
1866
  				zhixingqingk: '',
  				effectivenessList: [],
  				ListOne: '',
  				ListTwo: '',
  				effectivenessListOne: {},
d5f60c72   杨鑫   '最新'
1867
  				effectivenessListTwo: {},
3d9acc2b   杨鑫   '最新'
1868
  				zhixingRules: {
d5f60c72   杨鑫   '最新'
1869
1870
1871
1872
1873
  					planName: [{
  						required: true,
  						message: '请输入活动名称',
  						trigger: 'blur'
  					}],
8dca79c8   杨鑫   1
1874
1875
  				},
  				numBerList:0
8d583060   杨鑫   '最新'
1876
1877
  			}
  		},
8dca79c8   杨鑫   1
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
  		watch: {
  		      tableDa: {
  		          handler(newVal, oldVal) {
  								this.numBerList +=1
  								
  		          },
  		          deep: true
  		      },
  		      zhixingList: {
  		          handler(newVal, oldVal) {
  								this.numBerList +=1
  								
  		          },
  		          deep: true
  		      }
  		  },
8d583060   杨鑫   '最新'
1894
1895
  		created() {
  			this.getAll()
cc748250   杨鑫   '2'
1896
  
8d583060   杨鑫   '最新'
1897
1898
  		},
  		computed: {
cc748250   杨鑫   '2'
1899
  
8d583060   杨鑫   '最新'
1900
1901
1902
1903
1904
1905
1906
1907
  		},
  		methods: {
  			getStatus(state) {
  				switch (state) {
  					case '':
  						return '待提交';
  					case '1':
  						return '待审核';
8d583060   杨鑫   '最新'
1908
  					case '5':
cdf6c4c9   杨鑫   最新
1909
1910
  						return '审核通过';
  					case '6':
8d583060   杨鑫   '最新'
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
1977
1978
1979
1980
1981
1982
1983
1984
  						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();
  						}
  					}
  				})
  
  			},
  			//查询
a67407bc   杨鑫   最新
1985
1986
1987
1988
  			 onSubmit() {
  					 this.currentPage = 1
  					this.getAll()
  				
8d583060   杨鑫   '最新'
1989
  			},
a8cf1417   杨鑫   '最新'
1990
  			formatTimestampToDate(timestamp) {
a18f16a9   杨鑫   提交1
1991
1992
1993
1994
  				console.log(timestamp,'timestamp')
  				if(timestamp == undefined ){
  					return ''
  				}
3d9acc2b   杨鑫   '最新'
1995
1996
1997
1998
1999
2000
2001
  				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
2002
  				return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`
a8cf1417   杨鑫   '最新'
2003
  			},
8d583060   杨鑫   '最新'
2004
2005
  			//重置按钮
  			resetting() {
a67407bc   杨鑫   最新
2006
2007
2008
2009
  				this.pageindex={
  					planName:'',
  					eventAddrs:'',
  					sponsor:'',
8d583060   杨鑫   '最新'
2010
2011
  					pageNumber: 1,
  					pageSize: 10,
a67407bc   杨鑫   最新
2012
  					dataOwnership: '1',
3d9acc2b   杨鑫   '最新'
2013
  					isDraft: 0,
8dca79c8   杨鑫   1
2014
  					state: '5'
8d583060   杨鑫   '最新'
2015
  				}
a67407bc   杨鑫   最新
2016
  				this.currentPage = 1
8d583060   杨鑫   '最新'
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
  				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   杨鑫   '最新'
2039
  
8d583060   杨鑫   '最新'
2040
  				}
a8cf1417   杨鑫   '最新'
2041
2042
2043
2044
  				effectivenessLog({
  					activityEffectivenessId: item.id
  				}).then(res => {
  					this.effectivenessList = res.data
d5f60c72   杨鑫   '最新'
2045
  					// let actName = this.effectivenessList.operationType.split('')
a18f16a9   杨鑫   提交1
2046
2047
2048
2049
  					// this.effectivenessList.map((item, index) => {
  					// 	let actName = item.operationType.split(' ')
  					// 	this.effectivenessList[index].operationType = actName[0]
  					// })
d5f60c72   杨鑫   '最新'
2050
2051
  					// console.log(this.effectivenessList.operationType,'actName')
  					// 	this.effectivenessList.operationType  = actName[0]
a8cf1417   杨鑫   '最新'
2052
  				})
8d583060   杨鑫   '最新'
2053
  				this.liData = []
25e99daf   杨鑫   '最新'
2054
  
8d583060   杨鑫   '最新'
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
  				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
2085
  					pageNumber: 0,
8d583060   杨鑫   '最新'
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
  					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
2106
  
8d583060   杨鑫   '最新'
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
  							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   杨鑫   '最新'
2140
  					that.id = res.data.content[0].id
8d583060   杨鑫   '最新'
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
  					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   杨鑫   '最新'
2167
2168
2169
2170
  					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   杨鑫   '最新'
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
  
  				}).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
2186
  				this.numBerList = 0
25e99daf   杨鑫   '最新'
2187
  				this.ggXin = true
8d583060   杨鑫   '最新'
2188
2189
2190
  			},
  			formTime(data) {
  				this.zhixingList.planTime = data
8dca79c8   杨鑫   1
2191
  
98d43fa2   杨鑫   '最新'
2192
  			},
8dca79c8   杨鑫   1
2193
  			blur() {
98d43fa2   杨鑫   '最新'
2194
  				this.$forceUpdate()
8d583060   杨鑫   '最新'
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
  			},
  			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
2231
  				return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`
8d583060   杨鑫   '最新'
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
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
  			},
  
  			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
2360
  						pageNumber: 0,
8d583060   杨鑫   '最新'
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
  						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
2395
  			xiaoguo(item) {
3a1f257b   杨鑫   最新
2396
2397
  this.effectivenessListOne = item
  this.ListOne = item.planName
2d521f7d   杨鑫   最新2
2398
2399
2400
2401
  				this.xiaoDui = true
  				this.duibiOne = item
  				console.log(item)
  				let that = this
a8cf1417   杨鑫   '最新'
2402
2403
  				effectivenessLog({
  					activityEffectivenessId: item.id
2d521f7d   杨鑫   最新2
2404
  				}).then(res => {
3d9acc2b   杨鑫   '最新'
2405
  
a8cf1417   杨鑫   '最新'
2406
  					this.effectivenessList = res.data
3d9acc2b   杨鑫   '最新'
2407
2408
2409
2410
  					this.effectivenessList.map((item, index) => {
  						let actName = item.operationType.split(' ')
  						this.effectivenessList[index].operationType = actName[0]
  					})
2d521f7d   杨鑫   最新2
2411
  				})
3a1f257b   杨鑫   最新
2412
  				// this.ListOne = ''
a8cf1417   杨鑫   '最新'
2413
  				this.ListTwo = ''
3a1f257b   杨鑫   最新
2414
  				// this.effectivenessListOne = {}
a8cf1417   杨鑫   '最新'
2415
2416
2417
2418
  				this.effectivenessListTwo = {}
  
  				// actPage({
  				// 	detailsId: item.id,
a18f16a9   杨鑫   提交1
2419
  				// 	pageNumber: 0,
a8cf1417   杨鑫   '最新'
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
  				// 	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
2443
2444
2445
2446
2447
  
  
  
  
  			},
8d583060   杨鑫   '最新'
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
  			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   杨鑫   '最新'
2478
2479
2480
2481
2482
2483
2484
2485
  			// customFormat(percentage) {
  			// 	let zong
  			// 	if (percentage == undefined || percentage === null || percentage == '') {
  			// 		percentage = 0
  			// 		zong = 10000
  			// 	}
  			// 	return `${percentage} / ${percentage==''?zong:parseInt(percentage) *10}`;
  			// },
8d583060   杨鑫   '最新'
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
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
  			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   杨鑫   '最新'
2552
  
8d583060   杨鑫   '最新'
2553
2554
  				// 使用 html2canvas 将 div 渲染为画布
  				const canvas = await html2canvas(content)
25e99daf   杨鑫   '最新'
2555
  
8d583060   杨鑫   '最新'
2556
2557
  				// 获取画布的图像数据
  				const imgData = canvas.toDataURL('image/png')
25e99daf   杨鑫   '最新'
2558
2559
2560
2561
2562
2563
  				// 创建一个 img 元素
  				const img = document.createElement('img')
  				img.src = imgData
  				img.style.maxWidth = '100%'
  				const imgContainer = this.$refs.imgces
  				imgContainer.appendChild(img)
8d583060   杨鑫   '最新'
2564
2565
2566
  				// console.log(imgData,'图片11111')
  				// 创建一个新的 PDF 文档
  				const pdf = new jsPDF('p', 'mm', 'a4')
25e99daf   杨鑫   '最新'
2567
  
8d583060   杨鑫   '最新'
2568
2569
2570
  				// 添加图像到 PDF,第二个参数是图像格式,第三个参数是缩放比例
  				const imgWidth = 190; // 图像的宽度(mm)
  				const imgHeight = (canvas.height * imgWidth) / canvas.width // 保持图像的宽高比
25e99daf   杨鑫   '最新'
2571
  
8d583060   杨鑫   '最新'
2572
  				pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight) // 10, 10 是图像在 PDF 中的位置(mm)
25e99daf   杨鑫   '最新'
2573
  
8d583060   杨鑫   '最新'
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
  				// 保存 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   杨鑫   '最新'
2603
  
a8cf1417   杨鑫   '最新'
2604
2605
2606
  				// this.lishiList = e
  				let msg = this.effectivenessList[e]
  				// this.duibiList = JSON.parse(msg.modifyContent)
a18f16a9   杨鑫   提交1
2607
  		
a8cf1417   杨鑫   '最新'
2608
  				this.duibiList = JSON.parse(msg.modifiedData)
d5f60c72   杨鑫   '最新'
2609
  
a8cf1417   杨鑫   '最新'
2610
  			},
3a1f257b   杨鑫   最新
2611
2612
2613
2614
2615
2616
2617
  			// lichangeOne(e) {
  			// 	let msg = this.effectivenessList[e]
  			// 	if (typeof msg.modifiedData == 'string') {
  			// 		this.effectivenessListOne = JSON.parse(msg.modifiedData)
  			// 	} else {
  			// 		this.effectivenessListOne = msg.modifiedData
  			// 	}
3d9acc2b   杨鑫   '最新'
2618
  
3a1f257b   杨鑫   最新
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
  			// 	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   杨鑫   '最新'
2636
  
3a1f257b   杨鑫   最新
2637
2638
2639
2640
2641
2642
2643
2644
  			// 	}
  			// 	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   杨鑫   '最新'
2645
  
3a1f257b   杨鑫   最新
2646
2647
2648
2649
2650
2651
2652
  			// 	}
  			// 	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   杨鑫   '最新'
2653
  
3a1f257b   杨鑫   最新
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
  			// 	}
  			// 	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   杨鑫   '最新'
2693
  
3a1f257b   杨鑫   最新
2694
  			// },
a8cf1417   杨鑫   '最新'
2695
  			lichangeTwo(e) {
d5f60c72   杨鑫   '最新'
2696
  				let msg = this.effectivenessList[e]
3d9acc2b   杨鑫   '最新'
2697
  				if (typeof msg.modifiedData == 'string') {
d5f60c72   杨鑫   '最新'
2698
  					this.effectivenessListTwo = JSON.parse(msg.modifiedData)
3d9acc2b   杨鑫   '最新'
2699
  				} else {
d5f60c72   杨鑫   '最新'
2700
  					this.effectivenessListTwo = msg.modifiedData
a8cf1417   杨鑫   '最新'
2701
  				}
8dca79c8   杨鑫   1
2702
  				
3d9acc2b   杨鑫   '最新'
2703
2704
2705
2706
  				if (this.effectivenessListOne.internalLaborCostEstimation != undefined && this.effectivenessListTwo
  					.internalLaborCostEstimation != undefined && this.effectivenessListOne.internalLaborCostEstimation !=
  					'' && this.effectivenessListTwo
  					.internalLaborCostEstimation != '') {
8dca79c8   杨鑫   1
2707
  					let sum = (Number(this.effectivenessListTwo.internalLaborCostEstimation) - Number(this
3a1f257b   杨鑫   最新
2708
  						.effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListOne
3d9acc2b   杨鑫   '最新'
2709
2710
2711
2712
2713
2714
2715
  						.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
2716
  					let sum = (Number(this.effectivenessListTwo.externalLaborCostEstimation) - Number(this
3a1f257b   杨鑫   最新
2717
  						.effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListOne
3d9acc2b   杨鑫   '最新'
2718
  						.externalLaborCostEstimation) * 100
3d9acc2b   杨鑫   '最新'
2719
  					this.effectivenessListOne.sumWai = sum.toFixed(2)
8dca79c8   杨鑫   1
2720
  				
3d9acc2b   杨鑫   '最新'
2721
2722
2723
2724
2725
  				}
  				if (this.effectivenessListOne.costEstimationGoods != undefined && this.effectivenessListTwo
  					.costEstimationGoods != undefined && this.effectivenessListOne.costEstimationGoods != '' && this
  					.effectivenessListTwo
  					.costEstimationGoods != '') {
8dca79c8   杨鑫   1
2726
  					let sum = (Number(this.effectivenessListTwo.costEstimationGoods) - Number(this.effectivenessListOne
3a1f257b   杨鑫   最新
2727
  						.costEstimationGoods)) / Number(this.effectivenessListOne.costEstimationGoods) * 100
3d9acc2b   杨鑫   '最新'
2728
  					this.effectivenessListOne.sumShop = sum.toFixed(2)
8dca79c8   杨鑫   1
2729
  				
3d9acc2b   杨鑫   '最新'
2730
2731
2732
2733
  				}
  				if (this.effectivenessListOne.setCostEstimate != undefined && this.effectivenessListTwo.setCostEstimate !=
  					undefined && this.effectivenessListOne.setCostEstimate != '' && this.effectivenessListTwo
  					.setCostEstimate != '') {
8dca79c8   杨鑫   1
2734
  					let sum = (Number(this.effectivenessListTwo.setCostEstimate) - Number(this.effectivenessListOne
3a1f257b   杨鑫   最新
2735
  						.setCostEstimate)) / Number(this.effectivenessListOne.setCostEstimate) * 100
3d9acc2b   杨鑫   '最新'
2736
  					this.effectivenessListOne.sumSe = sum.toFixed(2)
8dca79c8   杨鑫   1
2737
  				
3d9acc2b   杨鑫   '最新'
2738
2739
2740
2741
2742
  				}
  				if (this.effectivenessListOne.estimatedPromotionalExpenses != undefined && this.effectivenessListTwo
  					.estimatedPromotionalExpenses != undefined && this.effectivenessListOne.estimatedPromotionalExpenses !=
  					'' && this.effectivenessListTwo
  					.estimatedPromotionalExpenses != '') {
8dca79c8   杨鑫   1
2743
  					let sum = (Number(this.effectivenessListTwo.estimatedPromotionalExpenses) - Number(this
3a1f257b   杨鑫   最新
2744
  						.effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListOne
3d9acc2b   杨鑫   '最新'
2745
  						.estimatedPromotionalExpenses) * 100
8dca79c8   杨鑫   1
2746
  				
3d9acc2b   杨鑫   '最新'
2747
2748
2749
2750
2751
2752
  					this.effectivenessListOne.sumXuan = sum.toFixed(2)
  				}
  				if (this.effectivenessListOne.otherNecessaryEstimates != undefined && this.effectivenessListTwo
  					.otherNecessaryEstimates != undefined && this.effectivenessListOne.otherNecessaryEstimates != '' &&
  					this.effectivenessListTwo
  					.otherNecessaryEstimates != '') {
3a1f257b   杨鑫   最新
2753
  					let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListOne.otherNecessaryEstimates) * 100
3d9acc2b   杨鑫   '最新'
2754
2755
2756
2757
2758
2759
  					this.effectivenessListOne.sumQi = sum.toFixed(2)
  				}
  				if (this.effectivenessListOne.totalCostEstimation != undefined && this.effectivenessListTwo
  					.totalCostEstimation != undefined && this.effectivenessListOne.totalCostEstimation != '' && this
  					.effectivenessListTwo
  					.totalCostEstimation != '') {
3a1f257b   杨鑫   最新
2760
  					let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListOne.totalCostEstimation) * 100
3d9acc2b   杨鑫   '最新'
2761
2762
  					this.effectivenessListOne.sumAll = sum.toFixed(2)
  				}
8dca79c8   杨鑫   1
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
  				// sumNei
  				// sumWai
  				// sumShop
  				// sumSe
  				// sumXuan
  				// sumQi
  				// sumAll
  				// internalLaborCostEstimation
  				// externalLaborCostEstimation
  				// costEstimationGoods
  				// setCostEstimate
  				// estimatedPromotionalExpenses
  				// otherNecessaryEstimates
  				// totalCostEstimation
8d583060   杨鑫   '最新'
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
  			},
  			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
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
  				if(this.numBerList>3){
  									 
  				}else{
  									this.$message({
  										message: '请填写或修改数据',
  										type: 'error',
  										offset: 100
  									})
  									return false; 
  				}
3d9acc2b   杨鑫   '最新'
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
  				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
2815
  							this.zhixingList.createUser = localStorage.getItem('roleName')
3d9acc2b   杨鑫   '最新'
2816
2817
2818
2819
  							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   杨鑫   最新
2820
  										
3d9acc2b   杨鑫   '最新'
2821
2822
  									})
  								}
2f60abcc   杨鑫   最新
2823
2824
2825
  								this.ggXin = false
  								this.zhixingBian = false
  								this.getAll()
3d9acc2b   杨鑫   '最新'
2826
2827
2828
2829
2830
2831
2832
2833
  							})
  
  						} 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
2834
2835
2836
  							// this.zhixingList.updateDate = ''
  							this.zhixingList.updateDate = this.updateCurrentTime()
  							this.zhixingList.updateUser = localStorage.getItem('roleName')
3d9acc2b   杨鑫   '最新'
2837
2838
  							actEdit(this.zhixingList).then(() => {
  								this.ggXin = false
2f60abcc   杨鑫   最新
2839
  								this.zhixingBian = false
3d9acc2b   杨鑫   '最新'
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
  								this.getAll()
  							})
  						}
  
  
  					} else {
  						this.$message({
  							message: '请填写数据',
  							type: 'error',
  							offset: 100
  						})
  						return false;
  					}
  				})
  
8d583060   杨鑫   '最新'
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
  			},
  			searchQuit() {
  				this.searPei = {
  					name: true,
  					lei: false,
  					staut: false,
  				}
  				this.searchShow = false
  			},
  
  		}
5d752fd3   杨鑫   '最新'
2866
  	}
25e99daf   杨鑫   '最新'
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
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
  </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
3335
  
25e99daf   杨鑫   '最新'
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
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
  		.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>