Browse Source

任务进度情况详情

luckysheet-xiaowang-Intelligen
是小王呀\24601 10 months ago
parent
commit
a333e168df
  1. 11
      src/views/modules/base/smartExcel/cpts/excel-info.vue
  2. 64
      src/views/modules/base/smartExcel/cpts/excel-summary.vue

11
src/views/modules/base/smartExcel/cpts/excel-info.vue

@ -80,7 +80,7 @@
<el-button @click=" handleInfo(scope.row)" type="text" size="small">{{ scope.row.resolveNum <el-button @click=" handleInfo(scope.row)" type="text" size="small">{{ scope.row.resolveNum
}}/{{ scope.row.taskNum }}/{{ scope.row.taskNum
}}</el-button> }}</el-button>
<el-button @click="handelClickShowSummary()" type="text" size="small">查看</el-button> <el-button @click="handelClickShowSummary(scope.row)" type="text" size="small">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -88,7 +88,7 @@
</div> </div>
<div v-if="showSummary" style="width: 100%;background: #ffffff;"> <div v-if="showSummary" style="width: 100%;background: #ffffff;">
<excel-summary @close="closeSummary"></excel-summary> <excel-summary @close="closeSummary" :summaryDetal=summaryDetal></excel-summary>
</div> </div>
<div class=''> <div class=''>
<el-dialog title="调整接收人员" v-if="showPersonel" :visible.sync="showPersonel" width="50%" :close-on-click-modal="false"> <el-dialog title="调整接收人员" v-if="showPersonel" :visible.sync="showPersonel" width="50%" :close-on-click-modal="false">
@ -113,7 +113,8 @@ export default {
showSummary:false, showSummary:false,
formData:{ formData:{
}, },
tableData:[] tableData:[],
summaryDetal:{}
}; };
}, },
created() {}, created() {},
@ -145,8 +146,10 @@ export default {
this.showType=value this.showType=value
this.showPersonel=true this.showPersonel=true
}, },
handelClickShowSummary(){ handelClickShowSummary(value){
console.log(value,"dslkjlksdf");
this.showSummary = true this.showSummary = true
this.summaryDetal=value
}, },
closeSummary(){ closeSummary(){
this.showSummary = false; this.showSummary = false;

64
src/views/modules/base/smartExcel/cpts/excel-summary.vue

@ -14,7 +14,7 @@
<div class="flex-wrap flex"> <div class="flex-wrap flex">
<div class="item flex flex-y flex-center-deputy" v-for="(item, index) in list" @click="handleClickShowView('879729047646941185')" :key="index"> <div class="item flex flex-y flex-center-deputy" v-for="(item, index) in list" @click="handleClickShowView('879729047646941185')" :key="index">
<img :src="require(`@/assets/images/index/Excel.png`)" alt=""> <img :src="require(`@/assets/images/index/Excel.png`)" alt="">
<div class="agencyName">{{ item.title }}周期更新表</div> <div class="agencyName">{{ item.taskTitle }}周期更新表</div>
<div>{{ item.state }}</div> <div>{{ item.state }}</div>
</div> </div>
</div> </div>
@ -27,52 +27,38 @@
<script> <script>
import excelView from "./excel-view.vue"; import excelView from "./excel-view.vue";
import { requestPost } from "@/js/dai/request"; import { requestPost, requestGet } from "@/js/dai/request";
export default { export default {
data() { data() {
return { return {
showView: false, showView: false,
list: [ list: [
{
title: '嘉定山社区',
state: '未提交'
},
{
title: '嘉定山社区',
state: '未提交'
},
{
title: '嘉定山社区',
state: '未提交'
},
{
title: '嘉定山社区',
state: '未提交'
},
{
title: '嘉定山社区',
state: '未提交'
},
{
title: '嘉定山社区',
state: '未提交'
},
{
title: '嘉定山社区',
state: '未提交'
},
{
title: '嘉定山社区',
state: '未提交'
},
], ],
workbookId:'', workbookId:'',
sheetTotal:false sheetTotal:false
}; };
}, },
created() { }, created() {
},
async mounted(){
console.log(this.summaryDetal,"dsalkjdlfks");
this.getTableList()
},
methods: { methods: {
async getTableList(){
let url = '/actual/base/communityOneTablePeriodPublish/page'
let params = {
taskId:this.summaryDetal.taskId,
pageSize:100,
pageNo:1,
taskNum:1
}
let {code,msg,data} = await requestGet(url,params)
if(code === 0){
this.list = data.list
}
},
close() { close() {
this.showView = false this.showView = false
}, },
@ -89,6 +75,12 @@ export default {
components: { excelView }, components: { excelView },
computed: { computed: {
},
props: {
summaryDetal: {
type: Object,
default: ""
},
}, },
watch: {}, watch: {},
} }

Loading…
Cancel
Save