|
|
@ -21,8 +21,8 @@ |
|
|
|
<el-button v-if="notHasDepartmentId(74)" type="success" icon="el-icon-success" @click="completeRenwu"> |
|
|
|
任务完成 |
|
|
|
</el-button> |
|
|
|
<el-button type="info" icon="el-icon-minus" @click="terminationFn"> |
|
|
|
终止任务 |
|
|
|
<el-button type="danger" @click="terminationFn"> |
|
|
|
<svg-icon icon-class="termination" /> 终止任务 |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
</sticky> |
|
|
@ -37,7 +37,6 @@ |
|
|
|
<el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位名称" clearable style="width: 340px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 230px" @keyup.enter.native="handleFilter" /> |
|
|
|
<el-input v-model="listQuery.shiyongdengjibianhao" placeholder="使用登记证号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> |
|
|
|
<!--<el-input v-model="listQuery.danweineibubianhao" placeholder="单位内编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />--> |
|
|
|
<el-button type="primary" icon="el-icon-search" @click="handleFilter"> |
|
|
|
查询 |
|
|
|
</el-button> |
|
|
@ -109,14 +108,6 @@ |
|
|
|
<el-table-column :formatter="formatterSlrq" align="center" label="报检日期" prop="shouliriqi" width="120" sortable /> |
|
|
|
<el-table-column align="center" label="下次检验日期" prop="xiacijianyanriqi" width="120" /> |
|
|
|
<el-table-column :formatter="formatter.getChineseName" align="center" label="认领人" prop="renlingren" width="140" /> |
|
|
|
<el-table-column v-if="$store.getters.departmentId === 70 || hasRole('ADMIN')" align="center" label="操作" prop="acces" width="110" fixed="right"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template v-if="scope.row.shebeizhongleidaima === '2000'"> |
|
|
|
<el-button title="预览 原始资料" circle size="medium" type="info" icon="el-icon-view" style="float: left" @click="common.viewRawRecords(scope.row.id)" /> |
|
|
|
<slice-upload :renwu-id="scope.row.id" /> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</template> |
|
|
|
</el-table> |
|
|
|
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> |
|
|
@ -218,25 +209,20 @@ |
|
|
|
</el-table> |
|
|
|
<pagination v-show="totalCount>0" :total="totalCountCopy" :page-num.sync="listQueryCopy.pageNum" :page-row.sync="listQueryCopy.pageRow" @pagination="getListCopy" /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog title="查看相关鉴证" :modal-append-to-body="false" :visible.sync="dialogEnclosureVisible"> |
|
|
|
<enclosure :relation-id.sync="currentRenwuId" :if-liaison="false" :view-button="false" :is-show-hetong="isSysUser" /> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import Sticky from '@/components/Sticky' |
|
|
|
import SliceUpload from '@/components/SliceUpload' |
|
|
|
import Pagination from '@/components/Pagination' |
|
|
|
import Utils from '../../utils/contact.js' |
|
|
|
import { getOwnList, terminateRenwu, completeRenwuFn } from '@/api/renwu' |
|
|
|
import { cancelRenwuFn } from '@/api/common' |
|
|
|
import Enclosure from '@/views/common/Enclosure' |
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'MyTask', |
|
|
|
components: { Sticky, Pagination, SliceUpload, Enclosure }, |
|
|
|
components: { Sticky, Pagination }, |
|
|
|
filters: { |
|
|
|
screen(value) { |
|
|
|
console.log(value, 254444) |
|
|
|