This commit is contained in:
zhutianqi
2021-06-18 14:45:43 +08:00
parent 516bec997c
commit 41ef8fddfc
3 changed files with 88 additions and 51 deletions
@@ -740,6 +740,9 @@
handleSave() {}, handleSave() {},
handleSubmit() { handleSubmit() {
var json = this.form var json = this.form
json.zrUserId = this.$store.getters.userInfo.userId
json.jlUserId = this.$store.getters.userInfo.userId
json.applyUpdUserId = this.$store.getters.userInfo.userId
this.$http.get('lawss/activiti/startProcess', {type: '1'}, { this.$http.get('lawss/activiti/startProcess', {type: '1'}, {
_this: this _this: this
}, res => { }, res => {
@@ -68,6 +68,11 @@
label="标准/政策名称" label="标准/政策名称"
> >
</el-table-column> </el-table-column>
<el-table-column
prop="interpretationTime"
label="评估时间"
>
</el-table-column>
<el-table-column <el-table-column
fixed="right" fixed="right"
label="" label=""
@@ -233,29 +238,30 @@ export default {
name: 'standInvolveProjectDetail', name: 'standInvolveProjectDetail',
data () { data () {
return { return {
sarProject: { sarProject: {
standName: '', // 标准政策名称 standName: '', // 标准政策名称
standNumber: '', // 标准/政策号 standNumber: '', // 标准/政策号
standApplicationType: 1 standApplicationType: 1
}, // 条件查询 }, // 条件查询
showSarProStateModal: false, // 查看drawer开关 showSarProStateModal: false, // 查看drawer开关
// table数据 // table数据
sarProjectListDatas: [], sarProjectListDatas: [],
// table高度 // table高度
tableHeight: null, tableHeight: null,
// 列表页loading // 列表页loading
loading: false, loading: false,
total: 0, total: 0,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
sarProStateEO: { sarProStateEO: {
productName: '' productName: ''
}, },
sarProStateTotal: 0, sarProStateTotal: 0,
sarProStateTotalPage: 1, sarProStateTotalPage: 1,
sarProStatePageSize: this.$store.getters.userInfo.configContent, sarProStatePageSize: this.$store.getters.userInfo.configContent,
sarProStateListDatas: [], // 符合性项目列表数据 sarProStateListDatas: [], // 符合性项目列表数据
sarProStateTableHeight: null, // 符合性项目列表高度 sarProStateTableHeight: null, // 符合性项目列表高度
standId: '' // 符合性项目Id
} }
}, },
methods: { methods: {
@@ -290,13 +296,29 @@ export default {
this.queryStandAndLaws() this.queryStandAndLaws()
}, // 外层清空条件查询 }, // 外层清空条件查询
handleProjectCompliance (row) { handleProjectCompliance (row) {
this.showSarProStateModal = true this.standId = row.standId
this.querySarProStateZero() this.querySarProStateZero()
}, // 查看项目符合性 }, // 查看项目符合性
querySarProStateZero () {}, // 查询项目数据 querySarProStateZero () {
var form = this.sarProStateEO
form.standId = this.standId
form.current = this.sarProStateTotalPage
form.size = this.sarProStatePageSize
this.$http.get('sarStandardComplianceAssessResult/product', form, {
_this: this,
loading: 'loading'
}, res => {
if (res.ok) {
this.sarProStateListDatas = res.data.records
this.sarProStateTotal = res.data.total
}
})
this.showSarProStateModal = true
}, // 查询项目数据
clearSearchProState () { clearSearchProState () {
this.sarProStateEO.productName = '' this.sarProStateEO.productName = ''
this.querySarProStateZero() this.sarProStateTotalPage = 1
this.querySarProStateZero()
}, // 清空条件查询 }, // 清空条件查询
clearSearchPro () { clearSearchPro () {
this.sarProStateEO.productName = '' this.sarProStateEO.productName = ''
@@ -14,6 +14,12 @@
placeholder="标准/政策名称查找" placeholder="标准/政策名称查找"
clearable></el-input> clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="类型" class="search-item search-item-last">
<el-select v-model="sarProject.position" placeholder="请选择标准性质">
<el-option value="1" label="国内"></el-option>
<el-option value="2" label="海外"></el-option>
</el-select>
</el-form-item>
<el-form-item label="" class="search-item btn-box"> <el-form-item label="" class="search-item btn-box">
<el-button class="common-button-primary" type="primary" icon="el-icon-search" size="mini" @click="searchStandAndLaws"></el-button> <el-button class="common-button-primary" type="primary" icon="el-icon-search" size="mini" @click="searchStandAndLaws"></el-button>
</el-form-item> </el-form-item>
@@ -68,6 +74,11 @@
label="标准/政策名称" label="标准/政策名称"
> >
</el-table-column> </el-table-column>
<el-table-column
prop="interpretationTime"
label="评估时间"
>
</el-table-column>
<el-table-column <el-table-column
fixed="right" fixed="right"
label="" label=""
@@ -198,30 +209,31 @@
export default { export default {
name: "technologyInvolveProject", name: "technologyInvolveProject",
data () { data () {
return { return {
SarProStateType: '', // 国内外 SarProStateType: '', // 国内外
sarProject: { sarProject: {
standName: '', // 标准政策名称 standName: '', // 标准政策名称
standNumber: '', // 标准/政策号 standNumber: '', // 标准/政策号
standApplicationType: 2 standApplicationType: 2,
}, // 条件查询 position: '1'
sarProjectListDatas: [], // table数据 }, // 条件查询
countryOptions: [], //国家选择下拉框数据 sarProjectListDatas: [], // table数据
tableHeight: null, // table高度 countryOptions: [], //国家选择下拉框数据
loading: false, tableHeight: null, // table高度
total: 0, loading: false,
page: 1, total: 0,
pageSize: this.$store.getters.userInfo.configContent, page: 1,
showSarProStateModal: false, pageSize: this.$store.getters.userInfo.configContent,
sarProStateEO: { showSarProStateModal: false,
productName: '' sarProStateEO: {
}, productName: ''
sarProStateTotal: 0, },
sarProStateTotalPage: 1, sarProStateTotal: 0,
sarProStatePageSize: this.$store.getters.userInfo.configContent, sarProStateTotalPage: 1,
sarProStateListDatas: [], // 符合性项目列表数据 sarProStatePageSize: this.$store.getters.userInfo.configContent,
sarProStateTableHeight: null, sarProStateListDatas: [], // 符合性项目列表数据
} sarProStateTableHeight: null,
}
}, },
methods: { methods: {
searchStandAndLaws () { searchStandAndLaws () {