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