提交 613f9905 authored 作者: 邓文彬's avatar 邓文彬

fix(样式修改)

上级 2a2e24e9
...@@ -146,6 +146,8 @@ export default { ...@@ -146,6 +146,8 @@ export default {
url: "/pages/login/login", url: "/pages/login/login",
}); });
} }
}, },
onShow: function () {}, onShow: function () {},
onHide: function () { onHide: function () {
......
...@@ -273,7 +273,7 @@ export default { ...@@ -273,7 +273,7 @@ export default {
// all_data.push(params); // all_data.push(params);
// 更新巡检list // 更新巡检list
this.$store.commit("SET_all_data", all_data); this.$store.commit("SET_ALL_DATA", all_data);
writeInspectionData(all_data); writeInspectionData(all_data);
// 更新日志 // 更新日志
......
...@@ -117,10 +117,10 @@ export default { ...@@ -117,10 +117,10 @@ export default {
// 点击登录 // 点击登录
login() { login() {
uni.navigateTo({ // uni.navigateTo({
url: "/pages/home/home", // url: "/pages/home/home",
}); // });
return; // return;
// 是否输入账号密码 // 是否输入账号密码
if (this.person.user && this.person.pd) { if (this.person.user && this.person.pd) {
......
...@@ -119,6 +119,12 @@ export default { ...@@ -119,6 +119,12 @@ export default {
}); });
}, },
// 删除
deleteClick() {
uni.showToast({
title: "删除",
});
},
// tab选中change 时间 // tab选中change 时间
changeTab(index, item) { changeTab(index, item) {
console.log("-index--", index); console.log("-index--", index);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -95,9 +95,11 @@ export const writeInspectionData = (content) => { ...@@ -95,9 +95,11 @@ export const writeInspectionData = (content) => {
let timeStr = moment().format("yyyy-MM-DD"); let timeStr = moment().format("yyyy-MM-DD");
let fileName = `${timeStr}.txt`; let fileName = `${timeStr}.txt`;
console.log("写入-巡检数据--", content)
const temp = Base64.encode(JSON.stringify(content)); const temp = Base64.encode(JSON.stringify(content));
const fileContent = setSm2(temp) // 正式使用 const fileContent = setSm2(temp) // 正式使用
console.log("-fileContent-", fileContent); // console.log("-fileContent-", fileContent);
createFileWithPlusIO( createFileWithPlusIO(
`${SYNCHRONIZE_DATA_PAD}/巡检数据/${now_user.user}`, `${SYNCHRONIZE_DATA_PAD}/巡检数据/${now_user.user}`,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论