|
@@ -274,7 +274,6 @@
|
|
|
DelEngineeEngineeIndustry // 删除工程
|
|
|
} from "@/api/zdsz/engineeringIndustry"
|
|
|
import EngineePipe from "@/components/EngineePipe"
|
|
|
- import {addEnginee} from "@/api/zdsz/enginee";
|
|
|
|
|
|
export default {
|
|
|
name: "openrepair",
|
|
@@ -283,17 +282,6 @@
|
|
|
EngineePipe
|
|
|
},
|
|
|
data() {
|
|
|
- var validatePass = (rule, value, callback) => {
|
|
|
- console.log('校验值', value)
|
|
|
- if (value === '') {
|
|
|
- callback(new Error('请输入密码'));
|
|
|
- } else {
|
|
|
- if (this.ruleForm.checkPass !== '') {
|
|
|
- this.$refs.ruleForm.validateField('checkPass');
|
|
|
- }
|
|
|
- callback();
|
|
|
- }
|
|
|
- };
|
|
|
return {
|
|
|
// 按钮loading
|
|
|
buttonLoading: false,
|
|
@@ -499,7 +487,8 @@
|
|
|
// 新增顶管工程
|
|
|
addNewPipe(data){
|
|
|
this.$refs.enginPipe.openDialog({
|
|
|
- id:data.id,type:'工业工程'
|
|
|
+ id:data.id,
|
|
|
+ type:(this.form.type === '1' ? "工业工程":"市政工程")
|
|
|
},'add')
|
|
|
},
|
|
|
nodeCancel(){
|