diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue
index fc55d089..1cf82d5d 100644
--- a/back/src/views/modules/ability/bsabilityai.vue
+++ b/back/src/views/modules/ability/bsabilityai.vue
@@ -154,7 +154,7 @@
>详情
开发文档技术文档
val.attrType === '使用方式')[0].attrValue === '调用接口')) {
+ this.notFilled.push('服务接口')
+ }
}
if (this.radio === '智能算法' && !this.submitFrom.apiMethodType) {
- this.notFilled.push('接口请求方式')
+ if ((this.submitFrom.infoList.filter(val => val.attrType === '使用方式')[0].attrValue === '调用接口')) {
+ this.notFilled.push('接口请求方式')
+ }
}
if (this.radio === '智能算法' && (!this.submitFrom.infoList.filter(val => val.attrType === '算法类别')[0] || !this.submitFrom.infoList.filter(val => val.attrType === '算法类别')[0].attrValue)) {
this.notFilled.push('算法类别')
diff --git a/back/src/views/modules/ability/bsabilityservice-add-or-update.vue b/back/src/views/modules/ability/bsabilityservice-add-or-update.vue
index 57e7a85e..b01efd91 100644
--- a/back/src/views/modules/ability/bsabilityservice-add-or-update.vue
+++ b/back/src/views/modules/ability/bsabilityservice-add-or-update.vue
@@ -271,8 +271,7 @@
v-if="
item.attrType != '应用领域' &&
item.attrType != '应用类型' &&
- item.attrType != '发布端' &&
- item.attrType != '应用状态'
+ item.attrType != '发布端'
"
>
diff --git a/back/src/views/modules/activiti/demo/comments.vue b/back/src/views/modules/activiti/demo/comments.vue
index fe6f3ddd..4f2a6d5c 100644
--- a/back/src/views/modules/activiti/demo/comments.vue
+++ b/back/src/views/modules/activiti/demo/comments.vue
@@ -7,28 +7,65 @@
@keyup.enter.native="dataFormSubmitHandle()"
:label-width="$i18n.locale === 'en-US' ? '120px' : 'auto'"
>
-
-
-
+
+
+ {{ dataForm.comment }}
+
+
+
+
+
-
+ > -->
+
+
+
+
+
+
+
-
+
diff --git a/back/src/views/modules/activiti/demo/putaway-process3.vue b/back/src/views/modules/activiti/demo/putaway-process3.vue
index 659b4720..c489b1f9 100644
--- a/back/src/views/modules/activiti/demo/putaway-process3.vue
+++ b/back/src/views/modules/activiti/demo/putaway-process3.vue
@@ -106,7 +106,7 @@
-->
同意
拒绝驳回
@@ -234,68 +234,8 @@ export default {
if (item) {
this.dataList = item
}
- }
- },
- computed: {},
- methods: {
- videoAndImg (link) {
- if (link) {
- window.open(link)
- } else {
- this.$message({
- message: '未上传',
- type: 'warning'
- })
- }
},
- deptName () {
- console.log(this.dataForm.deptId)
- this.$http
- .get(`/sys/dept/${this.dataForm.deptId}`)
- .then(({ data: res }) => {
- console.log(res.data.name, 'res')
- this.unit = res.data.name
- })
- },
- queryPartAppByKeyIdFunction (index, indexSon, indexSonSon) {
- if (this.dataForm.type === '组件服务') {
- this.$http
- .get(
- '/dataResourceRel/queryApp4PartByKeyId' +
- '?keyId=' +
- this.dataForm.id
- )
- .then(({ data: res }) => {
- this.dataView.children[index].children[indexSon].children[
- indexSonSon
- ].note1 = ''
- res.data.map((item) => {
- this.dataView.children[index].children[indexSon].children[
- indexSonSon
- ].note1 += item.name + ';'
- })
- })
- } else {
- this.$http
- .get(
- '/dataResourceRel/queryPart4AppByKeyId?keyId=' +
- this.dataForm.id +
- '&type=' +
- '组件服务'
- )
- .then(({ data: res }) => {
- this.dataView.children[index].children[indexSon].children[
- indexSonSon
- ].note1 = ''
- res.data.map((item) => {
- this.dataView.children[index].children[indexSon].children[
- indexSonSon
- ].note1 += item.name + ';'
- })
- })
- }
- },
- insertListFunction (val) {
+ insertList (val) {
if (val) {
if (this.dataForm.type === '应用资源') {
this.dataView = val.filter(
@@ -483,10 +423,69 @@ export default {
}
}
},
+ computed: {},
+ methods: {
+ videoAndImg (link) {
+ if (link) {
+ window.open(link)
+ } else {
+ this.$message({
+ message: '未上传',
+ type: 'warning'
+ })
+ }
+ },
+ deptName () {
+ console.log(this.dataForm.deptId)
+ this.$http
+ .get(`/sys/dept/${this.dataForm.deptId}`)
+ .then(({ data: res }) => {
+ console.log(res.data.name, 'res')
+ this.unit = res.data.name
+ })
+ },
+ queryPartAppByKeyIdFunction (index, indexSon, indexSonSon) {
+ if (this.dataForm.type === '组件服务') {
+ this.$http
+ .get(
+ '/dataResourceRel/queryApp4PartByKeyId' +
+ '?keyId=' +
+ this.dataForm.id
+ )
+ .then(({ data: res }) => {
+ this.dataView.children[index].children[indexSon].children[
+ indexSonSon
+ ].note1 = ''
+ res.data.map((item) => {
+ this.dataView.children[index].children[indexSon].children[
+ indexSonSon
+ ].note1 += item.name + ';'
+ })
+ })
+ } else {
+ this.$http
+ .get(
+ '/dataResourceRel/queryPart4AppByKeyId?keyId=' +
+ this.dataForm.id +
+ '&type=' +
+ '组件服务'
+ )
+ .then(({ data: res }) => {
+ this.dataView.children[index].children[indexSon].children[
+ indexSonSon
+ ].note1 = ''
+ res.data.map((item) => {
+ this.dataView.children[index].children[indexSon].children[
+ indexSonSon
+ ].note1 += item.name + ';'
+ })
+ })
+ }
+ }
+ },
created () {},
mounted () {
this.deptName()
- this.insertListFunction(this.insertList)
}
}
diff --git a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue
index ea3cbc07..418be3f7 100644
--- a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue
+++ b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue
@@ -135,16 +135,16 @@ export default {
this.init()
console.log('fromList', this.$router.currentRoute.params.businessKey)
// this.dataForm = this.$router.currentRoute.params.params.params.resourceDTO
- // var callbacks = {
- // startProcessSuccessCallback: this.closeCurrentTab,
- // startProcessErrorCallback: this.startProcessErrorCallback,
- // taskHandleSuccessCallback: this.closeCurrentTab,
- // taskHandleErrorCallback: this.taskHandleErrorCallback,
- // formSaveSuccessCallback: null,
- // formSaveErrorCallback: null
- // }
- // // 初始化综合组件
- // this.initProcessMultiple(callbacks)
+ var callbacks = {
+ startProcessSuccessCallback: this.closeCurrentTab,
+ startProcessErrorCallback: this.startProcessErrorCallback,
+ taskHandleSuccessCallback: this.closeCurrentTab,
+ taskHandleErrorCallback: this.taskHandleErrorCallback,
+ formSaveSuccessCallback: null,
+ formSaveErrorCallback: null
+ }
+ // 初始化综合组件
+ this.initProcessMultiple(callbacks)
},
mounted () {
const businessKey = this.$router.currentRoute.params.businessKey
@@ -180,10 +180,9 @@ export default {
this.input = ''
},
methodsThree () {
- // this.$http.get('/category/getCategoryTree').then((res) => {
- // this.insertList = res.data.data
- // })
- this.insertList = JSON.parse(localStorage.getItem('getCategoryTree'))
+ this.$http.get('/category/getCategoryTree').then((res) => {
+ this.insertList = res.data.data
+ })
},
init () {
this.visible = true
@@ -201,69 +200,78 @@ export default {
agreeOrNot: debounce(
function (data) {
if (this.dialogType === '同意') {
- console.log('this.dataForm', this.dataForm)
- const params = qs.stringify({
- taskId: this.taskId,
- comment: this.input
- })
- console.log(params)
- this.$http
- .post('/act/task/complete?' + params)
- .then(({ data: res }) => {
- if (res.code !== 0) {
- this.$message.error(res.msg)
- if (this.callbacks.taskHandleErrorCallback) {
- this.callbacks.taskHandleErrorCallback(res)
- }
- return
- }
- bus.$emit('abilityResourceShelfInit')
- this.$message({
- message: this.$t('prompt.success'),
- type: 'success',
- duration: 500,
- onClose: () => {
- this.visible = false
- this.dialogVisible = false
- this.input = ''
- if (this.callbacks.taskHandleSuccessCallback) {
- this.callbacks.taskHandleSuccessCallback(res)
- }
- }
- })
+ if (this.input !== '') {
+ console.log('this.dataForm', this.dataForm)
+ const params = qs.stringify({
+ taskId: this.taskId,
+ comment: this.input
})
- .catch(() => {})
+ console.log(params)
+ this.$http
+ .post('/act/task/complete?' + params)
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ this.$message.error(res.msg)
+ if (this.callbacks.taskHandleErrorCallback) {
+ this.callbacks.taskHandleErrorCallback(res)
+ }
+ return
+ }
+ bus.$emit('abilityResourceShelfInit')
+ this.$message({
+ message: this.$t('prompt.success'),
+ type: 'success',
+ duration: 500,
+ onClose: () => {
+ this.visible = false
+ this.dialogVisible = false
+ this.input = ''
+ if (this.callbacks.taskHandleSuccessCallback) {
+ this.callbacks.taskHandleSuccessCallback(res)
+ }
+ }
+ })
+ })
+ .catch(() => {})
+ this.tabRemoveHandle(data)
+ } else {
+ this.$message.error('请输入审批意见!')
+ }
} else if (this.dialogType === '驳回') {
- const params = qs.stringify({
- taskId: this.taskId,
- comment: this.input
- })
- this.$http
- // .post('/act/task/endProcess?', params)
- .post('/act/task/backToFirst?', params)
- .then(({ data: res }) => {
- if (res.code !== 0) {
- this.$message.error(res.msg)
- if (this.callbacks.taskHandleErrorCallback) {
- this.callbacks.taskHandleErrorCallback(res)
- }
- return
- }
- bus.$emit('abilityResourceShelfInit')
- this.$message({
- message: this.$t('prompt.success'),
- type: 'success',
- duration: 500,
- onClose: () => {
- this.visible = false
- if (this.callbacks.taskHandleSuccessCallback) {
- this.callbacks.taskHandleSuccessCallback(res)
- }
- }
- })
+ if (this.input !== '') {
+ const params = qs.stringify({
+ taskId: this.taskId,
+ comment: this.input
})
+ this.$http
+ // .post('/act/task/endProcess?', params)
+ .post('/act/task/backToFirst?', params)
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ this.$message.error(res.msg)
+ if (this.callbacks.taskHandleErrorCallback) {
+ this.callbacks.taskHandleErrorCallback(res)
+ }
+ return
+ }
+ bus.$emit('abilityResourceShelfInit')
+ this.$message({
+ message: this.$t('prompt.success'),
+ type: 'success',
+ duration: 500,
+ onClose: () => {
+ this.visible = false
+ if (this.callbacks.taskHandleSuccessCallback) {
+ this.callbacks.taskHandleSuccessCallback(res)
+ }
+ }
+ })
+ })
+ this.tabRemoveHandle(data)
+ } else {
+ this.$message.error('请输入审批意见!')
+ }
}
- this.tabRemoveHandle(data)
},
1000,
{ leading: true, trailing: false }
diff --git a/back/src/views/modules/myAgent/demo/competency-application.vue b/back/src/views/modules/myAgent/demo/competency-application.vue
index ba87c74f..fdbd870c 100644
--- a/back/src/views/modules/myAgent/demo/competency-application.vue
+++ b/back/src/views/modules/myAgent/demo/competency-application.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-29 15:59:51
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-28 17:23:05
+ * @LastEditTime: 2022-08-04 14:34:45
* @Description: 告诉大家这是什么
-->
@@ -55,7 +55,7 @@
>
-
+
申请附件:
{{ dataForm.content.enclosure || '--'
@@ -102,8 +102,8 @@
退回
-->
同意
- 拒绝驳回
+
{{ $t('user.status0') }}
@@ -44,7 +114,9 @@
{{ $t('cancel') }}
- {{ $t('confirm') }}
+ {{
+ $t('confirm')
+ }}
@@ -93,8 +165,22 @@ export default {
const low = /^.*[a-z]+.*/
const up = /^.*[A-Z]+.*/
const spe = /^.*[^a-zA-Z0-9]+.*/
- console.log('包含数字', num.test(value), '包含字母', low.test(value), up.test(value), '包含特殊符号', spe.test(value))
- if (!(num.test(value) && (low.test(value) || up.test(value)) && spe.test(value))) {
+ console.log(
+ '包含数字',
+ num.test(value),
+ '包含字母',
+ low.test(value),
+ up.test(value),
+ '包含特殊符号',
+ spe.test(value)
+ )
+ if (
+ !(
+ num.test(value) &&
+ (low.test(value) || up.test(value)) &&
+ spe.test(value)
+ )
+ ) {
return callback(new Error(this.$t('validate.pwdStrength')))
}
// if (!this.dataForm.id && !/\S/.test(value)) {
@@ -113,38 +199,52 @@ export default {
}
var validateEmail = (rule, value, callback) => {
if (value && !isEmail(value)) {
- return callback(new Error(this.$t('validate.format', { attr: this.$t('user.email') })))
+ return callback(
+ new Error(
+ this.$t('validate.format', { attr: this.$t('user.email') })
+ )
+ )
}
callback()
}
var validateMobile = (rule, value, callback) => {
if (value && !isMobile(value)) {
- return callback(new Error(this.$t('validate.format', { attr: this.$t('user.mobile') })))
+ return callback(
+ new Error(
+ this.$t('validate.format', { attr: this.$t('user.mobile') })
+ )
+ )
}
callback()
}
return {
username: [
- { required: true, message: this.$t('validate.required'), trigger: 'blur' }
+ {
+ required: true,
+ message: this.$t('validate.required'),
+ trigger: 'blur'
+ }
],
deptName: [
- { required: true, message: this.$t('validate.required'), trigger: 'change' }
- ],
- password: [
- { validator: validatePassword, trigger: 'blur' }
+ {
+ required: true,
+ message: this.$t('validate.required'),
+ trigger: 'change'
+ }
],
+ password: [{ validator: validatePassword, trigger: 'blur' }],
confirmPassword: [
{ validator: validateConfirmPassword, trigger: 'blur' }
],
realName: [
- { required: true, message: this.$t('validate.required'), trigger: 'blur' }
+ {
+ required: true,
+ message: this.$t('validate.required'),
+ trigger: 'blur'
+ }
],
- email: [
- { validator: validateEmail, trigger: 'blur' }
- ],
- mobile: [
- { validator: validateMobile, trigger: 'blur' }
- ]
+ email: [{ validator: validateEmail, trigger: 'blur' }],
+ mobile: [{ validator: validateMobile, trigger: 'blur' }]
}
}
},
@@ -165,10 +265,7 @@ export default {
this.$nextTick(() => {
this.$refs.dataForm.resetFields()
this.roleIdListDefault = []
- Promise.all([
- this.getRoleList(),
- this.getPostList()
- ]).then(() => {
+ Promise.all([this.getRoleList(), this.getPostList()]).then(() => {
if (this.dataForm.id) {
this.getInfo()
} else {
@@ -193,79 +290,98 @@ export default {
},
// 获取角色列表
getRoleList () {
- return this.$http.get('/sys/role/list').then(({ data: res }) => {
- if (res.code !== 0) {
- return this.$message.error(res.msg)
- }
- this.roleList = res.data
- }).catch(() => {})
+ return this.$http
+ .get('/sys/role/list')
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.roleList = res.data
+ })
+ .catch(() => {})
},
// 获取岗位列表
getPostList () {
- return this.$http.get('/sys/post/list').then(({ data: res }) => {
- if (res.code !== 0) {
- return this.$message.error(res.msg)
- }
- this.postList = res.data
- }).catch(() => {})
+ return this.$http
+ .get('/sys/post/list')
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.postList = res.data
+ })
+ .catch(() => {})
},
// 获取信息
getInfo () {
- this.$http.get(`/sys/user/${this.dataForm.id}`).then(({ data: res }) => {
- if (res.code !== 0) {
- return this.$message.error(res.msg)
- }
- this.dataForm = {
- ...this.dataForm,
- ...res.data,
- roleIdList: []
- }
- // 角色配置, 区分是否为默认角色
- for (var i = 0; i < res.data.roleIdList.length; i++) {
- if (this.roleList.filter(item => item.id === res.data.roleIdList[i])[0]) {
- this.dataForm.roleIdList.push(res.data.roleIdList[i])
- continue
+ this.$http
+ .get(`/sys/user/${this.dataForm.id}`)
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
}
- this.roleIdListDefault.push(res.data.roleIdList[i])
- }
- }).catch(() => {})
+ this.dataForm = {
+ ...this.dataForm,
+ ...res.data,
+ roleIdList: []
+ }
+ // 角色配置, 区分是否为默认角色
+ for (var i = 0; i < res.data.roleIdList.length; i++) {
+ if (
+ this.roleList.filter(
+ (item) => item.id === res.data.roleIdList[i]
+ )[0]
+ ) {
+ this.dataForm.roleIdList.push(res.data.roleIdList[i])
+ continue
+ }
+ this.roleIdListDefault.push(res.data.roleIdList[i])
+ }
+ })
+ .catch(() => {})
},
// 表单提交
- dataFormSubmitHandle: debounce(function () {
- this.$refs.dataForm.validate((valid) => {
- if (!valid) {
- return false
- }
- if (this.submitFlag) {
- this.submitFlag = false
- this.dataForm.password = Encrypt(this.dataForm.password)
- if (this.dataForm.id) {
- delete this.dataForm.password
+ dataFormSubmitHandle: debounce(
+ function () {
+ this.$refs.dataForm.validate((valid) => {
+ if (!valid) {
+ return false
}
- this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/user', {
- ...this.dataForm,
- roleIdList: [
- ...this.dataForm.roleIdList,
- ...this.roleIdListDefault
- ]
- }).then(({ data: res }) => {
- if (res.code !== 0) {
- return this.$message.error(res.msg)
+ if (this.submitFlag) {
+ this.submitFlag = false
+ this.dataForm.password = Encrypt(this.dataForm.password)
+ if (this.dataForm.id) {
+ delete this.dataForm.password
}
- this.$message({
- message: this.$t('prompt.success'),
- type: 'success',
- duration: 500,
- onClose: () => {
- this.visible = false
- this.$emit('refreshDataList')
- }
+ this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/user', {
+ ...this.dataForm,
+ roleIdList: [
+ ...this.dataForm.roleIdList,
+ ...this.roleIdListDefault
+ ]
})
- this.submitFlag = true
- }).catch(() => {})
- }
- })
- }, 1000, { leading: true, trailing: false })
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.$message({
+ message: this.$t('prompt.success'),
+ type: 'success',
+ duration: 500,
+ onClose: () => {
+ this.visible = false
+ this.$emit('refreshDataList')
+ }
+ })
+ this.submitFlag = true
+ })
+ .catch(() => {})
+ }
+ })
+ },
+ 1000,
+ { leading: true, trailing: false }
+ )
}
}
diff --git a/back/src/views/modules/sys/user.vue b/back/src/views/modules/sys/user.vue
index bd4a4be4..5fbacc01 100644
--- a/back/src/views/modules/sys/user.vue
+++ b/back/src/views/modules/sys/user.vue
@@ -9,7 +9,14 @@
+
+
+
@@ -44,7 +51,7 @@
{{
- $t("query")
+ $t('query')
}}
@@ -52,7 +59,7 @@
v-if="$hasPermission('sys:user:save')"
type="primary"
@click="addOrUpdateHandle()"
- >{{ $t("add") }}{{ $t('add') }}
@@ -60,7 +67,7 @@
v-if="$hasPermission('sys:user:delete')"
type="danger"
@click="deleteHandle()"
- >{{ $t("deleteBatch") }}{{ $t('deleteBatch') }}
@@ -68,7 +75,7 @@
v-if="$hasPermission('sys:user:export')"
type="info"
@click="exportHandle()"
- >{{ $t("export") }}{{ $t('export') }}
@@ -96,6 +103,12 @@
header-align="center"
align="center"
>
+
- {{ $getDictLabel("gender", scope.row.gender) }}
+ {{ $getDictLabel('gender', scope.row.gender) }}
{{
- $t("user.status0")
+ $t('user.status0')
}}
{{
- $t("user.status1")
+ $t('user.status1')
}}
@@ -163,14 +176,14 @@
type="text"
size="small"
@click="addOrUpdateHandle(scope.row.id)"
- >{{ $t("update") }}{{ $t('update') }}
{{ $t("delete") }}{{ $t('delete') }}
@@ -196,86 +209,87 @@
diff --git a/back/src/views/modules/workBench/components/frequency-top5-view.vue b/back/src/views/modules/workBench/components/frequency-top5-view.vue
index 199bcbb8..b691ec4a 100644
--- a/back/src/views/modules/workBench/components/frequency-top5-view.vue
+++ b/back/src/views/modules/workBench/components/frequency-top5-view.vue
@@ -87,7 +87,8 @@ export default {
this.noData = true
return
}
- for (let i = 0; i < 3; i++) {
+ const num = _arr.length < 3 ? _arr.length : 3
+ for (let i = 0; i < num; i++) {
const k = i + 1
this[`no${k}Obj`].name = _arr[i].name
this[`no${k}Obj`].count = _arr[i].count
diff --git a/front/package.json b/front/package.json
index 592ac777..0496e1ce 100644
--- a/front/package.json
+++ b/front/package.json
@@ -45,7 +45,7 @@
"three.meshline": "^1.1.0",
"vue": "^3.1.4",
"vue-router": "^4.0.10",
- "vue3-video-play": "^1.3.1-beta.6",
+ "vue3-video-play-emiyagm": "^1.3.1-beta.6.1",
"vuex": "^4.0.2"
},
"devDependencies": {
@@ -75,6 +75,7 @@
"svg-sprite-loader": "^6.0.9",
"swiper": "^8.0.0",
"vab-config": "0.0.8",
+ "vue3-video-play-emiyagm": "^1.3.1-beta.6.1",
"webpackbar": "^5.0.0-3"
},
"gitHooks": {
diff --git a/front/public/index.html b/front/public/index.html
index 9c053fdf..a88fc8a3 100644
--- a/front/public/index.html
+++ b/front/public/index.html
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-03-29 16:45:25
* @LastEditors: hisense.wuhongjian
- * @LastEditTime: 2022-08-02 16:06:03
+ * @LastEditTime: 2022-08-08 09:19:02
* @Description: 告诉大家这是什么
-->
@@ -60,10 +60,12 @@
// window.SITE_CONFIG['websocketURL'] = '15.2.21.236:8888/renren-admin';
// window.SITE_CONFIG['POI_URL'] = 'http://15.2.21.238:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address';
// window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797';
- // window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796/';
- // window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.238:9796/document/#/devModelFile/';
- // window.SITE_CONFIG['apiURL'] = 'http://15.2.21.239:8888/renren-admin';
- window.SITE_CONFIG['POI_URL'] = 'http://15.2.21.238:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address';
+ // window.SITE_CONFIG['backUrl'] = 'http://localhost:8001';
+ // window.SITE_CONFIG['previewUrl'] = 'http://192.168.124.236:9796/';
+ // window.SITE_CONFIG['frontUrl'] = 'http://192.168.124.236:9796/document/#/devModelFile/';
+ // window.SITE_CONFIG['apiURL'] = 'http://192.168.124.236:8888/renren-admin';
+ // window.SITE_CONFIG['websocketURL'] = '192.168.124.236:8888/renren-admin';
+ window.SITE_CONFIG['POI_URL'] = 'http://192.168.124.236:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address';
// 穿透版本
// window.SITE_CONFIG['backUrl'] = 'http://124.222.94.39:9797';
// window.SITE_CONFIG['previewUrl'] = 'http://124.222.94.39:9796/';
diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js
index 50707442..deddff2f 100644
--- a/front/public/static/config/location.js
+++ b/front/public/static/config/location.js
@@ -1,8 +1,8 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23
- * @LastEditors: hisense.wuhongjian
- * @LastEditTime: 2022-08-02 10:18:58
+ * @LastEditors: hisense.liangjunhua
+ * @LastEditTime: 2022-08-01 11:02:21
* @Description: 数据资源参数配置
*/
const newLocation = 'qingdao'
diff --git a/front/public/static/config/mapConfig.js b/front/public/static/config/mapConfig.js
index 1da63234..ca89b5fc 100644
--- a/front/public/static/config/mapConfig.js
+++ b/front/public/static/config/mapConfig.js
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian
- * @LastEditTime: 2022-07-28 16:57:43
+ * @LastEditTime: 2022-08-02 18:19:32
* @Description: 地图静态参数配置
*/
var _mapConfig = {}
diff --git a/front/src/App.vue b/front/src/App.vue
index 0dce7f04..ce2073f2 100644
--- a/front/src/App.vue
+++ b/front/src/App.vue
@@ -1,8 +1,8 @@
@@ -68,4 +68,7 @@
position: relative;
background-color: #fff;
}
+ body {
+ font-size: 0.14rem;
+ }
diff --git a/front/src/api/capabilityCloud.js b/front/src/api/capabilityCloud.js
index 011517fe..0cb3eebe 100644
--- a/front/src/api/capabilityCloud.js
+++ b/front/src/api/capabilityCloud.js
@@ -97,7 +97,7 @@ export function callTheTrendPort(start, end, params) {
export function totalCallsSnum(params) {
return request({
url:
- `/metrics/api/v1/query?time=${params}&query=sum(apigateway_http_status)`,
+ `/gateway-monitor/getCallCount`,
method: 'get',
})
}
diff --git a/front/src/api/personalCenter.js b/front/src/api/personalCenter.js
index 84363a19..a579c418 100644
--- a/front/src/api/personalCenter.js
+++ b/front/src/api/personalCenter.js
@@ -275,3 +275,12 @@ export function AbilityToPullDownPages(params) {
params,
})
}
+
+// 终止流程
+export function endProcess(params) {
+ return request({
+ url: '/act/task/endProcess',
+ method: 'post',
+ params,
+ })
+}
diff --git a/front/src/assets/menu/apply.png b/front/src/assets/menu/apply.png
index 6d3bd6b8..fd0b06a7 100644
Binary files a/front/src/assets/menu/apply.png and b/front/src/assets/menu/apply.png differ
diff --git a/front/src/assets/menu/apply_back.png b/front/src/assets/menu/apply_back.png
deleted file mode 100644
index 4fadc028..00000000
Binary files a/front/src/assets/menu/apply_back.png and /dev/null differ
diff --git a/front/src/assets/menu/down.png b/front/src/assets/menu/down.png
index 85462dc6..f9bb3c31 100644
Binary files a/front/src/assets/menu/down.png and b/front/src/assets/menu/down.png differ
diff --git a/front/src/assets/menu/jcss.png b/front/src/assets/menu/jcss.png
new file mode 100644
index 00000000..5e9dab0b
Binary files /dev/null and b/front/src/assets/menu/jcss.png differ
diff --git a/front/src/assets/menu/new-bg.png b/front/src/assets/menu/new-bg.png
new file mode 100644
index 00000000..6b3c5ef9
Binary files /dev/null and b/front/src/assets/menu/new-bg.png differ
diff --git a/front/src/assets/menu/sevice-bg.png b/front/src/assets/menu/sevice-bg.png
new file mode 100644
index 00000000..95974faa
Binary files /dev/null and b/front/src/assets/menu/sevice-bg.png differ
diff --git a/front/src/assets/menu/shelves.png b/front/src/assets/menu/shelves.png
index ede998d2..60c85489 100644
Binary files a/front/src/assets/menu/shelves.png and b/front/src/assets/menu/shelves.png differ
diff --git a/front/src/assets/menu/sjzy.png b/front/src/assets/menu/sjzy.png
new file mode 100644
index 00000000..e6a8b8ad
Binary files /dev/null and b/front/src/assets/menu/sjzy.png differ
diff --git a/front/src/assets/menu/yyzy.png b/front/src/assets/menu/yyzy.png
new file mode 100644
index 00000000..10de2b03
Binary files /dev/null and b/front/src/assets/menu/yyzy.png differ
diff --git a/front/src/assets/menu/zjfw.png b/front/src/assets/menu/zjfw.png
new file mode 100644
index 00000000..2affd86b
Binary files /dev/null and b/front/src/assets/menu/zjfw.png differ
diff --git a/front/src/main.js b/front/src/main.js
index be02ff2a..7b3ccf72 100644
--- a/front/src/main.js
+++ b/front/src/main.js
@@ -1,8 +1,8 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2022-03-29 17:48:03
- * @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-22 16:03:23
+ * @LastEditors: hisense.wuhongjian
+ * @LastEditTime: 2022-08-06 15:00:49
* @Description: 告诉大家这是什么
*/
import { createApp } from 'vue'
@@ -16,8 +16,8 @@ import 'ant-design-vue/dist/antd.css'
import '@/vab'
import * as echarts from 'echarts'
import * as moment from 'moment'
-import vue3videoPlay from 'vue3-video-play' // 引入组件
-import 'vue3-video-play/dist/style.css' // 引入css
+import vue3videoPlay from 'vue3-video-play-emiyagm' // 引入组件
+import 'vue3-video-play-emiyagm/dist/style.css' // 引入css
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
diff --git a/front/src/views/abilityStatistics/components/CapabilityRequirements.vue b/front/src/views/abilityStatistics/components/CapabilityRequirements.vue
index 6fef3668..b2d4c45c 100644
--- a/front/src/views/abilityStatistics/components/CapabilityRequirements.vue
+++ b/front/src/views/abilityStatistics/components/CapabilityRequirements.vue
@@ -13,10 +13,16 @@
backgroundImage: `url(${item.photo}) `,
}"
>
-