Merge branch 'develop' of http://103.249.252.28:90/LAWS/laws-system-front-FOTON into develop
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<!-- 标准入库流程-->
|
<!-- 标准入库流程-->
|
||||||
<ProcessHeader toggle>
|
<ProcessHeader toggle>
|
||||||
<template slot="proName">标准入库流程</template>
|
<template slot="proName">标准入库流程</template>
|
||||||
<template slot="proNode">申请人发起流程</template>
|
<template slot="proNode">经理人审批</template>
|
||||||
</ProcessHeader>
|
</ProcessHeader>
|
||||||
<div class="headerTabs">
|
<div class="headerTabs">
|
||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
@@ -703,8 +703,7 @@
|
|||||||
pId: this.$route.query.prcId
|
pId: this.$route.query.prcId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
console.log(res);
|
this.form = JSON.parse(res.mesg)
|
||||||
resolve()
|
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -179,6 +179,22 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
queryProcess () { // 查询待办流程
|
queryProcess () { // 查询待办流程
|
||||||
|
this.$http.postData('lawss/activiti/doneProcess', {
|
||||||
|
current: this.pageNo,
|
||||||
|
size: this.$store.getters.userInfo.configContent,
|
||||||
|
userId: this.$store.getters.userInfo.userId,
|
||||||
|
prcName: this.searchForm.prcName,
|
||||||
|
prcType: parseInt(this.searchForm.prcType) || '',
|
||||||
|
prcNum: this.searchForm.prcNum
|
||||||
|
}, {
|
||||||
|
loading: 'loading',
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
console.log(res)
|
||||||
|
this.processList = res.list || []
|
||||||
|
this.total = res.count
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
},
|
},
|
||||||
selectProcessBtn () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
@@ -195,6 +211,13 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
dealWith (row) { // 办理
|
dealWith (row) { // 办理
|
||||||
|
this.$router.push({
|
||||||
|
name: 'ProcessDetail',
|
||||||
|
query: {
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
tabsName: 'AlreadyProcess'
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
...mapMutations(['setProcess', 'setHandleInfo']),
|
...mapMutations(['setProcess', 'setHandleInfo']),
|
||||||
...mapActions(['setMenu'])
|
...mapActions(['setMenu'])
|
||||||
|
|||||||
@@ -179,6 +179,23 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
queryProcess () { // 查询待办流程
|
queryProcess () { // 查询待办流程
|
||||||
|
this.$http.postData('lawss/activiti/IssuedProcess',
|
||||||
|
{
|
||||||
|
current: this.pageNo,
|
||||||
|
size: this.$store.getters.userInfo.configContent,
|
||||||
|
userId: this.$store.getters.userInfo.userId,
|
||||||
|
prcName: this.searchForm.prcName,
|
||||||
|
prcType: parseInt(this.searchForm.prcType) || '',
|
||||||
|
prcNum: this.searchForm.prcNum
|
||||||
|
},
|
||||||
|
{
|
||||||
|
loading: 'loading',
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.processList = res.list
|
||||||
|
this.total = res.count
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
},
|
},
|
||||||
selectProcessBtn () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
@@ -195,6 +212,13 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
dealWith (row) { // 办理
|
dealWith (row) { // 办理
|
||||||
|
this.$router.push({
|
||||||
|
name: 'ProcessDetail',
|
||||||
|
query: {
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
tabsName: 'AlreadySend'
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
...mapMutations(['setProcess', 'setHandleInfo']),
|
...mapMutations(['setProcess', 'setHandleInfo']),
|
||||||
...mapActions(['setMenu'])
|
...mapActions(['setMenu'])
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '办理']">查看</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -167,7 +167,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[1]) {
|
switch (command[1]) {
|
||||||
case '办理':
|
case '查看':
|
||||||
this.dealWith(command[0])
|
this.dealWith(command[0])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@@ -179,6 +179,23 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
queryProcess () { // 查询待办流程
|
queryProcess () { // 查询待办流程
|
||||||
|
this.$http.postData('lawss/activiti/allProcess',
|
||||||
|
{
|
||||||
|
current: this.pageNo,
|
||||||
|
size: this.$store.getters.userInfo.configContent,
|
||||||
|
userId: this.$store.getters.userInfo.userId,
|
||||||
|
prcName: this.searchForm.prcName,
|
||||||
|
prcType: parseInt(this.searchForm.prcType) || '',
|
||||||
|
prcNum: this.searchForm.prcNum
|
||||||
|
},
|
||||||
|
{
|
||||||
|
loading: 'loading',
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.processList = res.list || []
|
||||||
|
this.total = res.count
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
},
|
},
|
||||||
selectProcessBtn () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
@@ -195,6 +212,13 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
dealWith (row) { // 办理
|
dealWith (row) { // 办理
|
||||||
|
this.$router.push({
|
||||||
|
name: 'ProcessDetail',
|
||||||
|
query: {
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
tabsName: 'MonitorProcess'
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
...mapMutations(['setProcess', 'setHandleInfo']),
|
...mapMutations(['setProcess', 'setHandleInfo']),
|
||||||
...mapActions(['setMenu'])
|
...mapActions(['setMenu'])
|
||||||
|
|||||||
@@ -199,7 +199,6 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
selectProcessBtn () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
|
|||||||
@@ -179,6 +179,20 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
queryProcess () { // 查询待办流程
|
queryProcess () { // 查询待办流程
|
||||||
|
this.$http.postData('lawss/activiti/queryTaskDraft', {
|
||||||
|
current: this.pageNo,
|
||||||
|
size: parseInt(this.$store.getters.userInfo.configContent),
|
||||||
|
userId: this.$store.getters.userInfo.usid || this.$store.getters.userInfo.userId,
|
||||||
|
prcName: this.searchForm.prcName,
|
||||||
|
prcType: parseInt(this.searchForm.prcType) || ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
loading: 'loading',
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.processList = res.list
|
||||||
|
this.total = res.count
|
||||||
|
})
|
||||||
},
|
},
|
||||||
selectProcessBtn () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
|
|||||||
@@ -71,7 +71,18 @@
|
|||||||
<div class="right">
|
<div class="right">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<div class="non-content">
|
||||||
|
<el-tabs v-model="ifMaintaince" @tab-click="handleClick" style="height: 100%">
|
||||||
|
<el-tab-pane label="已维护" name="Maintenance">
|
||||||
|
</el-tab-pane>
|
||||||
|
<el-tab-pane label="未维护" name="notMaintenance"></el-tab-pane>
|
||||||
|
</el-tabs>
|
||||||
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:data="localProTableList"
|
:data="localProTableList"
|
||||||
@@ -89,28 +100,28 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="flatform"
|
prop="projectPlatfor"
|
||||||
align="center"
|
align="center"
|
||||||
label="产品平台">
|
label="产品平台">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productNo"
|
prop="projectNumber"
|
||||||
align="center"
|
align="center"
|
||||||
width="90"
|
width="90"
|
||||||
label="项目编号">
|
label="项目编号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="productName"
|
prop="projectName"
|
||||||
align="center"
|
align="center"
|
||||||
label="项目名称">
|
label="项目名称">
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.productName }}</a>
|
<!-- <a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.productName }}</a>–>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="productTypeShow"
|
prop="projectClassification"
|
||||||
label="项目分类"
|
label="项目分类"
|
||||||
align="center"
|
align="center"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
@@ -118,7 +129,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="productBrandShow"
|
prop="projectStatus"
|
||||||
label="项目状态"
|
label="项目状态"
|
||||||
align="center"
|
align="center"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
@@ -126,45 +137,45 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="productBrandShow"
|
prop="projectGroup"
|
||||||
label="项目群"
|
label="项目群"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
align="center"
|
align="center"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="sopTime"
|
prop="projectStartDate"
|
||||||
label="项目计划开始日期"
|
label="项目计划开始日期"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
width="160"
|
width="160"
|
||||||
align="center"
|
align="center"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">{{(scope.row.sopTime ? scope.row.sopTime.substring(0, 11): '')}}</template>
|
<!-- <template slot-scope="scope">{{(scope.row.sopTime ? scope.row.sopTime.substring(0, 11): '')}}</template>-->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="sopTime"
|
prop="projectEndDate"
|
||||||
label="项目计划完成日期"
|
label="项目计划完成日期"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
width="160"
|
width="160"
|
||||||
align="center"
|
align="center"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">{{(scope.row.sopTime ? scope.row.sopTime.substring(0, 11): '')}}</template>
|
<!-- <template slot-scope="scope">{{(scope.row.sopTime ? scope.row.sopTime.substring(0, 11): '')}}</template>-->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="targetMarketShow"
|
prop="currentNode"
|
||||||
align="center"
|
align="center"
|
||||||
label="当前节点">
|
label="当前节点">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="leftRight"
|
prop="projectLevel"
|
||||||
align="center"
|
align="center"
|
||||||
label="项目级别">
|
label="项目级别">
|
||||||
<template slot-scope="scope" v-if="scope.row.leftRight">{{(scope.row.leftRight === '1' ? '左驾': '右驾')}}</template>
|
<!-- <template slot-scope="scope" v-if="scope.row.leftRight">{{(scope.row.leftRight === '1' ? '左驾': '右驾')}}</template>-->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="productManagerShow"
|
prop="projectManager"
|
||||||
align="center"
|
align="center"
|
||||||
label="项目经理">
|
label="项目经理">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -234,6 +245,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
//默认返回已维护
|
||||||
|
ifMaintaince:"Maintenance",
|
||||||
|
|
||||||
deptUser: [],
|
deptUser: [],
|
||||||
// 查询条件
|
// 查询条件
|
||||||
localProTableSearch: {
|
localProTableSearch: {
|
||||||
@@ -710,7 +724,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 切换tabs
|
// 切换tabs
|
||||||
handleClick (tab, event) {
|
handleClick (tab, event) {
|
||||||
this.localProEO.prodectCode = this.activeName
|
this.localProEO.prodectCode = this.ifMaintaince
|
||||||
this.insideHandleClick()
|
this.insideHandleClick()
|
||||||
},
|
},
|
||||||
insideHandleClick (tab, event) {
|
insideHandleClick (tab, event) {
|
||||||
@@ -1077,13 +1091,15 @@ export default {
|
|||||||
},
|
},
|
||||||
// 查询本地产品
|
// 查询本地产品
|
||||||
getLocalProductTable () {
|
getLocalProductTable () {
|
||||||
this.localProTableSearch.prodectCode = this.activeName
|
this.localProTableSearch.prodectCode = this.ifMaintaince
|
||||||
|
console.log(this.localProTableSearch.prodectCode)
|
||||||
this.localProTableSearch.dataType = this.insideTabsActiveName
|
this.localProTableSearch.dataType = this.insideTabsActiveName
|
||||||
this.SarExportSearchEo = this.localProTableSearch
|
this.SarExportSearchEo = this.localProTableSearch
|
||||||
this.$http.get('lawss/sarProductInfo/getProductInfoPage', this.localProTableSearch, {
|
this.$http.get('sarStandProjectLibrary/queryProject', this.localProTableSearch, {
|
||||||
_this: this, loading: 'loading'
|
_this: this, loading: 'loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
this.localProTableList = res.data.list
|
console.log(res.data)
|
||||||
|
this.localProTableList = res.data.Maintenance.records
|
||||||
this.total = res.data.count
|
this.total = res.data.count
|
||||||
// this.localProTableList.map((item) => {
|
// this.localProTableList.map((item) => {
|
||||||
// this.xmztOptions.map((opr) => {
|
// this.xmztOptions.map((opr) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user