yahyahy 3 жил өмнө
parent
commit
b946e27106

+ 12 - 8
src/views/system/time/index.vue

@@ -208,7 +208,7 @@
 			<!-- <el-table-column label="是否删除" align="center" prop="isDel" /> -->
 			<!-- <el-table-column label="是否删除" align="center" prop="isDel" /> -->
 			<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
 			<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
 				<template slot-scope="scope">
 				<template slot-scope="scope">
-					<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['core:info:edit']">修改</el-button>
+					<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['core:info:edit']">查看修改</el-button>
 					<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['core:info:remove']">删除</el-button>
 					<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['core:info:remove']">删除</el-button>
 				</template>
 				</template>
 			</el-table-column>
 			</el-table-column>
@@ -460,8 +460,12 @@
 							
 							
 							<el-col :span="1.5" class="hjdoecdre">
 							<el-col :span="1.5" class="hjdoecdre">
 								<div class="hyeoa">
 								<div class="hyeoa">
-									<img src="../../../assets/images/icon_tc_add.png" alt="" class="hueyde" @click="tijea" />
-									<img src="../../../assets/images/delei.png" alt="" class="hueydele" @click="naeyrfakjf(index, item)" />
+									 <el-tooltip class="item" effect="dark" content="新增疫苗信息,请慎重操作" placement="top-start">
+									      <img src="../../../assets/images/icon_tc_add.png" alt="" class="hueyde" @click="tijea" />
+									    </el-tooltip>
+										<el-tooltip class="item" effect="dark" content="删除无法恢复,请慎重操作" placement="top-start">
+										     <img src="../../../assets/images/delei.png" alt="" class="hueydele" @click="naeyrfakjf(index, item)" />
+										   </el-tooltip>
 								</div>
 								</div>
 							</el-col>
 							</el-col>
 						</el-row>
 						</el-row>
@@ -929,12 +933,12 @@ export default {
 			} else {
 			} else {
 				this.msgSuccess('上传成功');
 				this.msgSuccess('上传成功');
 				this.config.push(res.data);
 				this.config.push(res.data);
-				console.log(res.data);
+				this.config.filter( router=> {
+					router.name = '附件'
+				})
+				console.log(res.data); 
 				console.log(res.data.name.substr(0, res.data.name.length - 4));
 				console.log(res.data.name.substr(0, res.data.name.length - 4));
 				this.form.url = this.config;
 				this.form.url = this.config;
-				// console.log(this.querjtgoe.message_upload)
-				// this.querjtgoe.message_title = res.data.name
-				// this.form.message_title = res.data.name.substr(0,res.data.name.length-4)
 				this.form.url = JSON.stringify(this.form.url);
 				this.form.url = JSON.stringify(this.form.url);
 			}
 			}
 			// querjtgoe.message_title
 			// querjtgoe.message_title
@@ -1094,7 +1098,7 @@ export default {
 				this.hsuej = '';
 				this.hsuej = '';
 				this.open = true;
 				this.open = true;
 				this.jdourdjoaj = false;
 				this.jdourdjoaj = false;
-				this.title = '修改疫苗信息';
+				this.title = '查看编辑疫苗信息';
 			});
 			});
 		},
 		},
 		chahe(data) {
 		chahe(data) {