n20-common-lib 2.16.16 → 2.16.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -163,35 +163,37 @@
|
|
|
163
163
|
</div>
|
|
164
164
|
<!-- 审批按钮 -->
|
|
165
165
|
<div v-if="authList.includes('byAddTask') && !addTaskList.length" class="text-c">
|
|
166
|
-
<el-button type="primary" @click="showAdvancePop">{{ '
|
|
166
|
+
<el-button type="primary" @click="showAdvancePop">{{ btnsNames['approval'] }}</el-button>
|
|
167
167
|
<el-button type="primary" @click="approvalToV = true">{{ '批准至' | $lc }}</el-button>
|
|
168
|
-
<el-button plain @click="rejectToB">{{ '
|
|
169
|
-
<el-button plain @click="rejectFn">{{ '
|
|
170
|
-
<el-button type="danger" plain @click="discardFn">{{ '
|
|
168
|
+
<el-button plain @click="rejectToB">{{ btnsNames['rejectTo'] }}</el-button>
|
|
169
|
+
<el-button plain @click="rejectFn">{{ btnsNames['reject'] }}</el-button>
|
|
170
|
+
<el-button type="danger" plain @click="discardFn">{{ btnsNames['discard'] }}</el-button>
|
|
171
171
|
<el-button plain @click="goFrom">{{ '返 回' | $lc }}</el-button>
|
|
172
172
|
</div>
|
|
173
173
|
|
|
174
174
|
<div v-else-if="!authList.includes('byAddTask')" class="text-c">
|
|
175
175
|
<!-- 特殊会签按钮 START -->
|
|
176
|
-
<el-button v-if="authList.includes('pass')" type="primary" @click="checkFlowFn">{{
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
<el-button v-if="authList.includes('pass')" type="primary" @click="checkFlowFn">{{
|
|
177
|
+
btnsNames['pass']
|
|
178
|
+
}}</el-button>
|
|
179
|
+
<el-button v-if="authList.includes('refuse')" plain @click="rejectFn">{{ btnsNames['refuse'] }}</el-button>
|
|
180
|
+
<el-button v-if="authList.includes('takeOff')" plain @click="qjFn">{{ btnsNames['takeOff'] }}</el-button>
|
|
179
181
|
<!-- END -->
|
|
180
182
|
<el-button v-if="authList.includes('approval')" type="primary" @click="showAdvancePop">{{
|
|
181
|
-
'
|
|
183
|
+
btnsNames['approval']
|
|
182
184
|
}}</el-button>
|
|
183
185
|
<el-button v-if="authList.includes('approval') && nextApproval && nextBtn" type="primary" @click="approvalNext">{{
|
|
184
186
|
'批准并审批下一条' | $lc
|
|
185
187
|
}}</el-button>
|
|
186
188
|
<el-button v-if="showApprovalTo" type="primary" @click="approvalToV = true">{{ '批准至' | $lc }}</el-button>
|
|
187
|
-
<el-button v-if="authList.includes('rejectTo')" plain @click="rejectToB">{{ '
|
|
188
|
-
<el-button v-if="authList.includes('reject')" plain @click="rejectFn">{{ '
|
|
189
|
+
<el-button v-if="authList.includes('rejectTo')" plain @click="rejectToB">{{ btnsNames['rejectTo'] }}</el-button>
|
|
190
|
+
<el-button v-if="authList.includes('reject')" plain @click="rejectFn">{{ btnsNames['reject'] }}</el-button>
|
|
189
191
|
<el-button v-if="authList.includes('rejectPre')" plain @click="rejectPreFn">{{
|
|
190
|
-
'
|
|
192
|
+
btnsNames['rejectPre']
|
|
191
193
|
}}</el-button>
|
|
192
194
|
|
|
193
195
|
<el-button v-if="authList.includes('discard')" type="danger" plain @click="discardFn">{{
|
|
194
|
-
'
|
|
196
|
+
btnsNames['discard']
|
|
195
197
|
}}</el-button>
|
|
196
198
|
<el-button plain @click="goFrom">{{ '返 回' | $lc }}</el-button>
|
|
197
199
|
</div>
|
|
@@ -504,7 +506,17 @@ export default {
|
|
|
504
506
|
errorCount: 0,
|
|
505
507
|
tobeConfirmedCount: 0,
|
|
506
508
|
checkSum: 0,
|
|
507
|
-
mustUploadWidget: false
|
|
509
|
+
mustUploadWidget: false,
|
|
510
|
+
btnsNames: {
|
|
511
|
+
pass: this.$l('通过'),
|
|
512
|
+
refuse: this.$l('拒绝'),
|
|
513
|
+
takeOff: this.$l('请假'),
|
|
514
|
+
reject: this.$l('驳回至发起人'),
|
|
515
|
+
rejectPre: this.$l('驳回至上一节点'),
|
|
516
|
+
approval: this.$l('批 准'),
|
|
517
|
+
discard: this.$l('作 废'),
|
|
518
|
+
rejectTo: this.$l('驳回至')
|
|
519
|
+
}
|
|
508
520
|
}
|
|
509
521
|
},
|
|
510
522
|
computed: {
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
return item
|
|
120
120
|
})
|
|
121
121
|
const { code } = await this.$axios.post(
|
|
122
|
-
this.apiPrefix ? `${this.apiPrefix}neams/ai/saveAiBussResult` : `/neams/ai/saveAiBussResult`,
|
|
122
|
+
this.apiPrefix ? `${this.apiPrefix}/neams/ai/saveAiBussResult` : `/neams/ai/saveAiBussResult`,
|
|
123
123
|
list
|
|
124
124
|
)
|
|
125
125
|
if (code === 200) {
|