From 6f8c09563a5bbc72de5f64fdf196455e0cdd070e Mon Sep 17 00:00:00 2001
From: yhj <1836460075@qq.com>
Date: 星期日, 28 九月 2025 10:12:40 +0800
Subject: [PATCH] 20250928
---
jf-pda-browser/web/lyt/sjCheckInput.html | 88 ++++++++++++++++++++++++++++++--------------
1 files changed, 60 insertions(+), 28 deletions(-)
diff --git a/jf-pda-browser/web/lyt/sjCheckInput.html b/jf-pda-browser/web/lyt/sjCheckInput.html
index 9a701f3..5f737ee 100644
--- a/jf-pda-browser/web/lyt/sjCheckInput.html
+++ b/jf-pda-browser/web/lyt/sjCheckInput.html
@@ -20,7 +20,7 @@
.ulcss {
padding: 5px 5px;
}
-
+
.ulcss a {
border: solid 1px #FFFFF;
background-color: #E6E6FA;
@@ -29,7 +29,7 @@
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
-
+
.close {
position: absolute;
top: 0;
@@ -37,7 +37,7 @@
z-index: 99;
color: red;
}
-
+
.search {
border: 1px solid #e0e0e0;
border-radius: 5px;
@@ -51,7 +51,7 @@
margin-bottom: 10px;
height: 40px;
}
-
+
.search input {
margin-bottom: 2px;
padding: 0px 0px;
@@ -59,22 +59,32 @@
border-radius: 5px;
font-size: 1.6rem;
}
-
+
.mui-input-group .mui-input-row {
height: 2.2rem;
}
-
+
.font {
font-size: 1.6rem;
color: #000000;
}
-
+
.mui-input-row label {
font-size: 1.125rem;
}
-
+
.mui-input-row input {
font-size: 1.0625rem;
+ }
+ .mui-bar-nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+ .mui-title {
+ flex: 1;
+ text-align: center;
+ margin: 0 15px; /* 闃叉鏍囬鎸ゅ帇涓や晶鎸夐挳 */
}
</style>
@@ -86,7 +96,7 @@
棣栨椤圭洰褰曞叆
<span class="mui-badge mui-badge-primary" style="font-size: 1.6rem; display: none;" id='num'>0</span>
</h1>
-
+<span class="mui-icon mui-icon-camera title-right" style="color:#0062CC" id="cameraBtn"></span>
</header>
<div class="mui-content" id="contentId">
<div class="mui-input-group">
@@ -247,25 +257,28 @@
})
});
- function delLi(checkId,checkResult){
-
- var order= GetQueryString('order')
- var id=GetQueryString("did")
- aj.post("/ho_patrol/checkDel", {
- "userNo": api_localStorageGet("code"),
- "checkNo": order,
- "pid": checkId,
- "checkResult": checkResult,
- "checkDemo": $("#remark").val()
- }, function(data) {
- if (data.result) {
- getData()
- } else {
- getData()
- plus.ui.toast(data.msg);
- }
- });
- }
+ function delLi(checkId,checkResult){
+
+ var order= GetQueryString('order')
+ var id=GetQueryString("did")
+ // 1. 鍙彇 `\n` 涔嬪墠鐨勫�硷紝鍘绘帀绌烘牸
+ checkResult = checkResult.split("\n")[0].trim();
+ aj.post("/ho_patrol/checkDel", {
+ "userNo": api_localStorageGet("code"),
+ "checkNo": order,
+ "pid": getQueryVariable("did"),
+ "checkResult": checkResult,
+ "checkDemo": $("#remark").val(),
+ "type": 'SJ' // 浼犲叆妫�楠岀被鍨�
+ }, function(data) {
+ if (data.result) {
+ getData()
+ } else {
+ getData()
+ plus.ui.toast(data.msg);
+ }
+ });
+ }
function getData() {
@@ -385,6 +398,25 @@
}
return(false);
}
+
+ document.getElementById('cameraBtn').addEventListener('tap', function() {
+ const mid = order; // 妫�楠屽崟鍙�
+ const pid = fdid; // 褰撳墠椤圭洰 ID
+
+ if (!mid || !pid) {
+ mui.toast("璇峰厛纭妫�楠岄」鐩�");
+ return;
+ }
+ console.log("22555555")
+ mui.openWindow({
+ id: 'pictrue_add',
+ url: 'ftp/pictrue_add.html?mid=' + mid + '&pid=' + pid+ '&type=71',
+ waiting: {
+ autoShow: true,
+ title: '鍔犺浇涓�'
+ }
+ });
+ });
</script>
</body>
</html>
--
Gitblit v1.9.3