|
@@ -422,7 +422,7 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
-
|
|
|
|
|
|
+
|
|
<el-form
|
|
<el-form
|
|
ref="seeTemp"
|
|
ref="seeTemp"
|
|
:rules="rules"
|
|
:rules="rules"
|
|
@@ -468,11 +468,11 @@
|
|
</el-upload>
|
|
</el-upload>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- <!-- <el-col :span="24" style="margin-left:120px;">
|
|
|
|
|
|
+ <!-- <el-col :span="24" style="margin-left:120px;">
|
|
<el-button type="primary" plain @click="handleSaveImg">确认上传图片</el-button>
|
|
<el-button type="primary" plain @click="handleSaveImg">确认上传图片</el-button>
|
|
</el-col> -->
|
|
</el-col> -->
|
|
</el-row>
|
|
</el-row>
|
|
-
|
|
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col>
|
|
<el-col>
|
|
@@ -639,7 +639,7 @@
|
|
</el-tabs>
|
|
</el-tabs>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
-
|
|
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<div slot="footer" class="dialog-footer" style="bottom:5px;">
|
|
<div slot="footer" class="dialog-footer" style="bottom:5px;">
|
|
<el-button @click="close_diago()">关闭</el-button>
|
|
<el-button @click="close_diago()">关闭</el-button>
|
|
@@ -1009,7 +1009,7 @@ export default {
|
|
dialogVisibleImg: false,
|
|
dialogVisibleImg: false,
|
|
// width:'40%',
|
|
// width:'40%',
|
|
|
|
|
|
-
|
|
|
|
|
|
+
|
|
myHeight: document.documentElement.clientHeight - 85- 250,
|
|
myHeight: document.documentElement.clientHeight - 85- 250,
|
|
active: 0,
|
|
active: 0,
|
|
activeList: [],
|
|
activeList: [],
|
|
@@ -1098,7 +1098,7 @@ export default {
|
|
parammaps: {}
|
|
parammaps: {}
|
|
},
|
|
},
|
|
collarUseTemp: {
|
|
collarUseTemp: {
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
// 查看-领用记录table
|
|
// 查看-领用记录table
|
|
getCollarUseListParm: {
|
|
getCollarUseListParm: {
|
|
@@ -1240,7 +1240,7 @@ export default {
|
|
this.getPendingList()
|
|
this.getPendingList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
-
|
|
|
|
|
|
+
|
|
onLoad(e) {
|
|
onLoad(e) {
|
|
const img = e.target
|
|
const img = e.target
|
|
let width = 0
|
|
let width = 0
|
|
@@ -1261,7 +1261,7 @@ export default {
|
|
|
|
|
|
console.log(data, '图片确认发布到保养中')
|
|
console.log(data, '图片确认发布到保养中')
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
handlePicChange(file, fileList) {
|
|
handlePicChange(file, fileList) {
|
|
// this.handlePicSuccess()
|
|
// this.handlePicSuccess()
|
|
// console.log(this.seeTemp)
|
|
// console.log(this.seeTemp)
|
|
@@ -1270,7 +1270,7 @@ export default {
|
|
console.log('文件上传成功时的钩子response', response, )
|
|
console.log('文件上传成功时的钩子response', response, )
|
|
console.log('文件上传成功时的钩子file', file)
|
|
console.log('文件上传成功时的钩子file', file)
|
|
console.log('fileList', fileList)
|
|
console.log('fileList', fileList)
|
|
-
|
|
|
|
|
|
+
|
|
//3张图片时,关闭新增的按钮
|
|
//3张图片时,关闭新增的按钮
|
|
if (fileList.length == 3) {
|
|
if (fileList.length == 3) {
|
|
document.getElementById('uploadPic').lastChild.style.display = "none"
|
|
document.getElementById('uploadPic').lastChild.style.display = "none"
|
|
@@ -1296,7 +1296,7 @@ export default {
|
|
handlePicRemove(file, fileList) {
|
|
handlePicRemove(file, fileList) {
|
|
console.log(file, '文件列表移除文件时的钩子file---')
|
|
console.log(file, '文件列表移除文件时的钩子file---')
|
|
console.log(fileList, '文件列表移除文件时的钩子fileList--')
|
|
console.log(fileList, '文件列表移除文件时的钩子fileList--')
|
|
-
|
|
|
|
|
|
+
|
|
this.seeTemp.scenePhoto1 = '-1';
|
|
this.seeTemp.scenePhoto1 = '-1';
|
|
this.seeTemp.scenePhoto2 = '-1';
|
|
this.seeTemp.scenePhoto2 = '-1';
|
|
this.seeTemp.scenePhoto3 = '-1';
|
|
this.seeTemp.scenePhoto3 = '-1';
|
|
@@ -1310,7 +1310,7 @@ export default {
|
|
this.seeTemp.scenePhoto2 = (fileList[1].response && fileList[1].response.execresult.LastInsertId.toString()) || fileList[1].imgId
|
|
this.seeTemp.scenePhoto2 = (fileList[1].response && fileList[1].response.execresult.LastInsertId.toString()) || fileList[1].imgId
|
|
} else if (fileList.length == 1) {
|
|
} else if (fileList.length == 1) {
|
|
this.seeTemp.scenePhoto1 = (fileList[0].response && fileList[0].response.execresult.LastInsertId.toString()) || fileList[0].imgId
|
|
this.seeTemp.scenePhoto1 = (fileList[0].response && fileList[0].response.execresult.LastInsertId.toString()) || fileList[0].imgId
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
|
|
//3张图片时,关闭新增的按钮
|
|
//3张图片时,关闭新增的按钮
|
|
if (fileList.length == 3) {
|
|
if (fileList.length == 3) {
|
|
@@ -1328,7 +1328,7 @@ export default {
|
|
this.dialogImageUrl = file.url
|
|
this.dialogImageUrl = file.url
|
|
this.dialogVisibleImg = true
|
|
this.dialogVisibleImg = true
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
// handleCheck(row) {
|
|
// handleCheck(row) {
|
|
// this.playvideo = row.hotVideoPath // 存储用户点击的视频播放链接
|
|
// this.playvideo = row.hotVideoPath // 存储用户点击的视频播放链接
|
|
// this.playvideoName = row.hotVideoPath // 存储用户点击的视频播放链接
|
|
// this.playvideoName = row.hotVideoPath // 存储用户点击的视频播放链接
|
|
@@ -1569,7 +1569,7 @@ export default {
|
|
if( row.picId1 !== '-1' && row.picId1 !== '') {
|
|
if( row.picId1 !== '-1' && row.picId1 !== '') {
|
|
this.seeTemp.scenePhoto1 = row.picId1
|
|
this.seeTemp.scenePhoto1 = row.picId1
|
|
this.$set(this.fileList, 0, { name: "picImg1", url: process.env.VUE_APP_BASE_API + row.picpath1 , imgId : row.picId1 }
|
|
this.$set(this.fileList, 0, { name: "picImg1", url: process.env.VUE_APP_BASE_API + row.picpath1 , imgId : row.picId1 }
|
|
- )
|
|
|
|
|
|
+ )
|
|
}
|
|
}
|
|
if( row.picId2 !== '-1' && row.picId2 !== '') {
|
|
if( row.picId2 !== '-1' && row.picId2 !== '') {
|
|
this.seeTemp.scenePhoto2 = row.picId2
|
|
this.seeTemp.scenePhoto2 = row.picId2
|
|
@@ -1580,8 +1580,8 @@ export default {
|
|
this.seeTemp.scenePhoto3 = row.picId3
|
|
this.seeTemp.scenePhoto3 = row.picId3
|
|
this.$set(this.fileList, 2, { name: "picImg3", url: process.env.VUE_APP_BASE_API + row.picpath3, imgId : row.picId3 }
|
|
this.$set(this.fileList, 2, { name: "picImg3", url: process.env.VUE_APP_BASE_API + row.picpath3, imgId : row.picId3 }
|
|
)
|
|
)
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
console.log('查看-------图片2', this.fileList)
|
|
console.log('查看-------图片2', this.fileList)
|
|
// 流程图
|
|
// 流程图
|
|
var reason = '未通过原因:' + this.seeTemp.workflowNote
|
|
var reason = '未通过原因:' + this.seeTemp.workflowNote
|
|
@@ -1630,7 +1630,7 @@ export default {
|
|
this.collarUseTemp = {}
|
|
this.collarUseTemp = {}
|
|
this.listCollarUse = []
|
|
this.listCollarUse = []
|
|
this.getCollarUse()
|
|
this.getCollarUse()
|
|
- this.getOldProductsList()
|
|
|
|
|
|
+ this.getOldProductsList()
|
|
|
|
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|
|
if(this.seeTemp.SHStatue !== 2 || this.fileList.length >= 3){
|
|
if(this.seeTemp.SHStatue !== 2 || this.fileList.length >= 3){
|
|
@@ -1676,6 +1676,7 @@ export default {
|
|
this.getCollarUseListParm.parammaps.id = this.collarUseTemp ? this.collarUseTemp.id : ''
|
|
this.getCollarUseListParm.parammaps.id = this.collarUseTemp ? this.collarUseTemp.id : ''
|
|
this.listLoadingCollarUse = true
|
|
this.listLoadingCollarUse = true
|
|
if( this.getCollarUseListParm.parammaps.id == ''){
|
|
if( this.getCollarUseListParm.parammaps.id == ''){
|
|
|
|
+ this.listLoadingCollarUse = false;
|
|
return
|
|
return
|
|
} else {
|
|
} else {
|
|
GetDataByName(this.getCollarUseListParm).then(response => {
|
|
GetDataByName(this.getCollarUseListParm).then(response => {
|
|
@@ -2121,7 +2122,7 @@ export default {
|
|
this.dialogFormVisible_See = false
|
|
this.dialogFormVisible_See = false
|
|
this.get_table_data()
|
|
this.get_table_data()
|
|
this.getPendingList()
|
|
this.getPendingList()
|
|
-
|
|
|
|
|
|
+
|
|
this.$notify({ title: '', message: '保存成功', type: 'success', duration: 2000 })
|
|
this.$notify({ title: '', message: '保存成功', type: 'success', duration: 2000 })
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -2145,7 +2146,7 @@ export default {
|
|
// 保养审核
|
|
// 保养审核
|
|
handleExamine(row) {
|
|
handleExamine(row) {
|
|
console.log('点击了保养审核', row, this.seeTemp, this.fileList)
|
|
console.log('点击了保养审核', row, this.seeTemp, this.fileList)
|
|
-
|
|
|
|
|
|
+
|
|
if (row == undefined) {
|
|
if (row == undefined) {
|
|
console.log('里面审核')
|
|
console.log('里面审核')
|
|
this.examineTemp = this.seeTemp
|
|
this.examineTemp = this.seeTemp
|
|
@@ -2224,7 +2225,7 @@ export default {
|
|
// 保养审核2
|
|
// 保养审核2
|
|
handleExamine2(row) {
|
|
handleExamine2(row) {
|
|
console.log('点击了保养审核------99')
|
|
console.log('点击了保养审核------99')
|
|
-
|
|
|
|
|
|
+
|
|
if (row == undefined) {
|
|
if (row == undefined) {
|
|
this.examineTemp = this.seeTemp
|
|
this.examineTemp = this.seeTemp
|
|
this.$set(this.seeTemp, 'isStatue', 3)
|
|
this.$set(this.seeTemp, 'isStatue', 3)
|
|
@@ -2233,7 +2234,7 @@ export default {
|
|
this.examineTemp = Object.assign({}, row)
|
|
this.examineTemp = Object.assign({}, row)
|
|
this.$set(this.examineTemp, 'isStatue', 3)
|
|
this.$set(this.examineTemp, 'isStatue', 3)
|
|
this.$set(this.examineTemp, 'workflowNote', '')
|
|
this.$set(this.examineTemp, 'workflowNote', '')
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
this.dialogStatus = 'examine2'
|
|
this.dialogStatus = 'examine2'
|
|
this.dialogFormVisible_examine = true
|
|
this.dialogFormVisible_examine = true
|
|
@@ -2405,7 +2406,7 @@ export default {
|
|
z-index: 1;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
-<style lang="scss" scoped>
|
|
|
|
|
|
+<style lang="scss" scoped>
|
|
::v-deep .child-dialog{
|
|
::v-deep .child-dialog{
|
|
z-index: 3000 !important; /* 手动提升 z-index 层级 */
|
|
z-index: 3000 !important; /* 手动提升 z-index 层级 */
|
|
}
|
|
}
|