-
-
特殊设备总数
+
+ 特种设备总数
{{ specialEquipNum }}
@@ -56,12 +55,7 @@
-
+
@@ -82,23 +76,121 @@
-
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ hideSensitiveInfo(scope.row.phone) }}
+ -
+
+
+
+
+
+
+ {{ hideSensitiveInfo(scope.row.idCard) }}
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -171,7 +329,9 @@ export default {
width: 100%;
height: 30%;
margin-bottom: 20px;
- display: flex;margin-top: 20px;justify-content: space-around;
+ display: flex;
+ margin-top: 20px;
+ justify-content: space-around;
&:last-child {
margin-bottom: 0;
}
@@ -203,7 +363,7 @@ export default {
display: flex;
justify-content: center;
align-items: flex-start;
- font-family: sans-serif
+ font-family: sans-serif;
}
.p2 {
@@ -211,7 +371,7 @@ export default {
display: flex;
justify-content: center;
align-items: flex-start;
- font-family: sans-serif
+ font-family: sans-serif;
}
.p3 {
@@ -219,14 +379,14 @@ export default {
display: flex;
justify-content: center;
align-items: flex-start;
- font-family: sans-serif
+ font-family: sans-serif;
}
.p4 {
background: linear-gradient(to bottom, #eee2fb, #fff);
display: flex;
justify-content: center;
align-items: flex-start;
- font-family: sans-serif
+ font-family: sans-serif;
}
.p5 {
@@ -234,7 +394,7 @@ export default {
display: flex;
justify-content: center;
align-items: flex-start;
- font-family: sans-serif
+ font-family: sans-serif;
}
.title {
@@ -253,11 +413,10 @@ export default {
margin-left: 15px;
font-size: 30px;
}
-.hhh{
+.hhh {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-content: flex-start;
}
-
diff --git a/src/views/pro/apply/list/equipList.vue b/src/views/pro/apply/list/equipList.vue
index d8d4fef..b83ce99 100644
--- a/src/views/pro/apply/list/equipList.vue
+++ b/src/views/pro/apply/list/equipList.vue
@@ -46,18 +46,13 @@
- 查看
-
+ 查看
-
+
-
@@ -119,13 +112,12 @@ export default {
pageNum: 1,
pageSize: 10,
equipName: undefined,
- type: '列表'
+ type: '列表',
},
// 表单参数
form: {},
// 表单校验
- rules: {}
-
+ rules: {},
}
},
created() {
@@ -153,7 +145,7 @@ export default {
reset() {
this.form = {
equipName: undefined,
- postSort: 0
+ postSort: 0,
}
this.resetForm('form')
},
@@ -190,7 +182,7 @@ export default {
this.fileList = response.fileList
this.loading = false
})
- }
- }
+ },
+ },
}
diff --git a/src/views/pro/projectManagement/constructionPro/index.vue b/src/views/pro/projectManagement/constructionPro/index.vue
index 56d87f9..ce0817a 100644
--- a/src/views/pro/projectManagement/constructionPro/index.vue
+++ b/src/views/pro/projectManagement/constructionPro/index.vue
@@ -7,7 +7,8 @@
placeholder="请输入工程名称"
maxlength="60"
show-word-limit
- clearable v-no-whitespace
+ clearable
+ v-no-whitespace
@keyup.enter.native="handleQuery"
/>
@@ -17,36 +18,34 @@
placeholder="请输入工程负责人姓名"
maxlength="20"
show-word-limit
- clearable v-no-whitespace
+ clearable
+ v-no-whitespace
@keyup.enter.native="handleQuery"
/>
-
+
-
+
-
+
-
+
搜索
重置
导出数据
+ >
+ 导出数据
-
-
+
-
-
-
+
+
+
@@ -75,12 +79,12 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
基础信息
+ >
+ 基础信息
监理信息
- 承包商信息
+ >
+ 监理信息
+ 承包商信息
+
+ 工程资料
+ >
+ 工程资料
diff --git a/src/views/pro/projectManagement/outsourcingPro/index.vue b/src/views/pro/projectManagement/outsourcingPro/index.vue
index 0791053..9eb2db0 100644
--- a/src/views/pro/projectManagement/outsourcingPro/index.vue
+++ b/src/views/pro/projectManagement/outsourcingPro/index.vue
@@ -7,7 +7,8 @@
placeholder="请输入工程名称"
maxlength="60"
show-word-limit
- clearable v-no-whitespace
+ clearable
+ v-no-whitespace
@keyup.enter.native="handleQuery"
/>
@@ -17,35 +18,34 @@
placeholder="请输入工程负责人姓名"
maxlength="20"
show-word-limit
- clearable v-no-whitespace
+ clearable
+ v-no-whitespace
@keyup.enter.native="handleQuery"
/>
-
+
-
+
-
+
-
+
搜索
重置
导出数据
-
+ >
+ 导出数据
+
-
+
-
+
-
+
{{ hideSensitiveInfo(scope.row.proLeaderPhone) }}
@@ -77,7 +84,7 @@
-
+
基础信息
-
-
-
-
-
-
-
+ >
+ 基础信息
+
+
+
+
+
+
+
+
承包商信息
+ >
+ 承包商信息
+
工程资料
+ >
+ 工程资料
+
import { hideSensitiveInfo, indexContinuous } from '@/utils/bonus'
-import { listPost } from "@/api/pro/outsourcingPro";
-import { dictTableOption} from "@/api/tool/select";
-
+import { listPost } from '@/api/pro/outsourcingPro'
+import { dictTableOption } from '@/api/tool/select'
export default {
- name: "Post",
+ name: 'Post',
data() {
return {
// 遮罩层
@@ -145,7 +157,7 @@ export default {
//工程状态下拉选
proStatusDict: [],
// 弹出层标题
- title: "",
+ title: '',
// 是否显示弹出层
open: false,
createTime: undefined,
@@ -158,13 +170,13 @@ export default {
proType: undefined,
proStatus: undefined,
startDate: undefined,
- endDate: undefined
+ endDate: undefined,
},
// 表单参数
form: {},
// 表单校验
- rules: {}
- };
+ rules: {},
+ }
},
created() {
this.getList()
@@ -175,60 +187,60 @@ export default {
indexContinuous,
hideSensitiveInfo,
//判断是否选择工程创建时间
- judgeTime(){
- if (this.createTime !== undefined){
- this.queryParams.startDate = this.createTime[0];
- this.queryParams.endDate = this.createTime[1];
+ judgeTime() {
+ if (this.createTime !== undefined) {
+ this.queryParams.startDate = this.createTime[0]
+ this.queryParams.endDate = this.createTime[1]
}
},
/** 查询工程列表 */
getList() {
- this.loading = true;
- this.judgeTime();
+ this.loading = true
+ this.judgeTime()
this.queryParams.isOutsourcing = '1'
listPost(this.queryParams).then(response => {
- this.proList = response.rows;
- this.total = response.total;
- this.loading = false;
- });
+ this.proList = response.rows
+ this.total = response.total
+ this.loading = false
+ })
},
//获取工程类型下拉选
getProType() {
const params = {
dictType: 'sys_pro_type',
- dictValue: ''
+ dictValue: '',
}
dictTableOption(params).then(response => {
- this.proTypeDict = response.data;
- });
+ this.proTypeDict = response.data
+ })
},
//获取工程状态下拉选
getProStatus() {
const params = {
dictType: 'sys_pro_status',
- dictValue: ''
+ dictValue: '',
}
dictTableOption(params).then(response => {
- this.proStatusDict = response.data;
- this.proStatusDict.splice(0,1)
- });
+ this.proStatusDict = response.data
+ this.proStatusDict.splice(0, 1)
+ })
},
//打开监理页面
openSupervisorInfoVue(row) {
- this.$router.push("/project/outsourcing-supervisor-auth/supervisorInfo/" + row.proId );
+ this.$router.push('/project/outsourcing-supervisor-auth/supervisorInfo/' + row.proId)
},
//打开承包商页面
- openConsTab(row){
- this.$router.push("/project/outsourcing-consDetailsInfo-auth/consInfo/" + row.proId );
+ openConsTab(row) {
+ this.$router.push('/project/outsourcing-consDetailsInfo-auth/consInfo/' + row.proId)
},
//打开工程资料页面
- handleProProfileView(row){
- this.$router.push("/project/outsourcing-pro-profile-auth/proProfile/" + row.proId );
+ handleProProfileView(row) {
+ this.$router.push('/project/outsourcing-pro-profile-auth/proProfile/' + row.proId)
},
// 取消按钮
cancel() {
- this.open = false;
- this.reset();
+ this.open = false
+ this.reset()
},
// 表单重置
reset() {
@@ -240,40 +252,57 @@ export default {
createPerson: undefined,
createTime: undefined,
postSort: 0,
- };
- this.resetForm("form");
+ }
+ this.resetForm('form')
},
/** 搜索按钮操作 */
handleQuery() {
- this.judgeTime();
- this.queryParams.pageNum = 1;
- this.getList();
+ this.judgeTime()
+ this.queryParams.pageNum = 1
+ this.getList()
},
/** 重置按钮操作 */
resetQuery() {
- this.resetForm("queryForm");
- this.queryParams.startDate = undefined;
- this.queryParams.endDate = undefined;
- this.createTime = undefined;
- this.handleQuery();
+ this.resetForm('queryForm')
+ this.queryParams.startDate = undefined
+ this.queryParams.endDate = undefined
+ this.createTime = undefined
+ this.handleQuery()
},
// 多选框选中数据
handleSelectionChange(selection) {
this.ids = selection.map(item => item.proId)
- this.single = selection.length!=1
+ this.single = selection.length != 1
this.multiple = !selection.length
},
/** 修改按钮操作 */
handleUpdate(row) {
- this.$router.push("/project/projectManagements/outsourcingPro/editOutsourcingPro/" + row.proId );
+ this.$router.push('/project/projectManagements/outsourcingPro/editOutsourcingPro/' + row.proId)
},
/** 导出按钮操作 */
handleExport() {
this.judgeTime()
- this.derive('project/outsourcingPro/export', {
- ...this.queryParams
- }, `外委外包工程.xlsx`)
- }
- }
-};
+ this.derive(
+ 'project/outsourcingPro/export',
+ {
+ ...this.queryParams,
+ },
+ `外委外包工程.xlsx`
+ )
+ },
+ },
+
+ // 监听路由的query参数
+ watch: {
+ $route: {
+ handler(to) {
+ if (to.query.proName) {
+ this.queryParams.proName = to.query.proName
+ }
+ },
+ deep: true,
+ immediate: true,
+ },
+ },
+}