|
|
@@ -19,59 +19,61 @@
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-descriptions title="" :column="3" size="medium" border
|
|
|
- v-if="activeComp == 'main'"
|
|
|
- >
|
|
|
- <el-descriptions-item>
|
|
|
- <template slot="label"> 证照编号 </template>
|
|
|
- {{ form.code }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template slot="label"> 类型 </template>
|
|
|
- {{
|
|
|
- getDictValue(
|
|
|
- form.holderType == 1 ? '证件类型' : '客户/供应商资质类型',
|
|
|
- form.type
|
|
|
- )
|
|
|
- }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template slot="label"> 持证对象</template>
|
|
|
- {{ form.holder }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item :span="2">
|
|
|
- <template slot="label"> 有效期至 </template>
|
|
|
- {{ form.validityStartTime + ' — ' + form.validityEndTime }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template slot="label"> 状态 </template>
|
|
|
- {{ getDictValue('规则状态', form.status) }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template slot="label"> 颁发时间 </template>
|
|
|
- {{ form.enactorTime }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template slot="label"> 创建人 </template>
|
|
|
- {{ form.createUserName }}
|
|
|
- </el-descriptions-item>
|
|
|
- <!-- <el-descriptions-item>
|
|
|
- <template slot="label"> 创建机构 </template>
|
|
|
- {{ form.createUserDeptName }}
|
|
|
- </el-descriptions-item> -->
|
|
|
- <el-descriptions-item>
|
|
|
- <template slot="label"> 创建时间 </template>
|
|
|
- {{ form.createTime }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item :span="3">
|
|
|
- <template slot="label"> 附件 </template>
|
|
|
- <fileMain v-model="form.fileObj" type="view"></fileMain>
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item :span="3">
|
|
|
- <template slot="label"> 备注 </template>
|
|
|
- {{ form.remark }}
|
|
|
- </el-descriptions-item>
|
|
|
- </el-descriptions>
|
|
|
+ <div v-if="activeComp == 'main'">
|
|
|
+ <el-descriptions title="" :column="3" size="medium" border>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template slot="label"> 证照编号 </template>
|
|
|
+ {{ form.code }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template slot="label"> 类型 </template>
|
|
|
+ {{
|
|
|
+ getDictValue(
|
|
|
+ form.holderType == 1 ? '证件类型' : '客户/供应商资质类型',
|
|
|
+ form.type
|
|
|
+ )
|
|
|
+ }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template slot="label"> 持证对象</template>
|
|
|
+ {{ form.holder }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item :span="2">
|
|
|
+ <template slot="label"> 有效期至 </template>
|
|
|
+ {{ form.validityStartTime + ' — ' + form.validityEndTime }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template slot="label"> 状态 </template>
|
|
|
+ {{ getDictValue('规则状态', form.status) }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template slot="label"> 颁发时间 </template>
|
|
|
+ {{ form.enactorTime }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template slot="label"> 创建人 </template>
|
|
|
+ {{ form.createUserName }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <!-- <el-descriptions-item>
|
|
|
+ <template slot="label"> 创建机构 </template>
|
|
|
+ {{ form.createUserDeptName }}
|
|
|
+ </el-descriptions-item> -->
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template slot="label"> 创建时间 </template>
|
|
|
+ {{ form.createTime }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item :span="3">
|
|
|
+ <template slot="label"> 附件 </template>
|
|
|
+ <fileMain v-model="form.fileObj" type="view"></fileMain>
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item :span="3">
|
|
|
+ <template slot="label"> 备注 </template>
|
|
|
+ {{ form.remark }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
+ <productTable ref="productTableRef" :isView="true" />
|
|
|
+ </div>
|
|
|
+
|
|
|
<bpmDetail
|
|
|
v-if="activeComp == 'bpm' && form.processInstanceId"
|
|
|
:id="form.processInstanceId"
|
|
|
@@ -87,10 +89,11 @@
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
// import fileMain from '@/components/addDoc/index.vue';
|
|
|
import bpmDetail from '@/views/bpm/processInstance/businessDetail.vue';
|
|
|
+ import productTable from './productTable.vue';
|
|
|
|
|
|
export default {
|
|
|
mixins: [dictMixins],
|
|
|
- components: { bpmDetail },
|
|
|
+ components: { bpmDetail, productTable },
|
|
|
//注册组件
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -118,6 +121,7 @@
|
|
|
async getInfo(id) {
|
|
|
const data = await getPhotoInfo(id);
|
|
|
this.form = data;
|
|
|
+ this.$refs.productTableRef.putTableValue(data.categorys || []);
|
|
|
}
|
|
|
}
|
|
|
};
|