修改待办为跳转、弹框加点击空白不关闭、政策文件库新增、修改、删除给角色控制、返回按钮的路由地址

prod
吕天方 8 months ago
parent 48088f5d42
commit a2eceb5316

@ -75,7 +75,7 @@ export default {
},
//
back(){
this.$router.replace({path: '/project/index'})
this.$router.back();
},
},
};

@ -119,7 +119,7 @@
@pagination="getList"
/>
<!-- 添加或修改菜单对话框 -->
<el-dialog title="请选择申报表单" :visible.sync="open" width="680px" append-to-body>
<el-dialog title="请选择申报表单" :visible.sync="open" width="680px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row>
<el-col :span="24">

@ -113,7 +113,7 @@
@pagination="getList"
/>
<!-- 添加或修改申报企业名录对话框 -->
<el-dialog :title="title" :visible.sync="open" width="680px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="680px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row>
<el-col :span="24">
@ -226,7 +226,7 @@
</div>
</el-dialog>
<!-- 查看企业对话框 -->
<el-dialog title="企业信息列表" :visible.sync="viewVisible" width="680px" append-to-body>
<el-dialog title="企业信息列表" :visible.sync="viewVisible" width="680px" append-to-body :close-on-click-modal="false">
<el-table
v-if="refreshTable"
v-loading="businessLoading"

@ -140,7 +140,7 @@
@pagination="getList"
/>
<!-- 申报审核对话框 -->
<el-dialog title="申报审核" :visible.sync="open" width="600px" append-to-body>
<el-dialog title="申报审核" :visible.sync="open" width="600px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="100px" label-position="left">
<el-row>
<el-col :span="24">

@ -256,7 +256,7 @@
@pagination="getList"
/>
<!-- 添加或修改菜单对话框 -->
<el-dialog title="请选择申报表单" :visible.sync="open" width="680px" append-to-body>
<el-dialog title="请选择申报表单" :visible.sync="open" width="680px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row>
<el-col :span="24">
@ -296,7 +296,7 @@
</div>
</el-dialog>
<!-- 市级评审对话框 -->
<el-dialog title="市级评审结果确认" :visible.sync="openCity" width="600px" append-to-body>
<el-dialog title="市级评审结果确认" :visible.sync="openCity" width="600px" append-to-body :close-on-click-modal="false">
<el-form ref="cityFormRef" :model="cityForm" :rules="cityRules" label-width="100px">
<el-row>
<el-col :span="14">

