diff --git a/src/api/lawEnforcement/index.js b/src/api/lawEnforcement/index.js index dd9557b7..f088a1f7 100644 --- a/src/api/lawEnforcement/index.js +++ b/src/api/lawEnforcement/index.js @@ -531,3 +531,76 @@ export function returnCase(data) { data: data }) } + +// 案件退回,从勘察退回至登记 +export function addCase(data) { + return request({ + url: '/enforce/case/add', + method: 'post', + data: data + }) +} +// 新增执法进度历史 +export function addProgress(data) { + return request({ + url: '/enforce/progress/add', + method: 'post', + data: data + }) +} +// 任务查看列表 +export function caseTasklist(query) { + return request({ + url: '/enforce/case/caseTasklist', + method: 'get', + params: query + }) +} +//上传全局方法附件 +export function commonUpload(data) { + return request({ + url: '/common/upload', + method: 'post', + header: { "Content-Type": 'application/x-www-form-urlencoded' }, + data: data + }) +} +// 新增勘察打卡 +export function addClockin(data) { + return request({ + url: '/enforce/clockin/add', + method: 'post', + data: data + }) +} +// 查询勘察打卡列表 +export function clockinList(query) { + return request({ + url: '/enforce/clockin/list', + method: 'get', + params: query + }) +} +// 查询勘察打卡详情 +export function clockinGet(id) { + return request({ + url: '/enforce/clockin/get/'+ id, + method: 'get', + }) +} +// 已上传文件列表查询 +export function attachmentList(query) { + return request({ + url: '/enforce/progress/attachmentList', + method: 'get', + params: query + }) +} +// 各个节点附件上传保存方法 +export function attachmentEdit(data) { + return request({ + url: '/enforce/progress/attachmentEdit', + method: 'post', + data: data + }) +} diff --git a/src/router/index.js b/src/router/index.js index e82d246e..7328520c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3828,6 +3828,34 @@ export const constantRoutes = [ keepAlive: true }, component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseAdd'], resolve) + }, + { ////农业执法(新)-- 巡查登记列表 + path: '/lawEnforcement/caseList', + name: 'lawEnforcementCaseListNew', + meta: { + title: '巡查登记', + hidden: true, + keepAlive: true + }, + component: (resolve) => require(['@/views/lawEnforcement/caseAllocation/caseList'], resolve) + }, + { ////农业执法(新)-- 记录查看 + path: '/lawEnforcement/taskSignInSee', + name: 'lawEnforcementTaskSignInSee', + meta: { + title: '记录查看', + hidden: true, + }, + component: (resolve) => require(['@/views/lawEnforcement/task/taskSignInSee'], resolve) + }, + { ////农业执法(新)-- 案件处理 + path: '/lawEnforcement/taskHandle', + name: 'lawEnforcementTaskHandle', + meta: { + title: '案件处理', + hidden: true, + }, + component: (resolve) => require(['@/views/lawEnforcement/task/taskHandle'], resolve) } ]; diff --git a/src/views/lawEnforcement/caseAllocation/caseAdd.vue b/src/views/lawEnforcement/caseAllocation/caseAdd.vue index 6a009fec..17e9d165 100644 --- a/src/views/lawEnforcement/caseAllocation/caseAdd.vue +++ b/src/views/lawEnforcement/caseAllocation/caseAdd.vue @@ -5,134 +5,340 @@
-
- - - - - - - - - - - -
-
- - + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + @@ -222,6 +180,15 @@ color: #ffffff; font-size: .35rem; } + .tt_now{ + background: url('../../../../static/images/lawEnforcement/icon/signInRecord_icon_03.png') no-repeat center; + width: 41PX; + height: 41PX; + line-height: 41PX; + text-align: center; + color: #ffffff; + font-size: .35rem; + } i{ background: url('../../../../static/images/lawEnforcement/icon/signInRecord_icon_02.png') no-repeat center; width: 10PX; @@ -259,4 +226,10 @@ border-radius: 8PX; margin-top: 25PX; } + /deep/ .van-uploader__preview{ + margin-bottom: 0!important; + } + /deep/ .van-uploader{ + display: block; + } diff --git a/src/views/lawEnforcement/task/task.vue b/src/views/lawEnforcement/task/task.vue index ed8a97a7..adf7e3bf 100644 --- a/src/views/lawEnforcement/task/task.vue +++ b/src/views/lawEnforcement/task/task.vue @@ -9,33 +9,34 @@ v-model="loading" :finished="finished" finished-text="没有更多了" + @load="getList" > - + @@ -45,56 +46,49 @@ + + diff --git a/src/views/lawEnforcement/task/taskRecord.vue b/src/views/lawEnforcement/task/taskRecord.vue index d93315b2..ca998c2f 100644 --- a/src/views/lawEnforcement/task/taskRecord.vue +++ b/src/views/lawEnforcement/task/taskRecord.vue @@ -9,33 +9,19 @@
-

张薇

-

执法检查人员

+

{{user.nickName}}

+

{{roleGroup}}

-
+
-

2022-07-09 14:10

-

宿州市埇桥区永乡镇供销社楼下

