diff --git a/src/api/assessment.js b/src/api/assessment.js index 9a3b9a6..3c7500b 100644 --- a/src/api/assessment.js +++ b/src/api/assessment.js @@ -146,15 +146,15 @@ export function apiChangeTaskList (query) { export function apiAddTaskComment (query) { return request({ url: '/lz_management/user/lzstaffrole/task/comment', - method: 'post', - data: query + method: 'get', + params: query }) } // 评论列表 export function apiTaskCommentList (query) { return request({ url: '/lz_management/user/lzstaffrole/comment/list', - method: 'post', - data: query + method: 'get', + params: query }) } diff --git a/src/utils/elementConfig.js b/src/utils/elementConfig.js index 32dfc7f..2ba8660 100644 --- a/src/utils/elementConfig.js +++ b/src/utils/elementConfig.js @@ -38,14 +38,15 @@ import { Transfer, Avatar, Progress, - Drawer + Drawer, + Slider } from 'element-ui' Vue.prototype.$loading = Loading Vue.prototype.$message = Message Vue.prototype.$confirm = MessageBox.confirm Vue.prototype.$alert = MessageBox.alert - +Vue.use(Slider) Vue.use(Drawer) Vue.use(Progress) Vue.use(Transfer) diff --git a/src/views/kpi/assessment/performance/components/pinglun.vue b/src/views/kpi/assessment/performance/components/pinglun.vue index db966a8..4e77d34 100644 --- a/src/views/kpi/assessment/performance/components/pinglun.vue +++ b/src/views/kpi/assessment/performance/components/pinglun.vue @@ -6,15 +6,15 @@ :key="i.id" v-for="i in pinglunList">
-
{{i.staffName}}# - 修改名称 - 修改进度 - 名称和进度都修改 + 更新名称 + {{i.typeDesc}} #
{{i.gmtCreate}}
@@ -38,7 +38,7 @@ export default { // 1,修改名称,2修改进度 ,3名称和进度都修改 data () { return { - + defaultImg: 'this.src="' + require('@/assets/img/default.jpg') + '"' } }, computed: { @@ -58,11 +58,11 @@ export default { margin: 20px 0; } &-left { - width: 40px; + width: 30px; margin: 0 10px 0 0; img { - width: 40px; - height: 40px; + width: 30px; + height: 30px; border-radius: 50%; } } diff --git a/src/views/kpi/assessment/performance/components/process.vue b/src/views/kpi/assessment/performance/components/process.vue index 55a202f..9435bde 100644 --- a/src/views/kpi/assessment/performance/components/process.vue +++ b/src/views/kpi/assessment/performance/components/process.vue @@ -72,7 +72,7 @@ effect="dark" content="评论" placement="top-start"> - +
@@ -93,7 +93,7 @@
-
@@ -105,7 +105,7 @@ {{i.staffName}}: {{i.label}} + v-if="!i.showTask">{{i.typeDesc}}
- + + + @@ -164,16 +170,24 @@
-
- +
+
- +
评论KR:「{{pinglunForm.name}}」
+ +
+
+ + v-model="form.content"> 发送 +
div { - flex-shrink: 0; - } + // > div { + // flex-shrink: 0; + // } } &-left { - flex: 1 0 auto; + flex: 1 ; display: flex; - align-content: center; + align-items: center; img { width: 28px; height: 28px; @@ -507,9 +559,6 @@ export default { overflow: hidden; margin-right: 10px; } - span { - .center(); - } } } &-bottom { @@ -539,18 +588,27 @@ export default { } &-bottom { width: 100%; - height: 60px; border-top: 1px solid @borderColor; - display: flex; - background: #fff; - align-content: center; - justify-content: space-between; - padding: 6px 4px; + .top{ + border-bottom: 1px solid @borderColor; + } + &-content{ + padding: 6px 8px; + display: flex; + background: #fff; + align-items: center; + justify-content: space-between; + i{ + cursor: pointer; + } + } textarea { resize: none; height: 46px; font-size: 12px; background: #f6f6f6; + border:none; + } .el-button--small { height: 46px;