diff --git a/pages/projectEnd/constructionManage/schemeDetails.vue b/pages/projectEnd/constructionManage/schemeDetails.vue
new file mode 100644
index 00000000..cd21f678
--- /dev/null
+++ b/pages/projectEnd/constructionManage/schemeDetails.vue
@@ -0,0 +1,363 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/download2.png b/static/download2.png
new file mode 100644
index 00000000..31af86d3
Binary files /dev/null and b/static/download2.png differ
diff --git a/static/preview.png b/static/preview.png
new file mode 100644
index 00000000..35e93d7b
Binary files /dev/null and b/static/preview.png differ
diff --git a/utils/tool.js b/utils/tool.js
index 9d2fde32..e595df97 100644
--- a/utils/tool.js
+++ b/utils/tool.js
@@ -184,7 +184,10 @@ export function openLocalFile(name, path) {
// duration: 2000,
// });
//保存好再打开文件
- saveNetWorkFileTemp({name: name,path: res.savedFilePath})
+ saveNetWorkFileTemp({
+ name: name,
+ path: res.savedFilePath
+ })
// setTimeout(() => {
// uni.openDocument({
// filePath: res.savedFilePath,
@@ -278,7 +281,7 @@ export function exitApp() {
uni.removeStorageSync('company');
uni.removeStorageSync('dept');
uni.removeStorageSync('moduleInfo');
-
+
uni.redirectTo({
url: '/pages/login/login'
})
@@ -293,4 +296,14 @@ export function isImageLink(url) {
// 正则表达式匹配常见的图片文件扩展名
const imageExtensionsRegex = /\.(jpg|jpeg|png|gif|webp)$/i;
return imageExtensionsRegex.test(url);
-}
\ No newline at end of file
+}
+
+export function isJSON(str) {
+ try {
+ JSON.parse(str);
+ } catch (e) {
+ // 转换出错,抛出异常
+ return false;
+ }
+ return true;
+};
\ No newline at end of file