+

{{item.clockinDate}} {{item.clockinTime}}

+

{{item.clockinAddr}}

-

查看

-
-
-
-

2022-07-09 14:10

-

宿州市埇桥区永乡镇供销社楼下

-
-

查看

-
-
-
-

2022-07-09 14:10

-

宿州市埇桥区永乡镇供销社楼下

-
-

查看

+ 查看
@@ -43,45 +29,35 @@ diff --git a/src/views/lawEnforcement/task/taskSignIn.vue b/src/views/lawEnforcement/task/taskSignIn.vue index 2cf0df55..4395aa18 100644 --- a/src/views/lawEnforcement/task/taskSignIn.vue +++ b/src/views/lawEnforcement/task/taskSignIn.vue @@ -12,46 +12,46 @@
- - - + + +

-

8:29(2022年9月6日)

-

宿州市埇桥区永乡镇供销社楼下

+

{{ nowTime }}({{ nowDate }})

+

{{clockinAddr}}

-
+

打卡记录

- +
- +
-

当前位置:宿州市埇桥区永乡镇供销社楼下

+

当前位置:{{clockinAddr}}

- -
-

{{ nowDate }}

+ +
+

{{ nowTime }}

打卡

@@ -224,9 +316,9 @@ margin-top: 3vw; } .datetime{ - margin-top: 7vw; - font-weight: bold; - font-size: 0.5rem; + margin-top: 6vw; + /*font-weight: bold;*/ + font-size: 0.6rem; } } diff --git a/src/views/lawEnforcement/task/taskSignInSee.vue b/src/views/lawEnforcement/task/taskSignInSee.vue new file mode 100644 index 00000000..37787290 --- /dev/null +++ b/src/views/lawEnforcement/task/taskSignInSee.vue @@ -0,0 +1,271 @@ + + + + + diff --git a/src/views/onlineHome/homestead/homeApplication/proposerLite.vue b/src/views/onlineHome/homestead/homeApplication/proposerLite.vue index 20d4e603..cd5d7ce1 100644 --- a/src/views/onlineHome/homestead/homeApplication/proposerLite.vue +++ b/src/views/onlineHome/homestead/homeApplication/proposerLite.vue @@ -1988,11 +1988,11 @@ export default { case PROPOSER_VIEW: this.formVisible.baseApplyForm.groupFormVisible = hasGroupLevel && this.isNotProposeStatus(houseApplyStatus, ["1", '32']); this.formVisible.baseApplyForm.villageFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31"]); - this.formVisible.baseApplyForm.townFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', this.isInRoles(role, 'town_leader') ? -99 : '8']); - this.formVisible.baseApplyForm.agricultureFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', this.isInRoles(role, ['town_leader', 'agriculture']) ? -99 : '8']); - this.formVisible.baseApplyForm.buildingFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', this.isInRoles(role, ['town_leader', 'building']) ? -99 : '8']); - this.formVisible.baseApplyForm.nature_resourceFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', this.isInRoles(role, ['town_leader', 'nature_resource']) ? -99 : '8']); - + this.formVisible.baseApplyForm.townFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', this.isInRoles(role, 'town_leader') ? -99 : '7', this.isInRoles(role, 'town_leader') ? -99 : '8']); + this.formVisible.baseApplyForm.agricultureFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', this.isInRoles(role, ['town_leader', 'agriculture']) ? -99 : '7', this.isInRoles(role, ['town_leader', 'agriculture']) ? -99 : '8']); + this.formVisible.baseApplyForm.buildingFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', this.isInRoles(role, ['town_leader', 'building']) ? -99 : '7', this.isInRoles(role, ['town_leader', 'building']) ? -99 : '8']); + this.formVisible.baseApplyForm.nature_resourceFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', this.isInRoles(role, ['town_leader', 'nature_resource']) ? -99 : '7', this.isInRoles(role, ['town_leader', 'nature_resource']) ? -99 : '8']); + this.formVisible.landscopeVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', '6', '7', '8', '9', '10']); this.formVisible.landscopeForm.baseFormVisible = this.isNotProposeStatus(houseApplyStatus, ["1", "32", "2", "3", "31", '4', '5', '6', '7', '8', '9', '10']); @@ -2565,7 +2565,8 @@ export default { } // 通用设置 - if(this.type =='done' && this.applicationDetail.tHouseApplyEnd == null && this.applicationDetail.tHouseApplyEnd.taskId ==null){ + // if(this.type =='done' && this.applicationDetail.tHouseApplyEnd == null && this.applicationDetail.tHouseApplyEnd.taskId ==null){ + if(this.type =='done' && this.applicationDetail.tHouseApplyEnd == null){ if (this.isAccepting()) { this.active = PROPOSER_STAGE_START; this.selectedTabName = PROPOSER_STAGE_START; diff --git a/static/images/lawEnforcement/icon/signInRecord_icon_03.png b/static/images/lawEnforcement/icon/signInRecord_icon_03.png new file mode 100644 index 00000000..ea02c0c7 Binary files /dev/null and b/static/images/lawEnforcement/icon/signInRecord_icon_03.png differ