|
|
|
@ -81,6 +81,7 @@
|
|
|
|
<dict-tag :options="project_category" :value="scope.row.projectCategory" />
|
|
|
|
<dict-tag :options="project_category" :value="scope.row.projectCategory" />
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="预算编号" align="center" prop="budgetCode" width="140"/>
|
|
|
|
<el-table-column label="项目号" align="center" prop="projectCode" v-if="columns[6].visible" />
|
|
|
|
<el-table-column label="项目号" align="center" prop="projectCode" v-if="columns[6].visible" />
|
|
|
|
<el-table-column label="项目名称" align="center" prop="projectName" v-if="columns[7].visible" />
|
|
|
|
<el-table-column label="项目名称" align="center" prop="projectName" v-if="columns[7].visible" />
|
|
|
|
<el-table-column label="版本" align="center" prop="budgetVersion" v-if="columns[34].visible" width="60"/>
|
|
|
|
<el-table-column label="版本" align="center" prop="budgetVersion" v-if="columns[34].visible" width="60"/>
|
|
|
|
@ -178,6 +179,8 @@ const { project_category, budget_status, wf_business_status } = toRefs<any>(
|
|
|
|
proxy?.useDict('project_category', 'budget_status', 'wf_business_status')
|
|
|
|
proxy?.useDict('project_category', 'budget_status', 'wf_business_status')
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const route = useRoute();
|
|
|
|
|
|
|
|
|
|
|
|
const budgetInfoList = ref<budgetInfoVO[]>([]);
|
|
|
|
const budgetInfoList = ref<budgetInfoVO[]>([]);
|
|
|
|
const userList = ref<UserVO[]>([]);
|
|
|
|
const userList = ref<UserVO[]>([]);
|
|
|
|
const buttonLoading = ref(false);
|
|
|
|
const buttonLoading = ref(false);
|
|
|
|
@ -375,6 +378,7 @@ const handleSelectionChange = (selection: budgetInfoVO[]) => {
|
|
|
|
|
|
|
|
|
|
|
|
/** 新增市场项目预算按钮操作 */
|
|
|
|
/** 新增市场项目预算按钮操作 */
|
|
|
|
const handleAdd = () => {
|
|
|
|
const handleAdd = () => {
|
|
|
|
|
|
|
|
proxy.$tab.closePage(route);
|
|
|
|
router.push({
|
|
|
|
router.push({
|
|
|
|
path: '/budget/budgetInfo/edit',
|
|
|
|
path: '/budget/budgetInfo/edit',
|
|
|
|
query: {
|
|
|
|
query: {
|
|
|
|
@ -392,6 +396,7 @@ const handleAdd = () => {
|
|
|
|
|
|
|
|
|
|
|
|
/** 新增研发项目按钮操作 */
|
|
|
|
/** 新增研发项目按钮操作 */
|
|
|
|
const handleAddRd = () => {
|
|
|
|
const handleAddRd = () => {
|
|
|
|
|
|
|
|
proxy.$tab.closePage(route);
|
|
|
|
router.push({
|
|
|
|
router.push({
|
|
|
|
path: '/budget/budgetInfo/edit',
|
|
|
|
path: '/budget/budgetInfo/edit',
|
|
|
|
query: {
|
|
|
|
query: {
|
|
|
|
@ -404,6 +409,7 @@ const handleAddRd = () => {
|
|
|
|
|
|
|
|
|
|
|
|
/** 查询、修改按钮操作 */
|
|
|
|
/** 查询、修改按钮操作 */
|
|
|
|
const handleUpdate = async (row?: budgetInfoVO, type?: string, changeFlag?: string) => {
|
|
|
|
const handleUpdate = async (row?: budgetInfoVO, type?: string, changeFlag?: string) => {
|
|
|
|
|
|
|
|
proxy.$tab.closePage(route);
|
|
|
|
router.push({
|
|
|
|
router.push({
|
|
|
|
path: '/budget/budgetInfo/edit',
|
|
|
|
path: '/budget/budgetInfo/edit',
|
|
|
|
query: {
|
|
|
|
query: {
|
|
|
|
@ -421,6 +427,7 @@ const handleUpdate = async (row?: budgetInfoVO, type?: string, changeFlag?: stri
|
|
|
|
|
|
|
|
|
|
|
|
/** 变更按钮操作 */
|
|
|
|
/** 变更按钮操作 */
|
|
|
|
const handleChange = async (row?: budgetInfoVO) => {
|
|
|
|
const handleChange = async (row?: budgetInfoVO) => {
|
|
|
|
|
|
|
|
proxy.$tab.closePage(route);
|
|
|
|
router.push({
|
|
|
|
router.push({
|
|
|
|
path: '/budget/budgetInfo/change',
|
|
|
|
path: '/budget/budgetInfo/change',
|
|
|
|
query: {
|
|
|
|
query: {
|
|
|
|
|