diff --git a/src/App.vue b/src/App.vue index dd2bb78..635a3b1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,116 +1,113 @@ \ No newline at end of file +@import 'vk-uview-ui/index.scss'; + diff --git a/src/api/spotCheckOrder.ts b/src/api/spotCheckOrder.ts index 6241be0..1f0c8ab 100644 --- a/src/api/spotCheckOrder.ts +++ b/src/api/spotCheckOrder.ts @@ -31,6 +31,12 @@ export function spotCheckOrderPage(params,type) { } } + +// 待接单编辑 +export function orderEditClick(params) { + return http.post('/eam/device-spot-inspection-record-main/complete',params) +} + // 操作工单 export function orderClick(params,type) { if (type == 'DEVICE') { diff --git a/src/pages.json b/src/pages.json index 3d4d2e9..85af30a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -149,6 +149,14 @@ "navigationBarTextStyle": "white" } } + ,{ + "path": "pages/spotCheckOrder/detailAndEdit", + "style": { + "navigationBarTitleText": "点检工单详情", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + } ,{ "path": "pages/spotCheckOrder/addForm", "style": { diff --git a/src/pages/spotCheckOrder/detailAndEdit.vue b/src/pages/spotCheckOrder/detailAndEdit.vue new file mode 100644 index 0000000..189d07c --- /dev/null +++ b/src/pages/spotCheckOrder/detailAndEdit.vue @@ -0,0 +1,779 @@ + + + + + diff --git a/src/pages/spotCheckOrder/index.vue b/src/pages/spotCheckOrder/index.vue index 14dff80..dc6d9dc 100644 --- a/src/pages/spotCheckOrder/index.vue +++ b/src/pages/spotCheckOrder/index.vue @@ -1,240 +1,232 @@ \ No newline at end of file +.container { + background: #f5f5f5; + min-height: 100vh; +} +.list { + background: #f5f5f5; + margin-top: 20rpx; + + .item { + padding: 30rpx 30rpx 0px 30rpx; + margin-top: 20rpx; + background: white; + + .title { + display: flex; + align-items: center; + padding-bottom: 20rpx; + + .title-txt { + color: #409eff; + font-weight: bold; + font-size: 36rpx; + width: 0px; + flex: 1; + word-wrap: break-word; + } + + .time { + color: #919191; + } + } + + .dec { + padding-bottom: 20rpx; + + span { + color: #999999; + } + } + + .last { + padding-bottom: 30rpx; + } + + .bottom { + display: flex; + justify-content: space-between; + align-items: center; + border-top: 1px solid #e4e4e4; + padding: 20rpx 0px; + } + } +} + +.list { + background: #f5f5f5; + margin-top: 20rpx; + + .item { + padding: 30rpx 30rpx 0px 30rpx; + margin-top: 20rpx; + background: white; + + .title { + display: flex; + align-items: center; + padding-bottom: 20rpx; + + .title-txt { + color: #409eff; + font-weight: bold; + font-size: 36rpx; + width: 0px; + flex: 1; + } + + .time { + color: #919191; + } + } + + .dec { + padding-bottom: 20rpx; + + span { + color: #999999; + } + } + + .last { + padding-bottom: 30rpx; + } + + .bottom { + display: flex; + justify-content: space-between; + align-items: center; + border-top: 1px solid #e4e4e4; + padding: 20rpx 0px; + position: relative; + + .button { + position: absolute; + right: 0rpx; + } + } + } +} +