diff --git a/src/components/chooseMedia.vue b/src/components/chooseMedia.vue
index 5ad7153..588bc12 100644
--- a/src/components/chooseMedia.vue
+++ b/src/components/chooseMedia.vue
@@ -5,15 +5,15 @@
拍照
-
+
拍摄视频
-
+
取消
@@ -39,17 +39,17 @@ const takePhoto = () => {
captureMedia("image", "camera");
}
-const choosePhoto = () => {
- captureMedia("image", "album");
-}
+// const choosePhoto = () => {
+// captureMedia("image", "album");
+// }
const takeVideo = () => {
captureMedia("video", "camera");
}
-const chooseVideoFromAlbum = () => {
- captureMedia("video", "album");
-}
+// const chooseVideoFromAlbum = () => {
+// captureMedia("video", "album");
+// }
const captureMedia = async (type, source) => {
showPicker.value = false;
diff --git a/src/pages.json b/src/pages.json
index a4b2f1a..704032b 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -663,6 +663,30 @@
"navigationBarTitleText": ""
}
},
+ {
+ "path": "pages/business/polling/problemInitiativeList",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/polling/problemInitiative",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/polling/problemInitiativeDetail",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/polling/problemInitiativeLog",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
{
"path": "pages/business/polling/nfcTest/index",
"style": {
diff --git a/src/pages/business/polling/optionDetail.vue b/src/pages/business/polling/optionDetail.vue
index 9f48e2c..b1b45f3 100644
--- a/src/pages/business/polling/optionDetail.vue
+++ b/src/pages/business/polling/optionDetail.vue
@@ -400,7 +400,7 @@ const chooseImage = (item,index) => {
uni.chooseImage({
// count: 1, // 默认是9,这里设置为1次只选1张
// sizeType: ['compressed'], // 可以指定是原图还是压缩图,可选 'original' 或 'compressed'
- sourceType: ['album', 'camera'], // 指定来源是相册还是相机,默认二者都有
+ sourceType: ['camera'], // 指定来源是相册还是相机,默认二者都有//'album',
// quality:80,
// width:'1920px',
// height:'1920px',
@@ -455,7 +455,7 @@ const chooseImage = (item,index) => {
// 视频处理
const chooseVideo = (item,index) => {
uni.chooseVideo({
- sourceType: ['album', 'camera'], // 来源:相册和相机
+ sourceType: ['camera'], // 来源:相册和相机//'album',
maxDuration: 60, // 最大时长(秒)
camera: 'back', // 使用后置摄像头
compressed: true, // 压缩视频
diff --git a/src/pages/business/polling/problemInitiative.vue b/src/pages/business/polling/problemInitiative.vue
new file mode 100644
index 0000000..eb6a3a0
--- /dev/null
+++ b/src/pages/business/polling/problemInitiative.vue
@@ -0,0 +1,584 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 问题名称
+
+
+
+
+
+
+ 提交人
+ {{optionObj.createUserName?optionObj.createUserName:realname}}
+
+
+
+ 问题描述
+
+
+
+
+ 问题点位照片或视频 *
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传中....
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/polling/problemInitiativeDetail.vue b/src/pages/business/polling/problemInitiativeDetail.vue
new file mode 100644
index 0000000..630db0b
--- /dev/null
+++ b/src/pages/business/polling/problemInitiativeDetail.vue
@@ -0,0 +1,402 @@
+
+
+
+
+
+
+
+
+ 新增跟踪信息
+
+
+
+
+
+
+
+
+
+
+ 问题:{{problemObj.groupName}}
+
+
+
+ 提交人
+ {{problemObj.createUserName}}
+
+
+ 提交时间
+ {{parseTime(problemObj.createTime,'{y}-{m}-{d} {h}:{i}')}}
+
+
+
+ 问题描述
+ {{problemObj.problemDesc}}
+
+ 问题点位照片或视频
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{parseTime(item.createTime,'{y}-{m}-{d} {h}:{i}')}}
+ 巡检人:{{item.modifyUserName}}
+
+ 检查点跟踪情况描述
+ {{item.logDesc}}
+
+ 检查点位照片或视频
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/polling/problemInitiativeList.vue b/src/pages/business/polling/problemInitiativeList.vue
new file mode 100644
index 0000000..712c491
--- /dev/null
+++ b/src/pages/business/polling/problemInitiativeList.vue
@@ -0,0 +1,328 @@
+
+
+
+
+
+
+
+
+ 新建问题上报
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ notictTypeCheck.name?notictTypeCheck.name:'全部' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.groupName }}
+
+
+ 进行中
+ 已解决
+
+
+
+
+ 跟踪次数{{ item.logNum }}
+ 最近跟踪时间{{parseTime(item.lastLogTime,'{y}-{m}-{d} {h}:{i}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/polling/problemInitiativeLog.vue b/src/pages/business/polling/problemInitiativeLog.vue
new file mode 100644
index 0000000..bb4be5d
--- /dev/null
+++ b/src/pages/business/polling/problemInitiativeLog.vue
@@ -0,0 +1,498 @@
+
+
+
+
+
+
+
+
+
+
+
+ 问题:{{optionObj.groupName}}
+
+
+ 提交人
+ {{optionObj.createUserName}}
+
+
+
+ 检查点跟踪情况描述
+
+
+
+
+ 问题点位照片或视频 *
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传中....
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/static/images/business/icon-xjwtsb.png b/src/static/images/business/icon-xjwtsb.png
new file mode 100644
index 0000000..1d696ec
Binary files /dev/null and b/src/static/images/business/icon-xjwtsb.png differ