src/components.d.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/fysp/check/components/ArbitraryPhoto.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/fysp/check/components/ComChangeEdit.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/fysp/check/components/CompDevicePhono.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/fysp/check/components/CompDeviceShowTest.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/fysp/check/components/CompProblemAddOrUpd.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components.d.ts
@@ -14,7 +14,6 @@ Content: typeof import('./components/core/Content.vue')['default'] ElAside: typeof import('element-plus/es')['ElAside'] ElAvatar: typeof import('element-plus/es')['ElAvatar'] ElBacktop: typeof import('element-plus/es')['ElBacktop'] ElBadge: typeof import('element-plus/es')['ElBadge'] ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb'] ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem'] src/views/fysp/check/components/ArbitraryPhoto.vue
@@ -6,7 +6,7 @@ :placeholder="key_select.text" > <el-option v-for="(key_option, index_option) in filters.get(key_select.key)" v-for="(key_option) in filters.get(key_select.key)" :key="key_option.key" :value="key_option.value" :label="key_option.label" @@ -128,9 +128,6 @@ } }, mounted() { if (this.defaultFile == undefined || this.defaultFile == null) { this.defaultFile = []; } if (this.subtask) { this.getAllImgList(); } @@ -233,11 +230,11 @@ if (this.readonly) { return; } img.isSelect = !Boolean(img.isSelect); img.isSelect = !img.isSelect; }, sendSelectedImg(isOk) { let result = []; if (!Boolean(isOk)) { if (!isOk) { this.$emit('selectByAnyPhonoEvent', result); } for (const item of this.imgUrlList) { src/views/fysp/check/components/ComChangeEdit.vue
@@ -179,7 +179,6 @@ } exclude = false; // picUrls.push(item) } else { } }); src/views/fysp/check/components/CompDevicePhono.vue
@@ -90,9 +90,6 @@ } }, mounted() { if (this.defaultFile == undefined || this.defaultFile == null) { this.defaultFile = []; } this.initImgUrlList(); }, methods: { @@ -139,11 +136,11 @@ if (this.readonly) { return; } img.isSelect = !Boolean(img.isSelect); img.isSelect = !img.isSelect; }, sendSelectedImg(isOk) { let result = []; if (!Boolean(isOk)) { if (!isOk) { this.$emit('selectPhonoEvent', result); } for (const item of this.imgPathsDataSourceCopy) { src/views/fysp/check/components/CompDeviceShowTest.vue
@@ -338,9 +338,6 @@ // 展示表单的详情的点击事件 showDetail(item) { item._isDetail = !item._isDetail; if (item._isDetail) { } else { } }, init(scene) { // 父组件主动调用初始化子组件的方法 @@ -537,11 +534,11 @@ return ''; } let result; iDeviceTypesArray.forEach((e) => { if (e.value == device.typeId) { result = e; } }); // iDeviceTypesArray.forEach((e) => { // if (e.value == device.typeId) { // result = e; // } // }); return result; }, onClickPic(e, item) { src/views/fysp/check/components/CompProblemAddOrUpd.vue
@@ -22,7 +22,7 @@ v-for="item in descriptionOptions" :key="item.guid" :label="item.description" :value="item.guid" :value="item.description" /> </el-select> </el-form-item> @@ -232,7 +232,6 @@ watch: { fileList: { handler(newFileList, oldFileList) { console.log('newFileList', newFileList); // 图片校验 this.pictureValidate(); }, @@ -262,10 +261,7 @@ }, adviseOptions() { var problemGuid = this.currProTypeGuid || this.problem.guid; console.log("problemGuid", problemGuid); var array = this.suggestions.filter((item) => item.adProblemtypeguid == problemGuid); console.log("array", array); return array; } }, @@ -286,7 +282,6 @@ // 将一个js对象中所有di,wi,pi开头的属性全部改成去掉这些前缀并且重新变为驼峰式命名 const newObj = {}; for (const key in obj) { if (obj.hasOwnProperty(key)) { let newKey = key; if (key.startsWith('di')) { newKey = key.substring(2); @@ -297,7 +292,6 @@ } newKey = newKey.charAt(0).toLowerCase() + newKey.slice(1); newObj[newKey] = obj[key]; } } return newObj; }, @@ -350,8 +344,6 @@ this.saveStatus(newDevice, statusItem); newDevice.dlLocation = statusItem.dlLocation; newDevice.topTypeId = topTypeId; console.log('newDevice.topTypeId', newDevice.topTypeId); console.log('newDevice', newDevice); this.deviceImgObjList.push(newDevice); } @@ -364,7 +356,6 @@ }, initOptions() { if (this.problem == undefined || this.problem == null) { this.problem = {}; this.deepCopyProblem = {}; } else { this.deepCopyProblem = useCloned(this.problem).cloned.value; @@ -472,7 +463,7 @@ return result; }, changeProblemname() { if (this.proRemark == null || this.proRemark == '') { if (!this.proRemark || this.proRemark == null || this.proRemark == '') { this.deepCopyProblem.problemname = this.deepCopyProblem.description; } else { this.deepCopyProblem.problemname = @@ -486,10 +477,19 @@ this.deepCopyProblem.description = ''; this.deepCopyProblem.advise = ''; }, findProByProDesName(name) { let result this.problemTypeList.forEach(item=>{ if (item.description == name) { result = item; } }) return result }, onProDesChange(value) { let currPro = this.findProTypeByGuid(value); let currPro = this.findProByProDesName(value) this.deepCopyProblem.advise = ''; this.currProTypeGuid = value; this.currProTypeGuid = currPro.guid; // this.deepCopyProblem.description = currPro.description; this.changeProblemname(); this.deepCopyProblem.advise = ''; @@ -549,7 +549,6 @@ } exclude = false; // picUrls.push(item) } else { } }); if (this.type == 1) { @@ -568,7 +567,6 @@ const deepCopySubTask = useCloned(this.subtask).cloned.value; const that = this; fileUtil.getImageFiles(picUrls, function (files) { console.log('deepCopySubTask', deepCopySubTask); deepCopyPro.insGuid = deepCopySubTask.insGuid; delete deepCopyPro['advise']; delete deepCopyPro['description'];