@@ -945,10 +945,6 @@
const fileList = ref([])
const useForm = Form.useForm
const roomInput = ref('')
- let roomStr = router.currentRoute.value.query.str
- if (roomStr) {
- roomInput.value = roomStr
- }
const rulesRef = reactive({
bookDate: [
{
@@ -1028,6 +1024,12 @@
// 设施类型--无人机和单兵设备
let facilitiesType = router.currentRoute.value.query.facilitiesType || ''
onMounted(() => {
+ console.log('基础设施初始化')
+ let roomStr = router.currentRoute.value.query.str
+ if (roomStr) {
+ roomInput.value = roomStr
+ getCamera()
+ }
// 获取用户信息
handleUser()
if (jcssType.value) {
@@ -1264,6 +1266,7 @@
}
//重置
const reSetSearch = () => {
+ console.log('重置')
roomInput.value = ''
searchData()
chengguoSearch()
@@ -2025,7 +2028,7 @@
if (flag) {
mapSearchParam.value.cameraName = str
}
- console.log('初始化调用')
+ console.log('初始化调用', flag)
console.log(
'不选左侧树的时候不调用接口',
mapSearchParam.value,
@@ -2098,6 +2101,7 @@
}
defineExpose({
getCamera,
+ reSetSearch,
})
//加入申购车
const addShoppingCart = () => {
diff --git a/front/src/views/login/index.vue b/front/src/views/login/index.vue
index 7440960f..45c5a99f 100644
--- a/front/src/views/login/index.vue
+++ b/front/src/views/login/index.vue
@@ -155,14 +155,10 @@
}
await this.login({
password: Encrypt(this.form.password),
- username: this.form.username,
+ username: Encrypt(this.form.username),
})
// window.localStorage.setItem('tokenStartTime', new Date().getTime())
window.sessionStorage.setItem('visits', JSON.stringify([]))
- console.log(
- '添加visits========================================>',
- Cookies.get('ucsToken')
- )
// console.log(this.handleRoute())
// 西海岸特殊处理
if (isXiHaiAn) {
diff --git a/front/src/views/personalCenter/components/MyApply.vue b/front/src/views/personalCenter/components/MyApply.vue
index ddfe4210..26ab9c86 100644
--- a/front/src/views/personalCenter/components/MyApply.vue
+++ b/front/src/views/personalCenter/components/MyApply.vue
@@ -488,7 +488,7 @@
refObj.value.title = item.title // 需求标题
refObj.value.ywlxr = item.ywlxr // 业务联系人
refObj.value.ywlxrdh = item.ywlxrdh // 业务联系人电话
- refObj.value.jslxr = item.jslxr // 技术联系人
+ refObj.value.jslxr = item.jslxr // 技术联系人X
refObj.value.jslxrdh = item.jslxrdh // 技术联系人电话
refObj.value.miaoshu = item.miaoshu // 共享数据必要性法分析
refObj.value.zt = item.zt // 办结结果
@@ -527,7 +527,7 @@
refObj.value.ORG_CODE = item.ORG_CODE // 部门名称编码
refObj.value.AGENT_NAME = item.AGENT_NAME // 处室名称
refObj.value.AGENT_CODE = item.AGENT_CODE // 处室编码
- refObj.value.CREATOR_NAME = item.CREATOR_NAME // 申请人
+ refObj.value.USE_CASE = item.USE_CASE // 使用场景
detailsVisible.value = true
} else if (typeName.value == '设备申请') {
getDeviceDetailInfo(item.deviceId)
diff --git a/front/src/views/personalCenter/components/cloudResources.vue b/front/src/views/personalCenter/components/cloudResources.vue
index c12cfab3..915b7298 100644
--- a/front/src/views/personalCenter/components/cloudResources.vue
+++ b/front/src/views/personalCenter/components/cloudResources.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-07-12 09:42:44
* @LastEditors: Light
- * @LastEditTime: 2022-11-11 18:48:42
+ * @LastEditTime: 2022-11-14 10:53:30
* @Description:我的申请 能力申请 查看详情
-->
@@ -35,7 +35,7 @@
处室编码:{{ props.refObj.AGENT_CODE || '--' }}
- 申请人:{{ props.refObj.CREATOR_NAME || '--' }}
+ 使用场景;{{ props.refObj.USE_CASE || '--' }}