|
@@ -131,6 +131,7 @@ export default {
|
|
|
confirmMsg() {
|
|
confirmMsg() {
|
|
|
// TODO
|
|
// TODO
|
|
|
const tn = this.tableName.slice(0, this.tableName.indexOf('('))
|
|
const tn = this.tableName.slice(0, this.tableName.indexOf('('))
|
|
|
|
|
+ const updateTN = this.tableName.split(')')[1]
|
|
|
this.$confirm(
|
|
this.$confirm(
|
|
|
tn === 't_jjbdjb'
|
|
tn === 't_jjbdjb'
|
|
|
? '点击确认将对在系统里“交接班登记”模块下该条数据进行接班确认'
|
|
? '点击确认将对在系统里“交接班登记”模块下该条数据进行接班确认'
|
|
@@ -235,7 +236,7 @@ export default {
|
|
|
if (mid.jie_ban_ren_.split(',').length === mid.znum) {
|
|
if (mid.jie_ban_ren_.split(',').length === mid.znum) {
|
|
|
this.$common
|
|
this.$common
|
|
|
.request('updates', {
|
|
.request('updates', {
|
|
|
- tableName: 't_jjbjlb',
|
|
|
|
|
|
|
+ tableName: updateTN != '' ? updateTN : 't_jjbjlb',
|
|
|
paramWhere: [{ id_: this.tableId }],
|
|
paramWhere: [{ id_: this.tableId }],
|
|
|
paramCond: {
|
|
paramCond: {
|
|
|
shi_fou_guo_shen_: '已完成'
|
|
shi_fou_guo_shen_: '已完成'
|
|
@@ -245,7 +246,8 @@ export default {
|
|
|
await this.createSnapshoot(this.tableId).then(
|
|
await this.createSnapshoot(this.tableId).then(
|
|
|
(res) => {
|
|
(res) => {
|
|
|
this.$common.request('updates', {
|
|
this.$common.request('updates', {
|
|
|
- tableName: 't_jjbjlb',
|
|
|
|
|
|
|
+ tableName:
|
|
|
|
|
+ updateTN != '' ? updateTN : 't_jjbjlb',
|
|
|
paramWhere: [{ id_: this.tableId }],
|
|
paramWhere: [{ id_: this.tableId }],
|
|
|
paramCond: {
|
|
paramCond: {
|
|
|
kuai_zhao_: res
|
|
kuai_zhao_: res
|