[add] 权限工程接口人
This commit is contained in:
@@ -14,8 +14,21 @@
|
||||
@onHeaderRow='onHeaderRow'
|
||||
>
|
||||
<span slot="operationbtn" slot-scope="record">
|
||||
<span v-if='homo'>按钮 </span>
|
||||
<span>{{ record }}</span>
|
||||
<!-- 待发起收集 1-->
|
||||
<!-- 待工程接口人处理 2-->
|
||||
<!-- 工程接口人退回 3-->
|
||||
<!-- 待填写 4-->
|
||||
<!-- 填写人退回 5-->
|
||||
<!-- 已提交 6-->
|
||||
<!-- 认证工程师退回 7-->
|
||||
<!-- 已同步至上报库 8-->
|
||||
<!-- 变更 9-->
|
||||
<span v-if='homo === 1'>
|
||||
<!-- 认证工程师 -->
|
||||
<!-- <span v-if='record.controlType == 1'>-->
|
||||
<span @click='ondataValue'>{{ record.dataValue == null? '--': record.dataValue}}</span>
|
||||
<!-- </span>-->
|
||||
</span>
|
||||
</span>
|
||||
<span slot="operation" slot-scope="record">
|
||||
<a v-for="(ol,index) in OperationList"
|
||||
@@ -36,6 +49,10 @@
|
||||
</span>
|
||||
</a-table>
|
||||
</div>
|
||||
<!-- 添加--->
|
||||
<a-modal v-model="areaVisible" :title="$t('ParameterLibrary')" width='750px' :footer="null">
|
||||
<!-- <parameter-library v-if='areaVisible' :paramsManifest='paramsManifest'/>-->
|
||||
</a-modal>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -86,13 +103,19 @@ export default {
|
||||
homo: 0, // 认证工程师
|
||||
sdt: 0, // 工程接口人
|
||||
dre: 0, // 填写人
|
||||
areaVisible: false,
|
||||
}
|
||||
},
|
||||
mounted() {},
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
onHeaderRow(column, index) {
|
||||
console.log(column, index)
|
||||
},
|
||||
ondataValue() {
|
||||
this.areaVisible = true
|
||||
console.log('ppp')
|
||||
},
|
||||
getLoginUserType() {
|
||||
let params = {
|
||||
paramsManifestId: this.paramsManifest.id,
|
||||
@@ -101,6 +124,7 @@ export default {
|
||||
getAction(this.url.getLoginUserType, params).then((res) => {
|
||||
if (res.success) {
|
||||
this.LoginUserType = res.result
|
||||
this.getTableList()
|
||||
this.$emit('LoginUserType', this.LoginUserType)
|
||||
res.result.split(',').forEach((item,index) => {
|
||||
if(item === 'homo') {
|
||||
@@ -175,6 +199,7 @@ export default {
|
||||
},
|
||||
getTableList() {
|
||||
let params = {
|
||||
userTypes: this.LoginUserType,
|
||||
paramsManifestId: this.paramsManifest.id,
|
||||
...this.formInline
|
||||
}
|
||||
@@ -210,7 +235,6 @@ export default {
|
||||
paramsManifest(newVal, oldVal) {
|
||||
this.getData()
|
||||
this.getLoginUserType()
|
||||
this.getTableList()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user