diff --git a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue
index 7291d830e..e996b9f6f 100644
--- a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue
+++ b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue
@@ -319,7 +319,7 @@
@close="showItemInfoModal = false"
class="demo-drawer"
>
-
+
+
+ -->
+
+
+
+
+
+
+
+
+
+
+ 内容简介
+
+
+
+
+
+
+
+
+
+
+
{{item.itemContent}}
+
+
+
+
+
+
+
+
+
@@ -1873,35 +1989,6 @@ export default {
})
}
},
- // 获取关联文件名称
- getFileName (row) {
- this.referanceStandList = []
- if (row.referenceStand != null && row.referenceStand !== '') {
- this.referanceStandList = row.referenceStand.split(',')
- }
- if (row.relevanceFile === null) {
- this.standItemEO.FileNameList = []
- this.showItemInfoModal = true
- return false
- } else {
- this.$http.get('att/attFile/getMultiFileInfos', {
- fileIds: row.relevanceFile
- }, {
- _this: this
- }, res => {
- // let fileNameList = []
- // this.standItemEO.relevanceFileName = ''
- // res.data.map((item) => {
- // fileNameList.push(item.oldFileName)
- // })
- // this.standItemEO.relevanceFileName = fileNameList.join(';')
- this.standItemEO.FileNameList = res.data
- this.showItemInfoModal = true
- }, e => {
- this.showItemInfoModal = true
- })
- }
- },
addSpecialRequest (item, index) {
let specialObj = {
description: '',
@@ -2084,7 +2171,7 @@ export default {
// this.clause(command[0])
// break
case '属性':
- this.attribute(command[0])
+ this.attribute(command[2], command[0])
break
case '编辑':
this.editLawsInfo(command[2], command[0])
@@ -2154,9 +2241,65 @@ export default {
this.showItemRequestDetails()
},
// 点击表格 属性按钮事件
- attribute (row) {
- this.getFileName(row)
- this.showItemInfoEO = JSON.parse(JSON.stringify(row))
+ attribute (index, row) {
+ this.isSubmit = false
+ this.standItemEO.id = row.id
+ this.showItemInfoModal = true
+ this.saveEditItemIndex = index
+ this.standItemEO = JSON.parse(JSON.stringify(row))
+ if (this.standItemEO.applyArctic && !(this.standItemEO.applyArctic instanceof Array)) {
+ let a = this.standItemEO.applyArctic.split(',')
+ this.standItemEO.applyArctic = a // 适用车型
+ }
+ if (this.standItemEO.newcarPutTime != null && this.standItemEO.newcarPutTime !== '') {
+ this.standItemEO.newcarPutTime = this.standItemEO.newcarPutTime.replace(new RegExp(/-/gm), '/')
+ this.standItemEO.newcarPutTime = new Date(this.standItemEO.newcarPutTime)
+ }
+ if (this.standItemEO.productPutTime != null && this.standItemEO.productPutTime !== '') {
+ this.standItemEO.productPutTime = this.standItemEO.productPutTime.replace(new RegExp(/-/gm), '/')
+ this.standItemEO.productPutTime = new Date(this.standItemEO.productPutTime)
+ }
+ if (this.standItemEO.paramsList == null || this.standItemEO.paramsList.length < 1) {
+ let specialObj = {
+ description: '',
+ figure: ''
+ }
+ this.standItemEO.paramsList.push(specialObj)
+ }
+ this.standItemEO.ZRBM = this.standItemEO.responsibleUnit
+ this.saveItemId = row.id
+ this.showUpdateItemInfo()
+ // this.getFileName(row)
+ // this.showItemInfoEO = JSON.parse(JSON.stringify(row))
+ },
+ // 获取关联文件名称
+ getFileName (row) {
+ this.referanceStandList = []
+ if (row.referenceStand != null && row.referenceStand !== '') {
+ this.referanceStandList = row.referenceStand.split(',')
+ }
+ if (row.relevanceFile === null) {
+ this.standItemEO.FileNameList = []
+ this.showItemInfoModal = true
+ return false
+ } else {
+ this.$http.get('att/attFile/getMultiFileInfos', {
+ fileIds: row.relevanceFile
+ }, {
+ _this: this
+ }, res => {
+ // let fileNameList = []
+ // this.standItemEO.relevanceFileName = ''
+ // res.data.map((item) => {
+ // fileNameList.push(item.oldFileName)
+ // })
+ // this.standItemEO.relevanceFileName = fileNameList.join(';')
+ this.standItemEO.FileNameList = res.data
+ this.showItemInfoModal = true
+ }, e => {
+ this.showItemInfoModal = true
+ })
+ }
},
getDicTypeName(opt, type) {
const _type = type ? type.split(',') : []