|
@@ -24,6 +24,7 @@
|
|
import { uploadApi, rtksaveOrEdit } from '/@/api/product/index';
|
|
import { uploadApi, rtksaveOrEdit } from '/@/api/product/index';
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
import moment from 'moment';
|
|
import moment from 'moment';
|
|
|
|
+ import { useUserStore } from '/@/store/modules/user';
|
|
|
|
|
|
const { t } = useI18n();
|
|
const { t } = useI18n();
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
@@ -33,6 +34,8 @@
|
|
},
|
|
},
|
|
emits: ['update', 'register'],
|
|
emits: ['update', 'register'],
|
|
setup(props, { emit }) {
|
|
setup(props, { emit }) {
|
|
|
|
+ const userStore = useUserStore();
|
|
|
|
+ const iseur = userStore.isEnv;
|
|
const modelRef = ref({
|
|
const modelRef = ref({
|
|
operator: '中国移动',
|
|
operator: '中国移动',
|
|
ipAddr: '120.253.239.161',
|
|
ipAddr: '120.253.239.161',
|
|
@@ -368,7 +371,7 @@
|
|
{ field: 'mountPoint', ifShow },
|
|
{ field: 'mountPoint', ifShow },
|
|
{ field: 'port', ifShow },
|
|
{ field: 'port', ifShow },
|
|
{ field: 'userName', ifShow },
|
|
{ field: 'userName', ifShow },
|
|
- // { field: 'sgRtkSn', ifShow },
|
|
|
|
|
|
+ { field: 'failureTime', ifShow: val == 1 && !iseur },
|
|
{ field: 'password', ifShow },
|
|
{ field: 'password', ifShow },
|
|
{ field: 'operator', ifShow },
|
|
{ field: 'operator', ifShow },
|
|
]);
|
|
]);
|