|
|
@@ -204,23 +204,35 @@
|
|
|
</el-tabs>
|
|
|
</el-card>
|
|
|
|
|
|
- <!-- <el-dialog title="选择审批单位" :visible.sync="dialogVisible" width="520px">
|
|
|
- <el-form ref="searchForm" label-width="110px">
|
|
|
+ <el-dialog title="提交初审" :visible.sync="dialogVisible" width="520px">
|
|
|
+ <el-form ref="searchForm" label-width="70px">
|
|
|
<el-row>
|
|
|
- <el-col :span="24">
|
|
|
+ <!--<el-col :span="24">
|
|
|
<el-form-item label="二级单位">
|
|
|
<el-cascader :options="orgtreelist" :props="orgtreeprops" change-on-select :show-all-levels="false"
|
|
|
filterable style="width: 100%" @change="auditOrgChang" v-model="secOrganize" placeholder="请选择组织">
|
|
|
</el-cascader>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
+ </el-col>-->
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="审批人">
|
|
|
- <el-select ref="selectAuditer" v-model="auditer" placeholder="请选择" style="width: 90%" filterable
|
|
|
+ <!--<el-select ref="selectAuditer" v-model="auditer" placeholder="请选择" style="width: 90%" filterable
|
|
|
allow-create default-first-option>
|
|
|
<el-option v-for="item in auditerOption" :key="item.id" :label="item.realname" :value="item.id">
|
|
|
</el-option>
|
|
|
- </el-select>
|
|
|
+ </el-select>-->
|
|
|
+ <el-input ref="selectAuditer" readonly v-model="auditerName" placeholder="请选择审批人">
|
|
|
+ <el-button slot="append" icon="el-icon-search" @click="chooseAuditorShow"></el-button>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="说明">
|
|
|
+ <el-input
|
|
|
+ type="textarea"
|
|
|
+ placeholder="请输入说明内容"
|
|
|
+ >
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -229,9 +241,10 @@
|
|
|
<el-button size="mini" @click="dialogVisible = false">取 消</el-button>
|
|
|
<el-button size="mini" type="primary" @click="AuditEntity">确定</el-button>
|
|
|
</span>
|
|
|
- </el-dialog> -->
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
+ <choose-auditor ref="chooseAuditor" @close="setAuditer" @hideChooseAuditer="chooseAuditorVisible=false" :visible="chooseAuditorVisible"></choose-auditor>
|
|
|
|
|
|
- <choose-auditor ref="chooseAuditor" @close="AuditEntity" :visible.sync="dialogVisible"></choose-auditor>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -281,6 +294,7 @@
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
+ chooseAuditorVisible: false,
|
|
|
showReturn: 1,
|
|
|
IsCompanyUser: 0,
|
|
|
dialogVisible: false,
|
|
|
@@ -298,6 +312,7 @@
|
|
|
orgtreelist: [],
|
|
|
secOrganize: [],
|
|
|
auditer: '',
|
|
|
+ auditerName: '',
|
|
|
firstAudit: '',
|
|
|
serviceId: '',
|
|
|
certId: '',
|
|
|
@@ -628,7 +643,6 @@
|
|
|
},
|
|
|
auditOrgChang(val) {
|
|
|
let deptid = val[val.length - 1]
|
|
|
- console.log(deptid)
|
|
|
this.auditerOption = []
|
|
|
this.auditer = ''
|
|
|
let auditstepcode = 'FIRST_TRIAL'
|
|
|
@@ -756,11 +770,19 @@
|
|
|
})
|
|
|
},
|
|
|
selectAuditOrg() {
|
|
|
- this.$refs['chooseAuditor'].getorgtreelist(this.formData.SupplierTypeCode)
|
|
|
this.dialogVisible = true
|
|
|
},
|
|
|
- AuditEntity(val) {
|
|
|
+ chooseAuditorShow () {
|
|
|
+ this.$refs['chooseAuditor'].getorgtreelist(this.formData.SupplierTypeCode)
|
|
|
+ this.chooseAuditorVisible = true
|
|
|
+ },
|
|
|
+ setAuditer (val, name) {
|
|
|
this.auditer = val
|
|
|
+ this.auditerName = name
|
|
|
+ this.chooseAuditorVisible = false
|
|
|
+ },
|
|
|
+ AuditEntity () {
|
|
|
+ //this.auditer = val
|
|
|
if (this.auditer === '') {
|
|
|
this.$message({
|
|
|
type: 'warning',
|