master
Gitea 2 weeks ago
parent 48f7dda15b
commit cfc9d0dd81
  1. 6
      jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList1.vue
  2. 5
      jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList5.vue
  3. 5
      jeecgboot-vue3/src/views/instrument/InstrumentList2.vue

@ -219,6 +219,8 @@
* 操作栏 * 操作栏
*/ */
function getTableAction(record) { function getTableAction(record) {
//console.log(userStore.loginInfo.departs[0].orgCategory, 'userStore');
const oct = userStore.loginInfo.departs[0].orgCategory;
const actions = [ const actions = [
{ {
label: '详情', label: '详情',
@ -226,7 +228,7 @@
} }
]; ];
if(record.state==="1"||record.state==="2"){ if((oct==="3"&&record.state==="1")||(record.state==="2"&&oct!=="3")){
actions.unshift({ actions.unshift({
label: '通过', label: '通过',
popConfirm: { popConfirm: {
@ -235,7 +237,7 @@
} }
}); });
} }
if(record.state==="1"||record.state==="2"){ if((oct==="3"&&record.state==="1")||(record.state==="2"&&oct!=="3")){
actions.unshift({ actions.unshift({
label: '驳回', label: '驳回',
popConfirm: { popConfirm: {

@ -222,6 +222,7 @@
* 操作栏 * 操作栏
*/ */
function getTableAction(record) { function getTableAction(record) {
const oct = userStore.loginInfo.departs[0].orgCategory;
const actions = [ const actions = [
{ {
label: '详情', label: '详情',
@ -229,7 +230,7 @@
} }
]; ];
if(record.dxshSta==="1"||record.dxshSta==="2"){ if((oct==="3"&&record.dxshSta==="1")||(record.dxshSta==="2"&&oct!=="3")){
actions.unshift({ actions.unshift({
label: '通过', label: '通过',
popConfirm: { popConfirm: {
@ -238,7 +239,7 @@
} }
}); });
} }
if(record.dxshSta==="1"||record.dxshSta==="2"){ if((oct==="3"&&record.dxshSta==="1")||(record.dxshSta==="2"&&oct!=="3")){
actions.unshift({ actions.unshift({
label: '驳回', label: '驳回',
popConfirm: { popConfirm: {

@ -250,6 +250,7 @@
* 操作栏 * 操作栏
*/ */
function getTableAction(record) { function getTableAction(record) {
const oct = userStore.loginInfo.departs[0].orgCategory;
const actions = [ const actions = [
{ {
label: '详情', label: '详情',
@ -257,7 +258,7 @@
} }
]; ];
if(record.state==="1"||record.state==="2"){ if((oct==="3"&&record.state==="1")||(record.state==="2"&&oct!=="3")){
actions.unshift({ actions.unshift({
label: '通过', label: '通过',
popConfirm: { popConfirm: {
@ -266,7 +267,7 @@
} }
}); });
} }
if(record.state==="1"||record.state==="2"){ if((oct==="3"&&record.state==="1")||(record.state==="2"&&oct!=="3")){
actions.unshift({ actions.unshift({
label: '驳回', label: '驳回',
popConfirm: { popConfirm: {

Loading…
Cancel
Save