From 66606e999ef059a20bbbfb12a431d5a08fd72ecb Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Fri, 19 May 2023 17:59:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/shequzhili/event-info.scss | 676 ++++---- .../modules/shequzhili/event/cpts/add.vue | 98 +- .../shequzhili/event/cpts/categoryArray.vue | 138 +- .../modules/shequzhili/event/cpts/edit.vue | 897 +++++++++++ .../shequzhili/event/cpts/event-info.vue | 1417 ++++++++++------- .../event/cpts/process-form-replay.vue | 625 ++++---- .../shequzhili/event/cpts/process-form.vue | 479 +++--- .../shequzhili/event/cpts/replyOptions.js | 8 + .../modules/shequzhili/event/eventList.vue | 39 +- vue.config.js | 2 +- 10 files changed, 2795 insertions(+), 1584 deletions(-) create mode 100644 src/views/modules/shequzhili/event/cpts/edit.vue create mode 100644 src/views/modules/shequzhili/event/cpts/replyOptions.js diff --git a/src/assets/scss/modules/shequzhili/event-info.scss b/src/assets/scss/modules/shequzhili/event-info.scss index 6c2bf3c..410fa52 100644 --- a/src/assets/scss/modules/shequzhili/event-info.scss +++ b/src/assets/scss/modules/shequzhili/event-info.scss @@ -1,109 +1,104 @@ @import "../../c/config"; @import "../../c/function"; -.g-add{ - - - .g-add-page{ +.g-add { + .g-add-page { display: flex; .g-left { - box-sizing: border-box; - width:40%; - padding: 5px 10px; + box-sizing: border-box; + width: 40%; + padding: 5px 10px; } .g-right { - box-sizing: border-box; - width: 60%; - padding: 5px 10px; + box-sizing: border-box; + width: 60%; + padding: 5px 10px; } - .form{ - .cell-width-1{ - width: 250px + .form { + .cell-width-1 { + width: 250px; } .avatar-uploader { margin: 0 0 0 20px; - // /deep/ .el-upload--picture-card{ - // width: 100px; - // height: 100px; - // } - // /deep/ .el-upload{ - // width: 100px; - // height: 100px; - // line-height: 100px; - // } - // /deep/ .el-upload-list--picture-card .el-upload-list__item{ - // width: 100px; - // height: 100px; - // line-height: 100px; - // } - // /deep/ .el-upload-list--picture-card .el-upload-list__item-thumbnail{ - // width: 100px; - // height: 100px; - // line-height: 100px; - // } - // /deep/ .avatar{ - // width: 100px; - // height: 100px; - // } - // /deep/ .el-upload-list__item-status-label { - // display: block; - // position: absolute; - // right: -15px; - // top: -6px; - // width: 40px; - // height: 24px; - // background: #13ce66; - // text-align: center; - // -webkit-transform: rotate(45deg); - // transform: rotate(45deg); - // -webkit-box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2); - // box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2); - // } - // /deep/ .el-upload-list__item-actions { - // position: absolute; - // width: 100%; - // height: 100%; - // left: 0; - // top: 0; - // cursor: default; - // text-align: center; - // color: #fff; - // opacity: 0; - // font-size: 20px; - // background-color: rgba(0, 0, 0, 0.5); - // -webkit-transition: opacity .3s; - // transition: opacity .3s; - // } + // /deep/ .el-upload--picture-card{ + // width: 100px; + // height: 100px; + // } + // /deep/ .el-upload{ + // width: 100px; + // height: 100px; + // line-height: 100px; + // } + // /deep/ .el-upload-list--picture-card .el-upload-list__item{ + // width: 100px; + // height: 100px; + // line-height: 100px; + // } + // /deep/ .el-upload-list--picture-card .el-upload-list__item-thumbnail{ + // width: 100px; + // height: 100px; + // line-height: 100px; + // } + // /deep/ .avatar{ + // width: 100px; + // height: 100px; + // } + // /deep/ .el-upload-list__item-status-label { + // display: block; + // position: absolute; + // right: -15px; + // top: -6px; + // width: 40px; + // height: 24px; + // background: #13ce66; + // text-align: center; + // -webkit-transform: rotate(45deg); + // transform: rotate(45deg); + // -webkit-box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2); + // box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2); + // } + // /deep/ .el-upload-list__item-actions { + // position: absolute; + // width: 100%; + // height: 100%; + // left: 0; + // top: 0; + // cursor: default; + // text-align: center; + // color: #fff; + // opacity: 0; + // font-size: 20px; + // background-color: rgba(0, 0, 0, 0.5); + // -webkit-transition: opacity .3s; + // transition: opacity .3s; + // } } - - } } } .g-page { - display: flex; - width:100%; - .g-total{ - width:100%; - } - .g-left { - box-sizing: border-box; - width: 55%; - padding: 5px 10px; - } - .g-right { - box-sizing: border-box; - width: 45%; - padding: 5px 10px; - } + display: flex; + width: 100%; + .g-total { + width: 100%; + } + .g-left { + box-sizing: border-box; + width: 55%; + padding: 5px 10px; + } + .g-right { + box-sizing: border-box; + width: 45%; + padding: 5px 10px; + } } - -.cell-width-area{ - width: 450px +.cell-width-area { + width: 450px; } .div_map { @@ -116,8 +111,8 @@ left: 5px; } -.div-btn{ - margin-top:50px; +.div-btn { + margin-top: 50px; display: flex; justify-content: center; @@ -125,7 +120,7 @@ font-size: 14px; padding: 8px 16px; cursor: pointer; - color:#fff; + color: #fff; border: 1px dashed #0c81fe; border-radius: 6px; @@ -136,14 +131,14 @@ margin-left: 20px; } } -.cell-width-1{ - width: 250px +.cell-width-1 { + width: 250px; } -.cell-width-long{ - width: 450px +.cell-width-long { + width: 450px; } -.cell-width-2{ - width: 300px +.cell-width-2 { + width: 300px; } .cell-width-map { @@ -154,8 +149,8 @@ width: 150px; } -.process-form{ - margin-top:20px; +.process-form { + margin-top: 20px; .process-title { margin-bottom: 25px; @@ -167,22 +162,20 @@ line-height: 18px; } - .process-title-vis{ + .process-title-vis { color: #fff; - } + } } .m-card { - overflow-x: auto; + overflow-x: auto; } - .m-btns { - display: flex; - justify-content: center; + display: flex; + justify-content: center; } - .m-info { padding-left: 30px; font-size: 14px; @@ -193,68 +186,67 @@ // width: 500px; .info-title { - margin-top: 30px; - font-size: 20px; - font-family: PingFang SC; - font-weight: bold; - color: #333; - line-height: 30px; + margin-top: 30px; + font-size: 20px; + font-family: PingFang SC; + font-weight: bold; + color: #333; + line-height: 30px; } .info-content { - margin: 20px 0; + margin: 20px 0; } .info-pics { - display: flex; - margin: 20px 0; - img { - display: block; - width: 32%; - height: 90px; - margin-right: 9px; - object-fit: cover; - } + display: flex; + margin: 20px 0; + img { + display: block; + width: 32%; + height: 90px; + margin-right: 9px; + object-fit: cover; + } } .info-prop { - position: relative; - margin: 10px 0; - display: flex; - padding-left: 15px; + position: relative; + margin: 10px 0; + display: flex; + padding-left: 15px; - .line{ - text-decoration:underline; - color: #3e8ef7; - } - .line:hover{ - cursor:pointer - } - .info-title-2 { - - flex: 0 0 100px; - font-size: 14px; - } + .line { + text-decoration: underline; + color: #3e8ef7; + } + .line:hover { + cursor: pointer; + } + .info-title-2 { + flex: 0 0 100px; + font-size: 14px; + } - > span, - > div { - display: block; - // max-width: 300px; - } + > span, + > div { + display: block; + // max-width: 300px; + } - &::before { - content: ""; - display: block; - position: absolute; - top: 9px; - left: 0; - width: 7px; - height: 7px; - background: #0c81fe; - border-radius: 3px; - margin-right: 10px; - } + &::before { + content: ""; + display: block; + position: absolute; + top: 9px; + left: 0; + width: 7px; + height: 7px; + background: #0c81fe; + border-radius: 3px; + margin-right: 10px; + } } - .info-prop-vis{ - color:#fff; + .info-prop-vis { + color: #fff; } } @@ -267,7 +259,7 @@ .m-row { // display: flex; justify-content: space-between; - width:100%; + width: 100%; } .m-hint { @@ -276,12 +268,12 @@ // 暂无数据 img { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - margin: auto; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + margin: auto; } } @@ -289,217 +281,225 @@ min-width: 400px; .stat { - margin: 20px 0 10px; - display: flex; - .stat-item { - width: 33%; - text-align: center; - - div { - font-size: 17px; - font-family: Source Han Serif SC; - font-weight: 500; - color: rgba(#000, 0.5); - line-height: 24px; - &.z-weak { - font-size: 12px; - font-family: Source Han Serif SC; - font-weight: 500; - color: rgba(#000, 0.5); - line-height: 24px; - } - } + margin: 20px 0 10px; + display: flex; + .stat-item { + width: 33%; + text-align: center; + + div { + font-size: 17px; + font-family: Source Han Serif SC; + font-weight: 500; + color: rgba(#000, 0.5); + line-height: 24px; + &.z-weak { + font-size: 12px; + font-family: Source Han Serif SC; + font-weight: 500; + color: rgba(#000, 0.5); + line-height: 24px; + } } + } } } .m-process { - margin-top: 30px; - margin-left: 15px; - width: 400px; + margin-top: 30px; + margin-left: 15px; + width: 400px; - .process-title { - margin-bottom: 25px; - margin-left: -5px; - font-size: 16px; - font-family: PingFang SC; - font-weight: bold; - color: #333; - line-height: 18px; - } + .process-title { + margin-bottom: 25px; + margin-left: -5px; + font-size: 16px; + font-family: PingFang SC; + font-weight: bold; + color: #333; + line-height: 18px; + } - .process-title-vis{ - color: #fff; + .process-title-vis { + color: #fff; + } + + .list { + position: relative; + box-sizing: border-box; + margin-top: 30px/2; + margin-left: 50px/2; + padding: 0 0 0 30px/2; + width: 680px/2; + border-left: 3px solid #0c81fe; + padding-right: 10px; + + &::before { + content: ""; + position: absolute; + z-index: 1; + display: block; + top: -2px/2; + left: -2px/2; + width: 5px/2; + height: 20px/2; + background-color: #333; } - .list { - position: relative; - box-sizing: border-box; - margin-top: 30px/2; - margin-left: 50px/2; - padding: 0 0 0 30px/2; - width: 680px/2; - border-left: 3px solid #0c81fe; - padding-right: 10px; + .item { + position: relative; + z-index: 2; + margin-bottom: 8px; + padding-bottom: 8px; + font-size: 16px; + font-family: PingFang SC; + font-weight: 400; + color: #333; + line-height: 24px; + padding-left: 20px; + padding-top: 1px; + + &::before { + content: ""; + display: block; + position: absolute; + top: -5px; + left: -11px; + width: 18px; + height: 18px; + background: #0c81fe; + border: 4px solid lighten(#0c81fe, 15); + border-radius: 100%; + } + &.z-on { &::before { - content: ""; - position: absolute; - z-index: 1; - display: block; - top: -2px/2; - left: -2px/2; - width: 5px/2; - height: 20px/2; - background-color: #333; + background: #e08400; + border-color: lighten(#e08400, 15); } + } - .item { - position: relative; - z-index: 2; - margin-bottom: 8px; - padding-bottom: 8px; - font-size: 16px; - font-family: PingFang SC; - font-weight: 400; - color: #333; - line-height: 24px; - padding-left: 20px; - padding-top: 1px; - - &::before { - content: ""; - display: block; - position: absolute; - top: -5px; - left: -11px; - width: 18px; - height: 18px; - background: #0c81fe; - border: 4px solid lighten(#0c81fe, 15); - border-radius: 100%; - } - - &.z-on { - &::before { - background: #e08400; - border-color: lighten(#e08400, 15); - } - } - - &:last-child { - margin-bottom: 0; - padding-bottom: 0; - border-bottom: none; - } - - .item-row { - margin-top: -10px; - margin-bottom: 10px; - display: flex; - } - - .name { - position: relative; - padding: 0 10px; - font-size: 12px; - font-family: PingFang SC; - font-weight: 500; - color: #fff; - line-height: 22px; - height: 22px; - border-radius: 10px 0 10px 0; - background-color: #0c81fe; - // background-color: #e08400; - } - - .date { - margin-left: 10px; - font-size: 12px; - font-family: PingFang SC; - font-weight: 500; - color: #7ca1d2; - line-height: 25px; - } - - .detail { - @include cs; - font-size: 14px; - line-height: 20px; - margin-bottom: 5px; - display: flex; - - .detail-field { - flex:0 0 100px; - - text-align: justify; - text-align-last: justify; - } - .detail-value { - // width: 78%; - .detail-link { - display: inline; - } - } - } - - .attachement-list { - padding-left: 80px; - a { - display: block; - cursor: pointer; - color: #4df0ff; - font-size: 14px; - - i { - color: #333; - } - } - } + &:last-child { + margin-bottom: 0; + padding-bottom: 0; + border-bottom: none; + } + + .item-row { + margin-top: -10px; + margin-bottom: 10px; + display: flex; + } + + .name { + position: relative; + padding: 0 10px; + font-size: 12px; + font-family: PingFang SC; + font-weight: 500; + color: #fff; + line-height: 22px; + height: 22px; + border-radius: 10px 0 10px 0; + background-color: #0c81fe; + // background-color: #e08400; + } + + .date { + margin-left: 10px; + font-size: 12px; + font-family: PingFang SC; + font-weight: 500; + color: #7ca1d2; + line-height: 25px; + } + + .btn { + margin-left: 30px; + color: #999; + font-size: 12px; + + &:hover { + color: #39e; + cursor: pointer; } + } + + .detail { + @include cs; + font-size: 14px; + line-height: 20px; + margin-bottom: 5px; + display: flex; + + .detail-field { + flex: 0 0 100px; + + text-align: justify; + text-align-last: justify; + } + .detail-value { + // width: 78%; + .detail-link { + display: inline; + } + } + } + + .attachement-list { + padding-left: 80px; + a { + display: block; + cursor: pointer; + color: #4df0ff; + font-size: 14px; - .item-vis{ - color:#fff + i { + color: #333; + } } + } } + + .item-vis { + color: #fff; + } + } } .m-top { - display: flex; + display: flex; } .m-chart { - min-height: 200px; + min-height: 200px; } -.div-satisfy{ - padding:10px 0 0; - display:flex ; +.div-satisfy { + padding: 10px 0 0; + display: flex; justify-content: flex-start; text-align: center; - >div{ - margin-left:50px; + > div { + margin-left: 50px; } - img{ - width:80px; - height:80px; + img { + width: 80px; + height: 80px; } - .tip-satisfy{ + .tip-satisfy { text-align: center; - margin-top:10px + margin-top: 10px; } } - - -.box-card{ +.box-card { padding: 0px; - border: 0px solid #EBEEF5; - background-color:transparent; - -webkit-box-shadow:none; - box-shadow:none - + border: 0px solid #ebeef5; + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; } .form-item::v-deep .el-form-item__label { @@ -519,6 +519,4 @@ display: flex; justify-content: flex-start; width: 250px; - } - diff --git a/src/views/modules/shequzhili/event/cpts/add.vue b/src/views/modules/shequzhili/event/cpts/add.vue index 0663570..5a06a23 100644 --- a/src/views/modules/shequzhili/event/cpts/add.vue +++ b/src/views/modules/shequzhili/event/cpts/add.vue @@ -82,21 +82,46 @@ v-model="formData.idCard" > + + + + + + + + -
- + prop="categoryList" + > +
+
+ -
- - - - - -
- - - - > \ No newline at end of file +
+ + + + + +
+ + + + +> diff --git a/src/views/modules/shequzhili/event/cpts/edit.vue b/src/views/modules/shequzhili/event/cpts/edit.vue new file mode 100644 index 0000000..fe680e3 --- /dev/null +++ b/src/views/modules/shequzhili/event/cpts/edit.vue @@ -0,0 +1,897 @@ + + + + + + diff --git a/src/views/modules/shequzhili/event/cpts/event-info.vue b/src/views/modules/shequzhili/event/cpts/event-info.vue index 9ec30d6..6345cdf 100644 --- a/src/views/modules/shequzhili/event/cpts/event-info.vue +++ b/src/views/modules/shequzhili/event/cpts/event-info.vue @@ -1,229 +1,377 @@ diff --git a/src/views/modules/shequzhili/event/cpts/process-form-replay.vue b/src/views/modules/shequzhili/event/cpts/process-form-replay.vue index ccc4b6d..78155d0 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-replay.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-replay.vue @@ -1,11 +1,12 @@ - - - - diff --git a/src/views/modules/shequzhili/event/cpts/process-form.vue b/src/views/modules/shequzhili/event/cpts/process-form.vue index 52fc71f..e25fded 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form.vue @@ -1,67 +1,73 @@ - - - diff --git a/src/views/modules/shequzhili/event/cpts/replyOptions.js b/src/views/modules/shequzhili/event/cpts/replyOptions.js new file mode 100644 index 0000000..3de2046 --- /dev/null +++ b/src/views/modules/shequzhili/event/cpts/replyOptions.js @@ -0,0 +1,8 @@ +export default [ + { label: "上报", value: 0 }, + { label: "阅收", value: 1 }, + { label: "完结", value: 2 }, + { label: "审核", value: 3 }, + { label: "事件评价", value: 4 }, + { label: "结案归档", value: 5 }, +]; diff --git a/src/views/modules/shequzhili/event/eventList.vue b/src/views/modules/shequzhili/event/eventList.vue index 539f37f..5895937 100644 --- a/src/views/modules/shequzhili/event/eventList.vue +++ b/src/views/modules/shequzhili/event/eventList.vue @@ -181,7 +181,7 @@ size="small" >导出 -