|
|
@@ -10,12 +10,12 @@
|
|
|
<div class="mt-10">
|
|
|
<div class="flex flex-center flex-justify-start">
|
|
|
<span class="mr-10 title flex flex-justify-start">状态:</span>
|
|
|
- <wt-tag :data="data" @change="changeStatus($event, 1)" />
|
|
|
+ <wt-tag :data="status" @change="changeStatus($event, 1)" />
|
|
|
</div>
|
|
|
|
|
|
<div class="mt-10 flex flex-center flex-justify-start">
|
|
|
<span class="mr-10 title flex flex-justify-start">优先级:</span>
|
|
|
- <wt-tag :data="data1" @change="changeStatus($event, 2)" />
|
|
|
+ <wt-tag :data="level" @change="changeStatus($event, 2)" />
|
|
|
</div>
|
|
|
|
|
|
<div class="mt-10 flex flex-center flex-justify-start">
|
|
|
@@ -126,8 +126,8 @@ export default {
|
|
|
handler(val) {
|
|
|
if (val) {
|
|
|
this.form = val
|
|
|
- this.data = this.fetchIndex(this.data, this.form.taskStatus)
|
|
|
- this.data1 = this.fetchIndex(this.data1, this.form.level)
|
|
|
+ this.status = this.fetchIndex(this.status, this.form.taskStatus)
|
|
|
+ this.level = this.fetchIndex(this.level, this.form.level)
|
|
|
if (val.files !== undefined && val.files.length > 0) {
|
|
|
this.fileList = val.files.map(ele => {
|
|
|
return {
|
|
|
@@ -156,7 +156,7 @@ export default {
|
|
|
tags: '',
|
|
|
taskProcess: ''
|
|
|
},
|
|
|
- data: [
|
|
|
+ status: [
|
|
|
{
|
|
|
title: '待确认',
|
|
|
value: 0,
|
|
|
@@ -188,7 +188,7 @@ export default {
|
|
|
checked: false
|
|
|
}
|
|
|
],
|
|
|
- data1: [
|
|
|
+ level: [
|
|
|
{
|
|
|
title: 'P1',
|
|
|
value: 0,
|