@ -45,7 +45,7 @@
</el-col>
<el-col :span="2">
<!-- <el-button type="primary" class="import-btn" icon="icon iconfont icon-jc-shangchuan" size="mini" @click="importBtn"></el-button> -->
<el-button type="primary" class="import-btn" icon="el-icon-plus" size="mini" @click="importBtn"></el-button>
<el-button v-if="userType !== '01'" type="primary" class="import-btn" icon="el-icon-plus" size="mini" @click="importBtn"></el-button>
</el-col>
</el-form>
</header>
@ -67,8 +67,8 @@
<el-table-column label="操作" prop="userId" class-name="table-operation" width="180px">
<template slot-scope="scope">
<span class="look-info" @click="goInfo(scope.row)"></span>
<span class="edit-info" @click="editInfo(scope.row)"></span>
<span class="del-info" @click="delInfo(scope.row)"></span>
<span class="edit-info" @click="editInfo(scope.row)" v-if="userType !== '01'"></span>
<span class="del-info" @click="delInfo(scope.row)" v-if="userType !== '01'"></span>
</template>
</el-table-column>
</el-table>
@ -150,7 +150,7 @@
:visible.sync="infoVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
@close="infoVisible = false"
@close="infoClose"
custom-class="info-dialog"
append-to-body
>
@ -165,7 +165,7 @@
<div slot="footer" class="dialog-footer">
<el-form size="small">
<el-form-item class="dialog-from-item">
<el-button size="mini" @click="infoVisible = false">关闭</el-button>
<el-button size="mini" @click="infoClose"></el-button>
</el-form-item>
</el-form>
</div>
@ -181,6 +181,8 @@ export default {
dicts: ['jjh_project_type'],
data() {
return {
userType: this.$store.state.user.userType,
deptId: this.$store.state.user.deptId,
total:0,
pagination: {
current:1,
@ -303,6 +305,11 @@ export default {
}
})
},
//
infoClose(){
this.addFrom = {}
this.infoVisible = false;
},
//
goInfo(row){
jPolicyFileId(row.id).then((res=>{
@ -364,7 +371,7 @@ export default {
type: "warning",
})
.then(() => {
jProjectDel({ id: row.id }).then((res) => {
jPolicyFileDel({ id: row.id }).then((res) => {
this.getList();
this.$message({
type: "success",

@ -145,7 +145,7 @@
/>
<!-- 添加或修改做大做强奖详情对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="企业id" prop="enterpriseId">
<el-input v-model="form.enterpriseId" placeholder="请输入企业id" />

@ -133,7 +133,7 @@
/>
<!-- 添加或修改品牌打造奖补对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="企业id" prop="enterpriseId">
<el-input v-model="form.enterpriseId" placeholder="请输入企业id" />

@ -160,7 +160,7 @@
/>
<!-- 添加或修改载体建设奖补对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="项目名称" prop="projectName">
<el-input v-model="form.projectName" placeholder="请输入项目名称" />

@ -149,7 +149,7 @@
/>
<!-- 添加或修改参数配置对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="参数名称" prop="configName">
<el-input v-model="form.configName" placeholder="请输入参数名称" />

@ -97,7 +97,7 @@
</el-table>
<!-- 添加或修改部门对话框 -->
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-row>
<el-col :span="24" v-if="form.parentId !== 0">

@ -141,7 +141,7 @@
/>
<!-- 添加或修改参数配置对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="字典类型">
<el-input v-model="form.dictType" :disabled="true" />

@ -159,7 +159,7 @@
/>
<!-- 添加或修改参数配置对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="字典名称" prop="dictName">
<el-input v-model="form.dictName" placeholder="请输入字典名称" />

@ -142,7 +142,7 @@
/>
<!-- 添加或修改企业基础信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="企业名称" prop="enterpriseName">
<el-input v-model="form.enterpriseName" placeholder="请输入企业名称" />

@ -196,7 +196,7 @@
/>
<!-- 添加或修改资金信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="对应模板id" prop="templateId">
<el-input v-model="form.templateId" placeholder="请输入对应模板id" />

@ -124,7 +124,7 @@
/>
<!-- 添加或修改5G+工业互联网奖补对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="企业id" prop="enterpriseId">
<el-input v-model="form.enterpriseId" placeholder="请输入企业id" />

@ -142,7 +142,7 @@
/>
<!-- 添加或修改物流发展奖补对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="企业id" prop="enterpriseId">
<el-input v-model="form.enterpriseId" placeholder="请输入企业id" />

@ -141,7 +141,7 @@
/>
<!-- 添加或修改制造服务业有效投入奖补对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="企业id" prop="enterpriseId">
<el-input v-model="form.enterpriseId" placeholder="请输入企业id" />

@ -104,7 +104,7 @@
</el-table>
<!-- 添加或修改菜单对话框 -->
<el-dialog :title="title" :visible.sync="open" width="680px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="680px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-row>
<el-col :span="24">

@ -124,7 +124,7 @@
/>
<!-- 添加或修改公告对话框 -->
<el-dialog :title="title" :visible.sync="open" width="780px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="780px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-row>
<el-col :span="12">

@ -146,7 +146,7 @@
/>
<!-- 操作日志详细 -->
<el-dialog title="操作日志详细" :visible.sync="open" width="700px" append-to-body>
<el-dialog title="操作日志详细" :visible.sync="open" width="700px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" label-width="100px" size="mini">
<el-row>
<el-col :span="12">

@ -124,7 +124,7 @@
/>
<!-- 添加或修改平台建设奖补对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="企业id" prop="enterpriseId">
<el-input v-model="form.enterpriseId" placeholder="请输入企业id" />

@ -125,7 +125,7 @@
/>
<!-- 添加或修改岗位对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="岗位名称" prop="postName">
<el-input v-model="form.postName" placeholder="请输入岗位名称" />

@ -163,7 +163,7 @@
/>
<!-- 添加或修改项目落户奖补对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="企业id" prop="enterpriseId">
<el-input v-model="form.enterpriseId" placeholder="请输入企业id" />

@ -157,7 +157,7 @@
/>
<!-- 添加或修改角色配置对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="角色名称" prop="roleName">
<el-input v-model="form.roleName" placeholder="请输入角色名称" />
@ -209,7 +209,7 @@
</el-dialog>
<!-- 分配角色数据权限对话框 -->
<el-dialog :title="title" :visible.sync="openDataScope" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="openDataScope" width="500px" append-to-body :close-on-click-modal="false">
<el-form :model="form" label-width="80px">
<el-form-item label="角色名称">
<el-input v-model="form.roleName" :disabled="true" />

@ -125,7 +125,7 @@
/>
<!-- 添加或修改场景开放奖补对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="企业id" prop="enterpriseId">
<el-input v-model="form.enterpriseId" placeholder="请输入企业id" />

@ -227,7 +227,7 @@
/>
<!-- 添加或修改申报模板信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="模板名称" prop="templateName">
<el-input v-model="form.templateName" placeholder="请输入模板名称" />

@ -204,7 +204,7 @@
</el-row>
<!-- 添加或修改用户配置对话框 -->
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-row>
<el-col :span="12">
@ -338,7 +338,7 @@
</el-dialog>
<!-- 用户导入对话框 -->
<el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
<el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body :close-on-click-modal="false">
<el-upload
ref="upload"
:limit="1"

@ -1,7 +1,7 @@
<template>
<div>
<div class="user-info-head" @click="editCropper()"><img v-bind:src="options.img" title="点击上传头像" class="img-circle img-lg" /></div>
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body @opened="modalOpened" @close="closeDialog">
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body @opened="modalOpened" @close="closeDialog" :close-on-click-modal="false">
<el-row>
<el-col :xs="24" :md="12" :style="{height: '350px'}">
<vue-cropper

@ -4,6 +4,7 @@
v-bind="$attrs"
width="980px"
:modal-append-to-body="false"
:close-on-click-modal="false"
v-on="$listeners"
@open="onOpen"
@close="onClose"

@ -37,7 +37,7 @@
<div class="main-items" v-for="(item,index) in backlogArray" :key="index" :class="index % 2 == 0 ? '':'main-item'">
<div>{{ item.projectName }}</div>
<div>审批知识产权材料</div>
<div @click="handleApproval(item)"></div>
<div @click="MoreRecords"></div>
</div>
</div>
<div class="right-main" v-else>
@ -48,7 +48,7 @@
</el-row>
</main>
<!-- 申报审核对话框 -->
<el-dialog title="申报审核" :visible.sync="open" width="600px" append-to-body>
<!-- <el-dialog title="申报审核" :visible.sync="open" width="600px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="100px" label-position="left">
<el-row>
<el-col :span="24">
@ -93,7 +93,7 @@
<el-button @click="cancel"> </el-button>
<el-button type="primary" @click="submitForm"> </el-button>
</div>
</el-dialog>
</el-dialog> -->
</div>
</template>
<script>
@ -144,6 +144,7 @@ export default {
params: { approvalStatusStr: "0" }
})
},
//
handleApproval(row) {
this.reset();
this.form.declarationRecordsId = row.declarationRecordsId

Loading…
Cancel
Save