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