Browse Source

24-03-05 我发起的任务查询任务回复修改

master
zelian_wu 2 years ago
parent
commit
491400b965
  1. 76
      src/views/modules/taskmanage/chat-history.vue

76
src/views/modules/taskmanage/chat-history.vue

@ -34,45 +34,47 @@
<el-row>
<el-col :span="24" style="margin-top: 30px">
<el-button type="primary" @click="replyDialog()">新增回复</el-button>
<el-table
:data="dataList"
border
:height="height"
highlight-current-row
style="width: 100%;">
<el-table-column
v-for="(item,index) in columnList" :key="index"
:sortable="item.columnSortable"
:prop="item.columnProp"
:header-align="'center'"
:show-overflow-tooltip="item.showOverflowTooltip"
:align="item.align"
show-overflow-tooltip
:fixed="item.fixed==''?false:item.fixed"
:width="item.columnWidth"
:label="item.columnLabel">
<template slot-scope="scope">
<span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
style="width: 100px; height: 80px"/></span>
</template>
</el-table-column>
<el-table-column
fixed="right"
header-align="center"
align="center"
width="100"
label="操作">
<template slot-scope="scope">
<el-link type="text" size="small" @click="annex(scope.row.id)">附件</el-link>
</template>
</el-table-column>
</el-table>
<el-select v-model="dataForm.allOrOne" @change="getDataList" placeholder="请选择">
<el-option value="Y" label="全部"></el-option>
<el-option value="N" label="当前"></el-option>
</el-select>
</el-col>
</el-row>
</el-form>
<el-table
:data="dataList"
border
:height="height"
highlight-current-row
style="width: 100%;">
<el-table-column
v-for="(item,index) in columnList" :key="index"
:sortable="item.columnSortable"
:prop="item.columnProp"
:header-align="'center'"
:show-overflow-tooltip="item.showOverflowTooltip"
:align="item.align"
show-overflow-tooltip
:fixed="item.fixed==''?false:item.fixed"
:width="item.columnWidth"
:label="item.columnLabel">
<template slot-scope="scope">
<span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
style="width: 100px; height: 80px"/></span>
</template>
</el-table-column>
<el-table-column
fixed="right"
header-align="center"
align="center"
width="100"
label="操作">
<template slot-scope="scope">
<el-link type="text" size="small" @click="annex(scope.row.id)">附件</el-link>
</template>
</el-table-column>
</el-table>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="visible = false">取消</el-button>
</span>
@ -148,6 +150,7 @@
taskId: 0,
site: this.$store.state.user.site,
fileTypeCode: 'TASK',
allOrOne:'Y',
},
headerData:{
taskHeader:'',
@ -205,6 +208,7 @@
},
closeDialog() {
this.dataForm.allOrOne = 'Y'
//Object.assign(this.$data, this.$options.data())
}
},

Loading…
Cancel
Save