修改任务清单的编辑
This commit is contained in:
@@ -39,10 +39,6 @@
|
||||
<a-icon type="export" :rotate="-90"/>
|
||||
{{$t('export')}}
|
||||
</div>
|
||||
<div @click="addProcess" class="operator-text">
|
||||
<a-icon type="export" :rotate="-90"/>
|
||||
发起1
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 100%">
|
||||
<a-table
|
||||
@@ -91,29 +87,32 @@
|
||||
</div>
|
||||
</div>
|
||||
<div slot="CertificationProgress" slot-scope="text,result">
|
||||
<span class="box-content-color">
|
||||
<span class="box-content-color box-content-cou" @click="CertificationProgressClick(result)">
|
||||
实验通过
|
||||
</span>
|
||||
</div>
|
||||
<div slot="CurrentProjectStatusEvaluation" slot-scope="text,result">
|
||||
<div class="Current-color">
|
||||
<div class="Current-color box-content-cou" @click="CurrentProjectClick(result)">
|
||||
<div class="Current-color-box"></div>
|
||||
</div>
|
||||
</div>
|
||||
</a-table>
|
||||
</div>
|
||||
<certificationDirectory :url="url" ref="certificationDirectoryRef"/>
|
||||
<TaskListModel ref="TaskListModelRef"/>
|
||||
</a-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import certificationDirectory from './certificationDirectory'
|
||||
import TaskListModel from './TaskListModel'
|
||||
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
||||
|
||||
export default {
|
||||
name: 'TaskList',
|
||||
components: {
|
||||
certificationDirectory
|
||||
certificationDirectory,
|
||||
TaskListModel
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -207,11 +206,20 @@
|
||||
}
|
||||
getAction(this.url.list, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataSource = res.result
|
||||
// this.dataSource = res.result
|
||||
this.dataSource = [{}]
|
||||
} else {
|
||||
this.dataSource = []
|
||||
}
|
||||
})
|
||||
},
|
||||
CertificationProgressClick(val) {
|
||||
let item = JSON.parse(JSON.stringify(val))
|
||||
this.$refs.TaskListModelRef.getData(item, this.$t('CertificationProgress'))
|
||||
},
|
||||
CurrentProjectClick(val) {
|
||||
let item = JSON.parse(JSON.stringify(val))
|
||||
this.$refs.TaskListModelRef.getData(item, this.$t('CurrentProjectStatusEvaluation'))
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -332,6 +340,10 @@
|
||||
background: red;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.box-content-cou {
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.box-input .ant-select-selection {
|
||||
|
||||
Reference in New Issue
Block a user