You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
7.5 KiB
1 line
7.5 KiB
{"version":3,"sources":["webpack:///src/views/daily/page/src/views/daily/page/decorationManagementDetail.vue"],"names":[],"mappings":"AAuLA,KACA,uBAAA,CACA,cAAA,CACA,iBAAA,CACA,eAAA,CACA,gBAAA,CACA,gBACA","file":"chunk-46a9b591.e7aef91f.css","sourcesContent":["<template>\n <div>\n <FromCard style=\"marginTop:20px\">\n <template slot=\"title\">装修详情 <el-button @click=\"goback\">返回</el-button></template>\n <span style=\"fontSize:18px;color:#333333\" v-if=\"status\">{{status|capitalize}}</span>\n <el-row>\n <el-col :span=\"2\"></el-col>\n <el-col :span=\"12\"></el-col>\n </el-row>\n </FromCard>\n <FromCard style=\"marginTop:15px\">\n <template slot=\"title\">服务详情</template>\n <el-row>\n <el-col :span=\"2\"><span class=\"key\">申请业主</span></el-col>\n <el-col :span=\"5\" v-if=\"createName\">{{createName}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n <el-col :span=\"2\"><span class=\"key\">关联房屋</span></el-col>\n <el-col :span=\"5\" v-if=\"roomName\">{{roomName}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n </el-row>\n <el-row style=\"marginTop:15px\">\n <el-col :span=\"2\"><span class=\"key\">创建时间</span></el-col>\n <el-col :span=\"5\" v-if=\"createDate\">{{createDate}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n </el-row>\n </FromCard>\n <FromCard style=\"marginTop:15px\">\n <template slot=\"title\">装修公司信息</template>\n <el-row>\n <el-col :span=\"2\"><span class=\"key\">装修公司</span></el-col>\n <el-col :span=\"5\" v-if=\"constructionUnit\">{{constructionUnit}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n <el-col :span=\"2\"><span class=\"key\">联系方式</span></el-col>\n <el-col :span=\"5\" v-if=\"directorTel\">{{directorTel}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n </el-row>\n <el-row style=\"marginTop:15px\">\n <el-col :span=\"2\"><span class=\"key\">负责人</span></el-col>\n <el-col :span=\"5\" v-if=\"director\">{{director}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n <el-col :span=\"2\"><span class=\"key\">申请时间</span></el-col>\n <el-col :span=\"5\" v-if=\"createDate\">{{createDate}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n </el-row>\n </FromCard>\n <FromCard style=\"marginTop:20px\">\n <template slot=\"title\">工单检查情况</template>\n <el-card shadow=\"never\">\n <el-row style=\"marginTop:15px\">\n <el-col :span=\"2\"><span class=\"key\">工单检查人</span></el-col>\n <el-col :span=\"5\" v-if=\"trackerName\">{{trackerName}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n </el-row>\n </el-card>\n <el-card shadow=\"never\">\n <el-row style=\"marginTop:15px\">\n <el-col :span=\"2\"><span class=\"key\">完成情况</span></el-col>\n <el-col :span=\"5\" v-if=\"isQualified\">{{isQualified=1?'合格':\"不合格\"}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n </el-row>\n <el-row style=\"marginTop:15px\">\n </el-row>\n <el-row style=\"marginTop:15px\">\n <el-col :span=\"2\"><span class=\"key\">检查时间</span></el-col>\n <el-col :span=\"5\" v-if=\"applicationCheckDate\">{{applicationCheckDate}}</el-col>\n <el-col :span=\"5\" v-else>无</el-col>\n </el-row>\n </el-card>\n </FromCard>\n <FromCard style=\"marginTop:20px\">\n <template slot=\"title\">处理进程记录</template>\n <el-table :data=\"checkVoList\">\n <el-table-column\n prop=\"createDate\"\n label=\"操作时间\"\n width=\"180\">\n </el-table-column>\n <el-table-column\n prop=\"createName\"\n label=\"操作人\"\n width=\"180\">\n </el-table-column>\n <el-table-column\n prop=\"detail\"\n label=\"操作内容\"\n width=\"180\">\n </el-table-column>\n </el-table>\n </FromCard>\n \n </div>\n</template>\n\n<script>\nimport {userDecorationNewList} from '@/api/daily'\nexport default {\n // 过滤器过滤{{}}\n filters: {\n capitalize: function (value) {\n switch (value) {\n case 1:\n return '装修申请中'\n break;\n case 2:\n return '装修通过(装修中)'\n break;\n case 3:\n return '装修驳回'\n break;\n case 5:\n return '申请完工检查'\n break;\n case 6:\n return '检查通过'\n break;\n case 7:\n return '检查不通过'\n break;\n default:\n break;\n }\n }\n },\n data(){\n return{\n status:null,\n createName:null,\n roomName:null,\n createDate:null,\n constructionUnit:null,\n directorTel:null,\n director:null,\n trackerName:null,\n isQualified:null,\n applicationCheckDate:null,\n checkVoList:[]\n }\n },\n created(){\n // 获取路由query传过来的id 再用id去调用findbyid获取数据\n if(this.$route.query){\n console.log(this.$route.query.id);\n userDecorationNewList().then(res=>{\n console.log(res);\n res.tableList&&res.tableList.forEach(ele => {\n if(ele.id==this.$route.query.id){\n console.log(ele);\n this.status = ele.status\n this.createName = ele.createName\n this.roomName = ele.roomName\n this.createDate = ele.createDate\n this.constructionUnit = ele.constructionUnit\n this.directorTel = ele.directorTel\n this.director = ele.director\n this.trackerName = ele.trackerName\n this.isQualified = ele.isQualified\n this.applicationCheckDate = ele.applicationCheckDate\n this.checkVoList = ele.checkVoList\n \n }\n });\n })\n }\n },\n methods:{\n // 返回\n goback(){\n history.go(-1)\n },\n }\n}\n</script>\n\n<style>\n .key{\n font-family: PingFang SC;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n letter-spacing: 0px;\n }\n</style>"]} |