|
@@ -784,6 +784,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<!-- <el-table-column label="序号" width="60px" align="center" prop="sort" /> -->
|
|
<!-- <el-table-column label="序号" width="60px" align="center" prop="sort" /> -->
|
|
<el-table-column label="修改时间" width="100px" align="center" prop="datetime1" />
|
|
<el-table-column label="修改时间" width="100px" align="center" prop="datetime1" />
|
|
|
|
+ <el-table-column label="修改用户" width="130px" align="center" prop="empname" />
|
|
<el-table-column label="饲料名称(单位:kg)" min-width="800px" align="center">
|
|
<el-table-column label="饲料名称(单位:kg)" min-width="800px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div v-for="element in scope.row.arrList" :key="element.name" class="list-group-item2 item" style="width:150px;float: left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin: 5px 5px;padding: 0;height: 30px;">
|
|
<div v-for="element in scope.row.arrList" :key="element.name" class="list-group-item2 item" style="width:150px;float: left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin: 5px 5px;padding: 0;height: 30px;">
|
|
@@ -1537,6 +1538,7 @@ export default {
|
|
this.requestParam3.parammaps = {}
|
|
this.requestParam3.parammaps = {}
|
|
this.requestParam3.parammaps.id = this.table.temp.id
|
|
this.requestParam3.parammaps.id = this.table.temp.id
|
|
this.requestParam3.parammaps.createdate = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
|
|
this.requestParam3.parammaps.createdate = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
|
|
|
|
+ this.requestParam3.parammaps.userId = Cookies.get('employeid')
|
|
PostDataByName(this.requestParam3).then(response => {
|
|
PostDataByName(this.requestParam3).then(response => {
|
|
console.log('新增保存发送参数', this.requestParam)
|
|
console.log('新增保存发送参数', this.requestParam)
|
|
if (response.msg !== 'fail') {
|
|
if (response.msg !== 'fail') {
|
|
@@ -2357,6 +2359,7 @@ export default {
|
|
let dateTime = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
|
|
let dateTime = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
this.requestParam.createdate = dateTime
|
|
this.requestParam.createdate = dateTime
|
|
|
|
+ this.requestParam.userId = Cookies.get('employeid')
|
|
this.requestParam.data = []
|
|
this.requestParam.data = []
|
|
this.requestParam.data[0] = { 'name': 'insertFTdetail', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[0] = { 'name': 'insertFTdetail', 'type': 'e', 'parammaps': {
|
|
pastureid: this.table2.temp.pastureid,
|
|
pastureid: this.table2.temp.pastureid,
|
|
@@ -2389,11 +2392,13 @@ export default {
|
|
dateTime: dateTime,
|
|
dateTime: dateTime,
|
|
slid: 0,
|
|
slid: 0,
|
|
fid: row.fid,
|
|
fid: row.fid,
|
|
- autosecond: row.autosecond
|
|
|
|
|
|
+ autosecond: row.autosecond,
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
this.requestParam.data[4] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[4] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
- createdate:dateTime
|
|
|
|
|
|
+ createdate:dateTime,
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
const url = 'authdata/ftdetail/edit'
|
|
const url = 'authdata/ftdetail/edit'
|
|
const data = this.requestParam
|
|
const data = this.requestParam
|
|
@@ -2566,6 +2571,7 @@ export default {
|
|
let dateTime = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
|
|
let dateTime = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
this.requestParam.createdate = dateTime
|
|
this.requestParam.createdate = dateTime
|
|
|
|
+ this.requestParam.userId = Cookies.get('employeid')
|
|
this.requestParam.data = []
|
|
this.requestParam.data = []
|
|
this.requestParam.data[0] = { 'name': 'insertFitHistory', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[0] = { 'name': 'insertFitHistory', 'type': 'e', 'parammaps': {
|
|
pastureid: row.pastureid,
|
|
pastureid: row.pastureid,
|
|
@@ -2575,7 +2581,8 @@ export default {
|
|
dateTime: dateTime,
|
|
dateTime: dateTime,
|
|
slid: this.table2.temp.id,
|
|
slid: this.table2.temp.id,
|
|
fid: row.fid,
|
|
fid: row.fid,
|
|
- autosecond: row.autosecond
|
|
|
|
|
|
+ autosecond: row.autosecond,
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
this.requestParam.data[1] = { 'name': 'updateFTdetail', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[1] = { 'name': 'updateFTdetail', 'type': 'e', 'parammaps': {
|
|
pastureid: row.pastureid,
|
|
pastureid: row.pastureid,
|
|
@@ -2609,7 +2616,8 @@ export default {
|
|
}}
|
|
}}
|
|
this.requestParam.data[5] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[5] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
- createdate:dateTime
|
|
|
|
|
|
+ createdate:dateTime,
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
const url = 'authdata/ftdetail/edit'
|
|
const url = 'authdata/ftdetail/edit'
|
|
const data = this.requestParam
|
|
const data = this.requestParam
|
|
@@ -2671,7 +2679,8 @@ export default {
|
|
dateTime: dateTime,
|
|
dateTime: dateTime,
|
|
slid: row.id,
|
|
slid: row.id,
|
|
fid: row.fid,
|
|
fid: row.fid,
|
|
- autosecond: row.autosecond
|
|
|
|
|
|
+ autosecond: row.autosecond,
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
this.requestParam.data[1] = { 'name': 'deleteFTdetail', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[1] = { 'name': 'deleteFTdetail', 'type': 'e', 'parammaps': {
|
|
pastureid: row.pastureid,
|
|
pastureid: row.pastureid,
|
|
@@ -2689,11 +2698,13 @@ export default {
|
|
}}
|
|
}}
|
|
this.requestParam.data[4] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[4] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
- createdate:dateTime
|
|
|
|
|
|
+ createdate:dateTime,
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
} else {
|
|
} else {
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
this.requestParam.createdate = dateTime
|
|
this.requestParam.createdate = dateTime
|
|
|
|
+ this.requestParam.userId = Cookies.get('employeid')
|
|
this.requestParam.data = []
|
|
this.requestParam.data = []
|
|
// this.requestParam.data[1] = { 'name': 'checkdeleteFT', 'type': 'v', 'parammaps': {
|
|
// this.requestParam.data[1] = { 'name': 'checkdeleteFT', 'type': 'v', 'parammaps': {
|
|
// pastureid: this.table2.getdataListParm.parammaps.pastureid,
|
|
// pastureid: this.table2.getdataListParm.parammaps.pastureid,
|
|
@@ -2707,7 +2718,8 @@ export default {
|
|
dateTime: dateTime,
|
|
dateTime: dateTime,
|
|
slid: row.id,
|
|
slid: row.id,
|
|
fid: row.fid,
|
|
fid: row.fid,
|
|
- autosecond: row.autosecond
|
|
|
|
|
|
+ autosecond: row.autosecond,
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
this.requestParam.data[1] = { 'name': 'deleteFTdetail', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[1] = { 'name': 'deleteFTdetail', 'type': 'e', 'parammaps': {
|
|
pastureid: row.pastureid,
|
|
pastureid: row.pastureid,
|
|
@@ -2725,7 +2737,8 @@ export default {
|
|
}}
|
|
}}
|
|
this.requestParam.data[4] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[4] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
- createdate:dateTime
|
|
|
|
|
|
+ createdate:dateTime,
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
}
|
|
}
|
|
const url = 'authdata/ftdetail/edit'
|
|
const url = 'authdata/ftdetail/edit'
|
|
@@ -2774,6 +2787,7 @@ export default {
|
|
if (this.table2.list.length - this.selectList2.length > 0) {
|
|
if (this.table2.list.length - this.selectList2.length > 0) {
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
this.requestParam.createdate = dateTime
|
|
this.requestParam.createdate = dateTime
|
|
|
|
+ this.requestParam.userId = Cookies.get('employeid')
|
|
this.requestParam.data = []
|
|
this.requestParam.data = []
|
|
this.requestParam.data[0] = { 'name': 'insertSpotList', 'resultmaps': { 'list': this.selectList2 }}
|
|
this.requestParam.data[0] = { 'name': 'insertSpotList', 'resultmaps': { 'list': this.selectList2 }}
|
|
this.requestParam.data[0].children = []
|
|
this.requestParam.data[0].children = []
|
|
@@ -2785,7 +2799,8 @@ export default {
|
|
dateTime: dateTime,
|
|
dateTime: dateTime,
|
|
slid: '@insertSpotList.id',
|
|
slid: '@insertSpotList.id',
|
|
fid: '@insertSpotList.fid',
|
|
fid: '@insertSpotList.fid',
|
|
- autosecond: '@insertSpotList.autosecond'
|
|
|
|
|
|
+ autosecond: '@insertSpotList.autosecond',
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
this.requestParam.data[0].children[1] = { 'name': 'deleteFTdetail', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[0].children[1] = { 'name': 'deleteFTdetail', 'type': 'e', 'parammaps': {
|
|
id: '@insertSpotList.id',
|
|
id: '@insertSpotList.id',
|
|
@@ -2803,7 +2818,8 @@ export default {
|
|
}}
|
|
}}
|
|
this.requestParam.data[3] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
this.requestParam.data[3] = { 'name': 'insertFTHistory', 'type': 'e', 'parammaps': {
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
id:this.table2.getdataListParm.parammaps.ftid,
|
|
- createdate:dateTime
|
|
|
|
|
|
+ createdate:dateTime,
|
|
|
|
+ userId: Cookies.get('employeid')
|
|
}}
|
|
}}
|
|
const url = 'authdata/ftdetail/edit'
|
|
const url = 'authdata/ftdetail/edit'
|
|
const data = this.requestParam
|
|
const data = this.requestParam
|