|
|
|
|
@ -93,36 +93,39 @@
|
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" width="260"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-button type="primary" link @click="showDeatil(row)">问题详情</el-button> |
|
|
|
|
|
|
|
|
|
<el-button |
|
|
|
|
@click="upProblemFun(row)" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
v-if="row.distributionState === '0'" |
|
|
|
|
> |
|
|
|
|
编辑 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-if="row.distributionState === '0'" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
@click="issueMatterFun(row)" |
|
|
|
|
<div> |
|
|
|
|
<el-button type="primary" link @click="showDeatil(row)">问题详情</el-button> |
|
|
|
|
<el-button |
|
|
|
|
@click="upProblemFun(row)" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
v-if="row.distributionState === '0'" |
|
|
|
|
> |
|
|
|
|
编辑 |
|
|
|
|
</el-button> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<el-button |
|
|
|
|
v-if="row.distributionState === '0'" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
@click="issueMatterFun(row)" |
|
|
|
|
>问题下发</el-button |
|
|
|
|
> |
|
|
|
|
<!-- <el-button--> |
|
|
|
|
<!-- type="danger"--> |
|
|
|
|
<!-- link--> |
|
|
|
|
<!-- @click="delProblemsFun(row)"--> |
|
|
|
|
<!-- >删除</el-button--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<el-button |
|
|
|
|
:type="row.problemState == '1' ? 'danger' : 'primary'" |
|
|
|
|
link |
|
|
|
|
@click="upProblemStateFun(row)" |
|
|
|
|
> |
|
|
|
|
{{ row.problemState == "1" ? "删除" : "恢复" }} |
|
|
|
|
</el-button> |
|
|
|
|
> |
|
|
|
|
<!-- <el-button--> |
|
|
|
|
<!-- type="danger"--> |
|
|
|
|
<!-- link--> |
|
|
|
|
<!-- @click="delProblemsFun(row)"--> |
|
|
|
|
<!-- >删除</el-button--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<el-button |
|
|
|
|
:type="row.problemState == '1' ? 'danger' : 'primary'" |
|
|
|
|
link |
|
|
|
|
@click="upProblemStateFun(row)" |
|
|
|
|
> |
|
|
|
|
{{ row.problemState == "1" ? "删除" : "恢复" }} |
|
|
|
|
</el-button> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
@ -186,9 +189,10 @@
|
|
|
|
|
getDictLable(dict.distributionState, activeRow.distributionState) |
|
|
|
|
}}</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<file-list :files="activeRow.files ? JSON.parse(activeRow.files) : []" /> |
|
|
|
|
<div class="col col-24"> |
|
|
|
|
<label>上传附件</label> |
|
|
|
|
<file-list :files="activeRow.files ? JSON.parse(activeRow.files) : []" /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
|
@ -769,7 +773,7 @@ async function handleGenReport() {
|
|
|
|
|
{ |
|
|
|
|
method: 'POST', |
|
|
|
|
body: JSON.stringify(formData.value), |
|
|
|
|
headers: { |
|
|
|
|
headers: { |
|
|
|
|
"Authorization": getToken(), |
|
|
|
|
"Content-Type": "application/json" |
|
|
|
|
} |
|
|
|
|
|