Commit 0a491a52 authored by ztf's avatar ztf

修改项目群字段

parent 9ae5e92d
<!--
* @Author: zhangtianfeng 3232807530@qq.com
* @Date: 2024-09-12 09:09:39
* @LastEditors: zhangtianfeng 3232807530@qq.com
* @LastEditTime: 2024-10-17 14:09:33
* @FilePath: \inet-two\applications\dee-project\src\privateComponents\components\createProject\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="project">
<dee-as-com
......@@ -40,7 +48,7 @@ export default {
}
},
watch: {
'form.dynamicAttrs.projectClass': {
'form.projectClass': {
immediate: true,
deep: true,
handler(val) {
......
......@@ -57,7 +57,7 @@ export default {
const id = this.form.id
const pageNumber = '7cbdc38f-0122-4e78-b162-57601a33bb7a'
const title = '项目要素'
const type = this.form.dynamicAttrs.projectClass === 'project' ? '项目' : '子项'
const type = this.form.projectClass === 'project' ? '项目' : '子项'
this.$router.push({
path: `/page/${pageNumber}/${id}?type=${type}&title=${title}&id=${id}&name=${name}&secretCode=${secretCode}`,
query: { name: name, id: id }
......
......@@ -80,7 +80,7 @@ export default {
value(val) {
this.$emit('input', val)
},
'form.dynamicAttrs.projectClass': {
'form.projectClass': {
immediate: true,
deep: true,
handler(val) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment