Commit b5b09a20 authored by 张伯涛's avatar 张伯涛

修改

parent f41e0c12
...@@ -106,7 +106,12 @@ ...@@ -106,7 +106,12 @@
<el-link :underline="false" type="warning" @click.stop="updateFJXX(row)">附件</el-link> <el-link :underline="false" type="warning" @click.stop="updateFJXX(row)">附件</el-link>
<el-link :underline="false" type="primary" style="margin-left: 10px" @click.stop="update(row)">修改</el-link> <el-link :underline="false" type="primary" style="margin-left: 10px" @click.stop="update(row)">修改</el-link>
<el-link :underline="false" type="success" style="margin-left: 10px" @click.stop="pushInfo(row)">推送</el-link> <el-link :underline="false" type="success" style="margin-left: 10px" @click.stop="pushInfo(row)">推送</el-link>
<el-link :underline="false" type="danger" style="margin-left: 10px " @click.stop="del(row)">删除</el-link> <el-link
v-if="!row.CONMAINCODE"
:underline="false"
type="danger"
style="margin-left: 10px "
@click.stop="del(row)">删除</el-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -149,7 +154,12 @@ ...@@ -149,7 +154,12 @@
<el-link :underline="false" type="primary" @click.stop="update(row)">修改</el-link> <el-link :underline="false" type="primary" @click.stop="update(row)">修改</el-link>
<el-link :underline="false" type="success" style="margin-left: 10px" @click.stop="pushInfo(row)">推送</el-link> <el-link :underline="false" type="success" style="margin-left: 10px" @click.stop="pushInfo(row)">推送</el-link>
<!-- <el-link :underline="false" type="warning" style="margin-left: 10px" @click.stop="examine(row)">审核</el-link>--> <!-- <el-link :underline="false" type="warning" style="margin-left: 10px" @click.stop="examine(row)">审核</el-link>-->
<el-link :underline="false" type="danger" style="margin-left: 10px " @click.stop="del(row)">删除</el-link> <el-link
v-if="!row.CONMAINCODE"
:underline="false"
type="danger"
style="margin-left: 10px "
@click.stop="del(row)">删除</el-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -191,7 +201,12 @@ ...@@ -191,7 +201,12 @@
<el-link :underline="false" type="warning" @click.stop="updateFJXX(row)">附件</el-link> <el-link :underline="false" type="warning" @click.stop="updateFJXX(row)">附件</el-link>
<el-link :underline="false" type="primary" @click.stop="update(row)">修改</el-link> <el-link :underline="false" type="primary" @click.stop="update(row)">修改</el-link>
<el-link :underline="false" type="success" style="margin-left: 10px" @click.stop="pushInfo(row)">推送</el-link> <el-link :underline="false" type="success" style="margin-left: 10px" @click.stop="pushInfo(row)">推送</el-link>
<el-link :underline="false" type="danger" style="margin-left: 10px " @click.stop="del(row)">删除</el-link> <el-link
v-if="!row.CONMAINCODE"
:underline="false"
type="danger"
style="margin-left: 10px "
@click.stop="del(row)">删除</el-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -48,13 +48,13 @@ ...@@ -48,13 +48,13 @@
<div class="title">项目信息列表</div> <div class="title">项目信息列表</div>
<el-table :data="projectInfoData" :row-style="tableRowStyle" border> <el-table :data="projectInfoData" :row-style="tableRowStyle" border>
<el-table-column label="序号" type="index" width="55" /> <el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" width="180" show-overflow-tooltip> <el-table-column label="项目名称" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link v-if="scope.row.fatherNum === '07'" :underline="false" type="primary" @click="handProject(scope.row)">{{ scope.row.ZFUNDNAME }}</el-link> <el-link v-if="scope.row.fatherNum === '07'" :underline="false" type="primary" @click="handProject(scope.row)">{{ scope.row.ZFUNDNAME }}</el-link>
<el-link v-else :underline="false" type="primary" @click="handProject(scope.row)">{{ scope.row.ZPROJNAME }}</el-link> <el-link v-else :underline="false" type="primary" @click="handProject(scope.row)">{{ scope.row.ZPROJNAME }}</el-link>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="项目主数据编码" prop="ZPROJECT" show-overflow-tooltip> <el-table-column label="项目主数据编码" width="180" prop="ZPROJECT" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.ZPROJECT || scope.row.ZFUND }}</span> <span>{{ scope.row.ZPROJECT || scope.row.ZFUND }}</span>
</template> </template>
...@@ -68,11 +68,17 @@ ...@@ -68,11 +68,17 @@
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="所属二级单位" prop="Z2NDORGNAME" width="180" show-overflow-tooltip />--> <!-- <el-table-column label="所属二级单位" prop="Z2NDORGNAME" width="180" show-overflow-tooltip />-->
<el-table-column label="操作" width="180"> <el-table-column v-if="!projectPerList.includes(jurisdiction)" label="操作" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<el-link :underline="false" type="primary" @click="editProject(scope.row)">修改</el-link> <el-link :underline="false" type="primary" @click="editProject(scope.row)">修改</el-link>
<el-link :underline="false" type="success" style="margin-left: 10px" @click="pushProject(scope.row)">推送</el-link> <el-link :underline="false" type="success" style="margin-left: 10px" @click="pushProject(scope.row)">推送</el-link>
<el-link :underline="false" type="danger" style="margin-left: 10px" @click="delProject(scope.row)">删除</el-link> <el-link
v-if="!scope.row.ZPROJECT && !scope.row.ZFUND"
:underline="false"
type="danger"
style="margin-left: 10px"
@click="delProject(scope.row)"
>删除</el-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -100,10 +106,19 @@ ...@@ -100,10 +106,19 @@
<script> <script>
import { projectQuery, projectDel, getDictAll, getPush } from '@/views/projectInfo/api' import { projectQuery, projectDel, getDictAll, getPush } from '@/views/projectInfo/api'
import { Store } from '@/utils/storage'
import { storeKey } from '@/utils/auth'
export default { export default {
name: 'ProjectInfo', name: 'ProjectInfo',
data() { data() {
return { return {
jurisdiction: JSON.parse(Store.get(storeKey.user)).userId,
// 有查看权限用户不可以修改,推送,删除
projectPerList: ['2017009369', '2017009368', '2016013051', '2017013969', '2017017971', '2017013968',
'2019010032', '2016012588', '2016012589', '2021011460', '2021011459', '2016012717', '2016012906',
'2016012784', '2016013006', '2016013108', '2016013046', '2016013155', '2017009391', '2016012542',
'2016012554', '2019010020', '2016012599', '2017013970', '2016012620', '2016012591', '2016013069',
'2016012725'],
Loading: false, Loading: false,
projectForm: { projectForm: {
ZPROJNAME: '', ZPROJNAME: '',
......
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