|
|
@ -4,7 +4,7 @@ |
|
|
|
<div class="dvied"></div> |
|
|
|
<div class="dvied"></div> |
|
|
|
<div style="font-weight: bold;color: #333333;font-size: 18px;margin-left:10px">我的众包</div> |
|
|
|
<div style="font-weight: bold;color: #333333;font-size: 18px;margin-left:10px">我的众包</div> |
|
|
|
</div> --> |
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
|
|
<div style="background:#FFFFFF;border-radius:4px;"> |
|
|
|
<div style="background:#FFFFFF;border-radius:4px;"> |
|
|
|
<div class="crowdnum"> |
|
|
|
<div class="crowdnum"> |
|
|
|
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick"> |
|
|
|
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick"> |
|
|
@ -55,7 +55,8 @@ |
|
|
|
</el-radio-button> |
|
|
|
</el-radio-button> |
|
|
|
审核页 <crowdsource-audit ref="crowdsourceAudit" @closeDialog="closeDialog" ></crowdsource-audit> |
|
|
|
审核页 <crowdsource-audit ref="crowdsourceAudit" @closeDialog="closeDialog" ></crowdsource-audit> |
|
|
|
</el-radio-group> --> |
|
|
|
</el-radio-group> --> |
|
|
|
<el-form v-if="crowdmol=='allTask'" :model="queryParams" ref="queryForm" :inline="true" label-width="68px" class="baseinfo" style="margin-top:30px"> |
|
|
|
<el-form v-if="crowdmol == 'allTask'" :model="queryParams" ref="queryForm" :inline="true" |
|
|
|
|
|
|
|
label-width="68px" class="baseinfo" style="margin-top:30px"> |
|
|
|
<el-form-item label="任务状态" prop="processStatus"> |
|
|
|
<el-form-item label="任务状态" prop="processStatus"> |
|
|
|
<el-select v-model="queryParams.processStatus"> |
|
|
|
<el-select v-model="queryParams.processStatus"> |
|
|
|
<el-option label="请选择" value="">请选择</el-option> |
|
|
|
<el-option label="请选择" value="">请选择</el-option> |
|
|
@ -66,37 +67,44 @@ |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" icon="el-icon-search" size="small" @click="showDataTypeChage('allTask')">搜索</el-button> |
|
|
|
<el-button type="primary" icon="el-icon-search" size="small" |
|
|
|
|
|
|
|
@click="showDataTypeChage('allTask')">搜索</el-button> |
|
|
|
<el-button style="background: #F2A51A;" @click="resetQuery">重置</el-button> |
|
|
|
<el-button style="background: #F2A51A;" @click="resetQuery">重置</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
<el-table v-loading='loading' :data="crowdData" style="margin-top:30px" > |
|
|
|
<el-table v-loading='loading' :data="crowdData" style="margin-top:30px"> |
|
|
|
<el-table-column label="序号" width="100px" align="center"> |
|
|
|
<el-table-column label="序号" width="100px" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="任务ID" v-if="crowdmol=='allTask'" width="90" align="center" key="taskId" prop="taskId"/> |
|
|
|
<el-table-column label="任务ID" v-if="crowdmol == 'allTask'" width="90" align="center" key="taskId" |
|
|
|
<el-table-column label="发布时间" align="center" key="createTime" prop="createTime" > |
|
|
|
prop="taskId" /> |
|
|
|
|
|
|
|
<el-table-column label="发布时间" align="center" key="createTime" prop="createTime"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.createTime">{{ parseTime(scope.row.createTime).toString().split(" ")[0]}}</span> |
|
|
|
<span v-if="scope.row.createTime">{{ parseTime(scope.row.createTime).toString(). |
|
|
|
|
|
|
|
split(" ")[0] }}</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="项目名称" align="center" key="projectName" prop="projectName" :show-overflow-tooltip="true" width="260px"/> |
|
|
|
<el-table-column label="项目名称" align="center" key="projectName" prop="projectName" |
|
|
|
<el-table-column label="金额" align="center" key="price" prop="price" :show-overflow-tooltip="true"> |
|
|
|
:show-overflow-tooltip="true" width="260px" /> |
|
|
|
|
|
|
|
<el-table-column label="金额" align="center" key="price" prop="price" :show-overflow-tooltip="true"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.price == 0">面议</span> |
|
|
|
<span v-if="scope.row.price == 0">面议</span> |
|
|
|
<span v-else>¥{{scope.row.price}}</span> |
|
|
|
<span v-else>¥{{ scope.row.price }}</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="任务类型" align="center" key="testType" prop="testType" :show-overflow-tooltip="true"> |
|
|
|
<el-table-column label="任务类型" align="center" key="testType" prop="testType" |
|
|
|
|
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{findLabelValueByProp(tasktypelist,scope.row.testType,'dictValue', 'dictLabel')}}</span> |
|
|
|
<span>{{ findLabelValueByProp(tasktypelist, scope.row.testType, 'dictValue', |
|
|
|
|
|
|
|
'dictLabel') }}</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="项目工期" align="center" key="period" prop="period" :show-overflow-tooltip="true"> |
|
|
|
<el-table-column label="项目工期" align="center" key="period" prop="period" |
|
|
|
|
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{scope.row.period}}天</span> |
|
|
|
<span>{{ scope.row.period }}天</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<!-- <el-table-column v-if="crowdmol=='myClaim' || crowdmol=='myPublish'|| crowdmol=='tobeExpired'" |
|
|
|
<!-- <el-table-column v-if="crowdmol=='myClaim' || crowdmol=='myPublish'|| crowdmol=='tobeExpired'" |
|
|
@ -105,74 +113,92 @@ |
|
|
|
<span v-if="scope.row.expireTime">{{ parseTime(scope.row.expireTime).toString().split(" ")[0]}}</span> |
|
|
|
<span v-if="scope.row.expireTime">{{ parseTime(scope.row.expireTime).toString().split(" ")[0]}}</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> --> |
|
|
|
</el-table-column> --> |
|
|
|
<el-table-column v-if="crowdmol =='myPublish'" label="任务状态" align="center" key="3" prop="processStatus" :show-overflow-tooltip="true" width="180px"> |
|
|
|
<el-table-column v-if="crowdmol == 'myPublish'" label="任务状态" align="center" key="3" |
|
|
|
<template slot-scope="scope" > |
|
|
|
prop="processStatus" :show-overflow-tooltip="true" width="180px"> |
|
|
|
<p v-if="scope.row.processStatus" style="margin:0" class="tagcls"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-tag :color="scope.row.processStatus==2?'#fc5c1d':''" :type="scope.row.processStatus==0?'warning':scope.row.processStatus==1?'primary':scope.row.processStatus==3?'danger':'success'" effect="dark" |
|
|
|
<p v-if="scope.row.processStatus" style="margin:0" class="tagcls"> |
|
|
|
:style="scope.row.processStatus==2?'border:1px solid #fc5c1d;cursor:pointer':'cursor:pointer'">{{findByvalue(processStatuslist,parseInt(scope.row.processStatus))}}</el-tag> |
|
|
|
<el-tag :color="scope.row.processStatus == 2 ? '#fc5c1d' : ''" |
|
|
|
|
|
|
|
:type="scope.row.processStatus == 0 ? 'warning' : scope.row.processStatus == 1 ? 'primary' : scope.row.processStatus == 3 ? 'danger' : 'success'" |
|
|
|
|
|
|
|
effect="dark" |
|
|
|
|
|
|
|
:style="scope.row.processStatus == 2 ? 'border:1px solid #fc5c1d;cursor:pointer' : 'cursor:pointer'"> |
|
|
|
|
|
|
|
{{ findByvalue(processStatuslist, parseInt(scope.row.processStatus)) }}</el-tag> |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
<p v-else> |
|
|
|
<p v-else> |
|
|
|
暂无 |
|
|
|
暂无 |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column v-if="crowdmol!='myPublish'" label="状态" align="center" key="1" prop="status" :show-overflow-tooltip="true"> |
|
|
|
<el-table-column v-if="crowdmol != 'myPublish'" label="状态" align="center" key="1" prop="status" |
|
|
|
|
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-tag v-if="scope.row.status == 0" type="primary" effect="dark" style="width:68px;padding-left: 12px;padding-right: 12px;cursor:pointer">待审核</el-tag> |
|
|
|
<el-tag v-if="scope.row.status == 0" type="primary" effect="dark" |
|
|
|
<el-tag v-else-if="scope.row.status == 1" type="success" effect="dark" style="cursor:pointer">审核通过</el-tag> |
|
|
|
style="width:68px;padding-left: 12px;padding-right: 12px;cursor:pointer">待审核</el-tag> |
|
|
|
<el-tag v-else-if="scope.row.status == 2" type="danger" effect="dark" style="cursor:pointer">审核不通过</el-tag> |
|
|
|
<el-tag v-else-if="scope.row.status == 1" type="success" effect="dark" |
|
|
|
<el-tag v-else-if="scope.row.status == 3" type="info" effect="dark" style="cursor:pointer">草稿</el-tag> |
|
|
|
style="cursor:pointer">审核通过</el-tag> |
|
|
|
|
|
|
|
<el-tag v-else-if="scope.row.status == 2" type="danger" effect="dark" |
|
|
|
|
|
|
|
style="cursor:pointer">审核不通过</el-tag> |
|
|
|
|
|
|
|
<el-tag v-else-if="scope.row.status == 3" type="info" effect="dark" |
|
|
|
|
|
|
|
style="cursor:pointer">草稿</el-tag> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column v-if="crowdmol !='myApply'" label="竞标者总数" align="center" key="appCount" :show-overflow-tooltip="true"> |
|
|
|
<el-table-column v-if="crowdmol != 'myApply'" label="竞标者总数" align="center" key="appCount" |
|
|
|
|
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{scope.row.personalAppCount + scope.row.companyAppCount}}</span> |
|
|
|
<span>{{ scope.row.personalAppCount + scope.row.companyAppCount }}</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="260"> |
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="260"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" |
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" |
|
|
|
v-if="(crowdmol=='myApply' && scope.row.status==2) ||((crowdmol=='myPublish') && (scope.row.processStatus==5 || scope.row.processStatus==6 ||scope.row.processStatus == 7))" |
|
|
|
v-if="(crowdmol == 'myApply' && scope.row.status == 2) || ((crowdmol == 'myPublish') && (scope.row.processStatus == 5 || scope.row.processStatus == 6 || scope.row.processStatus == 7))" |
|
|
|
@click="publishTask(scope.row)" >重新发布 |
|
|
|
@click="publishTask(scope.row)">重新发布 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" |
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" |
|
|
|
v-if="(crowdmol=='myApply' && scope.row.status==3) ||((crowdmol=='myPublish') && (scope.row.processStatus==5 || scope.row.processStatus==6 ||scope.row.processStatus == 7))" |
|
|
|
v-if="(crowdmol == 'myApply' && scope.row.status == 3) || ((crowdmol == 'myPublish') && (scope.row.processStatus == 5 || scope.row.processStatus == 6 || scope.row.processStatus == 7))" |
|
|
|
@click="publishTask(scope.row)" >去编辑 |
|
|
|
@click="publishTask(scope.row)">去编辑 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<router-link v-if="crowdmol=='myApply' && scope.row.status!=3" :to="{path:'/console/currentcrowd',query:{id:scope.row.applyId,type:crowdmol}}" class="link-type"> |
|
|
|
<router-link v-if="crowdmol == 'myApply' && scope.row.status != 3" |
|
|
|
<el-button size="mini" type="text" icon="el-icon-key" >查看详情 |
|
|
|
:to="{ path: '/console/currentcrowd', query: { id: scope.row.applyId, type: crowdmol } }" |
|
|
|
|
|
|
|
class="link-type"> |
|
|
|
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-key">查看详情 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
</router-link> |
|
|
|
</router-link> |
|
|
|
<router-link v-if="crowdmol=='myPublish' || crowdmol=='myClaim'" :to="{path:'/console/currentcrowd',query:{id:scope.row.taskId,type:crowdmol}}" class="link-type"> |
|
|
|
<router-link v-if="crowdmol == 'myPublish' || crowdmol == 'myClaim'" |
|
|
|
<el-button size="mini" type="text" icon="el-icon-key" >查看详情 |
|
|
|
:to="{ path: '/console/currentcrowd', query: { id: scope.row.taskId, type: crowdmol } }" |
|
|
|
|
|
|
|
class="link-type"> |
|
|
|
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-key">查看详情 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
</router-link> |
|
|
|
</router-link> |
|
|
|
<router-link v-if="crowdmol=='tobeExpired' || crowdmol=='allTask'" :to="{path:'/console/currentcrowd',query:{id:scope.row.applyId,type:crowdmol}}" class="link-type"> |
|
|
|
<router-link v-if="crowdmol == 'tobeExpired' || crowdmol == 'allTask'" |
|
|
|
<el-button size="mini" type="text" icon="el-icon-key" >查看详情 |
|
|
|
:to="{ path: '/console/currentcrowd', query: { id: scope.row.applyId, type: crowdmol } }" |
|
|
|
|
|
|
|
class="link-type"> |
|
|
|
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-key">查看详情 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
</router-link> |
|
|
|
</router-link> |
|
|
|
<!-- <el-button style="margin-left: 10px;" v-if="crowdmol=='myPublish'&&scope.row.processStatus==2" @click="openresult(scope.row)" size="mini" type="text" icon="el-icon-download"> |
|
|
|
<!-- <el-button style="margin-left: 10px;" v-if="crowdmol=='myPublish'&&scope.row.processStatus==2" @click="openresult(scope.row)" size="mini" type="text" icon="el-icon-download"> |
|
|
|
验收实施结果 |
|
|
|
验收实施结果 |
|
|
|
</el-button> --> |
|
|
|
</el-button> --> |
|
|
|
<!-- 多人 --> |
|
|
|
<!-- 多人 --> |
|
|
|
<el-button @click="goDetail(scope.row.taskId)" v-if="crowdmol=='myPublish' && scope.row.processStatus == 4 && scope.row.needPerson > 1&& scope.row.needPerson != scope.row.commentCount" size="mini" type="text" style="margin-left:10px">去评价 |
|
|
|
<el-button @click="goDetail(scope.row.taskId)" |
|
|
|
|
|
|
|
v-if="crowdmol == 'myPublish' && scope.row.processStatus == 4 && scope.row.needPerson > 1 && scope.row.needPerson != scope.row.commentCount" |
|
|
|
|
|
|
|
size="mini" type="text" style="margin-left:10px">去评价 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<!-- 单人 --> |
|
|
|
<!-- 单人 --> |
|
|
|
<el-button @click="oneReview(scope.row.taskId)" v-if="crowdmol=='myPublish' && scope.row.processStatus == 4 && scope.row.needPerson == 1 && scope.row.needPerson != scope.row.commentCount" size="mini" type="text" style="margin-left:10px">去评价 |
|
|
|
<el-button @click="oneReview(scope.row.taskId)" |
|
|
|
|
|
|
|
v-if="crowdmol == 'myPublish' && scope.row.processStatus == 4 && scope.row.needPerson == 1 && scope.row.needPerson != scope.row.commentCount" |
|
|
|
|
|
|
|
size="mini" type="text" style="margin-left:10px">去评价 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
<!-- :current-page="currentPage" --> |
|
|
|
<!-- :current-page="currentPage" --> |
|
|
|
<div v-if="total>10" style='width:100%;margin-top:30px;text-align: center;'> |
|
|
|
<div v-if="total > 10" style='width:100%;margin-top:30px;text-align: center;'> |
|
|
|
<el-pagination background |
|
|
|
<el-pagination background @current-change="handleCurrentChange" :page-size="queryParams.pageSize" |
|
|
|
@current-change="handleCurrentChange" |
|
|
|
layout="total, prev, pager, next, jumper" :total="total"> |
|
|
|
:page-size="queryParams.pageSize" |
|
|
|
|
|
|
|
layout="total, prev, pager, next, jumper" |
|
|
|
|
|
|
|
:total="total"> |
|
|
|
|
|
|
|
</el-pagination> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-dialog title="验收实施结果" :visible.sync="resultOpen" width="600px" :close-on-click-modal="false" append-to-body class="tooldialog" @close="resultOpen = false"> |
|
|
|
<el-dialog title="验收实施结果" :visible.sync="resultOpen" width="600px" :close-on-click-modal="false" |
|
|
|
|
|
|
|
append-to-body class="tooldialog" @close="resultOpen = false"> |
|
|
|
<el-divider style="margin-bottom:10px"></el-divider> |
|
|
|
<el-divider style="margin-bottom:10px"></el-divider> |
|
|
|
<!--<div style="display:flex;margin-left:30px;"> |
|
|
|
<!--<div style="display:flex;margin-left:30px;"> |
|
|
|
<p style="font-weight:bold;margin-right:20px;color:#333333;">工具名称</p> |
|
|
|
<p style="font-weight:bold;margin-right:20px;color:#333333;">工具名称</p> |
|
|
@ -182,9 +208,11 @@ |
|
|
|
<p style="font-weight:bold;margin-right:20px;color:#333333;">任务名称</p> |
|
|
|
<p style="font-weight:bold;margin-right:20px;color:#333333;">任务名称</p> |
|
|
|
<p>{{currentTaskName}}</p> |
|
|
|
<p>{{currentTaskName}}</p> |
|
|
|
</div> --> |
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
|
|
<div v-if="currenttsk&¤ttsk.resultAttach" style="text-align:left;margin-top:20px" @click="downloadFile()"> |
|
|
|
<div v-if="currenttsk && currenttsk.resultAttach" style="text-align:left;margin-top:20px" |
|
|
|
<el-button icon='el-icon-download' style="background: #0066EB;color:#FFFFFF">下载实施结果查看</el-button> |
|
|
|
@click="downloadFile()"> |
|
|
|
|
|
|
|
<el-button icon='el-icon-download' |
|
|
|
|
|
|
|
style="background: #0066EB;color:#FFFFFF">下载实施结果查看</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="display: flex;margin-top: 20px;align-items: center;"> |
|
|
|
<div style="display: flex;margin-top: 20px;align-items: center;"> |
|
|
|
<p style="margin-right:10px">验收是否通过</p> |
|
|
|
<p style="margin-right:10px">验收是否通过</p> |
|
|
@ -194,248 +222,249 @@ |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="display:flex;margin-top:30px;justify-content: center;"> |
|
|
|
<div style="display:flex;margin-top:30px;justify-content: center;"> |
|
|
|
<el-button style="background: #0066EB;color:#FFFFFF" @click="querepeo">确定</el-button> |
|
|
|
<el-button style="background: #0066EB;color:#FFFFFF" @click="querepeo">确定</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<crowdsource-task v-show="(crowdmol=='myApply' || crowdmol=='myPublish') && task != null" ref="crowdsourceTask"></crowdsource-task> |
|
|
|
<crowdsource-task v-show="(crowdmol == 'myApply' || crowdmol == 'myPublish') && task != null" |
|
|
|
|
|
|
|
ref="crowdsourceTask"></crowdsource-task> |
|
|
|
<!-- <crowdsource-task v-show="crowdmol=='myApply' && task != null" ref="crowdsourceTask"></crowdsource-task> --> |
|
|
|
<!-- <crowdsource-task v-show="crowdmol=='myApply' && task != null" ref="crowdsourceTask"></crowdsource-task> --> |
|
|
|
<reviewDialogVue ref="reviewDialogVuer" @refresh="refreshFn"/> |
|
|
|
<reviewDialogVue ref="reviewDialogVuer" @refresh="refreshFn" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import {mapGetters} from "vuex"; |
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
import {findByvalue, findLabelValueByProp} from "@/util/util"; |
|
|
|
import { findByvalue, findLabelValueByProp } from "@/util/util"; |
|
|
|
import {applicantlist,onsiteTypelist,processStatuslist} from "@/const/dict/commondict"; |
|
|
|
import { applicantlist, onsiteTypelist, processStatuslist } from "@/const/dict/commondict"; |
|
|
|
import {crowdlist,homecrowdlist,myClaim, myApply, myPublish,checkupTester} from "@/api/crowdsource/crowdsource"; |
|
|
|
import { crowdlist, homecrowdlist, myClaim, myApply, myPublish, checkupTester } from "@/api/crowdsource/crowdsource"; |
|
|
|
import CrowdsourceTask from "../../common/CrowdsourceTask"; |
|
|
|
import CrowdsourceTask from "../../common/CrowdsourceTask"; |
|
|
|
import mixin from '@/mixin/index.js' |
|
|
|
import mixin from '@/mixin/index.js' |
|
|
|
import reviewDialogVue from '@/page/common/reviewDialog.vue' |
|
|
|
import reviewDialogVue from '@/page/common/reviewDialog.vue' |
|
|
|
export default{ |
|
|
|
export default { |
|
|
|
mixins: [mixin], |
|
|
|
mixins: [mixin], |
|
|
|
data(){ |
|
|
|
data() { |
|
|
|
return{ |
|
|
|
return { |
|
|
|
activeName: 'myPublish', |
|
|
|
activeName: 'myPublish', |
|
|
|
resultOpen:false, |
|
|
|
resultOpen: false, |
|
|
|
crowdmol:'myPublish', |
|
|
|
crowdmol: 'myPublish', |
|
|
|
crowdData:[], |
|
|
|
crowdData: [], |
|
|
|
task:null, |
|
|
|
task: null, |
|
|
|
// currentPage:'1', |
|
|
|
// currentPage:'1', |
|
|
|
loading: false, |
|
|
|
loading: false, |
|
|
|
myClaimShow: true, |
|
|
|
myClaimShow: true, |
|
|
|
// companyStatus: 0, |
|
|
|
// companyStatus: 0, |
|
|
|
// testerStatus: 0, |
|
|
|
// testerStatus: 0, |
|
|
|
processStatuslist,//任务状态 |
|
|
|
processStatuslist,//任务状态 |
|
|
|
// 总条数 |
|
|
|
// 总条数 |
|
|
|
total: 0, |
|
|
|
total: 0, |
|
|
|
// 查询参数 |
|
|
|
// 查询参数 |
|
|
|
queryParams: { |
|
|
|
queryParams: { |
|
|
|
pageNum: 1, |
|
|
|
pageNum: 1, |
|
|
|
pageSize: 10, |
|
|
|
pageSize: 10, |
|
|
|
taskStatus:undefined, |
|
|
|
taskStatus: undefined, |
|
|
|
processStatus:undefined |
|
|
|
processStatus: undefined |
|
|
|
}, |
|
|
|
}, |
|
|
|
ispass:'', |
|
|
|
ispass: '', |
|
|
|
currenttsk:null, |
|
|
|
currenttsk: null, |
|
|
|
isdown:false |
|
|
|
isdown: false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
computed: { |
|
|
|
|
|
|
|
...mapGetters(['testtypelist', 'feescopelist', 'companyStatus', 'testerStatus', 'userinform']) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
components: { CrowdsourceTask, reviewDialogVue }, |
|
|
|
|
|
|
|
watch: { |
|
|
|
|
|
|
|
// $route: { |
|
|
|
|
|
|
|
// handler(oldval,newval) { |
|
|
|
|
|
|
|
// let tabtype=oldval.query.tabtype |
|
|
|
|
|
|
|
// if(tabtype&&tabtype==1){ |
|
|
|
|
|
|
|
// this.crowdmol='myApply' |
|
|
|
|
|
|
|
// this.listMyApply(); |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// immediate: true, |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
mounted() { |
|
|
|
|
|
|
|
// this.companyStatus = store.getters.companyStatus; |
|
|
|
|
|
|
|
// this.testerStatus = store.getters.testerStatus; |
|
|
|
|
|
|
|
// let tabtype=this.$route.query.tabtype; |
|
|
|
|
|
|
|
// if(tabtype&&tabtype==1){ |
|
|
|
|
|
|
|
// this.crowdmol='myApply' |
|
|
|
|
|
|
|
// this.listMyApply(); |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// if (this.companyStatus == 2 && this.testerStatus !=2) { |
|
|
|
|
|
|
|
// this.myClaimShow = false; |
|
|
|
|
|
|
|
// // if (store.getters.activeName == 'myPublish' || store.getters.activeName == 'myClaim' || store.getters.activeName == 'myApply') |
|
|
|
|
|
|
|
// // this.activeName = store.getters.activeName; |
|
|
|
|
|
|
|
// // else |
|
|
|
|
|
|
|
// // this.activeName = 'myPublish'; |
|
|
|
|
|
|
|
// } else { |
|
|
|
|
|
|
|
// // if (store.getters.activeName == 'myPublish' || store.getters.activeName == 'myClaim' || store.getters.activeName == 'myApply') |
|
|
|
|
|
|
|
// // this.activeName = store.getters.activeName; |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
this.showDataTypeChage('myPublish') |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
|
|
goDetail(id) { |
|
|
|
|
|
|
|
this.$router.push({ |
|
|
|
|
|
|
|
path: '/console/currentcrowd', |
|
|
|
|
|
|
|
query: { |
|
|
|
|
|
|
|
id: id, |
|
|
|
|
|
|
|
type: 'myPublish', |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
refreshFn() { |
|
|
|
...mapGetters(['testtypelist','feescopelist','companyStatus','testerStatus','userinform']) |
|
|
|
this.listMyPublish() |
|
|
|
}, |
|
|
|
}, |
|
|
|
components:{CrowdsourceTask, reviewDialogVue}, |
|
|
|
oneReview(id) { |
|
|
|
watch:{ |
|
|
|
this.$refs.reviewDialogVuer.dialogVisible = true |
|
|
|
// $route: { |
|
|
|
this.$refs.reviewDialogVuer.taskId = id |
|
|
|
// handler(oldval,newval) { |
|
|
|
this.$refs.reviewDialogVuer.appraisee = 'one' |
|
|
|
// let tabtype=oldval.query.tabtype |
|
|
|
|
|
|
|
// if(tabtype&&tabtype==1){ |
|
|
|
|
|
|
|
// this.crowdmol='myApply' |
|
|
|
|
|
|
|
// this.listMyApply(); |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// immediate: true, |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted(){ |
|
|
|
findByvalue, |
|
|
|
// this.companyStatus = store.getters.companyStatus; |
|
|
|
findLabelValueByProp, |
|
|
|
// this.testerStatus = store.getters.testerStatus; |
|
|
|
handleClick(tab) { |
|
|
|
// let tabtype=this.$route.query.tabtype; |
|
|
|
this.crowdmol = tab.name |
|
|
|
// if(tabtype&&tabtype==1){ |
|
|
|
this.showDataTypeChage(tab.name) |
|
|
|
// this.crowdmol='myApply' |
|
|
|
|
|
|
|
// this.listMyApply(); |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// if (this.companyStatus == 2 && this.testerStatus !=2) { |
|
|
|
|
|
|
|
// this.myClaimShow = false; |
|
|
|
|
|
|
|
// // if (store.getters.activeName == 'myPublish' || store.getters.activeName == 'myClaim' || store.getters.activeName == 'myApply') |
|
|
|
|
|
|
|
// // this.activeName = store.getters.activeName; |
|
|
|
|
|
|
|
// // else |
|
|
|
|
|
|
|
// // this.activeName = 'myPublish'; |
|
|
|
|
|
|
|
// } else { |
|
|
|
|
|
|
|
// // if (store.getters.activeName == 'myPublish' || store.getters.activeName == 'myClaim' || store.getters.activeName == 'myApply') |
|
|
|
|
|
|
|
// // this.activeName = store.getters.activeName; |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
this.showDataTypeChage('myPublish') |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
showDataTypeChage(val) { |
|
|
|
goDetail(id) { |
|
|
|
if (val == 'myApply') { |
|
|
|
this.$router.push({ |
|
|
|
|
|
|
|
path: '/console/currentcrowd', |
|
|
|
this.listMyApply(); |
|
|
|
query: { |
|
|
|
} |
|
|
|
id: id, |
|
|
|
else if (val == 'myPublish') { |
|
|
|
type: 'myPublish', |
|
|
|
this.listMyPublish(); |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
else if (val == 'myClaim') { |
|
|
|
}, |
|
|
|
this.listMyClaim(); |
|
|
|
refreshFn() { |
|
|
|
} |
|
|
|
this.listMyPublish() |
|
|
|
else if (val == 'tobeExpired') { |
|
|
|
}, |
|
|
|
this.listTobeExpired(); |
|
|
|
oneReview(id) { |
|
|
|
} |
|
|
|
this.$refs.reviewDialogVuer.dialogVisible = true |
|
|
|
else if (val == 'allTask') { |
|
|
|
this.$refs.reviewDialogVuer.taskId = id |
|
|
|
this.listAllTask(); |
|
|
|
this.$refs.reviewDialogVuer.appraisee = 'one' |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
findByvalue, |
|
|
|
//众包发布申请 |
|
|
|
findLabelValueByProp, |
|
|
|
listMyApply() { |
|
|
|
handleClick(tab) { |
|
|
|
this.loading = true; |
|
|
|
this.crowdmol = tab.name |
|
|
|
myApply(this.queryParams).then(response => { |
|
|
|
this.showDataTypeChage(tab.name) |
|
|
|
this.crowdData = response.rows; |
|
|
|
|
|
|
|
this.total = response.total; |
|
|
|
}, |
|
|
|
this.loading = false; |
|
|
|
showDataTypeChage(val){ |
|
|
|
}) |
|
|
|
if (val == 'myApply'){ |
|
|
|
}, |
|
|
|
|
|
|
|
// 我发布的任务 |
|
|
|
this.listMyApply(); |
|
|
|
listMyPublish() { |
|
|
|
} |
|
|
|
this.loading = true; |
|
|
|
else if (val == 'myPublish'){ |
|
|
|
myPublish(this.queryParams).then(response => { |
|
|
|
this.listMyPublish(); |
|
|
|
this.crowdData = response.rows; |
|
|
|
} |
|
|
|
this.crowdData.forEach(item => { |
|
|
|
else if (val == 'myClaim'){ |
|
|
|
item.processStatus = item.processStatus + '' |
|
|
|
this.listMyClaim(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else if (val == 'tobeExpired'){ |
|
|
|
|
|
|
|
this.listTobeExpired(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else if (val == 'allTask'){ |
|
|
|
|
|
|
|
this.listAllTask(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//众包发布申请 |
|
|
|
|
|
|
|
listMyApply() { |
|
|
|
|
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
myApply(this.queryParams).then(response => { |
|
|
|
|
|
|
|
this.crowdData = response.rows; |
|
|
|
|
|
|
|
this.total = response.total; |
|
|
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 我发布的任务 |
|
|
|
|
|
|
|
listMyPublish() { |
|
|
|
|
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
myPublish(this.queryParams).then(response => { |
|
|
|
|
|
|
|
this.crowdData = response.rows; |
|
|
|
|
|
|
|
this.crowdData.forEach(item=>{ |
|
|
|
|
|
|
|
item.processStatus=item.processStatus+'' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
this.total = response.total; |
|
|
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//我应征成功的任务 |
|
|
|
|
|
|
|
listMyClaim() { |
|
|
|
|
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
myClaim(this.queryParams,this.userinform.userId).then(response => { |
|
|
|
|
|
|
|
this.crowdData = response.rows; |
|
|
|
|
|
|
|
this.total = response.total; |
|
|
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 即将到期的任务 |
|
|
|
|
|
|
|
listTobeExpired(){ |
|
|
|
|
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
this.queryParams.queryType = 1; |
|
|
|
|
|
|
|
homecrowdlist(this.queryParams).then(response => { |
|
|
|
|
|
|
|
this.crowdData = response.rows; |
|
|
|
|
|
|
|
this.total = response.total; |
|
|
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 所有任务 |
|
|
|
|
|
|
|
listAllTask(){ |
|
|
|
|
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
this.queryParams.queryType = 2; |
|
|
|
|
|
|
|
homecrowdlist(this.queryParams).then(response => { |
|
|
|
|
|
|
|
this.crowdData = response.rows; |
|
|
|
|
|
|
|
this.total = response.total; |
|
|
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//当前页码 |
|
|
|
|
|
|
|
handleCurrentChange(val) { |
|
|
|
|
|
|
|
this.queryParams.pageNum=val; |
|
|
|
|
|
|
|
this.showDataTypeChage(this.crowdmol) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 重新发布 |
|
|
|
|
|
|
|
publishTask(task) { |
|
|
|
|
|
|
|
this.task = task; |
|
|
|
|
|
|
|
this.$router.push(`/console/edittasks?applyId=${task.applyId}`) |
|
|
|
|
|
|
|
// this.$refs.crowdsourceTask.openDialog(task); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//下载测试报告 |
|
|
|
|
|
|
|
downloadFile() { |
|
|
|
|
|
|
|
if(this.currenttsk.resultAttach&&this.currenttsk.resultAttach.indexOf('https://www.keyitest.cn')==0){ |
|
|
|
|
|
|
|
window.location.href=this.currenttsk.resultAttach |
|
|
|
|
|
|
|
this.isdown=true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// const loading = this.$loading({ |
|
|
|
|
|
|
|
// lock: true, |
|
|
|
|
|
|
|
// text: '正在下载,请稍后...', |
|
|
|
|
|
|
|
// spinner: 'el-icon-loading', |
|
|
|
|
|
|
|
// background: 'rgba(0, 0, 0, 0.7)' |
|
|
|
|
|
|
|
// }); |
|
|
|
|
|
|
|
// downloadHttp(fileid) |
|
|
|
|
|
|
|
// let fileUrl=`http://test.console.lovecode.cc/prod-api/common/download/fast?filePath=${fileid}&delete=false` |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// downloadFast(fileid,loading); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
openresult(row){ |
|
|
|
|
|
|
|
this.currenttsk=row |
|
|
|
|
|
|
|
this.resultOpen=true |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 验收实施结果 |
|
|
|
|
|
|
|
querepeo(){ |
|
|
|
|
|
|
|
// if(!this.isdown){ |
|
|
|
|
|
|
|
// this.$message.warning('请先查看验收结果') |
|
|
|
|
|
|
|
// return; |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
let data={ |
|
|
|
|
|
|
|
taskId:this.currenttsk.taskId, |
|
|
|
|
|
|
|
testerId:this.userinform.userId, |
|
|
|
|
|
|
|
processStatus:parseInt(this.ispass) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// return; |
|
|
|
|
|
|
|
checkupTester(data).then(res=>{ |
|
|
|
|
|
|
|
this.resultOpen=false |
|
|
|
|
|
|
|
this.isdown=false |
|
|
|
|
|
|
|
this.listMyPublish(); |
|
|
|
|
|
|
|
this.$message.success('验收完成') |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
this.total = response.total; |
|
|
|
//重置 |
|
|
|
this.loading = false; |
|
|
|
resetQuery() { |
|
|
|
}) |
|
|
|
// this.dateRange = []; |
|
|
|
}, |
|
|
|
this.resetForm("queryForm"); |
|
|
|
//我应征成功的任务 |
|
|
|
this.queryParams.pageNum=1 |
|
|
|
listMyClaim() { |
|
|
|
this.showDataTypeChage(this.crowdmol) |
|
|
|
this.loading = true; |
|
|
|
// this.listAllTask(); |
|
|
|
// |
|
|
|
}, |
|
|
|
myClaim(this.queryParams, this.userinform.userId).then(response => { |
|
|
|
fabuFn() { |
|
|
|
this.crowdData = response.rows; |
|
|
|
this.$router.push('/console/edittasksFB') |
|
|
|
this.total = response.total; |
|
|
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 即将到期的任务 |
|
|
|
|
|
|
|
listTobeExpired() { |
|
|
|
|
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
this.queryParams.queryType = 1; |
|
|
|
|
|
|
|
homecrowdlist(this.queryParams).then(response => { |
|
|
|
|
|
|
|
this.crowdData = response.rows; |
|
|
|
|
|
|
|
this.total = response.total; |
|
|
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 所有任务 |
|
|
|
|
|
|
|
listAllTask() { |
|
|
|
|
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
this.queryParams.queryType = 2; |
|
|
|
|
|
|
|
homecrowdlist(this.queryParams).then(response => { |
|
|
|
|
|
|
|
this.crowdData = response.rows; |
|
|
|
|
|
|
|
this.total = response.total; |
|
|
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//当前页码 |
|
|
|
|
|
|
|
handleCurrentChange(val) { |
|
|
|
|
|
|
|
this.queryParams.pageNum = val; |
|
|
|
|
|
|
|
this.showDataTypeChage(this.crowdmol) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 重新发布 |
|
|
|
|
|
|
|
publishTask(task) { |
|
|
|
|
|
|
|
this.task = task; |
|
|
|
|
|
|
|
this.$router.push(`/console/edittasks?applyId=${task.applyId}`) |
|
|
|
|
|
|
|
// this.$refs.crowdsourceTask.openDialog(task); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//下载测试报告 |
|
|
|
|
|
|
|
downloadFile() { |
|
|
|
|
|
|
|
if (this.currenttsk.resultAttach && this.currenttsk.resultAttach.indexOf('https://www.keyitest.cn') == 0) { |
|
|
|
|
|
|
|
window.location.href = this.currenttsk.resultAttach |
|
|
|
|
|
|
|
this.isdown = true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// const loading = this.$loading({ |
|
|
|
|
|
|
|
// lock: true, |
|
|
|
|
|
|
|
// text: '正在下载,请稍后...', |
|
|
|
|
|
|
|
// spinner: 'el-icon-loading', |
|
|
|
|
|
|
|
// background: 'rgba(0, 0, 0, 0.7)' |
|
|
|
|
|
|
|
// }); |
|
|
|
|
|
|
|
// downloadHttp(fileid) |
|
|
|
|
|
|
|
// let fileUrl=`http://test.console.lovecode.cc/prod-api/common/download/fast?filePath=${fileid}&delete=false` |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// downloadFast(fileid,loading); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
openresult(row) { |
|
|
|
|
|
|
|
this.currenttsk = row |
|
|
|
|
|
|
|
this.resultOpen = true |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 验收实施结果 |
|
|
|
|
|
|
|
querepeo() { |
|
|
|
|
|
|
|
// if(!this.isdown){ |
|
|
|
|
|
|
|
// this.$message.warning('请先查看验收结果') |
|
|
|
|
|
|
|
// return; |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
let data = { |
|
|
|
|
|
|
|
taskId: this.currenttsk.taskId, |
|
|
|
|
|
|
|
testerId: this.userinform.userId, |
|
|
|
|
|
|
|
processStatus: parseInt(this.ispass) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// return; |
|
|
|
|
|
|
|
checkupTester(data).then(res => { |
|
|
|
|
|
|
|
this.resultOpen = false |
|
|
|
|
|
|
|
this.isdown = false |
|
|
|
|
|
|
|
this.listMyPublish(); |
|
|
|
|
|
|
|
this.$message.success('验收完成') |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//重置 |
|
|
|
|
|
|
|
resetQuery() { |
|
|
|
|
|
|
|
// this.dateRange = []; |
|
|
|
|
|
|
|
this.resetForm("queryForm"); |
|
|
|
|
|
|
|
this.queryParams.pageNum = 1 |
|
|
|
|
|
|
|
this.showDataTypeChage(this.crowdmol) |
|
|
|
|
|
|
|
// this.listAllTask(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
fabuFn() { |
|
|
|
|
|
|
|
this.$router.push('/console/edittasksFB') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
<style scoped> |
|
|
|
<style scoped> |
|
|
|
.fabubtn { |
|
|
|
.fabubtn { |
|
|
@ -456,90 +485,109 @@ |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
} |
|
|
|
.dvied{ |
|
|
|
|
|
|
|
width: 4px; |
|
|
|
.dvied { |
|
|
|
height: 18px; |
|
|
|
width: 4px; |
|
|
|
background: #0066EB; |
|
|
|
height: 18px; |
|
|
|
} |
|
|
|
background: #0066EB; |
|
|
|
.crowdnum>>>.el-radio-button__inner{ |
|
|
|
} |
|
|
|
background:#ebebed; |
|
|
|
|
|
|
|
border:none; |
|
|
|
.crowdnum>>>.el-radio-button__inner { |
|
|
|
margin-right:20px; |
|
|
|
background: #ebebed; |
|
|
|
color: #4D4D4D; |
|
|
|
border: none; |
|
|
|
display:flex; |
|
|
|
margin-right: 20px; |
|
|
|
align-items: center; |
|
|
|
color: #4D4D4D; |
|
|
|
/* font-weight:bold; */ |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
align-items: center; |
|
|
|
.crowdnum>>>.el-radio-button:first-child .el-radio-button__inner{ |
|
|
|
/* font-weight:bold; */ |
|
|
|
border-radius:0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.crowdnum>>>.el-radio-button:last-child .el-radio-button__inner{ |
|
|
|
.crowdnum>>>.el-radio-button:first-child .el-radio-button__inner { |
|
|
|
border-radius:0; |
|
|
|
border-radius: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
.crowdnum>>>.el-table th{ |
|
|
|
|
|
|
|
background-color:#F7F7F7; |
|
|
|
.crowdnum>>>.el-radio-button:last-child .el-radio-button__inner { |
|
|
|
color:#666666; |
|
|
|
border-radius: 0; |
|
|
|
text-align:center; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.crowdnum>>>.el-table td{ |
|
|
|
.crowdnum>>>.el-table th { |
|
|
|
/* text-align:center; */ |
|
|
|
background-color: #F7F7F7; |
|
|
|
background-color:#FFFFFF; |
|
|
|
color: #666666; |
|
|
|
height:60px; |
|
|
|
text-align: center; |
|
|
|
color:#333333; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.crowdnum>>>.el-table--border th{ |
|
|
|
.crowdnum>>>.el-table td { |
|
|
|
border-right:#F7F7F7 |
|
|
|
/* text-align:center; */ |
|
|
|
} |
|
|
|
background-color: #FFFFFF; |
|
|
|
.baseinfo>>>.el-button{ |
|
|
|
height: 60px; |
|
|
|
width:90px; |
|
|
|
color: #333333; |
|
|
|
height:30px; |
|
|
|
} |
|
|
|
background: #0066EB; |
|
|
|
|
|
|
|
border-radius: 4px; |
|
|
|
.crowdnum>>>.el-table--border th { |
|
|
|
margin-left:20px; |
|
|
|
border-right: #F7F7F7 |
|
|
|
color:#FFFFFF; |
|
|
|
} |
|
|
|
margin-top:5px; |
|
|
|
|
|
|
|
line-height:9px; |
|
|
|
.baseinfo>>>.el-button { |
|
|
|
} |
|
|
|
width: 90px; |
|
|
|
.tooldialog>>>.el-divider--horizontal{ |
|
|
|
height: 30px; |
|
|
|
margin:-20px 0 10px 0; |
|
|
|
background: #0066EB; |
|
|
|
} |
|
|
|
border-radius: 4px; |
|
|
|
.tooldialog>>>.el-dialog__title{ |
|
|
|
margin-left: 20px; |
|
|
|
font-weight:bold; |
|
|
|
color: #FFFFFF; |
|
|
|
color: #0969bd |
|
|
|
margin-top: 5px; |
|
|
|
} |
|
|
|
line-height: 9px; |
|
|
|
.tagcls>>>.el-tag--small{ |
|
|
|
} |
|
|
|
width:65px; |
|
|
|
|
|
|
|
} |
|
|
|
.tooldialog>>>.el-divider--horizontal { |
|
|
|
.el-tag{ |
|
|
|
margin: -20px 0 10px 0; |
|
|
|
width:80px!important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.crowdnum>>>.el-tabs--border-card{ |
|
|
|
.tooldialog>>>.el-dialog__title { |
|
|
|
background:transparent; |
|
|
|
font-weight: bold; |
|
|
|
border:none; |
|
|
|
color: #0969bd |
|
|
|
box-shadow:none; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.crowdnum>>>.el-tabs--border-card>.el-tabs__header .el-tabs__item{ |
|
|
|
.tagcls>>>.el-tag--small { |
|
|
|
border:none; |
|
|
|
width: 65px; |
|
|
|
color:#1A1A1A; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.crowdnum>>>.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{ |
|
|
|
.el-tag { |
|
|
|
color: #0066EB; |
|
|
|
/* width: 80px !important; */ |
|
|
|
/* font-size: 16px; */ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.crowdnum>>>.el-tabs--border-card>.el-tabs__content{ |
|
|
|
.crowdnum>>>.el-tabs--border-card { |
|
|
|
padding: 0 0; |
|
|
|
background: transparent; |
|
|
|
overflow: unset; |
|
|
|
border: none; |
|
|
|
} |
|
|
|
box-shadow: none; |
|
|
|
.crowdnum>>>.el-tabs--border-card>.el-tabs__header{ |
|
|
|
} |
|
|
|
border:none; |
|
|
|
|
|
|
|
background-color:#F7F7F7; |
|
|
|
.crowdnum>>>.el-tabs--border-card>.el-tabs__header .el-tabs__item { |
|
|
|
/* color:#1A1A1A */ |
|
|
|
border: none; |
|
|
|
} |
|
|
|
color: #1A1A1A; |
|
|
|
.crowdnum>>>.el-tabs__item { |
|
|
|
} |
|
|
|
height: 45px; |
|
|
|
|
|
|
|
line-height: 45px; |
|
|
|
.crowdnum>>>.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active { |
|
|
|
} |
|
|
|
color: #0066EB; |
|
|
|
.crowdnum { |
|
|
|
/* font-size: 16px; */ |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.crowdnum>>>.el-tabs--border-card>.el-tabs__content { |
|
|
|
|
|
|
|
padding: 0 0; |
|
|
|
|
|
|
|
overflow: unset; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.crowdnum>>>.el-tabs--border-card>.el-tabs__header { |
|
|
|
|
|
|
|
border: none; |
|
|
|
|
|
|
|
background-color: #F7F7F7; |
|
|
|
|
|
|
|
/* color:#1A1A1A */ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.crowdnum>>>.el-tabs__item { |
|
|
|
|
|
|
|
height: 45px; |
|
|
|
|
|
|
|
line-height: 45px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.crowdnum { |
|
|
|
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |